Releases: valkey-io/valkey-go
Releases · valkey-io/valkey-go
1.0.45
Changes
- feat: drop Go 1.20 support. Now the minimum requirement is Go 1.21. (#613)
- feat: add HExpire, HPExpire, HTTL, and HPTTL methods to
valkeycompat
. (#618) - feat: improve
valkeylock
error messages to contain why a lock can't be acquired. (#616) - feat: upgrade OpenTelemetry to v1.28.0.
Improvements
- perf: clear containers before calling the
Put
ofsync.Pool
to reclaim memory faster. (#613) - perf: reduce OpenTelemetry allocations in
valkeyotel
(#614)
Bugs
- fix: add timeouts when refreshing cluster slots to avoid being stuck. (#615)
- fix: avoid panics when using
valkeycompat.Pipeliner
with commands likeBGSAVE
. - fix: export fields of
valkeycompat.TSCreateRuleWithArgs
correctly.
Contributors
We'd like to thank all the contributors who worked on this release!
1.0.44
Changes
- feat: add
NewScript
tovalkeycompat
(#601) - feat: add
Watch
,Tx
andTxPipeline
tovalkeycompat
(#605) - feat: add
Pipeline
tovalkeycompat
(#599) - feat: add
WithEnableReadOperation
tovalkeyprob
(#598) - fix: remove busy retries if
valkeylock.WithContext
is waiting for the lock (#604) - fix: avoid
too many results to unpack script
invalkeyprob
(#595)
Contributors
We'd like to thank all the contributors who worked on this release!
1.0.43
Changes
- feat: add
PubSub
adapter torueidiscompat
(#592) - feat: not panic but return
ErrDedicatedClientRecycled
error when using dedicated client after being recycled (#593) - perf: reduce the number of
CLUSTER SHARDS
sent when aMOVED
is received (#589) - fix: jsonRespository.DoCache does not hang when
redisjson
module is not installed (#594) - fix: remove unnecessary aws configuration endpoint specialization (#588)
- test: dragonflydb 1.20.1 with client side caching (#585)
Contributors
We'd like to thank all the contributors who worked on this release!
@FZambia, @ajayd-san, @proost and @rueian
1.0.41
Changes
- feat: send
DISCARD
command when a dedicated connection is recycled (#580) - feat: fallback MGetCache to MGet when
DisableCache=true
(#574) - docs: Add IsParseError() documentation (#578)
- test: minor increase in rueidiscompat coverage (#583)
Contributors
We'd like to thank all the contributors who worked on this release!
1.0.40
Changes
- feat: improve the initial error detail by reporting failed CLIENT commands in the message (#576)
- feat: move rueidisaside back to the root go.mod (#573)
- feat: add IsParseErr helper (#564)
- feat: use math/rand/v2 if go1.22 (#553)
- perf: set 1s limit for graceful shutdown to avoid waiting for a hanging redis (#572)
- fix: remove unnecessary busy loop during shutdown (#575)
Contributors
We'd like to thank all the contributors who worked on this release!
@LWF15, @SoulPancake, @psotou and @rueian
1.0.39
Changes
- feat: support Redis 7.4 hash field expiration commands, such as
HEXPIRE
. (#561) - feat: response parsers like
AsInt64
will no longer panic but return errors. (#555)
Tests
- ci: tests are now run with go1.21 and go1.22 on GitHub Actions (#563)
- ci: more tests for valkeycompat (#551)
Contributors
We'd like to thank all the contributors who worked on this release!
1.0.38
Changes
- feat: upgrade otel package in valkeyotel. It now requires go 1.21 (#550)
- feat: add ForceWithContext to valkeylock (#547)
- feat: add the unit field to the bitcount method of valkeycompat (#538)
- perf: improves the responsiveness of valkeylock by reconstructing client-side caching after extending key validities (#546)
Tests
- test: minor increase in coverage for command.go under valkeycompat (#548)
- test: minor increase in coverage for adapter.go under valkeycompat (#545)
Contributors
We'd like to thank all the contributors who worked on this release!
1.0.37
Changes
🐛 Bug Fixes
- fix: occasional panic when initializing rueidis.Client while Redis Cluster is not available (redis/rueidis#543)
🧰 Maintenance
- ci: add linters: go vet and staticcheck
Contributors
We'd like to thank all the contributors who found bugs and who worked on this release!
1.0.36
1.0.35
🚀 New Features
- feat: rename to valkey-io/valkey-go
- feat: add NewErrorResult() to rueidishook (#532)
- feat: update golang.org/x/net
Changes
- fix: rare nil dereferences in lru (ele.Value.(*cacheEntry)) (#529)
Contributors
We'd like to thank all the contributors who worked on this release!