Releases: makoni/couchdb-vapor
Releases · makoni/couchdb-vapor
1.6.2
1.6.1
1.6.0
1.5.1
1.5.0
- 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 inasync-http-client
1.21.0) internally for requests if noEventLoopGroup
is provided. - No more internal calls for
httpClient.syncShutdown()
in case ofHTTPClient.shared
usage.
Full Changelog: 1.4.0...1.5.0
1.4.0
- The library migrated from
HTTPClient.Response
toHTTPClientResponse
which is similar toHTTPClient.Response
, but used for the Swift Concurrency API. Also it migrated fromHTTPClient.Body
toHTTPClientRequest.Body
. These changes affectget
andfind
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 asCodable
.- Added a new
RowsResponse
data model that accepts a genericCouchDBRepresentable
type which makes it easier to get rows from a database. Example:
let decodeResponse = try JSONDecoder().decode(RowsResponse<MyApp>.self, from: data)
- Small improvements in the documentation and tutorials.
Full Changelog: 1.3.2...1.4.0
1.3.2
1.3.1
1.3.0
- Added new methods to use
_find
API method that allows to find documents using a declarative JSON querying syntax (#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.