Repository navigation
Changes
Features
- Reuse connections after cancelled blocking commands: a blocking command built with
.UnblockOnCancel()sendsCLIENT UNBLOCKwhen its context is cancelled, so the client keeps the connection instead of closing it (#1030) MUnlinkhelper: unlinks many keys at once, grouping them by slot in cluster mode (valkey-io/valkey-go#197)ClusterScannerhelper: iteratesCLUSTERSCANresults withIter(). AddsClusterScanEntryandAsClusterScanEntry()(valkey-io/valkey-go#172)- rueidislimiter: new opt-in GCRA algorithm (
AlgorithmGCRA), plusAllowAtMost,ResetandWithBurst. 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),LatencyandLatencyReset(valkey-io/valkey-go#169), andACLUsers,ACLWhoAmIandACLGenPass(valkey-io/valkey-go#187) - rueidisotel:
DoCacheandDoMultiCachespans now carrydb.cache.hitanddb.cache.misscounts (valkey-io/valkey-go#189)
Bug Fixes
NewClientno longer returns a non-nilClientthat 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)
DoMultion 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
ACLDryRunandACLLogwith no count.ClientInfoparsing now accepts unknown flags (valkey-io/valkey-go#187)
Docs
- Fixed the
Receivecleanup and parse-error examples (valkey-io/valkey-go#182)
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