Skip to content

2.1.0

Choose a tag to compare

@makoni makoni released this 16 Apr 06:11
· 9 commits to master since this release
1f416b0

Changed

  • Renamed the library from couchdb-vapor to couchdb-swift to better reflect its purpose as a general CouchDB client for Swift, beyond Vapor-specific use cases.
  • Updated all references to the repository URL, badges, and package imports to align with the new name (couchdb-swift).
  • Enhanced documentation for clarity and consistency, including better descriptions for initialization, features, and usage examples.

Added

  • New Tutorial: Introduced a dedicated tutorial for integrating CouchDBClient with the Hummingbird server-side framework.
  • Added support for providing a custom HTTPClient during initialization, offering more flexibility for advanced use cases.
  • New method shutdown() added to properly release resources associated with the HTTPClient.
  • Additional tests to ensure compatibility with custom HTTPClient instances and the new shutdown() method.

Improved

  • Refactored the internal handling of HTTPClient to simplify its creation and management, reducing redundancy across methods.
  • Expanded feature documentation in CouchDBClient.docc to include detailed examples and step-by-step instructions for various use cases.

Fixed

  • Minor inconsistencies in documentation and error-handling tutorials.
  • Improved error messages for better debugging and clarity.