Releases: go-kivik/kivik
Add cluster config support for CouchDB 2.1 compatibility
Expand the DBStats type to include cluster replication settings made available in CouchDB 2.1, and a couple of minor bug fixes.
Fewer dependencies
Reduce external dependencies by removing integration tests. No functional changes.
Minor bug fixes, and Go 1.10
This release includes a few bug fixes for minor (unreported) bugs discovered while adding unit tests, along with support for the upcoming Go 1.10 (as it exists today).
Remove old drivers
As part of the renaming project, the deprecated drivers have finally been removed from this package, reducing the third-party dependencies. No functional changes.
Attachment improvements
Improvements to the main Kivik library
- New
kivik.Attachmentstype and improvements to thekivik.Attachmenttype, to support JSON marshaling and unmarshaling. This makes it possible to embed a map ofkivik.Attachmentsdirectly in a document when storing such asPut, or when unmarshaling with such as withScanDoc. - Added import comments to
kivikand all sub-packages, in preparation for renaming the package. Not a functional change.
Driver improvements
In conjunction with this new release of the core Kivik library, updates to the CouchDB and PouchDB drivers have also been published:
CouchDB Driver v1.7.0
- 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.
PouchDB Driver v1.3.3
- Reduced the size of the generated JS by not importing the
net/httppackage. This is not a functional change.
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()
Full support for CouchDB 2.1.1 and 1.7.1
This release reflects mostly a change in testing, to test against the latest CouchDB releases, but with one minor enhancement: The addition of of the Bookmark() method on the Rows type, which exposes the bookmark value returned by _find queries.
New error codes
This release adds some new 600-level error codes used for non-HTTP error statuses.
Remove server mode
The server has been moved to its own package github.com/go-kivik/kivikd, to reduce the dependency graph for the main kivik package.
Nothing to see here
Code reorganization, improved build process, fewer dependencies.