Skip to content

Releases: zegl/goriak

v3.2.4

18 Dec 09:11
Compare
Choose a tag to compare

This release contains #63 which adds a bugfix to SetJSON() and Secondary Indexes (2i) when passing a pointer to a value to SetJSON(), before this fix goriak would silently skip adding the value to the index.

Thanks to @Shkurpylo for finding and fixing this bug.

v3.2.3

26 Jul 15:49
c61fc1f
Compare
Choose a tag to compare
fix(module) try again (#62)

v3.2.2 Go module support (experimental)

26 Jul 15:44
f72545c
Compare
Choose a tag to compare
fea(module) add Go module support (#61)

v3.2.1

18 Mar 23:34
ff0be68
Compare
Choose a tag to compare

Fixes issue in AllKeys() caused by riak-go-client 1.9.0 not being backwards compatible with 1.8.0 or earlier. 1.9.0 of riak-go-client is now required.

v3.2.0

15 Feb 17:06
Compare
Choose a tag to compare

The main new functionality in v3.2.0 is the addition of middleware. The middleware functionality is a test and so far only a read-only RunMiddleware is available. This middleware enables you to easily gather statistics about how fast the executed commands are, and which keys you fetch the most, among other things.

If the middleware functionality is a success RunMiddleware will be enabled on all commands, and more middleware types can be added, to allow things such as pre and post command rewriting.

v3.1.1

09 Feb 09:59
Compare
Choose a tag to compare

Bugfixes

  • Fixes issue with conflict resolution in GetRaw().

v3.1.0

07 Feb 08:34
Compare
Choose a tag to compare

News

  • New command: KeysInIndexRange()
  • More advanced ConnectOpts with support for Riak security and password based authentication.

v3.0.0

27 Jan 16:34
ca3caf1
Compare
Choose a tag to compare

Breaking changes

  • The API builder now returns a pointer to the builder object, instead of the whole object. (Command -> *Command.
  • The query builder has been split into multiple different types. Generally the API is still the same, but the order of which the builder methods are available is more strict. The most specific command such as GetRaw, Set, and KeysInIndex must go directly after Bucket().
  • Sets without any value will no longer be saved (and the empty placeholder value has been removed). This means that empty Sets no longer can be saved, and that Riak will return NotFound if you try to get the object afterwards. Empty values are still not returned from Values() or Strings(), which means that your code will not break if you had values in the Set from an earlier version of goriak.

v2.4.1

19 Jan 18:04
Compare
Choose a tag to compare

Features

  • Added support for Continuation when fetching keys from a secondary index Command. IndexContinuation([]byte) Command has been added to the query builder API, and a Continuation field to Result.
  • JSON Marshal/Unmarshal support for all helper types (added support for Flag, Register, and Counter).

Future plans

Work has started on v3, with focus on a more lightweight API and command builder. If you have any ideas for improvements or general comments, feel free to open a new issue!

2.4.0

23 Dec 09:29
6e9e7c2
Compare
Choose a tag to compare

Changes

  • The Set-helper type now supports the encoding/json Marshaler and Unmarshaler interfaces for your serializing pleasure.
  • Uint support has been added to automap structs.
  • Automatic indexes with the goriakindex struct tag now also has support for ints and int slices.