Releases: go-kivik/couchdb
Allow custom HTTP transports
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
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
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
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 theReplicate()
(and related) functions. - Updated tests for adjusted index and explain results, and a few updated HTTP status codes.
Support for CouchDB 1.7.x
This release detects server version 1.7.x, to disable _find
support for this version.
_scheduler support
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
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
See the Kivik v1.3.0 release notes for details.
Add explain query plan support
Merge pull request #9 from go-kivik/explain Explain support
Expose session cookie
This adds a Cookie()
method to the CookieAuth
type, which returns the cookie used for authentication.