Skip to content

v0.2.0 (2018-11-05)

Compare
Choose a tag to compare
@philippgille philippgille released this 06 Nov 19:11
· 469 commits to master since this release
  • Added gokv.Store implementation:
    • Package gomap - A gokv.Store implementation for a plain Go map with a sync.RWMutex for concurrent access (issue #11)
  • Improved: Every gokv.Store implementation resides in its own package now, so when downloading the package of an implementation, for example with go get github.com/philippgille/gokv/redis, only the actually required dependencies are downloaded and compiled, making the process much faster. This is especially useful for example when creating Docker images, where in many cases (depending on the Dockerfile) the download and compilation are repeated for each build. (Issue #2)
  • Improved: The performance of bolt.Store should be higher, because unnecessary manual locking was removed. (Issue #1)
  • Fixed: The gokv.Store implementation for bbolt / Bolt DB used data from within a Bolt transaction outside of it, without copying the value, which can lead to errors (see here) (issue #13)

Breaking changes

  • All gokv.Store implementations were moved into their own packages and the structs that implement the interface were renamed to avoid unidiomatic "stuttering".