Skip to content

Releases: go-kivik/couchdb

Allow custom HTTP transports

09 Dec 13:39
023ee32
Compare
Choose a tag to compare

It is now possible to set a custom HTTP transport for the underlying HTTP connection. This allows for providing custom TLS configuration, proxy configuration, etc.

Error handling improvements

26 Nov 18:29
ed4e513
Compare
Choose a tag to compare

Certain JSON marshaling errors were being ignored, resulting in confusing errors being returned. This release fixes that.

Adds support for options to several new methods

26 Nov 15:16
7fe6ade
Compare
Choose a tag to compare

The following methods now take an optional kivik.Options argument as the final argument:

  • DB.CreateDoc()
  • DB.Put()
  • DB.Delete()
  • DB.PutAttachment()
  • DB.DeleteAttachment()
  • DB.GetAttachmentMeta()
  • DB.GetAttachment()

Additionally, the value of OptionFullCommit was changed from "force_commit" to "X-Couch-Full-Commit" for greater consistency (the old value will continue to be recognized until Kivik 2.0), and the IfNoneMatch constant was added, and is now recognized by the following functions:

  • Get()
  • GetAttachment()
  • GetAttachmentMeta()

Full support for CouchDB 2.1.1 and 1.7.1

19 Nov 11:58
29f9efe
Compare
Choose a tag to compare

This version adds full support for the two latest releases of CouchDB. Details below:

For CouchDB 1.7.1:

  • Update the test suite to work against CouchDB 1.7.1. There were few functional API changes in CouchDB 1.7, mostly just a few HTTP status codes were improved or corrected.

For CouchDB 2.1.1:

  • Adds support for _scheduler/docs. This should be entirely transparent to the user, as it all happens behind the Replicate() (and related) functions.
  • Updated tests for adjusted index and explain results, and a few updated HTTP status codes.

Support for CouchDB 1.7.x

14 Nov 16:59
1658572
Compare
Choose a tag to compare

This release detects server version 1.7.x, to disable _find support for this version.

_scheduler support

11 Nov 18:05
b2e4a30
Compare
Choose a tag to compare

This represents complete CouchDB 2.1 support, by implementing support for the new _scheduler interface for replications.

It also adds significant test coverage, and minor bug fixes, as well as begins using the new kivik error types.

CouchDB 2.1 compatibility

24 Oct 20:03
Compare
Choose a tag to compare

This adds support for the new "features" field in the welcome message, added in CouchDB 2.1.0.

Adds support for options to the BulkDocs() method

20 Oct 07:01
Compare
Choose a tag to compare

Add explain query plan support

12 Oct 07:27
Compare
Choose a tag to compare
Merge pull request #9 from go-kivik/explain

Explain support

Expose session cookie

21 Sep 20:55
Compare
Choose a tag to compare

This adds a Cookie() method to the CookieAuth type, which returns the cookie used for authentication.