Skip to content

Releases: makoni/couchdb-vapor

1.6.2

19 Sep 20:09
21cbfc6
Compare
Choose a tag to compare

What's Changed

  • Updated swift-docc-plugin dependency URL.
  • Updated dependencies to the latest versions.

Full Changelog: 1.6.1...1.6.2

1.6.1

12 Jun 10:40
3909771
Compare
Choose a tag to compare

What's Changed

  • Updated dependencies to the most recent versions. by @makoni in #23

Full Changelog: 1.6.0...1.6.1

1.6.0

14 May 21:22
d04eee8
Compare
Choose a tag to compare
  • userName param is now required for CouchDBClient init.
  • Much better docs written by ChatGPT.

What's Changed

Full Changelog: 1.5.1...1.6.0

1.5.1

12 May 19:50
8a0647f
Compare
Choose a tag to compare

What's Changed

  • Documentation updated by @makoni in #19
  • Added a new tutorial for a SwiftUI app. No changes in the library code by @makoni in #20

Full Changelog: 1.5.0...1.5.1

1.5.0

08 Apr 14:56
380fe33
Compare
Choose a tag to compare
  • 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 in async-http-client 1.21.0) internally for requests if no EventLoopGroup is provided.
  • No more internal calls for httpClient.syncShutdown() in case of HTTPClient.shared usage.

Full Changelog: 1.4.0...1.5.0

1.4.0

07 Apr 21:17
68fd468
Compare
Choose a tag to compare
  • The library migrated from HTTPClient.Response to HTTPClientResponse which is similar to HTTPClient.Response, but used for the Swift Concurrency API. Also it migrated from HTTPClient.Body to HTTPClientRequest.Body. These changes affect get and find 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 as Codable.
  • Added a new RowsResponse data model that accepts a generic CouchDBRepresentable type which makes it easier to get rows from a database. Example:
let decodeResponse = try JSONDecoder().decode(RowsResponse<MyApp>.self, from: data)

Full Changelog: 1.3.2...1.4.0

1.3.2

26 Mar 22:05
d618612
Compare
Choose a tag to compare

What's Changed

  • Fixed when update method didn’t use dateEncodingStrategy param. by @makoni in #16

Full Changelog: 1.3.1...1.3.2

1.3.1

24 Feb 14:06
c468e89
Compare
Choose a tag to compare
  • Updated dependencies to the latest versions.
  • Updated documentation.

1.3.0

16 Jan 20:51
8e0707c
Compare
Choose a tag to compare
  • 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.

1.2.7

22 Aug 22:32
42da8ad
Compare
Choose a tag to compare

Updated async-http-client to 1.19.0