Skip to content

Releases: makoni/couchdb-swift

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

Fixes for public

13 Mar 21:44
Compare
Choose a tag to compare
0.0.3

public vars

public

13 Mar 21:07
Compare
Choose a tag to compare
0.0.2

public class and methods