Skip to content

1.0.79

Latest

Choose a tag to compare

@github-actions github-actions released this 15 Oct 06:49
4ad6e53

Changes

Features

  • Reuse connections after cancelled blocking commands: a blocking command built with .UnblockOnCancel() sends CLIENT UNBLOCK when its context is cancelled, so the client keeps the connection instead of closing it (#1030)
  • MUnlink helper: unlinks many keys at once, grouping them by slot in cluster mode (valkey-io/valkey-go#197)
  • ClusterScanner helper: iterates CLUSTERSCAN results with Iter(). Adds ClusterScanEntry and AsClusterScanEntry() (valkey-io/valkey-go#172)
  • rueidislimiter: new opt-in GCRA algorithm (AlgorithmGCRA), plus AllowAtMost, Reset and WithBurst. Fixed Window stays the default (valkey-io/valkey-go#176)
  • rueidiscompatrate: new module that is a drop-in replacement for go-redis/redis_rate/v10 (valkey-io/valkey-go#176)
  • rueidiscompat: added MSetEX (valkey-io/valkey-go#164), Latency and LatencyReset (valkey-io/valkey-go#169), and ACLUsers, ACLWhoAmI and ACLGenPass (valkey-io/valkey-go#187)
  • rueidisotel: DoCache and DoMultiCache spans now carry db.cache.hit and db.cache.miss counts (valkey-io/valkey-go#189)

Bug Fixes

  • NewClient no longer returns a non-nil Client that wraps a nil pointer when construction fails (valkey-io/valkey-go#192)
  • rueidisaside: fixed a deadlock during FLUSHDB/FLUSHALL (valkey-io/valkey-go#185)
  • A failed sync-path command no longer starts the background reader, which could mistake a late reply for a protocol error (valkey-io/valkey-go#203)
  • DoMulti on a cluster client no longer reserves a 256 KiB stack frame on every call (valkey-io/valkey-go#204)
  • On a DedicatedClient, a cancelled blocking command no longer keeps the connection from receiving keepalive pings (#1030)
  • rueidiscompat: fixed ACLDryRun and ACLLog with no count. ClientInfo parsing now accepts unknown flags (valkey-io/valkey-go#187)

Docs

Contributors

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

@BeyondCreative, @KartikYZ, @NotAFlightRisk, @frozenbonito, @magiclin99, @nelzblooket, @rueian, @sonalijhala-23 and @weihong-xu-hpe