Skip to content

Releases: makoni/couchdb-vapor

1.2.6

20 Jul 16:56
1ca7638
Compare
Choose a tag to compare
  • Fixed building with Swift 5.6.
  • Added GH Actions to test building on Ubuntu and macOS, and to run integration tests.

1.2.5

28 Jun 20:55
4d7421d
Compare
Choose a tag to compare
  • Updated dependencies to latest versions.

1.2.4

04 Jan 21:49
Compare
Choose a tag to compare
  • Comparing set-cookie as lowercased in the response header (#9, thanks to @gevartosky)

1.2.3

30 Dec 17:53
0e58641
Compare
Choose a tag to compare
  • Added a check if auth cookie expired.

1.2.2

29 Dec 12:55
3ba36da
Compare
Choose a tag to compare
  • dateDecodingStrategy and dateEncodingStrategy can be passed as a param for get/update/insert methods.

1.2.1

26 Dec 19:46
Compare
Choose a tag to compare
  • 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

04 Oct 20:17
ef955e9
Compare
Choose a tag to compare
  • 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

30 Oct 17:51
Compare
Choose a tag to compare

CouchDBClient is now using async/await and works with Vapor 4.50 and newer.

1.0.0

30 Nov 14:10
0015483
Compare
Choose a tag to compare

New version using async-http-client. Can be used with Vapor 4

0.0.4

03 Apr 13:11
Compare
Choose a tag to compare
  • Get all DBs method.
  • Insert method.
  • Delete method.
  • Tests added.
  • Readme with usage examples