Releases: makoni/couchdb-vapor
Releases · makoni/couchdb-vapor
1.2.6
- Fixed building with Swift 5.6.
- Added GH Actions to test building on Ubuntu and macOS, and to run integration tests.
1.2.5
- Updated dependencies to latest versions.
1.2.4
- Comparing
set-cookie
as lowercased in the response header (#9, thanks to @gevartosky)
1.2.3
- Added a check if auth cookie expired.
1.2.2
dateDecodingStrategy
and dateEncodingStrategy
can be passed as a param for get/update/insert methods.
1.2.1
- Added
createDB
method (docs).
- Added
deleteDB
method (docs).
- Added
dbExists
method (docs).
- Added check if a request returns unauthorised error.
- Added
errorDescription
for CouchDBClientError
.
1.2.0
- CouchDB password can be provided as an Environmental Variable if you don't want to include it in the source code.
- Added documentation with examples and tutorials.
- No need to provide
worker
param for each method. A new one will be created if value is nil.
worker
param renamed to eventLoopGroup
to match NIO.
get
request now takes query params as [URLQueryItem]
.
- New methods to get using generic type that will parse JSON data for you.
- New methods to insert, update and delete data that accepts doc (check the documentation).
- Every CouchDB method has been documented and Xcode will show usage examples in autocomplete.
1.1.0
CouchDBClient is now using async/await and works with Vapor 4.50 and newer.
1.0.0
New version using async-http-client. Can be used with Vapor 4
0.0.4
- Get all DBs method.
- Insert method.
- Delete method.
- Tests added.
- Readme with usage examples