Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update module github.com/philippgille/gokv to v0.6.0 #286

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 21, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
github.com/philippgille/gokv require minor v0.0.0-20191001201555-5ac9a20de634 -> v0.6.0

Release Notes

philippgille/gokv (github.com/philippgille/gokv)

v0.6.0

Compare Source

  • Added support for Go modules (issue #​81)
    • All gokv.Store implementations are now separate Go modules
  • Added gokv.Store implementations:
    • Package hazelcast - A gokv.Store implementation for Hazelcast (issue #​75)
  • Fixed: Compile error in badgerdb after a breaking change in BadgerDB 1.6.0

v0.5.0

Compare Source

  • Added: Package encoding - An abstraction and wrapper for the core functionality of packages like encoding/json and encoding/gob (issue #​47)
  • Added: Package sql - It contains shared code for SQL implementations. mysql and postgres already use it and if you want to create your own SQL implementation you can use it as well. (Useful for issue #​57.)
  • Added gokv.Store implementations:

v0.4.0

Compare Source

  • Added: Method Close() error (issue #​36)
  • Added gokv.Store implementations:
    • Package mongodb - A gokv.Store implementation for MongoDB (issue #​27)
    • Package dynamodb - A gokv.Store implementation for Amazon DynamoDB (issue #​28)
    • Package memcached - A gokv.Store implementation for Memcached (issue #​31)
    • Package mysql - A gokv.Store implementation for MySQL (issue #​32)
  • Added: The factory function redis.NewClient() now checks if the connection to the Redis server works and otherwise returns an error.
  • Added: The test package now has the function func TestConcurrentInteractions(t *testing.T, goroutineCount int, store gokv.Store) that you can use to test your gokv.Store implementation with concurrent interactions.
  • Improved: The etcd.Client timeout implementation was improved.
  • Fixed: The Get() method of the bbolt store ignored errors if they occurred during the retrieval of the value
  • Fixed: Spelling in error message when using the etcd implementation and the etcd server is unreachable
Breaking changes
  • The added Close() error method (see above) means that previous implementations of gokv.Store are not compatible with the interface anymore.
  • Renamed bolt package to bbolt to reflect the fact that the maintained fork is used. Also changed all other occurrences of "bolt" (e.g. in GoDoc comments etc.).
  • Due to the above mentioned addition to the Redis client factory function, the function signature changed from func NewClient(options Options) Client to func NewClient(options Options) (Client, error).

v0.3.0

Compare Source

  • Added: Method Delete(string) error (issue #​8)
  • Added: All gokv.Store implementations in this package now also support gob as marshal format as alternative to JSON (issue #​22)
    • Part of this addition are a new field in the existing Options structs, called MarshalFormat, as well as the related MarshalFormat enum (custom type + related const values) in each implementation package
  • Added gokv.Store implementations:
    • Package badgerdb - A gokv.Store implementation for BadgerDB (issue #​16)
    • Package consul - A gokv.Store implementation for Consul (issue #​18)
    • Package etcd - A gokv.Store implementation for etcd (issue #​24)
Breaking changes
  • The added Delete(string) error method (see above) means that previous implementations of gokv.Store are not compatible with the interface anymore.
  • Changed: The NewStore() function in gomap and syncmap now has an Option parameter. Required for issue #​22.
  • Changed: Passing an empty string as key to Set(), Get() or Delete() now results in an error
  • Changed: Passing nil as value parameter to Set() or as pointer to Get() now results in an error. This change leads to a consistent behaviour across the different marshal formats (otherwise for example encoding/json marshals nil to null while encoding/gob returns an error).

v0.2.0

Compare Source

  • 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".

Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner October 21, 2023 10:00
@codecov
Copy link

codecov bot commented Oct 21, 2023

Codecov Report

Merging #286 (6399a3a) into main (39683f6) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #286   +/-   ##
=======================================
  Coverage   58.18%   58.18%           
=======================================
  Files          30       30           
  Lines        1722     1722           
=======================================
  Hits         1002     1002           
  Misses        632      632           
  Partials       88       88           

@glimchb glimchb merged commit b55b04c into main Oct 23, 2023
18 checks passed
@glimchb glimchb deleted the renovate/github.com-philippgille-gokv-0.x branch October 23, 2023 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant