Skip to content

Releases: go-kivik/kivik

Attachment improvements

09 Dec 13:42
71201f0
Compare
Choose a tag to compare

Improvements to the main Kivik library

  • New kivik.Attachments type and improvements to the kivik.Attachment type, to support JSON marshaling and unmarshaling. This makes it possible to embed a map of kivik.Attachments directly in a document when storing such as Put, or when unmarshaling with such as with ScanDoc.
  • Added import comments to kivik and 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/http package. This is not a functional change.

Adds support for options to several new methods

26 Nov 15:11
a957cb2
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()

Full support for CouchDB 2.1.1 and 1.7.1

19 Nov 11:53
2a6c85f
Compare
Choose a tag to compare

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

31 Oct 14:02
7f0813e
Compare
Choose a tag to compare

This release adds some new 600-level error codes used for non-HTTP error statuses.

Remove server mode

26 Oct 12:36
Compare
Choose a tag to compare

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

25 Oct 12:54
Compare
Choose a tag to compare

Code reorganization, improved build process, fewer dependencies.

Add Features field to Version struct

24 Oct 11:13
Compare
Choose a tag to compare

This is to support the new features field returned by CouchDB 2.1.

A few other minor changes were made to support CouchDB 2.1, mostly to the build process.

Adds support for options to the BulkDocs() method

20 Oct 07:00
Compare
Choose a tag to compare

This is a very minor release, but I've bumped the minor version due to a minor compatibility change with the drivers interface. See PR #209 for more details. Use of BulkDocs() requires v1.3.0 of either the couchdb driver or pouchdb.

Functional changes:

  • It is now possible to pass options to the BulkDocs() method. Fixes #208

Minor changes:

  • Minor changes to the build process
  • Removed the dependency on the github.com/justinas/alice package in the server mode.

Query Plans

10 Oct 07:33
Compare
Choose a tag to compare

This release adds the Explain method to return Find query plans.

New EndKeySuffix symbol

01 Oct 11:52
Compare
Choose a tag to compare

The new EndKeySuffix constant represents a high Unicode character (0xfff0) useful for appending to an endkey argument, when doing a ranged search, as described here: http://couchdb.readthedocs.io/en/latest/ddocs/views/collation.html#string-ranges