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