VersionDrift
Product

Valkey 9.1.4 → 9.2.0

1 release · 3 breaking changes · 0 security fixes · 2 advisories fixed

0security3breaking0deprecated37feature0fix

Vulnerabilities fixed by this upgrade

  • 7.5 CVE-2026-130822 Use-after-free when client eviction frees the client whose command is still executing
  • 8.8 GHSA-f4q9-j22m-xqq9 Integer truncation in Valkey cluster publish message construction causes a heap buffer overflow

Breaking changes

  • breaking Remove PHLONGEST in favor of PHPREFIXES, which now returns matches longest-first with paging and an EXCLUDESELF option by @yangbodong22011 (#5070) in 9.2.0
  • breaking Remove the # Hotkeys INFO section and its hotkeys_last_window_samples and hotkeys_last_window_duration_ms fields, which only shipped in the 9.2 release candidates by @ranshid (#5340) in 9.2.0
  • breaking Remove the forkless_fallbacks_old_rdb_version counter from INFO debug along with the redundant old RDB version fork fallback for full sync by @nitaicaro (#5461) in 9.2.0

Security changes

None in the release notes.

Every release in between

featureAdd new DELEX command to conditionally delete a string key when its value matches (IFEQ) or differs from (IFNE) a given value by @lightsigma96 (#4607)
featureAdd Zstd as a streaming compression codec for RDB persistence and replication, offering better compression ratios than LZ4 by @sarthakaggarwal97 (#3798)
featureSupport streaming-compressed RDB preambles in AOF bases, so compressed full-sync RDB files can be reused directly as AOF bases by @sarthakaggarwal97 (#4754)
featureACL GENPASS and the hash function seed draw randomness from the configured OpenSSL 3 provider when built with TLS, supporting deployments that require a validated crypto module by @MarkAtwood (#4339)
featureSupport forkless full synchronization to replicas, serving disk and diskless full syncs from a background-thread snapshot without forking by @nitaicaro (#4797)
featureAdd ACL DIGEST command that returns a fingerprint of the ACL rules currently in effect, useful to verify what ACL LOAD applied by @melancholictheory (#4446)
featureAdd forkless RDB snapshots, opt-in via the new forkless-infrastructure-enabled and bgsave-default-method configs, with new INFO persistence fields reporting the save method and progress by @JimB123 (#4460)
featureAdd the XACKDEL and XDELEX stream commands with KEEPREF, DELREF and ACKED modes to acknowledge and delete messages once consumer groups no longer need them by @nickiaq (#4629)
featureSupport a secondary server certificate via tls-alt-cert-file, tls-alt-key-file and tls-alt-key-file-pass, e.g. a post-quantum certificate alongside RSA, with matching INFO TLS fields by @pkhartsk (#3717)
featureAdd ACL roles: named, reusable sets of ACL selectors managed with ACL SETROLE/DELROLE/GETROLE/ROLES and assigned to users with role:, in commands, the ACL file and valkey.conf by @yang-z-o (#3967)
featureAdd a maxmemory-scripts config to limit memory used by cached EVAL scripts, and mark SCRIPT LOAD as DENYOOM so it respects the global maxmemory limit by @enjoy-binbin (#866)
featureAdd Path Hash, a new radix-tree-backed data type with PH* commands for exact lookup, longest-prefix matching, and prefix traversal over binary-safe paths by @yangbodong22011 (#4506)
featureSupport whole-stream LZ4 compression of RDB files via the new rdbcompression lz4 option; the default per-string LZF behavior is unchanged by @sarthakaggarwal97 (#3531)
featureAdd server-side hot key detection with new HOTKEYS GET/RESET commands, enabled by setting hotkeys-top-k by @alon-arenberg (#3708)
featureAdd optional replication throttling (repl-throttling-enabled) that slows client writes when a replica falls behind, avoiding disconnects and full syncs by @harrylin98 (#4356)
featurePrioritize system-critical events (cluster heartbeats, replication, slot migration) over heavy client traffic, tunable via the new priority-preemptive-poll-interval-us config by @satheeshaGowda (#4076)
featureReserve connection slots for administrative clients: connections from the CIDR ranges listed in the new priority-subnets config are tagged as prioritized, maxclients-reserved caps normal clients at maxclients minus that many slots, and INFO clients reports connected_priority_clients by…
featureAdd INCREX command to atomically increment a key by an integer or float while setting its expiration, with NX/XX conditions by @GavinDmello (#3253)
featureFix long stalls in SRANDMEMBER, ZRANDMEMBER, HRANDFIELD and SPOP on a small key whose hashtable is still shrinking from a much larger size by @madolson (#5170)
featureStop treating LINDEX, LRANGE and LPOS as format-changing commands during forkless background iteration, so list reads no longer get write-style handling by @JimB123 (#5283)
featureKeep the forkless save queue growing under write load by not counting keys expedited by writes as leftover work by @taham0 (#5298)
featureMake BCAST client tracking cost scale with the prefixes a key matches instead of all registered prefixes, so many unmatched prefixes no longer slow writes and the event loop by @madolson (#5183)
featureReclaim memory from sorted sets that shrink or have frequent score updates by compacting sparse B+tree leaves on delete by @rainsupreme (#4526)
featureSpeed up sorted set score updates in listpack encoding by replacing the score in place when the member keeps its position by @charsyam (#3491)
featureFix quadratic slowdown in HRANDFIELD and SRANDMEMBER with counts on collections whose elements differ only in letter case by @madolson (#5167)
featureBound the time spent per cycle evicting keys from the client tracking table, avoiding long stalls after lowering tracking-table-max-keys by @tanmayBeginsJourney (#4775)
featureSpeed up the INFO command by around 5% by pre-allocating the output buffer by @charsyam (#3413)
featureReclaim client-side caching tracking table entries left by disconnected clients, fixing a memory leak under read-heavy workloads, and include the tracking table in active defrag by @rayjinghaolei (#4190)
featureSpeed up ZPOPMIN and ZPOPMAX on B+tree encoded sorted sets by detaching edge items without a key search or copy by @charsyam (#4852)
featureCounting a hash's fields with expirations is now O(1) for hashtable-encoded hashes by tracking the volatile set size on each mutation by @frostzt (#4829)
featureSpeed up AOF command propagation by serializing commands directly into the AOF buffer, removing an allocation and copy per command by @charsyam (#3496)
featureCache the earliest event-loop timer to avoid an O(N) scan per iteration, reducing overhead with many timers such as RDMA connections by @royenheart (#4354)
featureSpeed up HGETALL, HKEYS and HVALS with exact-length reply headers, fused bulk replies, and entry prefetching by @jjuleslasarte (#4417)
featureEliminate false sharing in per-thread memory usage counters, improving throughput with I/O threads on SMT x86 systems by @omerrubi-amzn (#4107)
featureRead-only list iteration (e.g. LRANGE, LPOS) no longer decompresses and recompresses quicklist nodes in place, cutting CPU cost on compressed lists by @murphyjacob4 (#4782)
featureSpeed up ZSCAN on btree-encoded sorted sets by avoiding temporary member and score copies and prefetching items by @charsyam (#4856)
featureReduce cache-line false sharing on IO thread activity and job counters for better multi-threaded IO performance by @omerrubi-amzn (#4976)
breakingRemove PHLONGEST in favor of PHPREFIXES, which now returns matches longest-first with paging and an EXCLUDESELF option by @yangbodong22011 (#5070)
breakingRemove the # Hotkeys INFO section and its hotkeys_last_window_samples and hotkeys_last_window_duration_ms fields, which only shipped in the 9.2 release candidates by @ranshid (#5340)
breakingRemove the forkless_fallbacks_old_rdb_version counter from INFO debug along with the redundant old RDB version fork fallback for full sync by @nitaicaro (#5461)
+284 more items in the release notes
See how far your stack has drifted from upstream. Release data from vendors’ own sources · feed under CC BY 4.0 · Code under AGPL-3.0 Settings Feed status