Releases: zegl/goriak
v3.2.4
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
v3.2.2 Go module support (experimental)
fea(module) add Go module support (#61)
v3.2.1
v3.2.0
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
v3.1.0
News
- New command:
KeysInIndexRange() - More advanced
ConnectOptswith support for Riak security and password based authentication.
v3.0.0
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, andKeysInIndexmust go directly afterBucket(). 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 fromValues()orStrings(), which means that your code will not break if you had values in the Set from an earlier version of goriak.
v2.4.1
Features
- Added support for Continuation when fetching keys from a secondary index
Command. IndexContinuation([]byte) Commandhas been added to the query builder API, and aContinuationfield toResult. - JSON Marshal/Unmarshal support for all helper types (added support for
Flag,Register, andCounter).
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
Changes
- The
Set-helper type now supports theencoding/jsonMarshalerandUnmarshalerinterfaces for your serializing pleasure. - Uint support has been added to automap structs.
- Automatic indexes with the
goriakindexstruct tag now also has support for ints and int slices.