Arm1.ru

Swift CouchDB client 1.5.0

Swift CouchDB client 1.5.0

And here we go, one more new version of the CouchDB client library. After the recent post about 1.4.0 the Swift on Server released a new version of async-http-client that has a new implementation of the client singleton. Now it's HTTPClient.shared, so I've updated the CouchDB library to adopt that. That also requires not to call httpClient.syncShutdown() if the singleton is used. Also they've bumped the minimum Swift version to 5.8 (I did the same in 1.4.0 for the CouchDB client library). So keeping the library up to date.

Changelog:

  • Bumped async-http-client minimum version to the new 1.21.0. If you can't use it in your project you can stay on 1.4.0.
  • The library will use HTTPClient.shared (new in async-http-client 1.21.0) internally for requests if no EventLoopGroup is provided.
  • No more internal calls for httpClient.syncShutdown() in case of HTTPClient.shared usage.

CouchDB Client on GitHub | Documentation with examples and tutorials.

keyboard_return back