2.2.0
Changelog for 2.2.0
This release focuses on improved error handling for "not found" cases and updates to related tests.
🛠 Improvements
Enhanced Not Found Error Handling
- The
get
methods throughout the client now return a new, explicitnotFound
error when a requested document or resource does not exist. - The error includes details from the CouchDB response, making debugging and user feedback more clear and actionable.
- Minor documentation and formatting updates.
Upgrade Notes:
If you rely on catching missing-document errors, update your error handling to use the new notFound
case for more granular control.
Thank you for using couchdb-swift!