The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
- 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.
**Full Changelog**: https://github.com/makoni/couchdb-vapor/compare/1.4.0...1.5.0
- The library migrated from `HTTPClient.Response` to `HTTPClientResponse` which is similar to `HTTPClient.Response`, but used for the Swift Concurrency API. Also it migrated from `HTTPClient.Body` to `HTTPClientRequest.Body`. These changes affect `get` and `find` methods. Old methods are marked as deprecated, check the docs for the updated methods.
- Minimum Swift version is 5.8 now.
- `CouchDBRepresentable` protocol is now marked as `Codable`.
- Added a new `RowsResponse` data model that accepts a generic `CouchDBRepresentable` type which makes it easier to get rows from a database. Example:
```swift
let decodeResponse = try JSONDecoder().decode(RowsResponse<MyApp>.self, from: data)
```
- Small improvements in the [documentation and tutorials](https://spaceinbox.me/docs/couchdbclient/documentation/couchdbclient/).
**Full Changelog**: https://github.com/makoni/couchdb-vapor/compare/1.3.2...1.4.0
## What's Changed
* Fixed when update method didn’t use `dateEncodingStrategy` param. by @makoni in https://github.com/makoni/couchdb-vapor/pull/16
**Full Changelog**: https://github.com/makoni/couchdb-vapor/compare/1.3.1...1.3.2
- Updated dependencies to the latest versions.
- Updated documentation.
- Added new methods to use `_find` [API method](https://docs.couchdb.org/en/stable/api/database/find.html) that allows to find documents using a declarative JSON querying syntax (https://github.com/makoni/couchdb-vapor/pull/13 by @gevartosky)
- Added tests for new methods.
- Updated docs.
- Updated `async-http-client` to 1.20.1.
- Bumped minimum Swift version to 5.7.1.
Updated async-http-client to 1.19.0
- Fixed building with Swift 5.6.
- Added GH Actions to test building on Ubuntu and macOS, and to run integration tests.
- Updated dependencies to latest versions.
- Comparing `set-cookie` as lowercased in the response header (https://github.com/makoni/couchdb-vapor/pull/9, thanks to @gevartosky)
- Added a check if auth cookie expired.