Skip to content

Releases: valkey-io/valkey-go

1.0.45

29 Aug 16:46
741d1ad
Compare
Choose a tag to compare

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 of sync.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 like BGSAVE.
  • fix: export fields of valkeycompat.TSCreateRuleWithArgs correctly.

Contributors

We'd like to thank all the contributors who worked on this release!

@ash2k and @rueian

1.0.44

11 Aug 09:00
f41a9e9
Compare
Choose a tag to compare

Changes

  • feat: add NewScript to valkeycompat (#601)
  • feat: add Watch, Tx and TxPipeline to valkeycompat (#605)
  • feat: add Pipeline to valkeycompat (#599)
  • feat: add WithEnableReadOperation to valkeyprob (#598)
  • fix: remove busy retries if valkeylock.WithContext is waiting for the lock (#604)
  • fix: avoid too many results to unpack script in valkeyprob (#595)

Contributors

We'd like to thank all the contributors who worked on this release!

@proost, @rueian and @yhc9311

1.0.43

28 Jul 12:26
ae64b78
Compare
Choose a tag to compare

Changes

  • feat: add PubSub adapter to rueidiscompat (#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 a MOVED 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

08 Jul 15:20
393bc8e
Compare
Choose a tag to compare

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!

@SoulPancake, @karimalzalek and @rueian

1.0.40

25 Jun 14:19
cb3b12c
Compare
Choose a tag to compare

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

16 Jun 04:42
5714ec0
Compare
Choose a tag to compare

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!

@JayChavan-23, @SoulPancake, @cyuankuo, @j178 and @rueian

1.0.38

31 May 13:34
488e0af
Compare
Choose a tag to compare

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!

@SoulPancake, @VladyslavLukyanenko, @cyuankuo and @rueian

1.0.37

12 May 02:02
415f72b
Compare
Choose a tag to compare

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!

@FZambia and @szuecs

1.0.36

02 May 15:53
055c177
Compare
Choose a tag to compare

Changes

  • fix: incorrect conversions in valkeyprob (#541)
  • fix: ipv6 handling in MOVED and ASK messages of cluster mode (#540)

Contributors

We'd like to thank all the contributors who worked on this release!

@proost and @rueian

1.0.35

24 Apr 16:28
c6ccd62
Compare
Choose a tag to compare

🚀 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!