chore(deps): update valkey/valkey docker tag to v9.2.1 #81

Open
renovate wants to merge 1 commit from renovate/valkey-valkey-9-x into main
Collaborator

This PR contains the following updates:

Package Update Change
valkey/valkey minor 9.1.0-alpine → 9.2.1-alpine

Release Notes

valkey-io/valkey (valkey/valkey)

v9.2.1

Compare Source

Valkey 9.2.1 - Released Wed 25 November 2026

Upgrade urgency MODERATE: Program an upgrade of the server, but it's not urgent.

Bug Fixes
  • Restore pre-9.2 TLS loading so the server no longer refuses to start or apply TLS configuration when a loaded certificate, such as an expired root left in a tls-ca-cert-file bundle, is outside its validity period by @​madolson (#​5550)
  • Fix a server crash when PHGET reads a large path hash while a forkless save is running by @​madolson (#​5112)
  • Fix a double mutex unlock, which is undefined behavior, when reducing the number of IO threads at runtime by @​sarthakaggarwal97 (#​5366)
  • Fix dual-channel replication so a replica aborts and resyncs when the primary link breaks while it applies its local buffer, instead of reporting a successful sync on a dead link by @​shohamazon (#​5417)
  • Fix IO threads resending already-written data to a client that is being closed, which could make a replica dropped for exceeding client-output-buffer-limit fail with a protocol error by @​dgershko (#​5468)
  • Fix COMMAND GETKEYS EXEC returning wrong keys and possibly crashing the server when given more than 256 conditions by @​madolson (#​4712)
  • Fix an uninitialized memory read in ValkeyModule_CloseKey when a module changes the type of an open key through ValkeyModule_Call by @​Baraa-Hasheesh (#​5358)
  • Fix a use-after-free that could crash a cluster node receiving a cluster bus forgotten-node extension in which the sender names itself by @​roshkhatri (#​4675)
  • Fix cluster nodes adopting stale replica claims that form a replication cycle in their cluster view, which could trigger an assertion crash in builds with debug assertions by @​Baraa-Hasheesh (#​5452)
  • Fix a possible assertion crash with IO threads when more data arrives for a client that has a partially received command and is pending close by @​aradz44 (#​3245)

Full Changelog: https://github.com/valkey-io/valkey/compare/9.2.0...9.2.1

v9.2.0

Compare Source

Valkey 9.2.0 GA - Released Wed 18 November 2026

Upgrade urgency LOW: This is the first stable release of Valkey 9.2.

Behavior Changes
  • ZRANGEBYSCORE, ZREVRANGEBYSCORE, ZCOUNT, and ZRANGESTORE now reject a bare ( or an empty string as a score bound instead of silently treating it as 0 by @​AlisinaDevelo (#​4054)
  • Path Hash deletion commands now remove the key when the last path is deleted, following the Hash key lifecycle and emitting a generic del event by @​yangbodong22011 (#​5068)
  • Active expiration of keys and hash fields now increments the dirty counter, so save points (and thus BGSAVE) may trigger more often by @​enjoy-binbin (#​3118)
New Features and Enhanced Behavior
  • Add new DELEX command to conditionally delete a string key when its value matches (IFEQ) or differs from (IFNE) a given value by @​lightsigma96 (#​4607)
  • Add Zstd as a streaming compression codec for RDB persistence and replication, offering better compression ratios than LZ4 by @​sarthakaggarwal97 (#​3798)
  • Support streaming-compressed RDB preambles in AOF bases, so compressed full-sync RDB files can be reused directly as AOF bases by @​sarthakaggarwal97 (#​4754)
  • ACL 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)
  • Support forkless full synchronization to replicas, serving disk and diskless full syncs from a background-thread snapshot without forking by @​nitaicaro (#​4797)
  • Add ACL DIGEST command that returns a fingerprint of the ACL rules currently in effect, useful to verify what ACL LOAD applied by @​melancholictheory (#​4446)
  • Add 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)
  • Add 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)
  • Support 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)
  • Add ACL roles: named, reusable sets of ACL selectors managed with ACL SETROLE/DELROLE/GETROLE/ROLES and assigned to users with role:<name>, in commands, the ACL file and valkey.conf by @​yang-z-o (#​3967)
  • Add 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)
  • Add 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)
  • Support whole-stream LZ4 compression of RDB files via the new rdbcompression lz4 option; the default per-string LZF behavior is unchanged by @​sarthakaggarwal97 (#​3531)
  • Add server-side hot key detection with new HOTKEYS GET/RESET commands, enabled by setting hotkeys-top-k by @​alon-arenberg (#​3708)
  • Add optional replication throttling (repl-throttling-enabled) that slows client writes when a replica falls behind, avoiding disconnects and full syncs by @​harrylin98 (#​4356)
  • Prioritize 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)
  • Reserve 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 @​satheeshaGowda (#​4005)
  • Add INCREX command to atomically increment a key by an integer or float while setting its expiration, with NX/XX conditions by @​GavinDmello (#​3253)
Performance and Efficiency Improvements
  • Fix 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)
  • Stop 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)
  • Keep the forkless save queue growing under write load by not counting keys expedited by writes as leftover work by @​taham0 (#​5298)
  • Make 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)
  • Reclaim memory from sorted sets that shrink or have frequent score updates by compacting sparse B+tree leaves on delete by @​rainsupreme (#​4526)
  • Speed up sorted set score updates in listpack encoding by replacing the score in place when the member keeps its position by @​charsyam (#​3491)
  • Fix quadratic slowdown in HRANDFIELD and SRANDMEMBER with counts on collections whose elements differ only in letter case by @​madolson (#​5167)
  • Bound the time spent per cycle evicting keys from the client tracking table, avoiding long stalls after lowering tracking-table-max-keys by @​tanmayBeginsJourney (#​4775)
  • Speed up the INFO command by around 5% by pre-allocating the output buffer by @​charsyam (#​3413)
  • Reclaim 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)
  • Speed up ZPOPMIN and ZPOPMAX on B+tree encoded sorted sets by detaching edge items without a key search or copy by @​charsyam (#​4852)
  • Counting 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)
  • Speed up AOF command propagation by serializing commands directly into the AOF buffer, removing an allocation and copy per command by @​charsyam (#​3496)
  • Cache 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)
  • Speed up HGETALL, HKEYS and HVALS with exact-length reply headers, fused bulk replies, and entry prefetching by @​jjuleslasarte (#​4417)
  • Eliminate false sharing in per-thread memory usage counters, improving throughput with I/O threads on SMT x86 systems by @​omerrubi-amzn (#​4107)
  • Read-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)
  • Speed up ZSCAN on btree-encoded sorted sets by avoiding temporary member and score copies and prefetching items by @​charsyam (#​4856)
  • Reduce cache-line false sharing on IO thread activity and job counters for better multi-threaded IO performance by @​omerrubi-amzn (#​4976)
  • PHDELPREFIX now bounds its temporary path copies to 64KiB per batch, avoiding large untracked memory spikes on long shared prefixes by @​madolson (#​5179)
  • Speed up radix tree lookups and inserts by using SIMD-optimized memchr() for child-edge search by @​charsyam (#​3472)
  • Improve replica processing speed by parsing multiple commands from the replication stream at once by @​enjoy-binbin (#​3597)
  • Reduce memory usage by sharing pubsub pattern and WATCH key objects across clients subscribing to or watching the same name by @​enjoy-binbin (#​4072)
  • Large sorted sets are now backed by a B+ tree instead of a skiplist; OBJECT ENCODING reports btree instead of skiplist by @​ranshid (#​4359)
  • Save the cluster config file from a background thread when cluster-config-save-behavior is best-effort, avoiding main-thread latency spikes from slow disk I/O by @​enjoy-binbin (#​2555)
  • Speed up HMGET, SMISMEMBER and ZMSCORE on large hashtable-encoded keys with batched lookups that overlap memory accesses by @​chzhoo (#​4017)
  • Extend memory prefetching to hash, set and sorted set member lookups when io-threads are enabled, improving performance for 30 field/member commands on large keys by @​roshkhatri (#​3940)
  • MEMORY PURGE now also releases free pages from the glibc main arena back to the OS, reclaiming memory held by libc-internal allocations by @​webbsssss (#​3640)
  • Speed up command propagation to replicas by batching each command's RESP frame into a single replication buffer write by @​hpatro (#​4044)
  • Reduce lseek system calls during disk-based replication by seeking only when a write blocks or is partial by @​enjoy-binbin (#​4053)
  • Reduce event-loop overhead by refreshing cached daylight-saving info once per second instead of on every wakeup by @​hpatro (#​4086)
  • Speed up keyspace event notifications by skipping work when there are no subscribers and avoiding unnecessary allocations by @​enjoy-binbin (#​4285)
  • Speed up exact XTRIM MAXLEN = 0 by about 2.5x by clearing the whole stream in one step instead of removing entries individually by @​sarthakaggarwal97 (#​4161)
  • Cluster bus reads, writes, and inbound TLS accepts can now run on the shared I/O thread pool, with new CLUSTER INFO offload statistics by @​hpatro (#​3438)
  • Small hashes with field expiration now use the memory-efficient listpack encoding instead of always converting to a hashtable by @​frostzt (#​3212)
  • Reduce per-command overhead by skipping post-command bookkeeping when no propagation, module, or invalidation work is pending by @​ahmetalicc (#​4257)
Bug Fixes
  • Fix PFMERGE with no source keys bypassing ACL key permissions and failing in COMMAND GETKEYS, and a crash in module commands whose keynum key spec starts past the last argument by @​madolson (#​5087)
  • Fix SCRIPT KILL and FUNCTION KILL not stopping Lua scripts that loop inside nested coroutines, and script timeouts not being detected when work is spread across coroutines by @​madolson (#​5108)
  • Fix a server crash in SORT and SORT_RO with BY or GET patterns when an element is 2 GiB or larger by @​madolson (#​5146)
  • Fix ValkeyModule_Calloc and ValkeyModule_TryCalloc returning an undersized buffer when nmemb * size overflows by @​madolson (#​5155)
  • Fix EXEC succeeding after a key that was already expired at WATCH time is overwritten, which can happen on replicas by @​madolson (#​5169)
  • Fix a crash on the first FUNCTION LOAD after startup when the shebang engine name contains a NUL byte by @​madolson (#​5115)
  • Fix a crash in a cluster replica whose primary was removed from the nodes table when another primary claims an unassigned slot by @​madolson (#​5184)
  • Fix an active defrag crash when a large set, sorted set or list is replaced by a hashtable-encoded hash while it is being defragmented by @​madolson (#​5164)
  • Fix an out-of-bounds write in PFADD and PFMERGE on a corrupted sparse HyperLogLog ending in a truncated XZERO opcode by rejecting it as invalid by @​madolson (#​5124)
  • Fix a server abort in PFADD and PFMERGE on short sparse HyperLogLogs when hll-sparse-max-bytes is set to 31 or less by @​madolson (#​5138)
  • Fix forkless saves writing corrupted set members to the RDB when ZUNION, ZINTER, ZINTERCARD or ZDIFF reads the same set concurrently by @​madolson (#​5110)
  • Fix a crash when the Lua debugger is started on an empty or newline-only script by @​madolson (#​5117)
  • Fix a cluster node failing to restart with an assertion after a gossip entry carrying the MYSELF flag adds a second myself node to nodes.conf by @​madolson (#​5134)
  • Fix ACL LOAD not disconnecting default user clients subscribed to channels the reloaded rules no longer allow by @​madolson (#​5085)
  • Fix a Sentinel crash when a monitored replica's INFO reply contains no master_host by @​smkher (#​4929)
  • Fix throttled write commands being executed twice when using RDMA with IO threads by @​madolson (#​5160)
  • Fail CONFIG REWRITE when the old config file reads short instead of writing uninitialized memory into the new config file by @​madolson (#​5158)
  • Fix Lua server.error_reply() returning stale heap memory as the error message when given a string of 2 GiB or more by @​madolson (#​5122)
  • Fix a use-after-free in streams when XADD creates a new node, which could leave a dangling pointer hit by later reads such as XRANGE by @​Baraa-Hasheesh (#​4711)
  • Fix XINFO GROUPS and XINFO STREAM ... FULL reporting too-high consumer group lag after XTRIM or a trimming XADD removes unread entries by @​Sasidharan3094 (#​4983)
  • Fix forkless background iteration being left inside an open MULTI after a script or MULTI/EXEC when there are no replicas and AOF is off by @​harrylin98 (#​5316)
  • Fix use of uninitialized variables in valkey-cli cluster key migration when SELECT fails on the source node by @​PoisonGodv (#​5311)
  • Fix an assertion failure when FLUSHALL or SHUTDOWN cancels a failed forkless save that still has a FLUSHDB or SWAPDB queued by @​dgershko (#​5326)
  • Fix AOF load failure after a crash leaves a torn annotation at the end of the file; it is now treated as a short read and can be truncated by aof-load-truncated or valkey-check-aof --fix by @​sumitk163 (#​5349)
  • Fix Lua server.log() blocking the server for seconds when called with thousands of arguments, with no -BUSY reply or SCRIPT KILL by @​madolson (#​5104)
  • Bound the number of memory regions the crash report's fast memory test records on Linux to avoid overflowing its region list by @​JimB123 (#​5379)
  • Fix a replica assertion when a timed-out script ends while the replication throttler holds the primary client, possible right after a failover with repl-throttling-enabled yes by @​asagege (#​5389)
  • Fix a primary assertion when FLUSHDB runs right at the end of a forkless full sync by @​sarthakaggarwal97 (#​5365)
  • Fix a primary assertion when a module thread holding the GIL performs a replicated write during a forkless save or full sync; affects modules that set VALKEYMODULE_OPTIONS_HANDLE_FORKLESS by @​Baraa-Hasheesh (#​5432)
  • Fix CONFIG SET priority-subnets demoting replica and slot migration connections from high priority, and fix drift in the active priority client counter by @​satheeshaGowda (#​4681)
  • Fix a source primary assertion on the next CLUSTER MIGRATESLOTS and a pipe descriptor leak after a slot migration snapshot fails to fork, such as during a forkless BGSAVE by @​Baraa-Hasheesh (#​5359)
  • Fix excessive copy-on-write memory during fork-based saves and a data race in forkless saves under an LFU maxmemory-policy by @​madolson (#​5445)
  • Fix a use-after-free crash when a blocked client's re-executed command evicts the client still executing a command under maxmemory-clients by @​nadav-levanoni (#​5435)
  • Fix access to a freed database when FLUSHDB and SWAPDB in the same transaction terminate a background iteration by @​JimB123 (#​5462)
  • Reject module write commands while the server is paused for writes, preventing a crash from module timer callbacks during CLIENT PAUSE WRITE or CLUSTER FAILOVER by @​smkher (#​3645)
  • Fix event loop busy-spinning on virtual machines by not using raw TSC for the monotonic clock when the kernel clocksource is not tsc by @​quanyeyang (#​4707)
  • Fix a crash in ValkeyModule_HashHasStringRef on a missing or expired field and correct wrong return values in the hash stringRef module APIs by @​ShubhamTaple (#​4504)
  • Fix a server abort on a RESTORE payload declaring a string length that overflows the allocation size; such payloads are now rejected as bad data by @​enjoy-binbin (#​4733)
  • Fix ZINTER/ZINTERSTORE returning input-order-dependent scores when a weighted term is 0*inf; a NaN weighted score now counts as 0, matching ZUNION by @​leomurillo (#​4997)
  • Fix crashes, lookup hangs, and duplicate set members when keys or elements reach 2 GiB, caused by storing string lengths in a 32-bit integer by @​madolson (#​5133)
  • Fix module global defrag resuming on the wrong module or with a stale cursor when MODULE UNLOAD runs between defrag cycles by @​madolson (#​5154)
  • Propagate PFADD elements applied before a corrupted-HLL INVALIDOBJ error so replicas and the AOF stay consistent with the primary by @​madolson (#​5128)
  • Fix a server crash in SCRIPT DEBUG SYNC mode when a debugger command arrives split across more than one read by @​madolson (#​5127)
  • Fix a server panic when a Lua script returns or raises an error table whose metatable has an __index metamethod that raises an error by @​madolson (#​5118)
  • Fix forkless BGSAVE producing a corrupt snapshot when SWAPDB runs without being replicated, such as from a script with replication disabled by @​madolson (#​5116)
  • Let FLUSHALL and SHUTDOWN cancel a forkless save that is finalizing its file, so a stale snapshot can no longer overwrite the newer dump.rdb by @​madolson (#​5121)
  • Fix a server crash when a module never sets a postponed reply length; the leftover placeholder is now filled with an empty array by @​madolson (#​5159)
  • Fix a memory leak when server.register_function named arguments are repeated in a different letter case by @​madolson (#​5120)
  • Preserve expired but not yet reaped hash fields across listpack-to-hashtable conversion so their deletion is properly reaped and propagated by @​frostzt (#​4704)
  • Fix a double-decremented item count when background iteration is terminated with a SWAPDB or FLUSHDB event queued by @​JimB123 (#​4750)
  • Fix GEOSEARCH returning empty results for exact zero-distance matches on builds where floating-point contraction breaks the latitude distance calculation by @​Baraa-Hasheesh (#​4777)
  • Reject inline commands containing a raw NUL byte with a protocol error instead of leaving the connection stalled by @​cjx-zar (#​4759)
  • Fix a memory leak on normal shutdown caused by I/O worker threads not being terminated and cleaned up by @​roshkhatri (#​4710)
  • XACKDEL with KEEPREF now replies 1 instead of -1 when acknowledging an entry whose stream message was already deleted, matching the ACKED and DELREF modes by @​adityamukesh (#​4843)
  • Fix listpack encoding incompatibility that caused RDB load and replication failures for entries of certain lengths between 9.0 and 9.1.x by @​jjuleslasarte (#​4819)
  • Reject relative expire times in SET/GETEX, RESTORE, and ValkeyModule_SetExpire that overflow when added to the current time, preventing server aborts from negative expires by @​madolson (#​4880)
  • ACL DIGEST now includes role definitions, so editing a role's rules changes the reported fingerprint by @​melancholictheory (#​4694)
  • Fix a server crash when loading an ACL file containing a selector with an unmatched parenthesis by @​magic-peach (#​4214)
  • Fix a segfault on Alpine/musl when Lua is built as a module, caused by a symbol clash on an internal clock function by @​mohammedgqudah (#​4270)
  • Fix lex range seeks, NaN score bound handling, and a memory leak in B+tree sorted sets, and resolve ZRANGEBYLEX LIMIT offsets in logarithmic time by @​xiaocj (#​4644)
  • Fix expired hash fields left untracked after listpack-to-hashtable conversion, which could crash the server on a later write and leave fields that are never reaped by @​beyondwin (#​4894)
  • Restore acceptance of hexadecimal float sorted set scores (such as 0x10), keeping replication and AOF replay compatible with Valkey 9.0 by @​quanyeyang (#​4875)
  • Sorted set range commands with a negative LIMIT offset now return an empty result instead of a spurious element on btree-encoded keys by @​xiaocj (#​4637)
  • Fix HSETEX and HGETEX failing to parse their arguments when the key is named fields by @​sebxt (#​4945)
  • Fix a crash when active defrag's deferred keys outlive a keyspace replacement such as FLUSHDB/FLUSHALL ASYNC, SWAPDB, or a replica's pre-sync flush by @​taham0 (#​4968)
  • Fix LSET on 64-bit builds silently modifying the wrong element for out-of-range indexes instead of returning an index out of range error by @​charsyam (#​4823)
  • Fix a heap buffer overflow in cluster Pub/Sub message construction; oversized PUBLISH and SPUBLISH payloads are now rejected with an error in cluster mode by @​roshkhatri (#​5030)
  • Lex range commands on btree-encoded sorted sets with mixed scores now match listpack results, preventing primary/replica divergence via ZREMRANGEBYLEX and ZRANGESTORE by @​pirate329 (#​4954)
  • Fix a memory leak when GEOSEARCH or GEOSEARCHSTORE is given repeated BYPOLYGON options by @​charsyam (#​4995)
  • DEBUG RELOAD and DEBUG LOADAOF now return a LOADING error while the dataset is loading, avoiding a possible panic by @​enjoy-binbin (#​4877)
  • Fix a memory leak in ValkeyModule_GetCommandKeysWithFlags when introspecting commands with large key lists by @​christopherlim98 (#​5046)
  • MEMORY USAGE now counts hash fields that have expired but not yet been reaped, fixing under-reported sizes by @​sushilpaneru1 (#​5092)
  • Fix a crash in ValkeyModule_Call when script-mode validation fails and error replies were not requested by @​dvkashapov (#​5091)
  • High-priority socket events are no longer drained when the event loop caller did not request file event processing by @​enjoy-binbin (#​5098)
  • Fix a crash when a replication role change command such as REPLICAOF or CLUSTER REPLICATE arrives over a replication link by @​madolson (#​5187)
  • FUNCTION RESTORE now applies the same library load timeout as FUNCTION LOAD, so a never-returning library can no longer block the server forever by @​madolson (#​5181)
  • Fix a buffer overflow in valkey-benchmark when --num-functions is large enough to overflow the generated script buffer by @​madolson (#​5175)
  • Fix a valkey-check-rdb crash with --stats on RDB files whose highest selected database contains no keys by @​madolson (#​5177)
  • Fix a crash on the importing primary when an atomic slot migration fails while its writes are paused by @​madolson (#​5182)
  • Fix GEOSEARCH BYPOLYGON missing matching members when the polygon's vertex centroid falls outside the valid latitude range by @​madolson (#​5174)
  • Fix a primary abort when CLUSTER SETSLOT runs inside MULTI or a script on a primary with online replicas by @​madolson (#​5141)
  • Fix a memory leak when deleting or replacing Lua functions with long names or descriptions by @​madolson (#​5109)
  • A refused oversized XADD no longer creates an empty stream key that replicas and the AOF never receive by @​madolson (#​5178)
  • Prevent a replica crash when the primary wrongly replies +CONTINUE to a full resync request; the replica now drops the link and retries by @​madolson (#​5126)
  • FUNCTION LOAD no longer aborts the server when a library calls server.log() at its top level, including when loading from RDB or AOF by @​madolson (#​5114)
  • RESET on a slot migration connection now returns an error instead of crashing the server with an assertion failure by @​madolson (#​5140)
  • DEBUG SLOTMIGRATION with missing arguments now returns an error instead of crashing the server by @​madolson (#​5147)
  • KEYS on a flushed database no longer leaks a rehashing pause that permanently stops rehashing and can eventually crash the server by @​madolson (#​5166)
  • Automatic RDB snapshots and AOF rewrites are no longer postponed while a forked SCRIPT DEBUG session is open by @​madolson (#​5153)
  • Fix an integer overflow in quicklist node merging that could crash the server on lists loaded with nodes over 4GiB via RESTORE or replication by @​madolson (#​5163)
  • Fix a stack buffer overflow when replying with hundreds of empty strings (e.g. MGET) while reply copy avoidance is active by @​madolson (#​5151)
  • CLUSTER SLOT-STATS ORDERBY no longer replies with uninitialized slot entries when a node's primary is itself a replica that claims slots by @​madolson (#​5131)
  • Fix a race with TLS and io-threads where an IO thread still writing to a client could modify the main thread's event loop by @​madolson (#​5156)
  • Fix a replica crash when a script exceeding busy-reply-threshold ends during CLIENT PAUSE WRITE with a pending replicated write by @​madolson (#​5150)
  • In cluster mode, one cross-slot command in a script no longer makes every later script and function call fail until restart by @​madolson (#​5191)
  • Fix a use-after-free crash when a forkless save is running while a swapdb-mode full sync swaps in the primary's keyspace on a replica by @​nitaicaro (#​5082)
  • Fix a replica assertion crash when the primary writes a key still in use by a forkless (consistent) save by @​harrylin98 (#​5206)
  • Fix a dangling pointer when a key is deleted during a forkless save, which could crash or silently corrupt the iteration by @​JimB123 (#​4996)
  • Clear the script debugger input buffer after a "max client buffer reached" error so later debugger commands in the same session do not keep failing by @​madolson (#​5129)
  • MODULE LOAD is now rejected during async replication loading and atomic slot migration to avoid unexpected module behavior by @​KIvanow (#​3039)
  • Reject CLUSTER ADDSLOTS/DELSLOTS/ADDSLOTSRANGE/DELSLOTSRANGE/FLUSHSLOTS on replicas, preventing an assertion failure on a later CLUSTER REPLICATE by @​enjoy-binbin (#​4020)
  • Fix a crash when processing a heartbeat from a cluster node whose role is locally unknown, such as after loading an incomplete nodes.conf by @​enjoy-binbin (#​4091)
  • Fix wrong results or debug-build assertions in cluster mode when the server inspects keys outside the executing command's slot, such as WATCHed keys checked during EXEC by @​nitaicaro (#​4380)
  • Fix stream commands that mutate consumer-group or PEL state (XGROUP, XSETID, XREADGROUP, XACK, XCLAIM, XAUTOCLAIM) not triggering WATCH and client-side tracking invalidation by @​Tarte12 (#​3459)
  • Fix a server crash on FUNCTION DELETE or FUNCTION LOAD REPLACE after loading a library with function names differing only in case by @​madolson (#​3925)
  • Client-side tracking no longer records routing-only tokens such as the CLUSTERSCAN cursor as tracked keys by @​nmvk (#​3699)
  • Reject malformed slot entries in the cluster config file as a corrupt config instead of asserting or invoking undefined behavior by @​enjoy-binbin (#​4100)
  • Fix a TLS busy loop that consumed 100% CPU when a connection's read or write handler was removed while OpenSSL was waiting for the opposite event by @​yairgott (#​3510)
  • Client eviction no longer disconnects extra clients when a large client's close is deferred but its memory is already scheduled to be freed by @​dhruv2x (#​4152)
  • Fix a crash caused by a NULL pointer dereference when all timer events in an event loop are pending deletion by @​royenheart (#​4351)
  • Rework iteration over clients blocked on ready keys to simplify and harden an earlier use-after-free fix by @​enjoy-binbin (#​4472)
  • Fix a race in RDB string compression that could produce corrupt, unloadable RDB files when compression runs concurrently, without increasing copy-on-write by @​dubey02 (#​4539)
  • Fix dropped field TTLs and a possible crash when loading a hash with field expiration converts it to a hashtable mid-load (e.g. via RESTORE) by @​madolson (#​4669)
  • Reject a repeated CLUSTER SYNCSLOTS ESTABLISH on the same connection, which could lead to a use-after-free crash on disconnect by @​Pyolar (#​4670)
  • Fix wrong ZCOUNT results and incorrect ZREMRANGEBYSCORE deletions when members sharing a boundary score span multiple btree leaves by @​rainsupreme (#​4554)
  • Fix SORT key extraction so a STORE destination named like an option can no longer bypass ACL checks and write to an unauthorized key by @​madolson (#​4665)
Command and API Updates
  • Correct the since version of the SISMEMBER XX option to 9.2.0 in the command metadata by @​PoisonGodv (#​5310)
  • Allow null in the reply schemas of GEOHASH, OBJECT FREQ, OBJECT IDLETIME and OBJECT REFCOUNT for missing members and keys by @​sarthakaggarwal97 (#​5209)
  • Correct the SENTINEL GET-MASTER-ADDR-BY-NAME reply schema to allow the null reply returned for an unknown primary name by @​rainsupreme (#​5246)
  • Correct command metadata to describe the ZINCRBY increment and ZINTER/ZINTERSTORE/ZUNION/ZUNIONSTORE weights as doubles instead of integers by @​sarthakaggarwal97 (#​5210)
  • Correct command metadata so the numfields count argument of hash field commands is no longer associated with a key specification by @​sarthakaggarwal97 (#​5211)
  • Correct expiry command metadata to show that XX can be combined with GT or LT, rather than all four conditions being mutually exclusive by @​sarthakaggarwal97 (#​5213)
  • Mark the RESTORE and RESTORE-ASKING IDLETIME and FREQ options as mutually exclusive in command metadata by @​sarthakaggarwal97 (#​5212)
  • Correct the HEXPIRE, HPEXPIRE, HEXPIREAT, and HPEXPIREAT command summaries to say they set expiration on hash fields, not the hash object by @​poiuj (#​4783)
  • Add LBOUND, UBOUND, SATURATE, ENX, and PERSIST options to INCREX for bounded increments and conditional expiration control by @​murphyjacob4 (#​4679)
  • Correct SENTINEL SIMULATE-FAILURE metadata so COMMAND DOCS shows the required mode argument and its tokens by @​sarthakaggarwal97 (#​5208)
  • Rename the Path Hash command PHEXISTS to PHPATHEXISTS to clarify that it checks a path rather than a hash field by @​yangbodong22011 (#​5069)
  • Add PHPATHSCAN for ordered incremental path iteration and change PHSCAN to iterate fields and values at an exact path by @​yangbodong22011 (#​5066)
  • Remove PHLONGEST in favor of PHPREFIXES, which now returns matches longest-first with paging and an EXCLUDESELF option by @​yangbodong22011 (#​5070)
  • Replace PHCARD with PHPATHCOUNT, which can also count only the paths under a given prefix by @​yangbodong22011 (#​5071)
  • Replace PHDELPREFIX with PHPATHDEL key path [WITHSUBPATHS], which deletes an exact path or its whole subtree and returns the number of deleted paths by @​yangbodong22011 (#​5067)
  • Mark the absolute timestamp arguments of HEXPIREAT and HPEXPIREAT as unix-time in COMMAND DOCS, matching EXPIREAT and PEXPIREAT by @​rainsupreme (#​5245)
  • Correct ZADD and LCS metadata so COMMAND DOCS and valkey-cli hints no longer present NX with GT/LT or LEN with IDX as valid combinations by @​rainsupreme (#​5244)
  • MOVE accepts a new optional REPLACE argument to overwrite an existing key in the destination database by @​bandalgomsu (#​2993)
  • WAIT and WAITAOF now reject numreplicas values that are negative or exceed INT_MAX, fixing an integer overflow that broke blocking by @​enjoy-binbin (#​3407)
  • Add CONFIG INFO subcommand returning config metadata such as type, flags, valid enum values and numeric ranges by @​nitaicaro (#​3050)
  • Add the IFNE option to SET to set a key only when its current value differs from the given comparison value by @​arshidkv12 (#​3105)
  • Add IFEQ, IFNE, NX and XX conditions to EXEC, enabling optimistic locking for multi-key transactions without WATCH by @​bandalgomsu (#​4019)
  • Add an optional XX flag to SISMEMBER that returns -1 when the key does not exist, distinguishing a missing key from a missing member by @​li-benson (#​2972)
  • Handle NOT_KEY key-specs more defensively so COMMAND GETKEYS and ACL key checks consistently treat routing-only tokens as non-keys by @​enjoy-binbin (#​3675)
  • Fix DEBUG HELP to show the correct DELAY-RDB-CLIENT-FREE-SECONDS name and document the SET-DISABLE-DENY-SCRIPTS subcommand by @​xiejing-dev (#​4099)
  • Add XX option to the ZRANGE family of commands to distinguish a non-existent key (nil) from an empty result by @​youngmore1024 (#​2978)
  • Fix the reply schemas of the ZRANGE family of commands to allow the null reply returned with the XX option by @​murphyjacob4 (#​4275)
  • Fix the XPENDING reply schema to describe the summary reply returned when a consumer group has no pending messages by @​sarthakaggarwal97 (#​4653)
Cluster and Replication
  • Fix HSETEX and MSETEX with a repeated EX, PX or EXAT option being rejected by replicas and lost on AOF reload by @​madolson (#​5088)
  • Reject inbound cluster bus packets larger than 16MB, except Pub/Sub and module messages, so a peer cannot make a node buffer up to 4GB from a single header by @​madolson (#​5065)
  • Fix replicas retrying full sync in a loop when the primary rejects PSYNC and the replica falls back to SYNC by @​murphyjacob4 (#​5280)
  • Strip every repeated LIMIT when propagating XADD and XTRIM, so tools replaying the replication stream no longer get a syntax error by @​madolson (#​4893)
  • Fix shutdown-triggered failover promoting a replica that has cluster-replica-no-failover yes by @​simonasr (#​5033)
  • Fix replication throttling starting earlier than intended when the replica output buffer limit is set below repl-backlog-size by @​enjoy-binbin (#​5338)
  • Fix Sentinel counting stale primary-down reports from peers toward quorum, which could trigger an unwanted failover of a healthy primary by @​akasakariko (#​4913)
  • Sentinel refuses to start when its config directory is not writable, instead of silently failing to save state by @​sgissi (#​5376)
  • Fix replicas reporting duplicate import-aborted module events for one slot import when FLUSHALL on the primary fails an atomic slot migration by @​sarthakaggarwal97 (#​5367)
  • Fix MSETEX in cluster mode skipping MOVED and CROSSSLOT checks and its writes not being forwarded during atomic slot migration by @​bhuvanprakash (#​4951)
  • Fix replication of HDEL commands generated by active hash field expiration during a forkless full sync by @​JimB123 (#​5460)
  • Decouple rdbcompression (on-disk RDB format) from repl-compression (replication wire format) so setting one no longer affects the other during a full sync by @​zuiderkwast (#​4749)
  • Avoid rapid failover election restarts by fast-failing only on NACK reasons that a new election epoch can actually fix by @​enjoy-binbin (#​4700)
  • Prevent a failover auth NACK for an old election from being counted against the current election by echoing the rejected request epoch by @​xdk-amz (#​4654)
  • Keep a replica's connection to its primary on the main thread so replication flow control works when I/O threads are enabled by @​chky1386 (#​4765)
  • HDEL, HGETDEL, HPERSIST, and HEXPIRE no longer propagate fields they treat as expired, preventing replica and AOF-reload divergence by @​xdk-amz (#​4772)
  • COPY of a hash now includes expired-but-unreaped fields so their deletion is propagated and replicas stay in sync by @​pirate329 (#​4939)
  • Fix atomic slot migration not replicating evictions on the import target, which let replicas grow far past maxmemory by @​shanezx-sc (#​4920)
  • Fix cluster config saving to avoid publishing truncated nodes.conf files, losing the startup lock after the first save, and failing every save on SMB filesystems such as Azure Files; the lock now lives on a separate nodes.conf.lock file by @​KewangZhili (#​4489)
  • Fix failover election fast-fail double-counting a voter that rejected the request and was later marked FAIL, which could abandon a winnable election by @​xdk-amz (#​4655)
  • Fix atomic slot migration with cluster-databases > 1 applying writes made during the snapshot to the wrong database on the target by @​pirate329 (#​4952)
  • Ignore new nodes gossiped by a sender still in handshake so a forged MEET packet cannot fill the cluster node table by @​madolson (#​5145)
  • Ignore invalid ping extension values from cluster peers that would corrupt nodes.conf and prevent the node from restarting by @​madolson (#​5137)
  • Bound the bytes the cluster bus reads per event so a peer with a constant read backlog cannot starve clients, cron and heartbeats by @​madolson (#​5161)
  • Fix incorrect missing-key handling of replicated MULTI/EXEC transactions during a forkless full sync by @​JimB123 (#​5205)
  • Cluster replicas now redirect keyless commands like SCAN and FLUSHDB to the primary for clients with CAPA REDIRECT that have not sent READONLY by @​yanamolo (#​3505)
  • Changing cluster-require-full-coverage via CONFIG SET now updates the cluster state immediately instead of waiting for the next cron cycle by @​enjoy-binbin (#​3676)
  • Fix CLUSTER BUMPEPOCH getting stuck when a dead node holds an equal or abnormally high config epoch; a single bump now overtakes it by @​enjoy-binbin (#​4092)
  • Replicas now retry PSYNC when the primary replies -BUSY instead of downgrading to legacy SYNC, which broke WAIT, PSYNC and FAILOVER by @​enjoy-binbin (#​4140)
  • SYNC/PSYNC from a replica with a down primary link now consistently returns -NOMASTERLINK, avoiding an unnecessary full sync fallback by @​enjoy-binbin (#​4148)
  • Add cluster-replica-priority config so operators can rank which replicas are preferred during automatic cluster failover by @​enjoy-binbin (#​2204)
  • Speed up recovery from split-vote failover elections with a new FAILOVER_AUTH_NACK message that lets a replica detect an unwinnable election and immediately retry with a higher epoch by @​enjoy-binbin (#​3833)
  • Add optional per-target AUTH username password to CLUSTER MIGRATESLOTS, with credentials redacted from the slow log and MONITOR by @​nemtsv (#​3538)
  • Compress the full-sync RDB payload with LZ4 when rdbcompression lz4 is set and every attaching replica advertises support, reducing sync bandwidth with safe fallback to plaintext by @​roshkhatri (#​4075)
  • Add an if-empty value to cluster-replica-no-failover so a replica that has never received data from its primary refuses automatic failover, preventing silent data loss by @​enjoy-binbin (#​4425)
  • Add optional LZ4 streaming compression for steady-state replication via the new repl-compression config, negotiated per replica so older or opted-out replicas keep receiving plaintext by @​roshkhatri (#​3853)
  • Fix CLUSTERSCAN fingerprints to derive from the hash-seed config so cursors survive failover between nodes sharing a seed by @​enjoy-binbin (#​3679)
  • Replicas trigger a failover check immediately when cluster-replica-no-failover is disabled at runtime, instead of waiting for the next cron tick by @​enjoy-binbin (#​3827)
  • Validate node IDs and shard IDs received in cluster messages before applying them, dropping the link on invalid data to protect cluster state by @​enjoy-binbin (#​4065)
  • Drop the cluster link when a gossip section contains invalid node IDs, instead of keeping the connection to a corrupted sender alive by @​enjoy-binbin (#​4077)
  • Persist nodes.conf promptly when a node's address is updated through the gossip section by @​enjoy-binbin (#​4089)
  • Reject malformed node IDs in the open-slots RDB aux field instead of creating an illegal cluster node by @​enjoy-binbin (#​4098)
  • Strip the redundant LIMIT option when rewriting XADD/XTRIM for propagation, so the rewritten command is valid for tools that replay it by @​cjx-zar (#​4063)
  • Persist non-default cluster-replica-priority to nodes.conf so it survives restarts instead of waiting for the next gossip round by @​enjoy-binbin (#​4454)
  • Clear a stale primary-failure gossip flag on replicas so later failovers don't incorrectly skip the election delay by @​charsyam (#​4533)
  • Fix a node staying stuck in PFAIL when its PING is lost while the peer's own traffic keeps the cluster link alive by @​enjoy-binbin (#​4171)
  • CLUSTER SYNCSLOTS FINISH now rejects clients outside the slot migration stream, preventing misuse of the import state machine by @​enjoy-binbin (#​4330)
Configuration
  • Fix notify-keyspace-events dropping the n (new key) flag from CONFIG GET and CONFIG REWRITE when A is also set by @​pirate329 (#​5199)
  • CONFIG REWRITE now quotes the replicaof host, so hosts with spaces or newlines no longer corrupt the config file by @​madolson (#​5176)
  • Rename the bgsave-default-method config to forkless-policy with values require-fork and prefer-forkless by @​madolson (#​5261)
  • commandlog-request-larger-than and commandlog-reply-larger-than now accept memory units such as 10mb by @​enjoy-binbin (#​2648)
  • cluster-announce-ip now must be a valid IP address or hostname, rejecting values like ip:port that broke cluster bus addressing by @​AlisinaDevelo (#​4055)
  • Reject an empty tls-ca-cert-dir at startup and CONFIG SET time instead of silently accepting it and failing every client handshake later by @​yang-z-o (#​3522)
  • Document the database-level ACL rules (db=, alldbs, resetdbs) in valkey.conf and clarify the reset rule description by @​enjoy-binbin (#​3808)
  • CONFIG REWRITE now preserves module load order, so modules with dependencies load correctly after a restart by @​Taeknology (#​3769)
  • Document in valkey.conf that unixsocketgroup requires the chown syscall to be allowed under syscall-filtering sandboxes by @​moko-poi (#​3730)
Module API Changes
  • Fix ValkeyModule_CallReplyAttributeElement always returning an error on RESP3 attribute replies by @​madolson (#​5157)
  • ValkeyModule_ScanKey and ValkeyModule_ScanKeyRawBorrowed no longer expose expired-but-unreaped fields of listpack-encoded hashes to modules by @​madolson (#​4885)
  • Fix module zset range iteration returning duplicate or phantom elements when changing direction on B+tree encoded sorted sets by @​xiaocj (#​4645)
  • Allow modules to block RESP3 clients that are subscribed to Pub/Sub channels instead of failing ValkeyModule_BlockClient with ENOTSUP by @​quanyeyang (#​4863)
  • Make ValkeyModule_CallArgv public, letting modules invoke commands with lower overhead through reply callbacks by @​dvkashapov (#​3911)
  • Add ValkeyModule_ScanKeyRawBorrowed to scan hash, set and sorted set keys without allocating a string per element by @​KarthikSubbarao (#​4403)
  • Fix loading of legacy Redis modules that export RedisModule_OnLoad via a linker version script by @​roshkhatri (#​3374)
  • Module global defrag callbacks now receive a time limit and a resumable cursor, making ValkeyModule_RegisterDefragFunc usable for large module data by @​Aksha1812 (#​4487)
  • Add ValkeyModule_IncrExternalMemory/DecrExternalMemory so modules can report memory allocated outside the server allocator toward used_memory and maxmemory by @​bandalgomsu (#​4128)
  • Correct ValkeyModule_FreeModuleUser, ValkeyModule_ACLAddLogEntry and ValkeyModule_ACLAddLogEntryByUserName declarations to return int as implemented, fixing undefined behavior on targets with strict call signature checks by @​rainsupreme (#​4676)
Observability and Logging
  • Fix a memory leak when a script or module command is refused by ACL while the ACL log is disabled with acllog-max-len 0 by @​madolson (#​5162)
  • Fix FCALL errors or a crash when FUNCTION FLUSH SYNC runs before the lazy free triggered by FUNCTION RESTORE of more than 64 functions has completed by @​madolson (#​5105)
  • Improve MEMORY USAGE accuracy for btree-encoded sorted sets by counting leaf nodes exactly instead of extrapolating from a sample by @​rainsupreme (#​5045)
  • 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)
  • Report forkless_estimated_seconds_remaining and the other forkless progress INFO fields during a diskless forkless full sync instead of -1/0 by @​nitaicaro (#​5436)
  • Move the forkless_fallbacks_* counters from the INFO stats section to INFO debug by @​nitaicaro (#​5442)
  • 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)
  • Attribute LZ4 replication compression context memory to client memory usage so it appears under client memory accounting by @​sarthakaggarwal97 (#​4702)
  • Redact error text in server logs when hide-user-data-from-log is enabled, so command arguments no longer leak into logs by @​zackcam (#​4815)
  • Redact credentials of rejected HELLO, AUTH and MIGRATE commands so passwords no longer leak to MONITOR and the commandlog by @​madolson (#​5180)
  • Replace line breaks in Lua server.log() messages with spaces so scripts cannot forge standalone server log records by @​madolson (#​5185)
  • Client memory usage now includes watched key and pubsub channel/pattern names, making it visible in CLIENT INFO tot-mem and counted for maxmemory-clients by @​enjoy-binbin (#​3362)
  • CONFIG RESETSTAT now also resets the IO-thread prefetch and ACL access-denied statistics by @​enjoy-binbin (#​2891)
  • Latency report now recommends 'madvise' for disabling Transparent Huge Pages, consistent with the startup check by @​enjoy-binbin (#​3947)
  • Log when a cluster primary ignores an MFSTART manual failover message from an unknown node or a non-replica, helping diagnose failover timeouts by @​enjoy-binbin (#​4058)
  • Log a warning when a TLS certificate has an invalid notBefore or notAfter field on OpenSSL 4.0 builds by @​pkhartsk (#​4064)
  • Gossip corruption warnings now log the actual entry with the invalid node ID instead of the first gossip entry by @​enjoy-binbin (#​4101)
  • Produce crash stack traces on musl-based systems like Alpine Linux via a libbacktrace fallback by @​hanxizh9910 (#​3581)
  • Always log the "possibly failing" notice when a node enters PFAIL, including on voting primaries by @​enjoy-binbin (#​4186)
  • EXEC transactions are now recorded in the slowlog and commandlog when their total execution time crosses the threshold by @​michellee-10 (#​4267)
  • Add last_successful_sync_duration_ms to INFO replication, reporting how long the replica's last full sync took by @​satheeshaGowda (#​4197)
  • Fix signal mask parsing on 32-bit systems so the crash handler can collect thread stack traces by @​sarthakaggarwal97 (#​4415)
  • Add total_cluster_links_established_inbound/outbound counters to CLUSTER INFO to help detect cluster link flapping by @​enjoy-binbin (#​4169)
  • RDMA connection and resource setup failures are now logged with detailed system error information by @​quanyeyang (#​4586)
  • Include the LRU list's duplicated script SHA copies in EVAL script memory reporting (used_memory_scripts_eval) by @​enjoy-binbin (#​4587)
  • Log the module version alongside the module name when a module is loaded, so the loaded version is visible in the log by @​enjoy-binbin (#​4566)
  • Detect changes to the alternate TLS key file (tls-alt-key-file) so certificate auto-reload picks them up by @​pkhartsk (#​4663)
  • Report tls_server_cert_serial and expiry INFO fields for the certificate actually loaded from tls-cert-file instead of whichever one OpenSSL slots first by @​madolson (#​4664)
CLI and Tools
  • Make valkey-check-rdb report invalid slot import ranges in an RDB file instead of silently passing them by @​enjoy-binbin (#​4470)
  • Add p99.9 latency to the valkey-benchmark summary, --rps report and CSV output by @​lucasyonge (#​5377)
  • Fix valkey-cli --cluster reshard and rebalance exiting with a success status when slot migration fails by @​imasahiro (#​4853)
  • valkey-check-aof now recognizes RDB base files with the VALKEY signature instead of misreporting a valid multipart AOF as invalid by @​sarthakaggarwal97 (#​4739)
  • Increase the valkey-benchmark maximum latency histogram value from 3 to 60 seconds so slow requests are reported accurately by @​gabiganam (#​3157)
  • Fix valkey-benchmark spinning on would-block writes, which could starve reply processing and the --duration timer by @​thweetkomputer (#​4567)
  • Support bracketed IPv6 addresses such as [::1]:7000 in valkey-cli --cluster commands by @​chenshi5012 (#​4800)
  • Fix an unbalanced ] in valkey-cli command hints for commands with repeated optional arguments such as BITFIELD_RO by @​ShubhamTaple (#​3974)
  • valkey-cli no longer prints the command line password warning when the password comes only from VALKEYCLI_AUTH or REDISCLI_AUTH by @​madolson (#​4886)
  • valkey-cli now rejects a zero or negative --hotkeys-count instead of attempting a huge allocation and aborting by @​madolson (#​5173)
  • valkey-cli now skips RESP3 attributes instead of exiting with an unknown reply type error by @​madolson (#​5186)
  • valkey-check-rdb now prints usage when --output is given without a file name instead of crashing by @​madolson (#​5135)
  • valkey-benchmark no longer aborts loading a CSV dataset whose last field in a row is a lone quote; the quote is kept literally by @​madolson (#​5168)
  • valkey-cli reads the VALKEYCLI_HOST and VALKEYCLI_PORT environment variables to set the default host and port by @​Dietr1ch (#​3402)
  • valkey-benchmark can load CSV/TSV datasets and inject their fields into commands via __field:name__ placeholders by @​VoletiRam (#​2823)
  • valkey-cli supports the VALKEYCLI_USER environment variable as an alternative to the --user option by @​jdheyburn (#​4126)
  • valkey-cli --rdb now exits with an error instead of reporting success when trimming the RDB EOF marker fails, avoiding a silently corrupt file by @​gluxier (#​3945)
  • Fix valkey-benchmark crash (out-of-bounds read) when a repeat count is given with no command following it by @​lightsigma96 (#​4142)
  • valkey-benchmark -r now accepts keyspace sizes above INT_MAX (up to 999,999,999,999) with proper input validation by @​michellee-10 (#​4252)
  • valkey-benchmark now rejects a repeat count with no command after it with a clear error instead of hanging forever sending zero requests by @​dhruv2x (#​4215)
  • valkey-benchmark multi-threaded mode scales further by removing cross-thread contention in key generation, latency recording, and counters by @​rainsupreme (#​4332)
Build and Tooling
  • Fix a compile error in the select event loop backend on platforms that fall back to it, such as Emscripten (WebAssembly) by @​notjiya-dev (#​5299)
  • Link macOS example and test modules through the compiler driver so builds no longer fail on newer SDKs' libSystem stubs by @​avifenesh (#​4927)
  • Rebuild the Lua scripting module during incremental builds when its sources change, so edits are no longer silently left out of valkey-server by @​madolson (#​5242)
  • Add REUSE-compliant machine-readable licensing with per-file license clarity, enabling SPDX SBOM generation and correct license detection by @​zuiderkwast (#​3968)
  • Fix clean or highly parallel builds failing with a missing release.h for valkey-cli, valkey-benchmark, and unit tests by @​poiuj (#​3683)
  • Use PRIVATE link dependencies in CMake so Valkey's CMake files can be safely integrated into other projects by @​eifrah-aws (#​3658)
  • Pass CPPFLAGS to bundled dependencies and the src Makefile so packaging hardening flags apply to the whole build by @​Vonng (#​4318)
  • Raise the minimum required CMake version to 3.24 to match features already used by the build by @​Baraa-Hasheesh (#​4232)
Contributors

Full Changelog: https://github.com/valkey-io/valkey/compare/9.2.0-rc2...9.2.0

v9.1.4

Compare Source

Valkey 9.1.4 - Released Wed 18 November 2026

Upgrade urgency SECURITY: This release includes security fixes we recommend you apply as soon as possible.

Security Fixes
  • CVE-2026-130822: Fix a use-after-free crash in client eviction when maxmemory-clients is enabled by @​nadav-levanoni (#​5435)
Bug Fixes
  • Fix a crash when a key with a name of 2 GiB or more is sampled for eviction, and incorrect comparison of strings that large by @​madolson (#​5133)
  • Correct command metadata to describe the ZINCRBY increment and ZINTER/ZINTERSTORE/ZUNION/ZUNIONSTORE weights as doubles instead of integers by @​sarthakaggarwal97 (#​5210)
  • Propagate PFADD elements applied before a corrupted-HLL INVALIDOBJ error so replicas and the AOF stay consistent with the primary by @​madolson (#​5128)
  • Fix a server crash in SCRIPT DEBUG SYNC mode when a debugger command arrives in more than one read by @​madolson (#​5127)
  • Correct command metadata so the numfields count argument of hash field commands is no longer associated with a key specification by @​sarthakaggarwal97 (#​5211)
  • Correct expiry command metadata to show that XX can be combined with GT or LT, rather than all four conditions being mutually exclusive by @​sarthakaggarwal97 (#​5213)
  • Fix a server panic when a Lua script returns or raises an error table whose metatable has an __index metamethod that raises an error by @​madolson (#​5118)
  • Fix a server crash when a module never sets a postponed reply length; the leftover placeholder is now filled with an empty array by @​madolson (#​5159)
  • Fix a crash when processing a heartbeat from a cluster node whose role is locally unknown, such as after loading an incomplete nodes.conf by @​enjoy-binbin (#​4091)
  • Mark the RESTORE and RESTORE-ASKING IDLETIME and FREQ options as mutually exclusive in command metadata by @​sarthakaggarwal97 (#​5212)
  • Fix a crash in a cluster replica whose primary was removed from the nodes table when another primary claims an unassigned slot by @​madolson (#​5184)
  • Fix SCRIPT KILL and FUNCTION KILL not stopping Lua scripts that loop inside nested coroutines, and script timeouts not being detected when work is spread across coroutines by @​madolson (#​5108)
  • Fix an out-of-bounds write in PFADD and PFMERGE on a corrupted sparse HyperLogLog ending in a truncated XZERO opcode by rejecting it as invalid by @​madolson (#​5124)
  • Fix a server abort in PFADD and PFMERGE on short sparse HyperLogLogs when hll-sparse-max-bytes is set to 31 or less by @​madolson (#​5138)
  • Fix a server crash in SORT and SORT_RO with BY or GET patterns when an element is 2 GiB or larger by @​madolson (#​5146)
  • Fix ValkeyModule_Calloc and ValkeyModule_TryCalloc returning an undersized buffer when nmemb * size overflows by @​madolson (#​5155)
  • Fix ValkeyModule_CallReplyAttributeElement always returning an error on RESP3 attribute replies by @​madolson (#​5157)
  • Fix EXEC succeeding after a key that was already expired at WATCH time is overwritten, which can happen on replicas by @​madolson (#​5169)
  • Fix a memory leak when server.register_function named arguments are repeated in a different letter case by @​madolson (#​5120)
  • Fix quadratic slowdown in HRANDFIELD and SRANDMEMBER with counts on collections whose elements differ only in letter case by @​madolson (#​5167)
  • Fix PFMERGE with no source keys bypassing ACL key permissions and failing in COMMAND GETKEYS, and a crash in module commands whose keynum key spec starts past the last argument by @​madolson (#​5087)
  • Fix HSETEX and MSETEX with a repeated EX, PX or EXAT option being rejected by replicas and lost on AOF reload by @​madolson (#​5088)
  • Fix a memory leak when a script or module command is refused by ACL while the ACL log is disabled with acllog-max-len 0 by @​madolson (#​5162)
  • Fix a crash on the first FUNCTION LOAD after startup when the shebang engine name contains a NUL byte by @​madolson (#​5115)
  • Fix an active defrag crash when a large set, sorted set or list is replaced by a hashtable-encoded hash while it is being defragmented by @​madolson (#​5164)
  • Fix FCALL errors or a crash when FUNCTION FLUSH SYNC runs before the lazy free triggered by FUNCTION RESTORE of more than 64 functions has completed by @​madolson (#​5105)
  • Fix 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)
  • Fix notify-keyspace-events dropping the n (new key) flag from CONFIG GET and CONFIG REWRITE when A is also set by @​pirate329 (#​5199)
  • Fix a crash when the Lua debugger is started on an empty or newline-only script by @​madolson (#​5117)
  • Fix a cluster node failing to restart with an assertion after a gossip entry carrying the MYSELF flag adds a second myself node to nodes.conf by @​madolson (#​5134)
  • Fix ACL LOAD not disconnecting default user clients subscribed to channels the reloaded rules no longer allow by @​madolson (#​5085)
  • Fix an active defrag crash when a database is replaced by an async FLUSHDB/FLUSHALL, SWAPDB or a replica full sync while a large key is being defragmented by @​taham0 (#​4968)
  • Allow modules to block RESP3 clients that are subscribed to Pub/Sub channels instead of failing ValkeyModule_BlockClient with ENOTSUP by @​quanyeyang (#​4863)
  • Bound the time spent per cycle evicting keys from the client tracking table, avoiding long stalls after lowering tracking-table-max-keys by @​tanmayBeginsJourney (#​4775)
  • Reclaim 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)
  • Fix a memory leak when GEOSEARCH or GEOSEARCHSTORE is given repeated BYPOLYGON options by @​charsyam (#​4995)
  • Fix a memory leak in ValkeyModule_GetCommandKeysWithFlags when introspecting commands with large key lists by @​christopherlim98 (#​5046)
  • MEMORY USAGE now counts hash fields that have expired but not yet been reaped, fixing under-reported sizes by @​sushilpaneru1 (#​5092)
  • Fix a crash in ValkeyModule_Call when script-mode validation fails and error replies were not requested by @​dvkashapov (#​5091)
  • In cluster mode, one cross-slot command in a script no longer makes every later script and function call fail until restart by @​madolson (#​5191)
  • Fix a TLS busy loop that consumed 100% CPU when a connection's read or write handler was removed while OpenSSL was waiting for the opposite event by @​yairgott (#​3510)
  • Fix a crash caused by a NULL pointer dereference when all timer events in an event loop are pending deletion by @​royenheart (#​4351)
  • Fix a node staying stuck in PFAIL when its PING is lost while the peer's own traffic keeps the cluster link alive by @​enjoy-binbin (#​4171)
  • CLUSTER SYNCSLOTS FINISH now rejects clients outside the slot migration stream, preventing misuse of the import state machine by @​enjoy-binbin (#​4330)
  • Reject a repeated CLUSTER SYNCSLOTS ESTABLISH on the same connection, which could lead to a use-after-free crash on disconnect by @​Pyolar (#​4670)
  • Fix SORT key extraction so a STORE destination named like an option can no longer bypass ACL checks and write to an unauthorized key by @​madolson (#​4665)
  • Fix GEOSEARCH returning empty results for exact zero-distance matches on builds where floating-point contraction breaks the latitude distance calculation by @​Baraa-Hasheesh (#​4777)
  • Fix a memory leak when deleting or replacing Lua functions with long names or descriptions by @​madolson (#​5109)
  • Fix a crash when a replication role change command such as REPLICAOF or CLUSTER REPLICATE arrives over a replication link by @​madolson (#​5187)
  • Fix a crash on the importing primary when an atomic slot migration fails while its writes are paused by @​madolson (#​5182)
  • Fix XADD rejected for oversized elements leaving an empty stream on the primary that is not propagated to replicas or the AOF by @​madolson (#​5178)
  • Redact credentials of rejected HELLO, AUTH and MIGRATE commands so passwords no longer leak to MONITOR and the commandlog by @​madolson (#​5180)
  • Prevent a replica crash when the primary wrongly replies +CONTINUE to a full resync request; the replica now drops the link and retries by @​madolson (#​5126)
  • FUNCTION LOAD no longer aborts the server when a library calls server.log() at its top level, including when loading from RDB or AOF by @​madolson (#​5114)
  • Fix an integer overflow in the list node merge size check that could crash the server on LSET after loading a list with a near-4GiB node via RESTORE or full sync by @​madolson (#​5163)
  • Fix a stack buffer overflow when replying with hundreds of empty strings (e.g. MGET) while reply copy avoidance is active by @​madolson (#​5151)
  • Ignore invalid ping extension values from cluster peers that would corrupt nodes.conf and prevent the node from restarting by @​madolson (#​5137)
  • Bound the bytes the cluster bus reads per event so a peer with a constant read backlog cannot starve clients, cron and heartbeats by @​madolson (#​5161)
  • Correct SENTINEL SIMULATE-FAILURE metadata so COMMAND DOCS shows the required mode argument and its tokens by @​sarthakaggarwal97 (#​5208)
  • Fail CONFIG REWRITE when the old config file reads short instead of writing uninitialized memory into the new config file by @​madolson (#​5158)
  • Mark the absolute timestamp arguments of HEXPIREAT and HPEXPIREAT as unix-time in COMMAND DOCS, matching EXPIREAT and PEXPIREAT by @​rainsupreme (#​5245)
  • Clear the script debugger input buffer after a "max client buffer reached" error so later debugger commands in the same session do not keep failing by @​madolson (#​5129)
  • Fix a Sentinel crash when a monitored replica's INFO reply contains no master_host by @​smkher (#​4929)
  • Fix Lua server.error_reply() returning stale heap memory as the error message when given a string of 2 GiB or more by @​madolson (#​5122)
  • Fix a use-after-free in streams when XADD creates a new node, which could leave a dangling pointer hit by later reads such as XRANGE by @​Baraa-Hasheesh (#​4711)
  • Reject inbound cluster bus packets larger than 16MB, except Pub/Sub and module messages, so a peer cannot make a node buffer up to 4GB from a single header by @​madolson (#​5065)
  • Fix XINFO GROUPS and XINFO STREAM ... FULL reporting too-high consumer group lag after XTRIM or a trimming XADD removes unread entries by @​Sasidharan3094 (#​4983)
  • Fix shutdown-triggered failover promoting a replica that has cluster-replica-no-failover yes by @​simonasr (#​5033)
  • Fix AOF load failure after a crash leaves a torn annotation at the end of the file; it is now treated as a short read and can be truncated by aof-load-truncated or valkey-check-aof --fix by @​sumitk163 (#​5349)
  • Correct the SENTINEL GET-MASTER-ADDR-BY-NAME reply schema to allow the null reply returned for an unknown primary name by @​rainsupreme (#​5246)
  • Fix Sentinel counting stale primary-down reports from peers toward quorum, which could trigger an unwanted failover of a healthy primary by @​akasakariko (#​4913)
  • Fix Lua server.log() blocking the server for seconds when called with thousands of arguments, with no -BUSY reply or SCRIPT KILL by @​madolson (#​5104)
  • Fix valkey-cli --cluster reshard and rebalance exiting with a success status when slot migration fails by @​imasahiro (#​4853)
  • Correct ZADD and LCS metadata so COMMAND DOCS and valkey-cli hints no longer present NX with GT/LT or LEN with IDX as valid combinations by @​rainsupreme (#​5244)
Build and Tooling
  • Fix clean or highly parallel builds failing with a missing release.h for valkey-cli, valkey-benchmark, and unit tests by @​poiuj (#​3683)

Full Changelog: https://github.com/valkey-io/valkey/compare/9.1.3...9.1.4

v9.1.3

Compare Source

Valkey 9.1.3 - Released Mon 26 October 2026

Upgrade urgency SECURITY: This release includes security fixes we recommend you apply as soon as possible.

Security Fixes
  • GHSA-f4q9-j22m-xqq9: Fix a heap buffer overflow in cluster Pub/Sub message construction that could allow an authenticated client to potentially execute arbitrary code by publishing an oversized message by @​roshkhatri (#​5030)
Bug Fixes
  • Fix stream commands that mutate consumer-group or PEL state (XGROUP, XSETID, XREADGROUP, XACK, XCLAIM, XAUTOCLAIM) not triggering WATCH and client-side tracking invalidation by @​Tarte12 (#​3459)
  • Reject module write commands while the server is paused for writes, preventing a crash from module timer callbacks during CLIENT PAUSE WRITE or CLUSTER FAILOVER by @​smkher (#​3645)
  • Fix event loop busy-spinning on virtual machines by not using raw TSC for the monotonic clock when the kernel clocksource is not tsc by @​quanyeyang (#​4707)
  • Fix a crash in ValkeyModule_HashHasStringRef on a missing or expired field and correct wrong return values in the hash stringRef module APIs by @​ShubhamTaple (#​4504)
  • Fix a server abort on a RESTORE payload declaring a string length that overflows the allocation size; such payloads are now rejected as bad data by @​enjoy-binbin (#​4733)
  • Fix ZINTER/ZINTERSTORE returning input-order-dependent scores when a weighted term is 0*inf; a NaN weighted score now counts as 0, matching ZUNION by @​leomurillo (#​4997)
  • Clear a stale primary-failure gossip flag on replicas so later failovers don't incorrectly skip the election delay by @​charsyam (#​4533)
  • Correct ValkeyModule_FreeModuleUser, ValkeyModule_ACLAddLogEntry and ValkeyModule_ACLAddLogEntryByUserName declarations to return int as implemented, fixing undefined behavior on targets with strict call signature checks by @​rainsupreme (#​4676)
  • valkey-check-aof now recognizes RDB base files with the VALKEY signature instead of misreporting a valid multipart AOF as invalid by @​sarthakaggarwal97 (#​4739)
  • Fix module commands that access undeclared keys in other slots reading or writing the wrong slot in cluster mode, and aborting in debug builds by @​patrickswedish (#​4424)
  • Reject relative expire times in SET/GETEX, RESTORE, and ValkeyModule_SetExpire that overflow when added to the current time, preventing server aborts from negative expires by @​madolson (#​4880)
  • HDEL, HGETDEL, HPERSIST, and HEXPIRE no longer propagate fields they treat as expired, preventing replica and AOF-reload divergence by @​xdk-amz (#​4772)
  • Fix a server crash when loading an ACL file containing a selector with an unmatched parenthesis by @​magic-peach (#​4214)
  • Fix a segfault on Alpine/musl when Lua is built as a module, caused by a symbol clash on an internal clock function by @​mohammedgqudah (#​4270)
  • COPY of a hash now includes expired-but-unreaped fields so their deletion is propagated and replicas stay in sync by @​pirate329 (#​4939)
  • Restore acceptance of hexadecimal float sorted set scores (such as 0x10), keeping replication and AOF replay compatible with Valkey 9.0 by @​quanyeyang (#​4875)
  • Sorted set range commands with a negative LIMIT offset now return an empty result instead of a spurious element on btree-encoded keys by @​xiaocj (#​4637)
  • Fix listpack encoding incompatibility that caused RDB load and replication failures for entries of certain lengths between 9.0 and 9.1.x by @​jjuleslasarte (#​4819)
  • Fix atomic slot migration not replicating evictions on the import target, which let replicas grow far past maxmemory by @​shanezx-sc (#​4920)
  • Redact error text in server logs when hide-user-data-from-log is enabled, so command arguments no longer leak into logs by @​zackcam (#​4815)
  • Fix HSETEX and HGETEX failing to parse their arguments when the key is named fields by @​sebxt (#​4945)
  • Fix cluster config saving to avoid publishing truncated nodes.conf files, losing the startup lock after the first save, and failing every save on SMB filesystems such as Azure Files; the lock now lives on a separate nodes.conf.lock file by @​KewangZhili (#​4489)
  • Fix LSET on 64-bit builds silently modifying the wrong element for out-of-range indexes instead of returning an index out of range error by @​charsyam (#​4823)
  • Fix atomic slot migration with cluster-databases > 1 applying writes made during the snapshot to the wrong database on the target by @​pirate329 (#​4952)

Full Changelog: https://github.com/valkey-io/valkey/compare/9.1.2...9.1.3

v9.1.2

Compare Source

Valkey 9.1.2 - Released Mon 31 August 2026

Upgrade urgency SECURITY: This release includes security fixes we recommend you apply as soon as possible.

Security Fixes
  • GHSA-jcj7-v34w-v9vv: Fix a use-after-free in RDMA connection handling that could allow an authenticated client to crash the server using CLIENT KILL. Only affects servers built with USE_RDMA and configured with an RDMA listener (#​4534)
  • GHSA-fq2f-crmw-q97r: Fix an unauthenticated use-after-free of the Lua interpreter state, caused by a process-global script debugger command table that cached a raw pointer to a freed interpreter and was never invalidated (#​4574)
Bug Fixes
  • Fix a double-free crash when a module timer callback stops its own timer with ValkeyModule_StopTimer by @​quanyeyang (#​4211)
  • Fix torn RESP3 push frames when a client publishes to a channel it is also subscribed to, which could desync client libraries by @​quanyeyang (#​4253)
  • Listpacks are now always validated on RDB load and RESTORE, preventing deferred assertion crashes; sanitize-dump-payload and its ACL flags become no-ops by @​jjuleslasarte (#​3721)
  • Fix crashes, hangs, and CPU spinning when the RDMA transport is used together with I/O threads by @​quanyeyang (#​3611)
  • RESET now clears the CLIENT IMPORT-SOURCE flag, so reused pooled connections return to normal expiration semantics by @​tjade273 (#​3973)
  • Truncate a partially written MULTI block from the AOF on short read, preventing loss of newer writes after a later restart by @​chzhoo (#​4342)
  • Fix an ACL bypass where duplicate STORE/STOREDIST options let GEORADIUS write or delete keys outside the user's permitted patterns by @​tjade273 (#​3971)
  • Fix command log redaction leaking between commands in a MULTI transaction and missing for commands executed from scripts by @​madolson (#​4323)
  • Fix a use-after-free crash when a module's cluster message type is received after the module is unloaded by @​enjoy-binbin (#​4360)
  • Fix out-of-bounds access for cluster module message type 255, which is now a valid, dispatchable message type by @​enjoy-binbin (#​4410)
  • AOF loading no longer performs ACL checks on replayed commands, preventing silent data loss when the default user is disabled by @​lukepalmer (#​3984)
  • Fix a client memory accounting leak on replicas that inflated the mem_clients_normal INFO field after primary disconnections by @​enjoy-binbin (#​4395)
  • Fix a permanent client deadlock when a blocking command like BLPOP is followed by a partially delivered pipelined command by @​foobar (#​4531)
  • HGETEX now requires write permission on the key, closing an ACL gap that let read-only users change field TTLs or delete fields by @​ranshid (#​4576)
  • Compare the whole TLS certificate CN during authentication, so an embedded NUL can no longer impersonate another ACL user by @​madolson (#​4577)
  • Fix atomic slot migration failures with I/O threads by not offloading the export job's writes while snapshotting by @​satheeshaGowda (#​4104)
  • Reject invalid slot import ranges when loading an RDB, so corrupted files can no longer create bad migration jobs by @​enjoy-binbin (#​4229)
  • Reject RDB slot import records with an invalid job name length, preventing an out-of-bounds read at startup by @​quanyeyang (#​4210)
  • MOVE and COPY now check ACL access to the current database, so users can no longer exfiltrate keys from an unauthorized DB by @​cjx-zar (#​4155)
  • Fix a crash on COPY with a trailing DB option during slot migration, and block cross-DB COPY regardless of option order by @​madolson (#​4301)
  • Fix a server panic when pipelined commands with invalid arity reach the key prefetcher with I/O threads enabled by @​madolson (#​4302)
  • HPERSIST, HTTL, HPTTL, HEXPIRETIME, and HPEXPIRETIME now return a syntax error when the FIELDS keyword is missing by @​cjx-zar (#​4300)
  • Fix a race between TLS I/O-thread writes and reads that could leave slot migration export jobs stuck until timeout by @​jjuleslasarte (#​4320)
  • Fix a signed overflow that let very large hash field expiration times (e.g. via HPEXPIREAT) crash the server by @​ranshid (#​4312)
  • Fix a frozen monotonic clock on hosts with unsynchronized TSC that stopped background tasks and key expiration by @​quanyeyang (#​4346)
  • Fix a stack overflow crash when retrying a failed TLS write with a large reply by @​murphyjacob4 (#​4307)
  • Fix the --check-system clocksource check to skip hosts using a hardware clock and suggest only actually available clocksources by @​quanyeyang (#​4272)
  • Fix an assertion failure with I/O threads when a blocked client's pending command was processed again before unblocking by @​quanyeyang (#​4376)
  • Sentinel no longer loads the built-in Lua scripting engine, removing a spurious warning at startup by @​enjoy-binbin (#​4327)
  • Validate channel, message, and module payload lengths in cluster bus packets, preventing forged packets from crashing nodes by @​tjade273 (#​3972)
  • Harden stream validation on RDB load and RESTORE so crafted payloads can no longer crash the server on later commands by @​madolson (#​3922)
  • Reject stream payloads with mismatched live/deleted record counts, preventing XDEL from destroying unaccounted entries by @​roshkhatri (#​4381)
  • Skip unnecessary post-read processing with I/O threads on socket and TLS connections, restoring small-payload throughput by @​quanyeyang (#​4401)
  • Fix a use-after-free crash when serving clients blocked on the same key if one client is freed during processing by @​quanyeyang (#​4212)
  • Avoid an unneeded client lookup per write completion with I/O threads on socket and TLS connections, improving pipelined throughput by @​dgershko (#​4440)
  • Fix CLUSTER SLOT-STATS ORDERBY returning wrong ordering when slot counters differ by more than 2^31 by @​jzy1688 (#​4459)
  • Fix slot migration failures with I/O threads and TLS by keeping the export job's ACK reads on the main thread while snapshotting by @​satheeshaGowda (#​4559)

Full Changelog: https://github.com/valkey-io/valkey/compare/9.1.1...9.1.2

v9.1.1

Compare Source

Valkey 9.1.1 - Released Tue 21 July 2026

Upgrade urgency SECURITY: This release includes security fixes we recommend you apply as soon as possible.

Security Fixes
  • CVE-2026-56684: Fix a use-after-free in TLS connection handling that could allow an authenticated client to achieve remote code execution using CLIENT KILL (#​4234)
  • CVE-2026-63639: Reject corrupt stream RDB files containing a shared NACK across consumers, which could allow remote code execution. Reported by @​z0v3r1n and @​lifip. (#​4073)
Bug Fixes
  • Omit the implicit alldbs ACL rule from ACL LIST, ACL SAVE and CONFIG REWRITE so older versions can parse the output by @​dvkashapov (#​3964)
  • Improve throughput when IO threads are enabled by offloading object deallocation from the main thread by @​roshkhatri (#​3938)
  • Fix use-after-free crash when ACL LOAD removes a user whose authenticated client has its close deferred by @​ranshid (#​3800)
  • Enforce db= ACL permissions on every DB clause of COPY, closing a bypass with REPLACE or repeated DB tokens by @​enjoy-binbin (#​3801)
  • Enforce database-level ACLs for CLUSTER FLUSHSLOT, which removes keys from all databases by @​enjoy-binbin (#​3806)
  • Fix use-after-free in the module API when unregistering the first registered cluster message receiver by @​eifrah-aws (#​3846)
  • Fix HRANDFIELD with a positive count looping forever when non-expired fields are fewer than the requested count by @​cjx-zar (#​4047)
  • Fix clients left on the wrong database after module keyspace notifications for MOVE and COPY by @​enjoy-binbin (#​4024)
  • Fix Sentinel crash during coordinated failover when the command link to the old primary disconnects by @​lukepalmer (#​4068)
  • Fix crash when active hash field expiration leaves a single-entry expiry bucket whose last field is later removed by @​ranshid (#​3950)
  • Fix assertion in HEXPIRE, HGETDEL and HPERSIST when a module blocks the client in a keyspace notification callback by @​enjoy-binbin (#​3743)
  • Fix undefined behavior in the failover delay calculation when cluster-node-timeout is below 30 milliseconds by @​enjoy-binbin (#​3941)
  • Reject zipmap RESTORE/RDB payloads with overflowing length fields that could cause out-of-bounds access on 32-bit builds by @​madolson (#​3920)
  • Reject NAN scores in listpack and ziplist encoded sorted sets on RDB/RESTORE load, preventing a crash on skiplist conversion by @​madolson (#​3921)
  • Fix corrupted replies (dropped leading bytes) caused by a reply buffer race when IO threads are enabled by @​nanyan0312 (#​4060)
  • Fix startup crash on 32-bit systems where time_t is 64-bit (such as Alpine 3.23) when generating INFO output by @​chenshi5012 (#​3787)
  • HGETDEL now returns a syntax error when the FIELDS keyword is missing or misplaced by @​lcxn123 (#​4049)
  • COMMAND INFO in RESP3 now returns the subcommands field as an array instead of a set for commands without subcommands by @​rickrams (#​3939)
  • Send the replica version on the dual-channel RDB connection so full syncs with newer encodings like hash field TTLs succeed by @​hpatro (#​4105)
  • Fix duplicate failure handling and an invalid reply sequence in cluster slot migration by @​chx9 (#​3723)
  • Reject control characters in SENTINEL SET values to prevent config-file injection via Sentinel config rewrite by @​eifrah-aws (#​3847)
  • Reject control characters and delimiters in cluster AUX fields and validate cluster-announce-ip to prevent nodes.conf injection by @​eifrah-aws (#​3848)
  • Redact key names and user data from more server log messages when hide-user-data-from-log is enabled by @​zackcam (#​3872)
  • ACL LOG now reports the denied database ID for COPY instead of the command name when db= access is denied by @​enjoy-binbin (#​3888)
  • Fix garbled shard IDs in the cluster UPDATE message log line by @​enjoy-binbin (#​3942)
  • Fix negative master_sync_total_bytes in INFO replication during disk-based sync when the RDB exceeds 2GB by @​chx9 (#​3811)
  • Increase the maximum process title length from 255 to 1024 characters to avoid truncation with long paths by @​pkhartsk (#​3843)

Full Changelog: https://github.com/valkey-io/valkey/compare/9.1.0...9.1.1


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [valkey/valkey](https://github.com/valkey-io/valkey) | minor | `9.1.0-alpine` → `9.2.1-alpine` | --- ### Release Notes <details> <summary>valkey-io/valkey (valkey/valkey)</summary> ### [`v9.2.1`](https://github.com/valkey-io/valkey/releases/tag/9.2.1) [Compare Source](https://github.com/valkey-io/valkey/compare/9.2.0...9.2.1) ## Valkey 9.2.1 - Released Wed 25 November 2026 Upgrade urgency MODERATE: Program an upgrade of the server, but it's not urgent. ##### Bug Fixes - Restore pre-9.2 TLS loading so the server no longer refuses to start or apply TLS configuration when a loaded certificate, such as an expired root left in a `tls-ca-cert-file` bundle, is outside its validity period by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5550](https://github.com/valkey-io/valkey/issues/5550)) - Fix a server crash when `PHGET` reads a large path hash while a forkless save is running by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5112](https://github.com/valkey-io/valkey/issues/5112)) - Fix a double mutex unlock, which is undefined behavior, when reducing the number of IO threads at runtime by [@&#8203;sarthakaggarwal97](https://github.com/sarthakaggarwal97) ([#&#8203;5366](https://github.com/valkey-io/valkey/issues/5366)) - Fix dual-channel replication so a replica aborts and resyncs when the primary link breaks while it applies its local buffer, instead of reporting a successful sync on a dead link by [@&#8203;shohamazon](https://github.com/shohamazon) ([#&#8203;5417](https://github.com/valkey-io/valkey/issues/5417)) - Fix IO threads resending already-written data to a client that is being closed, which could make a replica dropped for exceeding `client-output-buffer-limit` fail with a protocol error by [@&#8203;dgershko](https://github.com/dgershko) ([#&#8203;5468](https://github.com/valkey-io/valkey/issues/5468)) - Fix `COMMAND GETKEYS EXEC` returning wrong keys and possibly crashing the server when given more than 256 conditions by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;4712](https://github.com/valkey-io/valkey/issues/4712)) - Fix an uninitialized memory read in `ValkeyModule_CloseKey` when a module changes the type of an open key through `ValkeyModule_Call` by [@&#8203;Baraa-Hasheesh](https://github.com/Baraa-Hasheesh) ([#&#8203;5358](https://github.com/valkey-io/valkey/issues/5358)) - Fix a use-after-free that could crash a cluster node receiving a cluster bus forgotten-node extension in which the sender names itself by [@&#8203;roshkhatri](https://github.com/roshkhatri) ([#&#8203;4675](https://github.com/valkey-io/valkey/issues/4675)) - Fix cluster nodes adopting stale replica claims that form a replication cycle in their cluster view, which could trigger an assertion crash in builds with debug assertions by [@&#8203;Baraa-Hasheesh](https://github.com/Baraa-Hasheesh) ([#&#8203;5452](https://github.com/valkey-io/valkey/issues/5452)) - Fix a possible assertion crash with IO threads when more data arrives for a client that has a partially received command and is pending close by [@&#8203;aradz44](https://github.com/aradz44) ([#&#8203;3245](https://github.com/valkey-io/valkey/issues/3245)) **Full Changelog**: <https://github.com/valkey-io/valkey/compare/9.2.0...9.2.1> ### [`v9.2.0`](https://github.com/valkey-io/valkey/releases/tag/9.2.0) [Compare Source](https://github.com/valkey-io/valkey/compare/9.1.4...9.2.0) ## Valkey 9.2.0 GA - Released Wed 18 November 2026 Upgrade urgency LOW: This is the first stable release of Valkey 9.2. ##### Behavior Changes - `ZRANGEBYSCORE`, `ZREVRANGEBYSCORE`, `ZCOUNT`, and `ZRANGESTORE` now reject a bare `(` or an empty string as a score bound instead of silently treating it as 0 by [@&#8203;AlisinaDevelo](https://github.com/AlisinaDevelo) ([#&#8203;4054](https://github.com/valkey-io/valkey/issues/4054)) - Path Hash deletion commands now remove the key when the last path is deleted, following the Hash key lifecycle and emitting a generic del event by [@&#8203;yangbodong22011](https://github.com/yangbodong22011) ([#&#8203;5068](https://github.com/valkey-io/valkey/issues/5068)) - Active expiration of keys and hash fields now increments the dirty counter, so save points (and thus BGSAVE) may trigger more often by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;3118](https://github.com/valkey-io/valkey/issues/3118)) ##### New Features and Enhanced Behavior - Add new `DELEX` command to conditionally delete a string key when its value matches (`IFEQ`) or differs from (`IFNE`) a given value by [@&#8203;lightsigma96](https://github.com/lightsigma96) ([#&#8203;4607](https://github.com/valkey-io/valkey/issues/4607)) - Add Zstd as a streaming compression codec for RDB persistence and replication, offering better compression ratios than LZ4 by [@&#8203;sarthakaggarwal97](https://github.com/sarthakaggarwal97) ([#&#8203;3798](https://github.com/valkey-io/valkey/issues/3798)) - Support streaming-compressed RDB preambles in AOF bases, so compressed full-sync RDB files can be reused directly as AOF bases by [@&#8203;sarthakaggarwal97](https://github.com/sarthakaggarwal97) ([#&#8203;4754](https://github.com/valkey-io/valkey/issues/4754)) - `ACL 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 [@&#8203;MarkAtwood](https://github.com/MarkAtwood) ([#&#8203;4339](https://github.com/valkey-io/valkey/issues/4339)) - Support forkless full synchronization to replicas, serving disk and diskless full syncs from a background-thread snapshot without forking by [@&#8203;nitaicaro](https://github.com/nitaicaro) ([#&#8203;4797](https://github.com/valkey-io/valkey/issues/4797)) - Add ACL DIGEST command that returns a fingerprint of the ACL rules currently in effect, useful to verify what ACL LOAD applied by [@&#8203;melancholictheory](https://github.com/melancholictheory) ([#&#8203;4446](https://github.com/valkey-io/valkey/issues/4446)) - Add 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 [@&#8203;JimB123](https://github.com/JimB123) ([#&#8203;4460](https://github.com/valkey-io/valkey/issues/4460)) - Add 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 [@&#8203;nickiaq](https://github.com/nickiaq) ([#&#8203;4629](https://github.com/valkey-io/valkey/issues/4629)) - Support 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 [@&#8203;pkhartsk](https://github.com/pkhartsk) ([#&#8203;3717](https://github.com/valkey-io/valkey/issues/3717)) - Add ACL roles: named, reusable sets of ACL selectors managed with `ACL SETROLE`/`DELROLE`/`GETROLE`/`ROLES` and assigned to users with `role:<name>`, in commands, the ACL file and valkey.conf by [@&#8203;yang-z-o](https://github.com/yang-z-o) ([#&#8203;3967](https://github.com/valkey-io/valkey/issues/3967)) - Add 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 [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;866](https://github.com/valkey-io/valkey/issues/866)) - Add 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 [@&#8203;yangbodong22011](https://github.com/yangbodong22011) ([#&#8203;4506](https://github.com/valkey-io/valkey/issues/4506)) - Support whole-stream LZ4 compression of RDB files via the new `rdbcompression lz4` option; the default per-string LZF behavior is unchanged by [@&#8203;sarthakaggarwal97](https://github.com/sarthakaggarwal97) ([#&#8203;3531](https://github.com/valkey-io/valkey/issues/3531)) - Add server-side hot key detection with new `HOTKEYS GET`/`RESET` commands, enabled by setting `hotkeys-top-k` by [@&#8203;alon-arenberg](https://github.com/alon-arenberg) ([#&#8203;3708](https://github.com/valkey-io/valkey/issues/3708)) - Add optional replication throttling (`repl-throttling-enabled`) that slows client writes when a replica falls behind, avoiding disconnects and full syncs by [@&#8203;harrylin98](https://github.com/harrylin98) ([#&#8203;4356](https://github.com/valkey-io/valkey/issues/4356)) - Prioritize system-critical events (cluster heartbeats, replication, slot migration) over heavy client traffic, tunable via the new `priority-preemptive-poll-interval-us` config by [@&#8203;satheeshaGowda](https://github.com/satheeshaGowda) ([#&#8203;4076](https://github.com/valkey-io/valkey/issues/4076)) - Reserve 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 [@&#8203;satheeshaGowda](https://github.com/satheeshaGowda) ([#&#8203;4005](https://github.com/valkey-io/valkey/issues/4005)) - Add `INCREX` command to atomically increment a key by an integer or float while setting its expiration, with `NX`/`XX` conditions by [@&#8203;GavinDmello](https://github.com/GavinDmello) ([#&#8203;3253](https://github.com/valkey-io/valkey/issues/3253)) ##### Performance and Efficiency Improvements - Fix long stalls in `SRANDMEMBER`, `ZRANDMEMBER`, `HRANDFIELD` and `SPOP` on a small key whose hashtable is still shrinking from a much larger size by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5170](https://github.com/valkey-io/valkey/issues/5170)) - Stop treating `LINDEX`, `LRANGE` and `LPOS` as format-changing commands during forkless background iteration, so list reads no longer get write-style handling by [@&#8203;JimB123](https://github.com/JimB123) ([#&#8203;5283](https://github.com/valkey-io/valkey/issues/5283)) - Keep the forkless save queue growing under write load by not counting keys expedited by writes as leftover work by [@&#8203;taham0](https://github.com/taham0) ([#&#8203;5298](https://github.com/valkey-io/valkey/issues/5298)) - Make 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 [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5183](https://github.com/valkey-io/valkey/issues/5183)) - Reclaim memory from sorted sets that shrink or have frequent score updates by compacting sparse B+tree leaves on delete by [@&#8203;rainsupreme](https://github.com/rainsupreme) ([#&#8203;4526](https://github.com/valkey-io/valkey/issues/4526)) - Speed up sorted set score updates in listpack encoding by replacing the score in place when the member keeps its position by [@&#8203;charsyam](https://github.com/charsyam) ([#&#8203;3491](https://github.com/valkey-io/valkey/issues/3491)) - Fix quadratic slowdown in `HRANDFIELD` and `SRANDMEMBER` with counts on collections whose elements differ only in letter case by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5167](https://github.com/valkey-io/valkey/issues/5167)) - Bound the time spent per cycle evicting keys from the client tracking table, avoiding long stalls after lowering `tracking-table-max-keys` by [@&#8203;tanmayBeginsJourney](https://github.com/tanmayBeginsJourney) ([#&#8203;4775](https://github.com/valkey-io/valkey/issues/4775)) - Speed up the `INFO` command by around 5% by pre-allocating the output buffer by [@&#8203;charsyam](https://github.com/charsyam) ([#&#8203;3413](https://github.com/valkey-io/valkey/issues/3413)) - Reclaim 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 [@&#8203;rayjinghaolei](https://github.com/rayjinghaolei) ([#&#8203;4190](https://github.com/valkey-io/valkey/issues/4190)) - Speed up `ZPOPMIN` and `ZPOPMAX` on B+tree encoded sorted sets by detaching edge items without a key search or copy by [@&#8203;charsyam](https://github.com/charsyam) ([#&#8203;4852](https://github.com/valkey-io/valkey/issues/4852)) - Counting a hash's fields with expirations is now O(1) for hashtable-encoded hashes by tracking the volatile set size on each mutation by [@&#8203;frostzt](https://github.com/frostzt) ([#&#8203;4829](https://github.com/valkey-io/valkey/issues/4829)) - Speed up AOF command propagation by serializing commands directly into the AOF buffer, removing an allocation and copy per command by [@&#8203;charsyam](https://github.com/charsyam) ([#&#8203;3496](https://github.com/valkey-io/valkey/issues/3496)) - Cache the earliest event-loop timer to avoid an O(N) scan per iteration, reducing overhead with many timers such as RDMA connections by [@&#8203;royenheart](https://github.com/royenheart) ([#&#8203;4354](https://github.com/valkey-io/valkey/issues/4354)) - Speed up HGETALL, HKEYS and HVALS with exact-length reply headers, fused bulk replies, and entry prefetching by [@&#8203;jjuleslasarte](https://github.com/jjuleslasarte) ([#&#8203;4417](https://github.com/valkey-io/valkey/issues/4417)) - Eliminate false sharing in per-thread memory usage counters, improving throughput with I/O threads on SMT x86 systems by [@&#8203;omerrubi-amzn](https://github.com/omerrubi-amzn) ([#&#8203;4107](https://github.com/valkey-io/valkey/issues/4107)) - Read-only list iteration (e.g. LRANGE, LPOS) no longer decompresses and recompresses quicklist nodes in place, cutting CPU cost on compressed lists by [@&#8203;murphyjacob4](https://github.com/murphyjacob4) ([#&#8203;4782](https://github.com/valkey-io/valkey/issues/4782)) - Speed up ZSCAN on btree-encoded sorted sets by avoiding temporary member and score copies and prefetching items by [@&#8203;charsyam](https://github.com/charsyam) ([#&#8203;4856](https://github.com/valkey-io/valkey/issues/4856)) - Reduce cache-line false sharing on IO thread activity and job counters for better multi-threaded IO performance by [@&#8203;omerrubi-amzn](https://github.com/omerrubi-amzn) ([#&#8203;4976](https://github.com/valkey-io/valkey/issues/4976)) - PHDELPREFIX now bounds its temporary path copies to 64KiB per batch, avoiding large untracked memory spikes on long shared prefixes by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5179](https://github.com/valkey-io/valkey/issues/5179)) - Speed up radix tree lookups and inserts by using SIMD-optimized memchr() for child-edge search by [@&#8203;charsyam](https://github.com/charsyam) ([#&#8203;3472](https://github.com/valkey-io/valkey/issues/3472)) - Improve replica processing speed by parsing multiple commands from the replication stream at once by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;3597](https://github.com/valkey-io/valkey/issues/3597)) - Reduce memory usage by sharing pubsub pattern and WATCH key objects across clients subscribing to or watching the same name by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4072](https://github.com/valkey-io/valkey/issues/4072)) - Large sorted sets are now backed by a B+ tree instead of a skiplist; OBJECT ENCODING reports `btree` instead of `skiplist` by [@&#8203;ranshid](https://github.com/ranshid) ([#&#8203;4359](https://github.com/valkey-io/valkey/issues/4359)) - Save the cluster config file from a background thread when `cluster-config-save-behavior` is best-effort, avoiding main-thread latency spikes from slow disk I/O by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;2555](https://github.com/valkey-io/valkey/issues/2555)) - Speed up `HMGET`, `SMISMEMBER` and `ZMSCORE` on large hashtable-encoded keys with batched lookups that overlap memory accesses by [@&#8203;chzhoo](https://github.com/chzhoo) ([#&#8203;4017](https://github.com/valkey-io/valkey/issues/4017)) - Extend memory prefetching to hash, set and sorted set member lookups when io-threads are enabled, improving performance for 30 field/member commands on large keys by [@&#8203;roshkhatri](https://github.com/roshkhatri) ([#&#8203;3940](https://github.com/valkey-io/valkey/issues/3940)) - `MEMORY PURGE` now also releases free pages from the glibc main arena back to the OS, reclaiming memory held by libc-internal allocations by [@&#8203;webbsssss](https://github.com/webbsssss) ([#&#8203;3640](https://github.com/valkey-io/valkey/issues/3640)) - Speed up command propagation to replicas by batching each command's RESP frame into a single replication buffer write by [@&#8203;hpatro](https://github.com/hpatro) ([#&#8203;4044](https://github.com/valkey-io/valkey/issues/4044)) - Reduce lseek system calls during disk-based replication by seeking only when a write blocks or is partial by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4053](https://github.com/valkey-io/valkey/issues/4053)) - Reduce event-loop overhead by refreshing cached daylight-saving info once per second instead of on every wakeup by [@&#8203;hpatro](https://github.com/hpatro) ([#&#8203;4086](https://github.com/valkey-io/valkey/issues/4086)) - Speed up keyspace event notifications by skipping work when there are no subscribers and avoiding unnecessary allocations by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4285](https://github.com/valkey-io/valkey/issues/4285)) - Speed up exact `XTRIM MAXLEN = 0` by about 2.5x by clearing the whole stream in one step instead of removing entries individually by [@&#8203;sarthakaggarwal97](https://github.com/sarthakaggarwal97) ([#&#8203;4161](https://github.com/valkey-io/valkey/issues/4161)) - Cluster bus reads, writes, and inbound TLS accepts can now run on the shared I/O thread pool, with new `CLUSTER INFO` offload statistics by [@&#8203;hpatro](https://github.com/hpatro) ([#&#8203;3438](https://github.com/valkey-io/valkey/issues/3438)) - Small hashes with field expiration now use the memory-efficient listpack encoding instead of always converting to a hashtable by [@&#8203;frostzt](https://github.com/frostzt) ([#&#8203;3212](https://github.com/valkey-io/valkey/issues/3212)) - Reduce per-command overhead by skipping post-command bookkeeping when no propagation, module, or invalidation work is pending by [@&#8203;ahmetalicc](https://github.com/ahmetalicc) ([#&#8203;4257](https://github.com/valkey-io/valkey/issues/4257)) ##### Bug Fixes - Fix `PFMERGE` with no source keys bypassing ACL key permissions and failing in `COMMAND GETKEYS`, and a crash in module commands whose keynum key spec starts past the last argument by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5087](https://github.com/valkey-io/valkey/issues/5087)) - Fix `SCRIPT KILL` and `FUNCTION KILL` not stopping Lua scripts that loop inside nested coroutines, and script timeouts not being detected when work is spread across coroutines by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5108](https://github.com/valkey-io/valkey/issues/5108)) - Fix a server crash in `SORT` and `SORT_RO` with `BY` or `GET` patterns when an element is 2 GiB or larger by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5146](https://github.com/valkey-io/valkey/issues/5146)) - Fix `ValkeyModule_Calloc` and `ValkeyModule_TryCalloc` returning an undersized buffer when `nmemb * size` overflows by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5155](https://github.com/valkey-io/valkey/issues/5155)) - Fix `EXEC` succeeding after a key that was already expired at `WATCH` time is overwritten, which can happen on replicas by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5169](https://github.com/valkey-io/valkey/issues/5169)) - Fix a crash on the first `FUNCTION LOAD` after startup when the shebang engine name contains a NUL byte by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5115](https://github.com/valkey-io/valkey/issues/5115)) - Fix a crash in a cluster replica whose primary was removed from the nodes table when another primary claims an unassigned slot by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5184](https://github.com/valkey-io/valkey/issues/5184)) - Fix an active defrag crash when a large set, sorted set or list is replaced by a hashtable-encoded hash while it is being defragmented by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5164](https://github.com/valkey-io/valkey/issues/5164)) - Fix an out-of-bounds write in `PFADD` and `PFMERGE` on a corrupted sparse HyperLogLog ending in a truncated XZERO opcode by rejecting it as invalid by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5124](https://github.com/valkey-io/valkey/issues/5124)) - Fix a server abort in `PFADD` and `PFMERGE` on short sparse HyperLogLogs when `hll-sparse-max-bytes` is set to 31 or less by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5138](https://github.com/valkey-io/valkey/issues/5138)) - Fix forkless saves writing corrupted set members to the RDB when `ZUNION`, `ZINTER`, `ZINTERCARD` or `ZDIFF` reads the same set concurrently by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5110](https://github.com/valkey-io/valkey/issues/5110)) - Fix a crash when the Lua debugger is started on an empty or newline-only script by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5117](https://github.com/valkey-io/valkey/issues/5117)) - Fix a cluster node failing to restart with an assertion after a gossip entry carrying the MYSELF flag adds a second myself node to nodes.conf by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5134](https://github.com/valkey-io/valkey/issues/5134)) - Fix `ACL LOAD` not disconnecting default user clients subscribed to channels the reloaded rules no longer allow by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5085](https://github.com/valkey-io/valkey/issues/5085)) - Fix a Sentinel crash when a monitored replica's `INFO` reply contains no `master_host` by [@&#8203;smkher](https://github.com/smkher) ([#&#8203;4929](https://github.com/valkey-io/valkey/issues/4929)) - Fix throttled write commands being executed twice when using RDMA with IO threads by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5160](https://github.com/valkey-io/valkey/issues/5160)) - Fail `CONFIG REWRITE` when the old config file reads short instead of writing uninitialized memory into the new config file by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5158](https://github.com/valkey-io/valkey/issues/5158)) - Fix Lua `server.error_reply()` returning stale heap memory as the error message when given a string of 2 GiB or more by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5122](https://github.com/valkey-io/valkey/issues/5122)) - Fix a use-after-free in streams when `XADD` creates a new node, which could leave a dangling pointer hit by later reads such as `XRANGE` by [@&#8203;Baraa-Hasheesh](https://github.com/Baraa-Hasheesh) ([#&#8203;4711](https://github.com/valkey-io/valkey/issues/4711)) - Fix `XINFO GROUPS` and `XINFO STREAM ... FULL` reporting too-high consumer group lag after `XTRIM` or a trimming `XADD` removes unread entries by [@&#8203;Sasidharan3094](https://github.com/Sasidharan3094) ([#&#8203;4983](https://github.com/valkey-io/valkey/issues/4983)) - Fix forkless background iteration being left inside an open `MULTI` after a script or `MULTI`/`EXEC` when there are no replicas and AOF is off by [@&#8203;harrylin98](https://github.com/harrylin98) ([#&#8203;5316](https://github.com/valkey-io/valkey/issues/5316)) - Fix use of uninitialized variables in `valkey-cli` cluster key migration when `SELECT` fails on the source node by [@&#8203;PoisonGodv](https://github.com/PoisonGodv) ([#&#8203;5311](https://github.com/valkey-io/valkey/issues/5311)) - Fix an assertion failure when `FLUSHALL` or `SHUTDOWN` cancels a failed forkless save that still has a `FLUSHDB` or `SWAPDB` queued by [@&#8203;dgershko](https://github.com/dgershko) ([#&#8203;5326](https://github.com/valkey-io/valkey/issues/5326)) - Fix AOF load failure after a crash leaves a torn annotation at the end of the file; it is now treated as a short read and can be truncated by `aof-load-truncated` or `valkey-check-aof --fix` by [@&#8203;sumitk163](https://github.com/sumitk163) ([#&#8203;5349](https://github.com/valkey-io/valkey/issues/5349)) - Fix Lua `server.log()` blocking the server for seconds when called with thousands of arguments, with no `-BUSY` reply or `SCRIPT KILL` by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5104](https://github.com/valkey-io/valkey/issues/5104)) - Bound the number of memory regions the crash report's fast memory test records on Linux to avoid overflowing its region list by [@&#8203;JimB123](https://github.com/JimB123) ([#&#8203;5379](https://github.com/valkey-io/valkey/issues/5379)) - Fix a replica assertion when a timed-out script ends while the replication throttler holds the primary client, possible right after a failover with `repl-throttling-enabled yes` by [@&#8203;asagege](https://github.com/asagege) ([#&#8203;5389](https://github.com/valkey-io/valkey/issues/5389)) - Fix a primary assertion when `FLUSHDB` runs right at the end of a forkless full sync by [@&#8203;sarthakaggarwal97](https://github.com/sarthakaggarwal97) ([#&#8203;5365](https://github.com/valkey-io/valkey/issues/5365)) - Fix a primary assertion when a module thread holding the GIL performs a replicated write during a forkless save or full sync; affects modules that set `VALKEYMODULE_OPTIONS_HANDLE_FORKLESS` by [@&#8203;Baraa-Hasheesh](https://github.com/Baraa-Hasheesh) ([#&#8203;5432](https://github.com/valkey-io/valkey/issues/5432)) - Fix `CONFIG SET priority-subnets` demoting replica and slot migration connections from high priority, and fix drift in the active priority client counter by [@&#8203;satheeshaGowda](https://github.com/satheeshaGowda) ([#&#8203;4681](https://github.com/valkey-io/valkey/issues/4681)) - Fix a source primary assertion on the next `CLUSTER MIGRATESLOTS` and a pipe descriptor leak after a slot migration snapshot fails to fork, such as during a forkless BGSAVE by [@&#8203;Baraa-Hasheesh](https://github.com/Baraa-Hasheesh) ([#&#8203;5359](https://github.com/valkey-io/valkey/issues/5359)) - Fix excessive copy-on-write memory during fork-based saves and a data race in forkless saves under an LFU `maxmemory-policy` by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5445](https://github.com/valkey-io/valkey/issues/5445)) - Fix a use-after-free crash when a blocked client's re-executed command evicts the client still executing a command under `maxmemory-clients` by [@&#8203;nadav-levanoni](https://github.com/nadav-levanoni) ([#&#8203;5435](https://github.com/valkey-io/valkey/issues/5435)) - Fix access to a freed database when `FLUSHDB` and `SWAPDB` in the same transaction terminate a background iteration by [@&#8203;JimB123](https://github.com/JimB123) ([#&#8203;5462](https://github.com/valkey-io/valkey/issues/5462)) - Reject module write commands while the server is paused for writes, preventing a crash from module timer callbacks during `CLIENT PAUSE WRITE` or `CLUSTER FAILOVER` by [@&#8203;smkher](https://github.com/smkher) ([#&#8203;3645](https://github.com/valkey-io/valkey/issues/3645)) - Fix event loop busy-spinning on virtual machines by not using raw TSC for the monotonic clock when the kernel clocksource is not tsc by [@&#8203;quanyeyang](https://github.com/quanyeyang) ([#&#8203;4707](https://github.com/valkey-io/valkey/issues/4707)) - Fix a crash in `ValkeyModule_HashHasStringRef` on a missing or expired field and correct wrong return values in the hash stringRef module APIs by [@&#8203;ShubhamTaple](https://github.com/ShubhamTaple) ([#&#8203;4504](https://github.com/valkey-io/valkey/issues/4504)) - Fix a server abort on a RESTORE payload declaring a string length that overflows the allocation size; such payloads are now rejected as bad data by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4733](https://github.com/valkey-io/valkey/issues/4733)) - Fix ZINTER/ZINTERSTORE returning input-order-dependent scores when a weighted term is 0\*inf; a NaN weighted score now counts as 0, matching ZUNION by [@&#8203;leomurillo](https://github.com/leomurillo) ([#&#8203;4997](https://github.com/valkey-io/valkey/issues/4997)) - Fix crashes, lookup hangs, and duplicate set members when keys or elements reach 2 GiB, caused by storing string lengths in a 32-bit integer by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5133](https://github.com/valkey-io/valkey/issues/5133)) - Fix module global defrag resuming on the wrong module or with a stale cursor when `MODULE UNLOAD` runs between defrag cycles by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5154](https://github.com/valkey-io/valkey/issues/5154)) - Propagate `PFADD` elements applied before a corrupted-HLL INVALIDOBJ error so replicas and the AOF stay consistent with the primary by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5128](https://github.com/valkey-io/valkey/issues/5128)) - Fix a server crash in `SCRIPT DEBUG SYNC` mode when a debugger command arrives split across more than one read by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5127](https://github.com/valkey-io/valkey/issues/5127)) - Fix a server panic when a Lua script returns or raises an error table whose metatable has an `__index` metamethod that raises an error by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5118](https://github.com/valkey-io/valkey/issues/5118)) - Fix forkless BGSAVE producing a corrupt snapshot when `SWAPDB` runs without being replicated, such as from a script with replication disabled by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5116](https://github.com/valkey-io/valkey/issues/5116)) - Let `FLUSHALL` and `SHUTDOWN` cancel a forkless save that is finalizing its file, so a stale snapshot can no longer overwrite the newer dump.rdb by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5121](https://github.com/valkey-io/valkey/issues/5121)) - Fix a server crash when a module never sets a postponed reply length; the leftover placeholder is now filled with an empty array by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5159](https://github.com/valkey-io/valkey/issues/5159)) - Fix a memory leak when `server.register_function` named arguments are repeated in a different letter case by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5120](https://github.com/valkey-io/valkey/issues/5120)) - Preserve expired but not yet reaped hash fields across listpack-to-hashtable conversion so their deletion is properly reaped and propagated by [@&#8203;frostzt](https://github.com/frostzt) ([#&#8203;4704](https://github.com/valkey-io/valkey/issues/4704)) - Fix a double-decremented item count when background iteration is terminated with a SWAPDB or FLUSHDB event queued by [@&#8203;JimB123](https://github.com/JimB123) ([#&#8203;4750](https://github.com/valkey-io/valkey/issues/4750)) - Fix `GEOSEARCH` returning empty results for exact zero-distance matches on builds where floating-point contraction breaks the latitude distance calculation by [@&#8203;Baraa-Hasheesh](https://github.com/Baraa-Hasheesh) ([#&#8203;4777](https://github.com/valkey-io/valkey/issues/4777)) - Reject inline commands containing a raw NUL byte with a protocol error instead of leaving the connection stalled by [@&#8203;cjx-zar](https://github.com/cjx-zar) ([#&#8203;4759](https://github.com/valkey-io/valkey/issues/4759)) - Fix a memory leak on normal shutdown caused by I/O worker threads not being terminated and cleaned up by [@&#8203;roshkhatri](https://github.com/roshkhatri) ([#&#8203;4710](https://github.com/valkey-io/valkey/issues/4710)) - `XACKDEL` with `KEEPREF` now replies 1 instead of -1 when acknowledging an entry whose stream message was already deleted, matching the ACKED and DELREF modes by [@&#8203;adityamukesh](https://github.com/adityamukesh) ([#&#8203;4843](https://github.com/valkey-io/valkey/issues/4843)) - Fix listpack encoding incompatibility that caused RDB load and replication failures for entries of certain lengths between 9.0 and 9.1.x by [@&#8203;jjuleslasarte](https://github.com/jjuleslasarte) ([#&#8203;4819](https://github.com/valkey-io/valkey/issues/4819)) - Reject relative expire times in `SET`/`GETEX`, `RESTORE`, and `ValkeyModule_SetExpire` that overflow when added to the current time, preventing server aborts from negative expires by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;4880](https://github.com/valkey-io/valkey/issues/4880)) - `ACL DIGEST` now includes role definitions, so editing a role's rules changes the reported fingerprint by [@&#8203;melancholictheory](https://github.com/melancholictheory) ([#&#8203;4694](https://github.com/valkey-io/valkey/issues/4694)) - Fix a server crash when loading an ACL file containing a selector with an unmatched parenthesis by [@&#8203;magic-peach](https://github.com/magic-peach) ([#&#8203;4214](https://github.com/valkey-io/valkey/issues/4214)) - Fix a segfault on Alpine/musl when Lua is built as a module, caused by a symbol clash on an internal clock function by [@&#8203;mohammedgqudah](https://github.com/mohammedgqudah) ([#&#8203;4270](https://github.com/valkey-io/valkey/issues/4270)) - Fix lex range seeks, NaN score bound handling, and a memory leak in B+tree sorted sets, and resolve `ZRANGEBYLEX` LIMIT offsets in logarithmic time by [@&#8203;xiaocj](https://github.com/xiaocj) ([#&#8203;4644](https://github.com/valkey-io/valkey/issues/4644)) - Fix expired hash fields left untracked after listpack-to-hashtable conversion, which could crash the server on a later write and leave fields that are never reaped by [@&#8203;beyondwin](https://github.com/beyondwin) ([#&#8203;4894](https://github.com/valkey-io/valkey/issues/4894)) - Restore acceptance of hexadecimal float sorted set scores (such as `0x10`), keeping replication and AOF replay compatible with Valkey 9.0 by [@&#8203;quanyeyang](https://github.com/quanyeyang) ([#&#8203;4875](https://github.com/valkey-io/valkey/issues/4875)) - Sorted set range commands with a negative `LIMIT` offset now return an empty result instead of a spurious element on btree-encoded keys by [@&#8203;xiaocj](https://github.com/xiaocj) ([#&#8203;4637](https://github.com/valkey-io/valkey/issues/4637)) - Fix `HSETEX` and `HGETEX` failing to parse their arguments when the key is named `fields` by [@&#8203;sebxt](https://github.com/sebxt) ([#&#8203;4945](https://github.com/valkey-io/valkey/issues/4945)) - Fix a crash when active defrag's deferred keys outlive a keyspace replacement such as FLUSHDB/FLUSHALL ASYNC, SWAPDB, or a replica's pre-sync flush by [@&#8203;taham0](https://github.com/taham0) ([#&#8203;4968](https://github.com/valkey-io/valkey/issues/4968)) - Fix `LSET` on 64-bit builds silently modifying the wrong element for out-of-range indexes instead of returning an index out of range error by [@&#8203;charsyam](https://github.com/charsyam) ([#&#8203;4823](https://github.com/valkey-io/valkey/issues/4823)) - Fix a heap buffer overflow in cluster Pub/Sub message construction; oversized PUBLISH and SPUBLISH payloads are now rejected with an error in cluster mode by [@&#8203;roshkhatri](https://github.com/roshkhatri) ([#&#8203;5030](https://github.com/valkey-io/valkey/issues/5030)) - Lex range commands on btree-encoded sorted sets with mixed scores now match listpack results, preventing primary/replica divergence via ZREMRANGEBYLEX and ZRANGESTORE by [@&#8203;pirate329](https://github.com/pirate329) ([#&#8203;4954](https://github.com/valkey-io/valkey/issues/4954)) - Fix a memory leak when `GEOSEARCH` or `GEOSEARCHSTORE` is given repeated `BYPOLYGON` options by [@&#8203;charsyam](https://github.com/charsyam) ([#&#8203;4995](https://github.com/valkey-io/valkey/issues/4995)) - `DEBUG RELOAD` and `DEBUG LOADAOF` now return a LOADING error while the dataset is loading, avoiding a possible panic by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4877](https://github.com/valkey-io/valkey/issues/4877)) - Fix a memory leak in `ValkeyModule_GetCommandKeysWithFlags` when introspecting commands with large key lists by [@&#8203;christopherlim98](https://github.com/christopherlim98) ([#&#8203;5046](https://github.com/valkey-io/valkey/issues/5046)) - `MEMORY USAGE` now counts hash fields that have expired but not yet been reaped, fixing under-reported sizes by [@&#8203;sushilpaneru1](https://github.com/sushilpaneru1) ([#&#8203;5092](https://github.com/valkey-io/valkey/issues/5092)) - Fix a crash in `ValkeyModule_Call` when script-mode validation fails and error replies were not requested by [@&#8203;dvkashapov](https://github.com/dvkashapov) ([#&#8203;5091](https://github.com/valkey-io/valkey/issues/5091)) - High-priority socket events are no longer drained when the event loop caller did not request file event processing by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;5098](https://github.com/valkey-io/valkey/issues/5098)) - Fix a crash when a replication role change command such as `REPLICAOF` or `CLUSTER REPLICATE` arrives over a replication link by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5187](https://github.com/valkey-io/valkey/issues/5187)) - `FUNCTION RESTORE` now applies the same library load timeout as `FUNCTION LOAD`, so a never-returning library can no longer block the server forever by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5181](https://github.com/valkey-io/valkey/issues/5181)) - Fix a buffer overflow in valkey-benchmark when `--num-functions` is large enough to overflow the generated script buffer by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5175](https://github.com/valkey-io/valkey/issues/5175)) - Fix a valkey-check-rdb crash with `--stats` on RDB files whose highest selected database contains no keys by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5177](https://github.com/valkey-io/valkey/issues/5177)) - Fix a crash on the importing primary when an atomic slot migration fails while its writes are paused by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5182](https://github.com/valkey-io/valkey/issues/5182)) - Fix `GEOSEARCH BYPOLYGON` missing matching members when the polygon's vertex centroid falls outside the valid latitude range by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5174](https://github.com/valkey-io/valkey/issues/5174)) - Fix a primary abort when `CLUSTER SETSLOT` runs inside MULTI or a script on a primary with online replicas by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5141](https://github.com/valkey-io/valkey/issues/5141)) - Fix a memory leak when deleting or replacing Lua functions with long names or descriptions by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5109](https://github.com/valkey-io/valkey/issues/5109)) - A refused oversized `XADD` no longer creates an empty stream key that replicas and the AOF never receive by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5178](https://github.com/valkey-io/valkey/issues/5178)) - Prevent a replica crash when the primary wrongly replies +CONTINUE to a full resync request; the replica now drops the link and retries by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5126](https://github.com/valkey-io/valkey/issues/5126)) - FUNCTION LOAD no longer aborts the server when a library calls `server.log()` at its top level, including when loading from RDB or AOF by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5114](https://github.com/valkey-io/valkey/issues/5114)) - RESET on a slot migration connection now returns an error instead of crashing the server with an assertion failure by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5140](https://github.com/valkey-io/valkey/issues/5140)) - DEBUG SLOTMIGRATION with missing arguments now returns an error instead of crashing the server by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5147](https://github.com/valkey-io/valkey/issues/5147)) - KEYS on a flushed database no longer leaks a rehashing pause that permanently stops rehashing and can eventually crash the server by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5166](https://github.com/valkey-io/valkey/issues/5166)) - Automatic RDB snapshots and AOF rewrites are no longer postponed while a forked SCRIPT DEBUG session is open by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5153](https://github.com/valkey-io/valkey/issues/5153)) - Fix an integer overflow in quicklist node merging that could crash the server on lists loaded with nodes over 4GiB via RESTORE or replication by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5163](https://github.com/valkey-io/valkey/issues/5163)) - Fix a stack buffer overflow when replying with hundreds of empty strings (e.g. MGET) while reply copy avoidance is active by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5151](https://github.com/valkey-io/valkey/issues/5151)) - CLUSTER SLOT-STATS ORDERBY no longer replies with uninitialized slot entries when a node's primary is itself a replica that claims slots by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5131](https://github.com/valkey-io/valkey/issues/5131)) - Fix a race with TLS and io-threads where an IO thread still writing to a client could modify the main thread's event loop by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5156](https://github.com/valkey-io/valkey/issues/5156)) - Fix a replica crash when a script exceeding busy-reply-threshold ends during CLIENT PAUSE WRITE with a pending replicated write by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5150](https://github.com/valkey-io/valkey/issues/5150)) - In cluster mode, one cross-slot command in a script no longer makes every later script and function call fail until restart by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5191](https://github.com/valkey-io/valkey/issues/5191)) - Fix a use-after-free crash when a forkless save is running while a swapdb-mode full sync swaps in the primary's keyspace on a replica by [@&#8203;nitaicaro](https://github.com/nitaicaro) ([#&#8203;5082](https://github.com/valkey-io/valkey/issues/5082)) - Fix a replica assertion crash when the primary writes a key still in use by a forkless (consistent) save by [@&#8203;harrylin98](https://github.com/harrylin98) ([#&#8203;5206](https://github.com/valkey-io/valkey/issues/5206)) - Fix a dangling pointer when a key is deleted during a forkless save, which could crash or silently corrupt the iteration by [@&#8203;JimB123](https://github.com/JimB123) ([#&#8203;4996](https://github.com/valkey-io/valkey/issues/4996)) - Clear the script debugger input buffer after a "max client buffer reached" error so later debugger commands in the same session do not keep failing by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5129](https://github.com/valkey-io/valkey/issues/5129)) - MODULE LOAD is now rejected during async replication loading and atomic slot migration to avoid unexpected module behavior by [@&#8203;KIvanow](https://github.com/KIvanow) ([#&#8203;3039](https://github.com/valkey-io/valkey/issues/3039)) - Reject CLUSTER ADDSLOTS/DELSLOTS/ADDSLOTSRANGE/DELSLOTSRANGE/FLUSHSLOTS on replicas, preventing an assertion failure on a later CLUSTER REPLICATE by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4020](https://github.com/valkey-io/valkey/issues/4020)) - Fix a crash when processing a heartbeat from a cluster node whose role is locally unknown, such as after loading an incomplete nodes.conf by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4091](https://github.com/valkey-io/valkey/issues/4091)) - Fix wrong results or debug-build assertions in cluster mode when the server inspects keys outside the executing command's slot, such as WATCHed keys checked during EXEC by [@&#8203;nitaicaro](https://github.com/nitaicaro) ([#&#8203;4380](https://github.com/valkey-io/valkey/issues/4380)) - Fix stream commands that mutate consumer-group or PEL state (`XGROUP`, `XSETID`, `XREADGROUP`, `XACK`, `XCLAIM`, `XAUTOCLAIM`) not triggering `WATCH` and client-side tracking invalidation by [@&#8203;Tarte12](https://github.com/Tarte12) ([#&#8203;3459](https://github.com/valkey-io/valkey/issues/3459)) - Fix a server crash on FUNCTION DELETE or FUNCTION LOAD REPLACE after loading a library with function names differing only in case by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;3925](https://github.com/valkey-io/valkey/issues/3925)) - Client-side tracking no longer records routing-only tokens such as the CLUSTERSCAN cursor as tracked keys by [@&#8203;nmvk](https://github.com/nmvk) ([#&#8203;3699](https://github.com/valkey-io/valkey/issues/3699)) - Reject malformed slot entries in the cluster config file as a corrupt config instead of asserting or invoking undefined behavior by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4100](https://github.com/valkey-io/valkey/issues/4100)) - Fix a TLS busy loop that consumed 100% CPU when a connection's read or write handler was removed while OpenSSL was waiting for the opposite event by [@&#8203;yairgott](https://github.com/yairgott) ([#&#8203;3510](https://github.com/valkey-io/valkey/issues/3510)) - Client eviction no longer disconnects extra clients when a large client's close is deferred but its memory is already scheduled to be freed by [@&#8203;dhruv2x](https://github.com/dhruv2x) ([#&#8203;4152](https://github.com/valkey-io/valkey/issues/4152)) - Fix a crash caused by a NULL pointer dereference when all timer events in an event loop are pending deletion by [@&#8203;royenheart](https://github.com/royenheart) ([#&#8203;4351](https://github.com/valkey-io/valkey/issues/4351)) - Rework iteration over clients blocked on ready keys to simplify and harden an earlier use-after-free fix by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4472](https://github.com/valkey-io/valkey/issues/4472)) - Fix a race in RDB string compression that could produce corrupt, unloadable RDB files when compression runs concurrently, without increasing copy-on-write by [@&#8203;dubey02](https://github.com/dubey02) ([#&#8203;4539](https://github.com/valkey-io/valkey/issues/4539)) - Fix dropped field TTLs and a possible crash when loading a hash with field expiration converts it to a hashtable mid-load (e.g. via RESTORE) by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;4669](https://github.com/valkey-io/valkey/issues/4669)) - Reject a repeated `CLUSTER SYNCSLOTS ESTABLISH` on the same connection, which could lead to a use-after-free crash on disconnect by [@&#8203;Pyolar](https://github.com/Pyolar) ([#&#8203;4670](https://github.com/valkey-io/valkey/issues/4670)) - Fix wrong `ZCOUNT` results and incorrect `ZREMRANGEBYSCORE` deletions when members sharing a boundary score span multiple btree leaves by [@&#8203;rainsupreme](https://github.com/rainsupreme) ([#&#8203;4554](https://github.com/valkey-io/valkey/issues/4554)) - Fix `SORT` key extraction so a `STORE` destination named like an option can no longer bypass ACL checks and write to an unauthorized key by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;4665](https://github.com/valkey-io/valkey/issues/4665)) ##### Command and API Updates - Correct the `since` version of the `SISMEMBER` `XX` option to 9.2.0 in the command metadata by [@&#8203;PoisonGodv](https://github.com/PoisonGodv) ([#&#8203;5310](https://github.com/valkey-io/valkey/issues/5310)) - Allow null in the reply schemas of `GEOHASH`, `OBJECT FREQ`, `OBJECT IDLETIME` and `OBJECT REFCOUNT` for missing members and keys by [@&#8203;sarthakaggarwal97](https://github.com/sarthakaggarwal97) ([#&#8203;5209](https://github.com/valkey-io/valkey/issues/5209)) - Correct the `SENTINEL GET-MASTER-ADDR-BY-NAME` reply schema to allow the null reply returned for an unknown primary name by [@&#8203;rainsupreme](https://github.com/rainsupreme) ([#&#8203;5246](https://github.com/valkey-io/valkey/issues/5246)) - Correct command metadata to describe the `ZINCRBY` increment and `ZINTER`/`ZINTERSTORE`/`ZUNION`/`ZUNIONSTORE` weights as doubles instead of integers by [@&#8203;sarthakaggarwal97](https://github.com/sarthakaggarwal97) ([#&#8203;5210](https://github.com/valkey-io/valkey/issues/5210)) - Correct command metadata so the `numfields` count argument of hash field commands is no longer associated with a key specification by [@&#8203;sarthakaggarwal97](https://github.com/sarthakaggarwal97) ([#&#8203;5211](https://github.com/valkey-io/valkey/issues/5211)) - Correct expiry command metadata to show that `XX` can be combined with `GT` or `LT`, rather than all four conditions being mutually exclusive by [@&#8203;sarthakaggarwal97](https://github.com/sarthakaggarwal97) ([#&#8203;5213](https://github.com/valkey-io/valkey/issues/5213)) - Mark the `RESTORE` and `RESTORE-ASKING` `IDLETIME` and `FREQ` options as mutually exclusive in command metadata by [@&#8203;sarthakaggarwal97](https://github.com/sarthakaggarwal97) ([#&#8203;5212](https://github.com/valkey-io/valkey/issues/5212)) - Correct the `HEXPIRE`, `HPEXPIRE`, `HEXPIREAT`, and `HPEXPIREAT` command summaries to say they set expiration on hash fields, not the hash object by [@&#8203;poiuj](https://github.com/poiuj) ([#&#8203;4783](https://github.com/valkey-io/valkey/issues/4783)) - Add `LBOUND`, `UBOUND`, `SATURATE`, `ENX`, and `PERSIST` options to `INCREX` for bounded increments and conditional expiration control by [@&#8203;murphyjacob4](https://github.com/murphyjacob4) ([#&#8203;4679](https://github.com/valkey-io/valkey/issues/4679)) - Correct `SENTINEL SIMULATE-FAILURE` metadata so `COMMAND DOCS` shows the required mode argument and its tokens by [@&#8203;sarthakaggarwal97](https://github.com/sarthakaggarwal97) ([#&#8203;5208](https://github.com/valkey-io/valkey/issues/5208)) - Rename the Path Hash command `PHEXISTS` to `PHPATHEXISTS` to clarify that it checks a path rather than a hash field by [@&#8203;yangbodong22011](https://github.com/yangbodong22011) ([#&#8203;5069](https://github.com/valkey-io/valkey/issues/5069)) - Add `PHPATHSCAN` for ordered incremental path iteration and change `PHSCAN` to iterate fields and values at an exact path by [@&#8203;yangbodong22011](https://github.com/yangbodong22011) ([#&#8203;5066](https://github.com/valkey-io/valkey/issues/5066)) - Remove `PHLONGEST` in favor of `PHPREFIXES`, which now returns matches longest-first with paging and an `EXCLUDESELF` option by [@&#8203;yangbodong22011](https://github.com/yangbodong22011) ([#&#8203;5070](https://github.com/valkey-io/valkey/issues/5070)) - Replace `PHCARD` with `PHPATHCOUNT`, which can also count only the paths under a given prefix by [@&#8203;yangbodong22011](https://github.com/yangbodong22011) ([#&#8203;5071](https://github.com/valkey-io/valkey/issues/5071)) - Replace `PHDELPREFIX` with `PHPATHDEL key path [WITHSUBPATHS]`, which deletes an exact path or its whole subtree and returns the number of deleted paths by [@&#8203;yangbodong22011](https://github.com/yangbodong22011) ([#&#8203;5067](https://github.com/valkey-io/valkey/issues/5067)) - Mark the absolute timestamp arguments of `HEXPIREAT` and `HPEXPIREAT` as `unix-time` in `COMMAND DOCS`, matching `EXPIREAT` and `PEXPIREAT` by [@&#8203;rainsupreme](https://github.com/rainsupreme) ([#&#8203;5245](https://github.com/valkey-io/valkey/issues/5245)) - Correct `ZADD` and `LCS` metadata so `COMMAND DOCS` and valkey-cli hints no longer present `NX` with `GT`/`LT` or `LEN` with `IDX` as valid combinations by [@&#8203;rainsupreme](https://github.com/rainsupreme) ([#&#8203;5244](https://github.com/valkey-io/valkey/issues/5244)) - `MOVE` accepts a new optional `REPLACE` argument to overwrite an existing key in the destination database by [@&#8203;bandalgomsu](https://github.com/bandalgomsu) ([#&#8203;2993](https://github.com/valkey-io/valkey/issues/2993)) - WAIT and WAITAOF now reject numreplicas values that are negative or exceed INT_MAX, fixing an integer overflow that broke blocking by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;3407](https://github.com/valkey-io/valkey/issues/3407)) - Add CONFIG INFO subcommand returning config metadata such as type, flags, valid enum values and numeric ranges by [@&#8203;nitaicaro](https://github.com/nitaicaro) ([#&#8203;3050](https://github.com/valkey-io/valkey/issues/3050)) - Add the `IFNE` option to `SET` to set a key only when its current value differs from the given comparison value by [@&#8203;arshidkv12](https://github.com/arshidkv12) ([#&#8203;3105](https://github.com/valkey-io/valkey/issues/3105)) - Add `IFEQ`, `IFNE`, `NX` and `XX` conditions to `EXEC`, enabling optimistic locking for multi-key transactions without `WATCH` by [@&#8203;bandalgomsu](https://github.com/bandalgomsu) ([#&#8203;4019](https://github.com/valkey-io/valkey/issues/4019)) - Add an optional `XX` flag to `SISMEMBER` that returns -1 when the key does not exist, distinguishing a missing key from a missing member by [@&#8203;li-benson](https://github.com/li-benson) ([#&#8203;2972](https://github.com/valkey-io/valkey/issues/2972)) - Handle NOT_KEY key-specs more defensively so COMMAND GETKEYS and ACL key checks consistently treat routing-only tokens as non-keys by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;3675](https://github.com/valkey-io/valkey/issues/3675)) - Fix DEBUG HELP to show the correct DELAY-RDB-CLIENT-FREE-SECONDS name and document the SET-DISABLE-DENY-SCRIPTS subcommand by [@&#8203;xiejing-dev](https://github.com/xiejing-dev) ([#&#8203;4099](https://github.com/valkey-io/valkey/issues/4099)) - Add XX option to the ZRANGE family of commands to distinguish a non-existent key (nil) from an empty result by [@&#8203;youngmore1024](https://github.com/youngmore1024) ([#&#8203;2978](https://github.com/valkey-io/valkey/issues/2978)) - Fix the reply schemas of the ZRANGE family of commands to allow the null reply returned with the XX option by [@&#8203;murphyjacob4](https://github.com/murphyjacob4) ([#&#8203;4275](https://github.com/valkey-io/valkey/issues/4275)) - Fix the `XPENDING` reply schema to describe the summary reply returned when a consumer group has no pending messages by [@&#8203;sarthakaggarwal97](https://github.com/sarthakaggarwal97) ([#&#8203;4653](https://github.com/valkey-io/valkey/issues/4653)) ##### Cluster and Replication - Fix `HSETEX` and `MSETEX` with a repeated EX, PX or EXAT option being rejected by replicas and lost on AOF reload by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5088](https://github.com/valkey-io/valkey/issues/5088)) - Reject inbound cluster bus packets larger than 16MB, except Pub/Sub and module messages, so a peer cannot make a node buffer up to 4GB from a single header by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5065](https://github.com/valkey-io/valkey/issues/5065)) - Fix replicas retrying full sync in a loop when the primary rejects `PSYNC` and the replica falls back to `SYNC` by [@&#8203;murphyjacob4](https://github.com/murphyjacob4) ([#&#8203;5280](https://github.com/valkey-io/valkey/issues/5280)) - Strip every repeated `LIMIT` when propagating `XADD` and `XTRIM`, so tools replaying the replication stream no longer get a syntax error by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;4893](https://github.com/valkey-io/valkey/issues/4893)) - Fix shutdown-triggered failover promoting a replica that has `cluster-replica-no-failover yes` by [@&#8203;simonasr](https://github.com/simonasr) ([#&#8203;5033](https://github.com/valkey-io/valkey/issues/5033)) - Fix replication throttling starting earlier than intended when the replica output buffer limit is set below `repl-backlog-size` by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;5338](https://github.com/valkey-io/valkey/issues/5338)) - Fix Sentinel counting stale primary-down reports from peers toward quorum, which could trigger an unwanted failover of a healthy primary by [@&#8203;akasakariko](https://github.com/akasakariko) ([#&#8203;4913](https://github.com/valkey-io/valkey/issues/4913)) - Sentinel refuses to start when its config directory is not writable, instead of silently failing to save state by [@&#8203;sgissi](https://github.com/sgissi) ([#&#8203;5376](https://github.com/valkey-io/valkey/issues/5376)) - Fix replicas reporting duplicate import-aborted module events for one slot import when `FLUSHALL` on the primary fails an atomic slot migration by [@&#8203;sarthakaggarwal97](https://github.com/sarthakaggarwal97) ([#&#8203;5367](https://github.com/valkey-io/valkey/issues/5367)) - Fix `MSETEX` in cluster mode skipping `MOVED` and `CROSSSLOT` checks and its writes not being forwarded during atomic slot migration by [@&#8203;bhuvanprakash](https://github.com/bhuvanprakash) ([#&#8203;4951](https://github.com/valkey-io/valkey/issues/4951)) - Fix replication of `HDEL` commands generated by active hash field expiration during a forkless full sync by [@&#8203;JimB123](https://github.com/JimB123) ([#&#8203;5460](https://github.com/valkey-io/valkey/issues/5460)) - Decouple `rdbcompression` (on-disk RDB format) from `repl-compression` (replication wire format) so setting one no longer affects the other during a full sync by [@&#8203;zuiderkwast](https://github.com/zuiderkwast) ([#&#8203;4749](https://github.com/valkey-io/valkey/issues/4749)) - Avoid rapid failover election restarts by fast-failing only on NACK reasons that a new election epoch can actually fix by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4700](https://github.com/valkey-io/valkey/issues/4700)) - Prevent a failover auth NACK for an old election from being counted against the current election by echoing the rejected request epoch by [@&#8203;xdk-amz](https://github.com/xdk-amz) ([#&#8203;4654](https://github.com/valkey-io/valkey/issues/4654)) - Keep a replica's connection to its primary on the main thread so replication flow control works when I/O threads are enabled by [@&#8203;chky1386](https://github.com/chky1386) ([#&#8203;4765](https://github.com/valkey-io/valkey/issues/4765)) - `HDEL`, `HGETDEL`, `HPERSIST`, and `HEXPIRE` no longer propagate fields they treat as expired, preventing replica and AOF-reload divergence by [@&#8203;xdk-amz](https://github.com/xdk-amz) ([#&#8203;4772](https://github.com/valkey-io/valkey/issues/4772)) - `COPY` of a hash now includes expired-but-unreaped fields so their deletion is propagated and replicas stay in sync by [@&#8203;pirate329](https://github.com/pirate329) ([#&#8203;4939](https://github.com/valkey-io/valkey/issues/4939)) - Fix atomic slot migration not replicating evictions on the import target, which let replicas grow far past `maxmemory` by [@&#8203;shanezx-sc](https://github.com/shanezx-sc) ([#&#8203;4920](https://github.com/valkey-io/valkey/issues/4920)) - Fix cluster config saving to avoid publishing truncated `nodes.conf` files, losing the startup lock after the first save, and failing every save on SMB filesystems such as Azure Files; the lock now lives on a separate `nodes.conf.lock` file by [@&#8203;KewangZhili](https://github.com/KewangZhili) ([#&#8203;4489](https://github.com/valkey-io/valkey/issues/4489)) - Fix failover election fast-fail double-counting a voter that rejected the request and was later marked FAIL, which could abandon a winnable election by [@&#8203;xdk-amz](https://github.com/xdk-amz) ([#&#8203;4655](https://github.com/valkey-io/valkey/issues/4655)) - Fix atomic slot migration with `cluster-databases` > 1 applying writes made during the snapshot to the wrong database on the target by [@&#8203;pirate329](https://github.com/pirate329) ([#&#8203;4952](https://github.com/valkey-io/valkey/issues/4952)) - Ignore new nodes gossiped by a sender still in handshake so a forged MEET packet cannot fill the cluster node table by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5145](https://github.com/valkey-io/valkey/issues/5145)) - Ignore invalid ping extension values from cluster peers that would corrupt nodes.conf and prevent the node from restarting by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5137](https://github.com/valkey-io/valkey/issues/5137)) - Bound the bytes the cluster bus reads per event so a peer with a constant read backlog cannot starve clients, cron and heartbeats by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5161](https://github.com/valkey-io/valkey/issues/5161)) - Fix incorrect missing-key handling of replicated MULTI/EXEC transactions during a forkless full sync by [@&#8203;JimB123](https://github.com/JimB123) ([#&#8203;5205](https://github.com/valkey-io/valkey/issues/5205)) - Cluster replicas now redirect keyless commands like SCAN and FLUSHDB to the primary for clients with CAPA REDIRECT that have not sent READONLY by [@&#8203;yanamolo](https://github.com/yanamolo) ([#&#8203;3505](https://github.com/valkey-io/valkey/issues/3505)) - Changing cluster-require-full-coverage via CONFIG SET now updates the cluster state immediately instead of waiting for the next cron cycle by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;3676](https://github.com/valkey-io/valkey/issues/3676)) - Fix CLUSTER BUMPEPOCH getting stuck when a dead node holds an equal or abnormally high config epoch; a single bump now overtakes it by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4092](https://github.com/valkey-io/valkey/issues/4092)) - Replicas now retry PSYNC when the primary replies -BUSY instead of downgrading to legacy SYNC, which broke WAIT, PSYNC and FAILOVER by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4140](https://github.com/valkey-io/valkey/issues/4140)) - SYNC/PSYNC from a replica with a down primary link now consistently returns -NOMASTERLINK, avoiding an unnecessary full sync fallback by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4148](https://github.com/valkey-io/valkey/issues/4148)) - Add cluster-replica-priority config so operators can rank which replicas are preferred during automatic cluster failover by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;2204](https://github.com/valkey-io/valkey/issues/2204)) - Speed up recovery from split-vote failover elections with a new FAILOVER_AUTH_NACK message that lets a replica detect an unwinnable election and immediately retry with a higher epoch by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;3833](https://github.com/valkey-io/valkey/issues/3833)) - Add optional per-target `AUTH username password` to `CLUSTER MIGRATESLOTS`, with credentials redacted from the slow log and MONITOR by [@&#8203;nemtsv](https://github.com/nemtsv) ([#&#8203;3538](https://github.com/valkey-io/valkey/issues/3538)) - Compress the full-sync RDB payload with LZ4 when `rdbcompression lz4` is set and every attaching replica advertises support, reducing sync bandwidth with safe fallback to plaintext by [@&#8203;roshkhatri](https://github.com/roshkhatri) ([#&#8203;4075](https://github.com/valkey-io/valkey/issues/4075)) - Add an `if-empty` value to `cluster-replica-no-failover` so a replica that has never received data from its primary refuses automatic failover, preventing silent data loss by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4425](https://github.com/valkey-io/valkey/issues/4425)) - Add optional LZ4 streaming compression for steady-state replication via the new `repl-compression` config, negotiated per replica so older or opted-out replicas keep receiving plaintext by [@&#8203;roshkhatri](https://github.com/roshkhatri) ([#&#8203;3853](https://github.com/valkey-io/valkey/issues/3853)) - Fix `CLUSTERSCAN` fingerprints to derive from the hash-seed config so cursors survive failover between nodes sharing a seed by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;3679](https://github.com/valkey-io/valkey/issues/3679)) - Replicas trigger a failover check immediately when cluster-replica-no-failover is disabled at runtime, instead of waiting for the next cron tick by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;3827](https://github.com/valkey-io/valkey/issues/3827)) - Validate node IDs and shard IDs received in cluster messages before applying them, dropping the link on invalid data to protect cluster state by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4065](https://github.com/valkey-io/valkey/issues/4065)) - Drop the cluster link when a gossip section contains invalid node IDs, instead of keeping the connection to a corrupted sender alive by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4077](https://github.com/valkey-io/valkey/issues/4077)) - Persist nodes.conf promptly when a node's address is updated through the gossip section by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4089](https://github.com/valkey-io/valkey/issues/4089)) - Reject malformed node IDs in the open-slots RDB aux field instead of creating an illegal cluster node by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4098](https://github.com/valkey-io/valkey/issues/4098)) - Strip the redundant LIMIT option when rewriting XADD/XTRIM for propagation, so the rewritten command is valid for tools that replay it by [@&#8203;cjx-zar](https://github.com/cjx-zar) ([#&#8203;4063](https://github.com/valkey-io/valkey/issues/4063)) - Persist non-default cluster-replica-priority to nodes.conf so it survives restarts instead of waiting for the next gossip round by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4454](https://github.com/valkey-io/valkey/issues/4454)) - Clear a stale primary-failure gossip flag on replicas so later failovers don't incorrectly skip the election delay by [@&#8203;charsyam](https://github.com/charsyam) ([#&#8203;4533](https://github.com/valkey-io/valkey/issues/4533)) - Fix a node staying stuck in PFAIL when its PING is lost while the peer's own traffic keeps the cluster link alive by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4171](https://github.com/valkey-io/valkey/issues/4171)) - `CLUSTER SYNCSLOTS FINISH` now rejects clients outside the slot migration stream, preventing misuse of the import state machine by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4330](https://github.com/valkey-io/valkey/issues/4330)) ##### Configuration - Fix `notify-keyspace-events` dropping the `n` (new key) flag from `CONFIG GET` and `CONFIG REWRITE` when `A` is also set by [@&#8203;pirate329](https://github.com/pirate329) ([#&#8203;5199](https://github.com/valkey-io/valkey/issues/5199)) - CONFIG REWRITE now quotes the replicaof host, so hosts with spaces or newlines no longer corrupt the config file by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5176](https://github.com/valkey-io/valkey/issues/5176)) - Rename the `bgsave-default-method` config to `forkless-policy` with values `require-fork` and `prefer-forkless` by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5261](https://github.com/valkey-io/valkey/issues/5261)) - `commandlog-request-larger-than` and `commandlog-reply-larger-than` now accept memory units such as 10mb by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;2648](https://github.com/valkey-io/valkey/issues/2648)) - `cluster-announce-ip` now must be a valid IP address or hostname, rejecting values like `ip:port` that broke cluster bus addressing by [@&#8203;AlisinaDevelo](https://github.com/AlisinaDevelo) ([#&#8203;4055](https://github.com/valkey-io/valkey/issues/4055)) - Reject an empty `tls-ca-cert-dir` at startup and `CONFIG SET` time instead of silently accepting it and failing every client handshake later by [@&#8203;yang-z-o](https://github.com/yang-z-o) ([#&#8203;3522](https://github.com/valkey-io/valkey/issues/3522)) - Document the database-level ACL rules (`db=`, `alldbs`, `resetdbs`) in valkey.conf and clarify the `reset` rule description by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;3808](https://github.com/valkey-io/valkey/issues/3808)) - CONFIG REWRITE now preserves module load order, so modules with dependencies load correctly after a restart by [@&#8203;Taeknology](https://github.com/Taeknology) ([#&#8203;3769](https://github.com/valkey-io/valkey/issues/3769)) - Document in valkey.conf that unixsocketgroup requires the chown syscall to be allowed under syscall-filtering sandboxes by [@&#8203;moko-poi](https://github.com/moko-poi) ([#&#8203;3730](https://github.com/valkey-io/valkey/issues/3730)) ##### Module API Changes - Fix `ValkeyModule_CallReplyAttributeElement` always returning an error on RESP3 attribute replies by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5157](https://github.com/valkey-io/valkey/issues/5157)) - `ValkeyModule_ScanKey` and `ValkeyModule_ScanKeyRawBorrowed` no longer expose expired-but-unreaped fields of listpack-encoded hashes to modules by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;4885](https://github.com/valkey-io/valkey/issues/4885)) - Fix module zset range iteration returning duplicate or phantom elements when changing direction on B+tree encoded sorted sets by [@&#8203;xiaocj](https://github.com/xiaocj) ([#&#8203;4645](https://github.com/valkey-io/valkey/issues/4645)) - Allow modules to block RESP3 clients that are subscribed to Pub/Sub channels instead of failing `ValkeyModule_BlockClient` with ENOTSUP by [@&#8203;quanyeyang](https://github.com/quanyeyang) ([#&#8203;4863](https://github.com/valkey-io/valkey/issues/4863)) - Make `ValkeyModule_CallArgv` public, letting modules invoke commands with lower overhead through reply callbacks by [@&#8203;dvkashapov](https://github.com/dvkashapov) ([#&#8203;3911](https://github.com/valkey-io/valkey/issues/3911)) - Add `ValkeyModule_ScanKeyRawBorrowed` to scan hash, set and sorted set keys without allocating a string per element by [@&#8203;KarthikSubbarao](https://github.com/KarthikSubbarao) ([#&#8203;4403](https://github.com/valkey-io/valkey/issues/4403)) - Fix loading of legacy Redis modules that export `RedisModule_OnLoad` via a linker version script by [@&#8203;roshkhatri](https://github.com/roshkhatri) ([#&#8203;3374](https://github.com/valkey-io/valkey/issues/3374)) - Module global defrag callbacks now receive a time limit and a resumable cursor, making `ValkeyModule_RegisterDefragFunc` usable for large module data by [@&#8203;Aksha1812](https://github.com/Aksha1812) ([#&#8203;4487](https://github.com/valkey-io/valkey/issues/4487)) - Add `ValkeyModule_IncrExternalMemory`/`DecrExternalMemory` so modules can report memory allocated outside the server allocator toward `used_memory` and `maxmemory` by [@&#8203;bandalgomsu](https://github.com/bandalgomsu) ([#&#8203;4128](https://github.com/valkey-io/valkey/issues/4128)) - Correct `ValkeyModule_FreeModuleUser`, `ValkeyModule_ACLAddLogEntry` and `ValkeyModule_ACLAddLogEntryByUserName` declarations to return int as implemented, fixing undefined behavior on targets with strict call signature checks by [@&#8203;rainsupreme](https://github.com/rainsupreme) ([#&#8203;4676](https://github.com/valkey-io/valkey/issues/4676)) ##### Observability and Logging - Fix a memory leak when a script or module command is refused by ACL while the ACL log is disabled with `acllog-max-len 0` by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5162](https://github.com/valkey-io/valkey/issues/5162)) - Fix `FCALL` errors or a crash when `FUNCTION FLUSH SYNC` runs before the lazy free triggered by `FUNCTION RESTORE` of more than 64 functions has completed by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5105](https://github.com/valkey-io/valkey/issues/5105)) - Improve `MEMORY USAGE` accuracy for btree-encoded sorted sets by counting leaf nodes exactly instead of extrapolating from a sample by [@&#8203;rainsupreme](https://github.com/rainsupreme) ([#&#8203;5045](https://github.com/valkey-io/valkey/issues/5045)) - 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 [@&#8203;ranshid](https://github.com/ranshid) ([#&#8203;5340](https://github.com/valkey-io/valkey/issues/5340)) - Report `forkless_estimated_seconds_remaining` and the other forkless progress INFO fields during a diskless forkless full sync instead of `-1`/`0` by [@&#8203;nitaicaro](https://github.com/nitaicaro) ([#&#8203;5436](https://github.com/valkey-io/valkey/issues/5436)) - Move the `forkless_fallbacks_*` counters from the `INFO` stats section to `INFO debug` by [@&#8203;nitaicaro](https://github.com/nitaicaro) ([#&#8203;5442](https://github.com/valkey-io/valkey/issues/5442)) - Remove the `forkless_fallbacks_old_rdb_version` counter from `INFO debug` along with the redundant old RDB version fork fallback for full sync by [@&#8203;nitaicaro](https://github.com/nitaicaro) ([#&#8203;5461](https://github.com/valkey-io/valkey/issues/5461)) - Attribute LZ4 replication compression context memory to client memory usage so it appears under client memory accounting by [@&#8203;sarthakaggarwal97](https://github.com/sarthakaggarwal97) ([#&#8203;4702](https://github.com/valkey-io/valkey/issues/4702)) - Redact error text in server logs when `hide-user-data-from-log` is enabled, so command arguments no longer leak into logs by [@&#8203;zackcam](https://github.com/zackcam) ([#&#8203;4815](https://github.com/valkey-io/valkey/issues/4815)) - Redact credentials of rejected `HELLO`, `AUTH` and `MIGRATE` commands so passwords no longer leak to MONITOR and the commandlog by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5180](https://github.com/valkey-io/valkey/issues/5180)) - Replace line breaks in Lua `server.log()` messages with spaces so scripts cannot forge standalone server log records by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5185](https://github.com/valkey-io/valkey/issues/5185)) - Client memory usage now includes watched key and pubsub channel/pattern names, making it visible in CLIENT INFO tot-mem and counted for maxmemory-clients by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;3362](https://github.com/valkey-io/valkey/issues/3362)) - CONFIG RESETSTAT now also resets the IO-thread prefetch and ACL access-denied statistics by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;2891](https://github.com/valkey-io/valkey/issues/2891)) - Latency report now recommends 'madvise' for disabling Transparent Huge Pages, consistent with the startup check by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;3947](https://github.com/valkey-io/valkey/issues/3947)) - Log when a cluster primary ignores an MFSTART manual failover message from an unknown node or a non-replica, helping diagnose failover timeouts by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4058](https://github.com/valkey-io/valkey/issues/4058)) - Log a warning when a TLS certificate has an invalid notBefore or notAfter field on OpenSSL 4.0 builds by [@&#8203;pkhartsk](https://github.com/pkhartsk) ([#&#8203;4064](https://github.com/valkey-io/valkey/issues/4064)) - Gossip corruption warnings now log the actual entry with the invalid node ID instead of the first gossip entry by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4101](https://github.com/valkey-io/valkey/issues/4101)) - Produce crash stack traces on musl-based systems like Alpine Linux via a libbacktrace fallback by [@&#8203;hanxizh9910](https://github.com/hanxizh9910) ([#&#8203;3581](https://github.com/valkey-io/valkey/issues/3581)) - Always log the "possibly failing" notice when a node enters PFAIL, including on voting primaries by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4186](https://github.com/valkey-io/valkey/issues/4186)) - `EXEC` transactions are now recorded in the slowlog and commandlog when their total execution time crosses the threshold by [@&#8203;michellee-10](https://github.com/michellee-10) ([#&#8203;4267](https://github.com/valkey-io/valkey/issues/4267)) - Add `last_successful_sync_duration_ms` to `INFO replication`, reporting how long the replica's last full sync took by [@&#8203;satheeshaGowda](https://github.com/satheeshaGowda) ([#&#8203;4197](https://github.com/valkey-io/valkey/issues/4197)) - Fix signal mask parsing on 32-bit systems so the crash handler can collect thread stack traces by [@&#8203;sarthakaggarwal97](https://github.com/sarthakaggarwal97) ([#&#8203;4415](https://github.com/valkey-io/valkey/issues/4415)) - Add `total_cluster_links_established_inbound`/`outbound` counters to `CLUSTER INFO` to help detect cluster link flapping by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4169](https://github.com/valkey-io/valkey/issues/4169)) - RDMA connection and resource setup failures are now logged with detailed system error information by [@&#8203;quanyeyang](https://github.com/quanyeyang) ([#&#8203;4586](https://github.com/valkey-io/valkey/issues/4586)) - Include the LRU list's duplicated script SHA copies in EVAL script memory reporting (`used_memory_scripts_eval`) by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4587](https://github.com/valkey-io/valkey/issues/4587)) - Log the module version alongside the module name when a module is loaded, so the loaded version is visible in the log by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4566](https://github.com/valkey-io/valkey/issues/4566)) - Detect changes to the alternate TLS key file (`tls-alt-key-file`) so certificate auto-reload picks them up by [@&#8203;pkhartsk](https://github.com/pkhartsk) ([#&#8203;4663](https://github.com/valkey-io/valkey/issues/4663)) - Report `tls_server_cert_serial` and expiry INFO fields for the certificate actually loaded from `tls-cert-file` instead of whichever one OpenSSL slots first by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;4664](https://github.com/valkey-io/valkey/issues/4664)) ##### CLI and Tools - Make `valkey-check-rdb` report invalid slot import ranges in an RDB file instead of silently passing them by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4470](https://github.com/valkey-io/valkey/issues/4470)) - Add p99.9 latency to the `valkey-benchmark` summary, `--rps` report and CSV output by [@&#8203;lucasyonge](https://github.com/lucasyonge) ([#&#8203;5377](https://github.com/valkey-io/valkey/issues/5377)) - Fix `valkey-cli --cluster reshard` and `rebalance` exiting with a success status when slot migration fails by [@&#8203;imasahiro](https://github.com/imasahiro) ([#&#8203;4853](https://github.com/valkey-io/valkey/issues/4853)) - valkey-check-aof now recognizes RDB base files with the `VALKEY` signature instead of misreporting a valid multipart AOF as invalid by [@&#8203;sarthakaggarwal97](https://github.com/sarthakaggarwal97) ([#&#8203;4739](https://github.com/valkey-io/valkey/issues/4739)) - Increase the `valkey-benchmark` maximum latency histogram value from 3 to 60 seconds so slow requests are reported accurately by [@&#8203;gabiganam](https://github.com/gabiganam) ([#&#8203;3157](https://github.com/valkey-io/valkey/issues/3157)) - Fix valkey-benchmark spinning on would-block writes, which could starve reply processing and the `--duration` timer by [@&#8203;thweetkomputer](https://github.com/thweetkomputer) ([#&#8203;4567](https://github.com/valkey-io/valkey/issues/4567)) - Support bracketed IPv6 addresses such as `[::1]:7000` in `valkey-cli --cluster` commands by [@&#8203;chenshi5012](https://github.com/chenshi5012) ([#&#8203;4800](https://github.com/valkey-io/valkey/issues/4800)) - Fix an unbalanced `]` in valkey-cli command hints for commands with repeated optional arguments such as BITFIELD_RO by [@&#8203;ShubhamTaple](https://github.com/ShubhamTaple) ([#&#8203;3974](https://github.com/valkey-io/valkey/issues/3974)) - valkey-cli no longer prints the command line password warning when the password comes only from `VALKEYCLI_AUTH` or `REDISCLI_AUTH` by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;4886](https://github.com/valkey-io/valkey/issues/4886)) - valkey-cli now rejects a zero or negative `--hotkeys-count` instead of attempting a huge allocation and aborting by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5173](https://github.com/valkey-io/valkey/issues/5173)) - valkey-cli now skips RESP3 attributes instead of exiting with an unknown reply type error by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5186](https://github.com/valkey-io/valkey/issues/5186)) - valkey-check-rdb now prints usage when `--output` is given without a file name instead of crashing by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5135](https://github.com/valkey-io/valkey/issues/5135)) - valkey-benchmark no longer aborts loading a CSV dataset whose last field in a row is a lone quote; the quote is kept literally by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5168](https://github.com/valkey-io/valkey/issues/5168)) - valkey-cli reads the `VALKEYCLI_HOST` and `VALKEYCLI_PORT` environment variables to set the default host and port by [@&#8203;Dietr1ch](https://github.com/Dietr1ch) ([#&#8203;3402](https://github.com/valkey-io/valkey/issues/3402)) - valkey-benchmark can load CSV/TSV datasets and inject their fields into commands via `__field:name__` placeholders by [@&#8203;VoletiRam](https://github.com/VoletiRam) ([#&#8203;2823](https://github.com/valkey-io/valkey/issues/2823)) - valkey-cli supports the VALKEYCLI_USER environment variable as an alternative to the --user option by [@&#8203;jdheyburn](https://github.com/jdheyburn) ([#&#8203;4126](https://github.com/valkey-io/valkey/issues/4126)) - `valkey-cli --rdb` now exits with an error instead of reporting success when trimming the RDB EOF marker fails, avoiding a silently corrupt file by [@&#8203;gluxier](https://github.com/gluxier) ([#&#8203;3945](https://github.com/valkey-io/valkey/issues/3945)) - Fix valkey-benchmark crash (out-of-bounds read) when a repeat count is given with no command following it by [@&#8203;lightsigma96](https://github.com/lightsigma96) ([#&#8203;4142](https://github.com/valkey-io/valkey/issues/4142)) - valkey-benchmark -r now accepts keyspace sizes above INT_MAX (up to 999,999,999,999) with proper input validation by [@&#8203;michellee-10](https://github.com/michellee-10) ([#&#8203;4252](https://github.com/valkey-io/valkey/issues/4252)) - valkey-benchmark now rejects a repeat count with no command after it with a clear error instead of hanging forever sending zero requests by [@&#8203;dhruv2x](https://github.com/dhruv2x) ([#&#8203;4215](https://github.com/valkey-io/valkey/issues/4215)) - valkey-benchmark multi-threaded mode scales further by removing cross-thread contention in key generation, latency recording, and counters by [@&#8203;rainsupreme](https://github.com/rainsupreme) ([#&#8203;4332](https://github.com/valkey-io/valkey/issues/4332)) ##### Build and Tooling - Fix a compile error in the select event loop backend on platforms that fall back to it, such as Emscripten (WebAssembly) by [@&#8203;notjiya-dev](https://github.com/notjiya-dev) ([#&#8203;5299](https://github.com/valkey-io/valkey/issues/5299)) - Link macOS example and test modules through the compiler driver so builds no longer fail on newer SDKs' libSystem stubs by [@&#8203;avifenesh](https://github.com/avifenesh) ([#&#8203;4927](https://github.com/valkey-io/valkey/issues/4927)) - Rebuild the Lua scripting module during incremental builds when its sources change, so edits are no longer silently left out of `valkey-server` by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5242](https://github.com/valkey-io/valkey/issues/5242)) - Add REUSE-compliant machine-readable licensing with per-file license clarity, enabling SPDX SBOM generation and correct license detection by [@&#8203;zuiderkwast](https://github.com/zuiderkwast) ([#&#8203;3968](https://github.com/valkey-io/valkey/issues/3968)) - Fix clean or highly parallel builds failing with a missing release.h for valkey-cli, valkey-benchmark, and unit tests by [@&#8203;poiuj](https://github.com/poiuj) ([#&#8203;3683](https://github.com/valkey-io/valkey/issues/3683)) - Use PRIVATE link dependencies in CMake so Valkey's CMake files can be safely integrated into other projects by [@&#8203;eifrah-aws](https://github.com/eifrah-aws) ([#&#8203;3658](https://github.com/valkey-io/valkey/issues/3658)) - Pass `CPPFLAGS` to bundled dependencies and the src Makefile so packaging hardening flags apply to the whole build by [@&#8203;Vonng](https://github.com/Vonng) ([#&#8203;4318](https://github.com/valkey-io/valkey/issues/4318)) - Raise the minimum required CMake version to 3.24 to match features already used by the build by [@&#8203;Baraa-Hasheesh](https://github.com/Baraa-Hasheesh) ([#&#8203;4232](https://github.com/valkey-io/valkey/issues/4232)) ##### Contributors - Abhishek Kumar [@&#8203;dubey02](https://github.com/dubey02) - abmathur-ie [@&#8203;abmathur-ie](https://github.com/abmathur-ie) - Adam Fowler [@&#8203;adam-fowler](https://github.com/adam-fowler) - Aditya Mukesh [@&#8203;adityamukesh](https://github.com/adityamukesh) - Aditya Teltia [@&#8203;AdityaTeltia](https://github.com/AdityaTeltia) - Ahmad Belbeisi [@&#8203;ahmadbelb](https://github.com/ahmadbelb) - Ahmet Alıç [@&#8203;ahmetalicc](https://github.com/ahmetalicc) - Akanksha Trehun [@&#8203;magic-peach](https://github.com/magic-peach) - akash kumar [@&#8203;akashkgit](https://github.com/akashkgit) - AkshaThakkar1812 [@&#8203;Aksha1812](https://github.com/Aksha1812) - Alina Liu [@&#8203;asagege](https://github.com/asagege) - Alisina Karimi [@&#8203;AlisinaDevelo](https://github.com/AlisinaDevelo) - Alon Arenberg [@&#8203;alon-arenberg](https://github.com/alon-arenberg) - Amariah Abishai [@&#8203;AmariahAK](https://github.com/AmariahAK) - Arshid [@&#8203;arshidkv12](https://github.com/arshidkv12) - Asuka [@&#8203;akasakariko](https://github.com/akasakariko) - Avi Fenesh [@&#8203;avifenesh](https://github.com/avifenesh) - bandalgomsu [@&#8203;bandalgomsu](https://github.com/bandalgomsu) - Bara' Hasheesh [@&#8203;Baraa-Hasheesh](https://github.com/Baraa-Hasheesh) - Benson-li [@&#8203;li-benson](https://github.com/li-benson) - Bhuvan Prakash [@&#8203;bhuvanprakash](https://github.com/bhuvanprakash) - Binbin [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) - Björn Svensson [@&#8203;bjosv](https://github.com/bjosv) - bodong.ybd [@&#8203;yangbodong22011](https://github.com/yangbodong22011) - Bonnie Chan [@&#8203;BChan-0](https://github.com/BChan-0) - Brad Bebee [@&#8203;beebs-systap](https://github.com/beebs-systap) - charsyam [@&#8203;charsyam](https://github.com/charsyam) - chenshi [@&#8203;chenshi5012](https://github.com/chenshi5012) - Christopher Lim [@&#8203;christopherlim98](https://github.com/christopherlim98) - chzhoo [@&#8203;chzhoo](https://github.com/chzhoo) - cjx-zar [@&#8203;cjx-zar](https://github.com/cjx-zar) - cxljs [@&#8203;cxljs](https://github.com/cxljs) - Daejun Kim [@&#8203;djk1027](https://github.com/djk1027) - Daniel Frankcom [@&#8203;danielfrankcom](https://github.com/danielfrankcom) - Daniil Kashapov [@&#8203;dvkashapov](https://github.com/dvkashapov) - Dante Knowles [@&#8203;xdk-amz](https://github.com/xdk-amz) - Deepak Nandihalli [@&#8203;deepakrn](https://github.com/deepakrn) - dgershko [@&#8203;dgershko](https://github.com/dgershko) - Dhruv Chauhan (chdh) [@&#8203;dhruv2x](https://github.com/dhruv2x) - Dietrich Daroch [@&#8203;Dietr1ch](https://github.com/Dietr1ch) - Dragos Andriciuc [@&#8203;Andriciuc](https://github.com/Andriciuc) - eifrah-aws [@&#8203;eifrah-aws](https://github.com/eifrah-aws) - FAN PEI [@&#8203;fanpei91](https://github.com/fanpei91) - Feng Ruohang [@&#8203;Vonng](https://github.com/Vonng) - Gabi Ganam [@&#8203;gabiganam](https://github.com/gabiganam) - Gavin D'Mello [@&#8203;GavinDmello](https://github.com/GavinDmello) - gluxier [@&#8203;gluxier](https://github.com/gluxier) - Hanxi Zhang [@&#8203;hanxizh9910](https://github.com/hanxizh9910) - Harkrishn Patro [@&#8203;hpatro](https://github.com/hpatro) - Harry Lin [@&#8203;harrylin98](https://github.com/harrylin98) - hieu2102 [@&#8203;hieu2102](https://github.com/hieu2102) - Himangshu Deka [@&#8203;KewangZhili](https://github.com/KewangZhili) - Jacob Murphy [@&#8203;murphyjacob4](https://github.com/murphyjacob4) - Jeff Duffy [@&#8203;jaduffy](https://github.com/jaduffy) - Jerry Zhao [@&#8203;thweetkomputer](https://github.com/thweetkomputer) - Jim Brunner [@&#8203;JimB123](https://github.com/JimB123) - Jinghao Lei [@&#8203;rayjinghaolei](https://github.com/rayjinghaolei) - jjuleslasarte [@&#8203;jjuleslasarte](https://github.com/jjuleslasarte) - Joe Heyburn [@&#8203;jdheyburn](https://github.com/jdheyburn) - Joseph Heck [@&#8203;heckj](https://github.com/heckj) - Josh Soref [@&#8203;jsoref](https://github.com/jsoref) - Jun Yeong Kim [@&#8203;junyeong0619](https://github.com/junyeong0619) - justinfung [@&#8203;justinfung](https://github.com/justinfung) - jzy1688 [@&#8203;jzy1688](https://github.com/jzy1688) - KarthikSubbarao [@&#8203;KarthikSubbarao](https://github.com/KarthikSubbarao) - KimHuiSu [@&#8203;Tarte12](https://github.com/Tarte12) - Kristiyan Ivanov [@&#8203;KIvanow](https://github.com/KIvanow) - lcxn123 [@&#8203;lcxn123](https://github.com/lcxn123) - Leo Murillo [@&#8203;leomurillo](https://github.com/leomurillo) - lovelypiska [@&#8203;chx9](https://github.com/chx9) - Lucas Yang [@&#8203;lucasyonge](https://github.com/lucasyonge) - Luke Palmer [@&#8203;lukepalmer](https://github.com/lukepalmer) - Madelyn Olson [@&#8203;madolson](https://github.com/madolson) - Mark Atwood [@&#8203;MarkAtwood](https://github.com/MarkAtwood) - martinrvisser [@&#8203;martinrvisser](https://github.com/martinrvisser) - Masahiro Ide [@&#8203;imasahiro](https://github.com/imasahiro) - Md Aakib Alam Ansari [@&#8203;0xAakibAlam](https://github.com/0xAakibAlam) - michellee-10 [@&#8203;michellee-10](https://github.com/michellee-10) - mqudah [@&#8203;mohammedgqudah](https://github.com/mohammedgqudah) - Muhammad Taha [@&#8203;taham0](https://github.com/taham0) - Nadav Levanoni [@&#8203;nadav-levanoni](https://github.com/nadav-levanoni) - nanyan [@&#8203;nanyan0312](https://github.com/nanyan0312) - Nick Iaquinto [@&#8203;nickiaq](https://github.com/nickiaq) - Nikhil Manglore [@&#8203;Nikhil-Manglore](https://github.com/Nikhil-Manglore) - nitaicaro [@&#8203;nitaicaro](https://github.com/nitaicaro) - notjiya-dev [@&#8203;notjiya-dev](https://github.com/notjiya-dev) - Omer Rubinstein [@&#8203;omerrubi-amzn](https://github.com/omerrubi-amzn) - Ping Xie [@&#8203;PingXie](https://github.com/PingXie) - pirate329 [@&#8203;pirate329](https://github.com/pirate329) - pkhartsk [@&#8203;pkhartsk](https://github.com/pkhartsk) - poisongodv [@&#8203;PoisonGodv](https://github.com/PoisonGodv) - Prithvi S Rao [@&#8203;prithvirao13](https://github.com/prithvirao13) - Quanye Yang [@&#8203;quanyeyang](https://github.com/quanyeyang) - Raghav Muddur [@&#8203;nmvk](https://github.com/nmvk) - Rain Valentine [@&#8203;rainsupreme](https://github.com/rainsupreme) - Ran Shidlansik [@&#8203;ranshid](https://github.com/ranshid) - Recoordinate [@&#8203;latent-9](https://github.com/latent-9) - Ricardo Dias [@&#8203;rjd15372](https://github.com/rjd15372) - Rick Ramsay [@&#8203;rickrams](https://github.com/rickrams) - Roshan Khatri [@&#8203;roshkhatri](https://github.com/roshkhatri) - Roy Chen [@&#8203;chky1386](https://github.com/chky1386) - Rusty Raven [@&#8203;kakiuwang-ui](https://github.com/kakiuwang-ui) - Sakshi Yadav [@&#8203;ydsakshi](https://github.com/ydsakshi) - sananes [@&#8203;yaronsananes](https://github.com/yaronsananes) - Sarthak Aggarwal [@&#8203;sarthakaggarwal97](https://github.com/sarthakaggarwal97) - Sasidharan Gopal [@&#8203;Sasidharan3094](https://github.com/Sasidharan3094) - Satheesha CH Gowda [@&#8203;satheeshaGowda](https://github.com/satheeshaGowda) - Saurabh K [@&#8203;smkher](https://github.com/smkher) - Sebastian Turner [@&#8203;sebxt](https://github.com/sebxt) - secwall [@&#8203;secwall](https://github.com/secwall) - shanezx-sc [@&#8203;shanezx-sc](https://github.com/shanezx-sc) - Shubham S Taple [@&#8203;ShubhamTaple](https://github.com/ShubhamTaple) - Shun Takahashi [@&#8203;moko-poi](https://github.com/moko-poi) - SHUVA JYOTI KAR [@&#8203;shuvajyotikar13](https://github.com/shuvajyotikar13) - Silvio Gissi [@&#8203;sgissi](https://github.com/sgissi) - Simonas Rupšys [@&#8203;simonasr](https://github.com/simonasr) - SiYeon Hwang [@&#8203;lowgiant](https://github.com/lowgiant) - skyfirelee [@&#8203;artikell](https://github.com/artikell) - Smail KOURTA [@&#8203;skourta](https://github.com/skourta) - Sourav Singh Rawat [@&#8203;frostzt](https://github.com/frostzt) - Stav Ben Shahar [@&#8203;stavBenShahar](https://github.com/stavBenShahar) - Stefan Wang [@&#8203;1fanwang](https://github.com/1fanwang) - Sumit Sharma [@&#8203;sumitk163](https://github.com/sumitk163) - sunliqiang [@&#8203;Pyolar](https://github.com/Pyolar) - sushil paneru [@&#8203;sushilpaneru1](https://github.com/sushilpaneru1) - Taeknology [@&#8203;Taeknology](https://github.com/Taeknology) - Tanmay Mohan [@&#8203;tanmayBeginsJourney](https://github.com/tanmayBeginsJourney) - Tarik Ermis [@&#8203;tarikermis](https://github.com/tarikermis) - Tjaden Hess [@&#8203;tjade273](https://github.com/tjade273) - tomhanks [@&#8203;xiejing-dev](https://github.com/xiejing-dev) - Tristan Su [@&#8203;foobar](https://github.com/foobar) - Vadym Khoptynets [@&#8203;poiuj](https://github.com/poiuj) - Vaibhav Gupta [@&#8203;webbsssss](https://github.com/webbsssss) - Vasiliy Koshkin [@&#8203;melancholictheory](https://github.com/melancholictheory) - Vasily Nemtsov [@&#8203;nemtsv](https://github.com/nemtsv) - Viktor Söderqvist [@&#8203;zuiderkwast](https://github.com/zuiderkwast) - Vishal Chand [@&#8203;vish-chan](https://github.com/vish-chan) - VoletiRam [@&#8203;VoletiRam](https://github.com/VoletiRam) - WooSeung Kim [@&#8203;beyondwin](https://github.com/beyondwin) - xiaocj [@&#8203;xiaocj](https://github.com/xiaocj) - Yair Gottdenker [@&#8203;yairgott](https://github.com/yairgott) - Yana Molodetsky [@&#8203;yanamolo](https://github.com/yanamolo) - Yang Zhao [@&#8203;yang-z-o](https://github.com/yang-z-o) - Yash Jadhav [@&#8203;lightsigma96](https://github.com/lightsigma96) - youngmore1024 [@&#8203;youngmore1024](https://github.com/youngmore1024) - yulazariy [@&#8203;yulazariy](https://github.com/yulazariy) - yzc-yzc [@&#8203;yzc-yzc](https://github.com/yzc-yzc) - zackcam [@&#8203;zackcam](https://github.com/zackcam) - zhenwei pi [@&#8203;pizhenwei](https://github.com/pizhenwei) - Zhijun Liao [@&#8203;zhijun42](https://github.com/zhijun42) - 皇心 [@&#8203;royenheart](https://github.com/royenheart) **Full Changelog**: <https://github.com/valkey-io/valkey/compare/9.2.0-rc2...9.2.0> ### [`v9.1.4`](https://github.com/valkey-io/valkey/releases/tag/9.1.4) [Compare Source](https://github.com/valkey-io/valkey/compare/9.1.3...9.1.4) ## Valkey 9.1.4 - Released Wed 18 November 2026 Upgrade urgency SECURITY: This release includes security fixes we recommend you apply as soon as possible. ##### Security Fixes - CVE-2026-130822: Fix a use-after-free crash in client eviction when maxmemory-clients is enabled by [@&#8203;nadav-levanoni](https://github.com/nadav-levanoni) ([#&#8203;5435](https://github.com/valkey-io/valkey/issues/5435)) ##### Bug Fixes - Fix a crash when a key with a name of 2 GiB or more is sampled for eviction, and incorrect comparison of strings that large by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5133](https://github.com/valkey-io/valkey/issues/5133)) - Correct command metadata to describe the `ZINCRBY` increment and `ZINTER`/`ZINTERSTORE`/`ZUNION`/`ZUNIONSTORE` weights as doubles instead of integers by [@&#8203;sarthakaggarwal97](https://github.com/sarthakaggarwal97) ([#&#8203;5210](https://github.com/valkey-io/valkey/issues/5210)) - Propagate `PFADD` elements applied before a corrupted-HLL INVALIDOBJ error so replicas and the AOF stay consistent with the primary by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5128](https://github.com/valkey-io/valkey/issues/5128)) - Fix a server crash in `SCRIPT DEBUG SYNC` mode when a debugger command arrives in more than one read by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5127](https://github.com/valkey-io/valkey/issues/5127)) - Correct command metadata so the `numfields` count argument of hash field commands is no longer associated with a key specification by [@&#8203;sarthakaggarwal97](https://github.com/sarthakaggarwal97) ([#&#8203;5211](https://github.com/valkey-io/valkey/issues/5211)) - Correct expiry command metadata to show that `XX` can be combined with `GT` or `LT`, rather than all four conditions being mutually exclusive by [@&#8203;sarthakaggarwal97](https://github.com/sarthakaggarwal97) ([#&#8203;5213](https://github.com/valkey-io/valkey/issues/5213)) - Fix a server panic when a Lua script returns or raises an error table whose metatable has an `__index` metamethod that raises an error by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5118](https://github.com/valkey-io/valkey/issues/5118)) - Fix a server crash when a module never sets a postponed reply length; the leftover placeholder is now filled with an empty array by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5159](https://github.com/valkey-io/valkey/issues/5159)) - Fix a crash when processing a heartbeat from a cluster node whose role is locally unknown, such as after loading an incomplete nodes.conf by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4091](https://github.com/valkey-io/valkey/issues/4091)) - Mark the `RESTORE` and `RESTORE-ASKING` `IDLETIME` and `FREQ` options as mutually exclusive in command metadata by [@&#8203;sarthakaggarwal97](https://github.com/sarthakaggarwal97) ([#&#8203;5212](https://github.com/valkey-io/valkey/issues/5212)) - Fix a crash in a cluster replica whose primary was removed from the nodes table when another primary claims an unassigned slot by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5184](https://github.com/valkey-io/valkey/issues/5184)) - Fix `SCRIPT KILL` and `FUNCTION KILL` not stopping Lua scripts that loop inside nested coroutines, and script timeouts not being detected when work is spread across coroutines by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5108](https://github.com/valkey-io/valkey/issues/5108)) - Fix an out-of-bounds write in `PFADD` and `PFMERGE` on a corrupted sparse HyperLogLog ending in a truncated XZERO opcode by rejecting it as invalid by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5124](https://github.com/valkey-io/valkey/issues/5124)) - Fix a server abort in `PFADD` and `PFMERGE` on short sparse HyperLogLogs when `hll-sparse-max-bytes` is set to 31 or less by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5138](https://github.com/valkey-io/valkey/issues/5138)) - Fix a server crash in `SORT` and `SORT_RO` with `BY` or `GET` patterns when an element is 2 GiB or larger by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5146](https://github.com/valkey-io/valkey/issues/5146)) - Fix `ValkeyModule_Calloc` and `ValkeyModule_TryCalloc` returning an undersized buffer when `nmemb * size` overflows by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5155](https://github.com/valkey-io/valkey/issues/5155)) - Fix `ValkeyModule_CallReplyAttributeElement` always returning an error on RESP3 attribute replies by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5157](https://github.com/valkey-io/valkey/issues/5157)) - Fix `EXEC` succeeding after a key that was already expired at `WATCH` time is overwritten, which can happen on replicas by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5169](https://github.com/valkey-io/valkey/issues/5169)) - Fix a memory leak when `server.register_function` named arguments are repeated in a different letter case by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5120](https://github.com/valkey-io/valkey/issues/5120)) - Fix quadratic slowdown in `HRANDFIELD` and `SRANDMEMBER` with counts on collections whose elements differ only in letter case by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5167](https://github.com/valkey-io/valkey/issues/5167)) - Fix `PFMERGE` with no source keys bypassing ACL key permissions and failing in `COMMAND GETKEYS`, and a crash in module commands whose keynum key spec starts past the last argument by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5087](https://github.com/valkey-io/valkey/issues/5087)) - Fix `HSETEX` and `MSETEX` with a repeated EX, PX or EXAT option being rejected by replicas and lost on AOF reload by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5088](https://github.com/valkey-io/valkey/issues/5088)) - Fix a memory leak when a script or module command is refused by ACL while the ACL log is disabled with `acllog-max-len 0` by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5162](https://github.com/valkey-io/valkey/issues/5162)) - Fix a crash on the first `FUNCTION LOAD` after startup when the shebang engine name contains a NUL byte by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5115](https://github.com/valkey-io/valkey/issues/5115)) - Fix an active defrag crash when a large set, sorted set or list is replaced by a hashtable-encoded hash while it is being defragmented by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5164](https://github.com/valkey-io/valkey/issues/5164)) - Fix `FCALL` errors or a crash when `FUNCTION FLUSH SYNC` runs before the lazy free triggered by `FUNCTION RESTORE` of more than 64 functions has completed by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5105](https://github.com/valkey-io/valkey/issues/5105)) - Fix long stalls in `SRANDMEMBER`, `ZRANDMEMBER`, `HRANDFIELD` and `SPOP` on a small key whose hashtable is still shrinking from a much larger size by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5170](https://github.com/valkey-io/valkey/issues/5170)) - Fix `notify-keyspace-events` dropping the `n` (new key) flag from `CONFIG GET` and `CONFIG REWRITE` when `A` is also set by [@&#8203;pirate329](https://github.com/pirate329) ([#&#8203;5199](https://github.com/valkey-io/valkey/issues/5199)) - Fix a crash when the Lua debugger is started on an empty or newline-only script by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5117](https://github.com/valkey-io/valkey/issues/5117)) - Fix a cluster node failing to restart with an assertion after a gossip entry carrying the MYSELF flag adds a second myself node to nodes.conf by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5134](https://github.com/valkey-io/valkey/issues/5134)) - Fix `ACL LOAD` not disconnecting default user clients subscribed to channels the reloaded rules no longer allow by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5085](https://github.com/valkey-io/valkey/issues/5085)) - Fix an active defrag crash when a database is replaced by an async `FLUSHDB`/`FLUSHALL`, `SWAPDB` or a replica full sync while a large key is being defragmented by [@&#8203;taham0](https://github.com/taham0) ([#&#8203;4968](https://github.com/valkey-io/valkey/issues/4968)) - Allow modules to block RESP3 clients that are subscribed to Pub/Sub channels instead of failing `ValkeyModule_BlockClient` with ENOTSUP by [@&#8203;quanyeyang](https://github.com/quanyeyang) ([#&#8203;4863](https://github.com/valkey-io/valkey/issues/4863)) - Bound the time spent per cycle evicting keys from the client tracking table, avoiding long stalls after lowering `tracking-table-max-keys` by [@&#8203;tanmayBeginsJourney](https://github.com/tanmayBeginsJourney) ([#&#8203;4775](https://github.com/valkey-io/valkey/issues/4775)) - Reclaim 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 [@&#8203;rayjinghaolei](https://github.com/rayjinghaolei) ([#&#8203;4190](https://github.com/valkey-io/valkey/issues/4190)) - Fix a memory leak when `GEOSEARCH` or `GEOSEARCHSTORE` is given repeated `BYPOLYGON` options by [@&#8203;charsyam](https://github.com/charsyam) ([#&#8203;4995](https://github.com/valkey-io/valkey/issues/4995)) - Fix a memory leak in `ValkeyModule_GetCommandKeysWithFlags` when introspecting commands with large key lists by [@&#8203;christopherlim98](https://github.com/christopherlim98) ([#&#8203;5046](https://github.com/valkey-io/valkey/issues/5046)) - `MEMORY USAGE` now counts hash fields that have expired but not yet been reaped, fixing under-reported sizes by [@&#8203;sushilpaneru1](https://github.com/sushilpaneru1) ([#&#8203;5092](https://github.com/valkey-io/valkey/issues/5092)) - Fix a crash in `ValkeyModule_Call` when script-mode validation fails and error replies were not requested by [@&#8203;dvkashapov](https://github.com/dvkashapov) ([#&#8203;5091](https://github.com/valkey-io/valkey/issues/5091)) - In cluster mode, one cross-slot command in a script no longer makes every later script and function call fail until restart by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5191](https://github.com/valkey-io/valkey/issues/5191)) - Fix a TLS busy loop that consumed 100% CPU when a connection's read or write handler was removed while OpenSSL was waiting for the opposite event by [@&#8203;yairgott](https://github.com/yairgott) ([#&#8203;3510](https://github.com/valkey-io/valkey/issues/3510)) - Fix a crash caused by a NULL pointer dereference when all timer events in an event loop are pending deletion by [@&#8203;royenheart](https://github.com/royenheart) ([#&#8203;4351](https://github.com/valkey-io/valkey/issues/4351)) - Fix a node staying stuck in PFAIL when its PING is lost while the peer's own traffic keeps the cluster link alive by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4171](https://github.com/valkey-io/valkey/issues/4171)) - `CLUSTER SYNCSLOTS FINISH` now rejects clients outside the slot migration stream, preventing misuse of the import state machine by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4330](https://github.com/valkey-io/valkey/issues/4330)) - Reject a repeated `CLUSTER SYNCSLOTS ESTABLISH` on the same connection, which could lead to a use-after-free crash on disconnect by [@&#8203;Pyolar](https://github.com/Pyolar) ([#&#8203;4670](https://github.com/valkey-io/valkey/issues/4670)) - Fix `SORT` key extraction so a `STORE` destination named like an option can no longer bypass ACL checks and write to an unauthorized key by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;4665](https://github.com/valkey-io/valkey/issues/4665)) - Fix `GEOSEARCH` returning empty results for exact zero-distance matches on builds where floating-point contraction breaks the latitude distance calculation by [@&#8203;Baraa-Hasheesh](https://github.com/Baraa-Hasheesh) ([#&#8203;4777](https://github.com/valkey-io/valkey/issues/4777)) - Fix a memory leak when deleting or replacing Lua functions with long names or descriptions by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5109](https://github.com/valkey-io/valkey/issues/5109)) - Fix a crash when a replication role change command such as `REPLICAOF` or `CLUSTER REPLICATE` arrives over a replication link by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5187](https://github.com/valkey-io/valkey/issues/5187)) - Fix a crash on the importing primary when an atomic slot migration fails while its writes are paused by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5182](https://github.com/valkey-io/valkey/issues/5182)) - Fix `XADD` rejected for oversized elements leaving an empty stream on the primary that is not propagated to replicas or the AOF by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5178](https://github.com/valkey-io/valkey/issues/5178)) - Redact credentials of rejected `HELLO`, `AUTH` and `MIGRATE` commands so passwords no longer leak to MONITOR and the commandlog by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5180](https://github.com/valkey-io/valkey/issues/5180)) - Prevent a replica crash when the primary wrongly replies +CONTINUE to a full resync request; the replica now drops the link and retries by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5126](https://github.com/valkey-io/valkey/issues/5126)) - FUNCTION LOAD no longer aborts the server when a library calls `server.log()` at its top level, including when loading from RDB or AOF by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5114](https://github.com/valkey-io/valkey/issues/5114)) - Fix an integer overflow in the list node merge size check that could crash the server on `LSET` after loading a list with a near-4GiB node via `RESTORE` or full sync by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5163](https://github.com/valkey-io/valkey/issues/5163)) - Fix a stack buffer overflow when replying with hundreds of empty strings (e.g. MGET) while reply copy avoidance is active by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5151](https://github.com/valkey-io/valkey/issues/5151)) - Ignore invalid ping extension values from cluster peers that would corrupt nodes.conf and prevent the node from restarting by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5137](https://github.com/valkey-io/valkey/issues/5137)) - Bound the bytes the cluster bus reads per event so a peer with a constant read backlog cannot starve clients, cron and heartbeats by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5161](https://github.com/valkey-io/valkey/issues/5161)) - Correct `SENTINEL SIMULATE-FAILURE` metadata so `COMMAND DOCS` shows the required mode argument and its tokens by [@&#8203;sarthakaggarwal97](https://github.com/sarthakaggarwal97) ([#&#8203;5208](https://github.com/valkey-io/valkey/issues/5208)) - Fail `CONFIG REWRITE` when the old config file reads short instead of writing uninitialized memory into the new config file by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5158](https://github.com/valkey-io/valkey/issues/5158)) - Mark the absolute timestamp arguments of `HEXPIREAT` and `HPEXPIREAT` as `unix-time` in `COMMAND DOCS`, matching `EXPIREAT` and `PEXPIREAT` by [@&#8203;rainsupreme](https://github.com/rainsupreme) ([#&#8203;5245](https://github.com/valkey-io/valkey/issues/5245)) - Clear the script debugger input buffer after a "max client buffer reached" error so later debugger commands in the same session do not keep failing by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5129](https://github.com/valkey-io/valkey/issues/5129)) - Fix a Sentinel crash when a monitored replica's `INFO` reply contains no `master_host` by [@&#8203;smkher](https://github.com/smkher) ([#&#8203;4929](https://github.com/valkey-io/valkey/issues/4929)) - Fix Lua `server.error_reply()` returning stale heap memory as the error message when given a string of 2 GiB or more by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5122](https://github.com/valkey-io/valkey/issues/5122)) - Fix a use-after-free in streams when `XADD` creates a new node, which could leave a dangling pointer hit by later reads such as `XRANGE` by [@&#8203;Baraa-Hasheesh](https://github.com/Baraa-Hasheesh) ([#&#8203;4711](https://github.com/valkey-io/valkey/issues/4711)) - Reject inbound cluster bus packets larger than 16MB, except Pub/Sub and module messages, so a peer cannot make a node buffer up to 4GB from a single header by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5065](https://github.com/valkey-io/valkey/issues/5065)) - Fix `XINFO GROUPS` and `XINFO STREAM ... FULL` reporting too-high consumer group lag after `XTRIM` or a trimming `XADD` removes unread entries by [@&#8203;Sasidharan3094](https://github.com/Sasidharan3094) ([#&#8203;4983](https://github.com/valkey-io/valkey/issues/4983)) - Fix shutdown-triggered failover promoting a replica that has `cluster-replica-no-failover yes` by [@&#8203;simonasr](https://github.com/simonasr) ([#&#8203;5033](https://github.com/valkey-io/valkey/issues/5033)) - Fix AOF load failure after a crash leaves a torn annotation at the end of the file; it is now treated as a short read and can be truncated by `aof-load-truncated` or `valkey-check-aof --fix` by [@&#8203;sumitk163](https://github.com/sumitk163) ([#&#8203;5349](https://github.com/valkey-io/valkey/issues/5349)) - Correct the `SENTINEL GET-MASTER-ADDR-BY-NAME` reply schema to allow the null reply returned for an unknown primary name by [@&#8203;rainsupreme](https://github.com/rainsupreme) ([#&#8203;5246](https://github.com/valkey-io/valkey/issues/5246)) - Fix Sentinel counting stale primary-down reports from peers toward quorum, which could trigger an unwanted failover of a healthy primary by [@&#8203;akasakariko](https://github.com/akasakariko) ([#&#8203;4913](https://github.com/valkey-io/valkey/issues/4913)) - Fix Lua `server.log()` blocking the server for seconds when called with thousands of arguments, with no `-BUSY` reply or `SCRIPT KILL` by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;5104](https://github.com/valkey-io/valkey/issues/5104)) - Fix `valkey-cli --cluster reshard` and `rebalance` exiting with a success status when slot migration fails by [@&#8203;imasahiro](https://github.com/imasahiro) ([#&#8203;4853](https://github.com/valkey-io/valkey/issues/4853)) - Correct `ZADD` and `LCS` metadata so `COMMAND DOCS` and valkey-cli hints no longer present `NX` with `GT`/`LT` or `LEN` with `IDX` as valid combinations by [@&#8203;rainsupreme](https://github.com/rainsupreme) ([#&#8203;5244](https://github.com/valkey-io/valkey/issues/5244)) ##### Build and Tooling - Fix clean or highly parallel builds failing with a missing release.h for valkey-cli, valkey-benchmark, and unit tests by [@&#8203;poiuj](https://github.com/poiuj) ([#&#8203;3683](https://github.com/valkey-io/valkey/issues/3683)) **Full Changelog**: <https://github.com/valkey-io/valkey/compare/9.1.3...9.1.4> ### [`v9.1.3`](https://github.com/valkey-io/valkey/releases/tag/9.1.3) [Compare Source](https://github.com/valkey-io/valkey/compare/9.1.2...9.1.3) ## Valkey 9.1.3 - Released Mon 26 October 2026 Upgrade urgency SECURITY: This release includes security fixes we recommend you apply as soon as possible. ##### Security Fixes - GHSA-f4q9-j22m-xqq9: Fix a heap buffer overflow in cluster Pub/Sub message construction that could allow an authenticated client to potentially execute arbitrary code by publishing an oversized message by [@&#8203;roshkhatri](https://github.com/roshkhatri) ([#&#8203;5030](https://github.com/valkey-io/valkey/issues/5030)) ##### Bug Fixes - Fix stream commands that mutate consumer-group or PEL state (`XGROUP`, `XSETID`, `XREADGROUP`, `XACK`, `XCLAIM`, `XAUTOCLAIM`) not triggering `WATCH` and client-side tracking invalidation by [@&#8203;Tarte12](https://github.com/Tarte12) ([#&#8203;3459](https://github.com/valkey-io/valkey/issues/3459)) - Reject module write commands while the server is paused for writes, preventing a crash from module timer callbacks during `CLIENT PAUSE WRITE` or `CLUSTER FAILOVER` by [@&#8203;smkher](https://github.com/smkher) ([#&#8203;3645](https://github.com/valkey-io/valkey/issues/3645)) - Fix event loop busy-spinning on virtual machines by not using raw TSC for the monotonic clock when the kernel clocksource is not tsc by [@&#8203;quanyeyang](https://github.com/quanyeyang) ([#&#8203;4707](https://github.com/valkey-io/valkey/issues/4707)) - Fix a crash in `ValkeyModule_HashHasStringRef` on a missing or expired field and correct wrong return values in the hash stringRef module APIs by [@&#8203;ShubhamTaple](https://github.com/ShubhamTaple) ([#&#8203;4504](https://github.com/valkey-io/valkey/issues/4504)) - Fix a server abort on a RESTORE payload declaring a string length that overflows the allocation size; such payloads are now rejected as bad data by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4733](https://github.com/valkey-io/valkey/issues/4733)) - Fix ZINTER/ZINTERSTORE returning input-order-dependent scores when a weighted term is 0\*inf; a NaN weighted score now counts as 0, matching ZUNION by [@&#8203;leomurillo](https://github.com/leomurillo) ([#&#8203;4997](https://github.com/valkey-io/valkey/issues/4997)) - Clear a stale primary-failure gossip flag on replicas so later failovers don't incorrectly skip the election delay by [@&#8203;charsyam](https://github.com/charsyam) ([#&#8203;4533](https://github.com/valkey-io/valkey/issues/4533)) - Correct `ValkeyModule_FreeModuleUser`, `ValkeyModule_ACLAddLogEntry` and `ValkeyModule_ACLAddLogEntryByUserName` declarations to return int as implemented, fixing undefined behavior on targets with strict call signature checks by [@&#8203;rainsupreme](https://github.com/rainsupreme) ([#&#8203;4676](https://github.com/valkey-io/valkey/issues/4676)) - valkey-check-aof now recognizes RDB base files with the `VALKEY` signature instead of misreporting a valid multipart AOF as invalid by [@&#8203;sarthakaggarwal97](https://github.com/sarthakaggarwal97) ([#&#8203;4739](https://github.com/valkey-io/valkey/issues/4739)) - Fix module commands that access undeclared keys in other slots reading or writing the wrong slot in cluster mode, and aborting in debug builds by [@&#8203;patrickswedish](https://github.com/patrickswedish) ([#&#8203;4424](https://github.com/valkey-io/valkey/issues/4424)) - Reject relative expire times in `SET`/`GETEX`, `RESTORE`, and `ValkeyModule_SetExpire` that overflow when added to the current time, preventing server aborts from negative expires by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;4880](https://github.com/valkey-io/valkey/issues/4880)) - `HDEL`, `HGETDEL`, `HPERSIST`, and `HEXPIRE` no longer propagate fields they treat as expired, preventing replica and AOF-reload divergence by [@&#8203;xdk-amz](https://github.com/xdk-amz) ([#&#8203;4772](https://github.com/valkey-io/valkey/issues/4772)) - Fix a server crash when loading an ACL file containing a selector with an unmatched parenthesis by [@&#8203;magic-peach](https://github.com/magic-peach) ([#&#8203;4214](https://github.com/valkey-io/valkey/issues/4214)) - Fix a segfault on Alpine/musl when Lua is built as a module, caused by a symbol clash on an internal clock function by [@&#8203;mohammedgqudah](https://github.com/mohammedgqudah) ([#&#8203;4270](https://github.com/valkey-io/valkey/issues/4270)) - `COPY` of a hash now includes expired-but-unreaped fields so their deletion is propagated and replicas stay in sync by [@&#8203;pirate329](https://github.com/pirate329) ([#&#8203;4939](https://github.com/valkey-io/valkey/issues/4939)) - Restore acceptance of hexadecimal float sorted set scores (such as `0x10`), keeping replication and AOF replay compatible with Valkey 9.0 by [@&#8203;quanyeyang](https://github.com/quanyeyang) ([#&#8203;4875](https://github.com/valkey-io/valkey/issues/4875)) - Sorted set range commands with a negative `LIMIT` offset now return an empty result instead of a spurious element on btree-encoded keys by [@&#8203;xiaocj](https://github.com/xiaocj) ([#&#8203;4637](https://github.com/valkey-io/valkey/issues/4637)) - Fix listpack encoding incompatibility that caused RDB load and replication failures for entries of certain lengths between 9.0 and 9.1.x by [@&#8203;jjuleslasarte](https://github.com/jjuleslasarte) ([#&#8203;4819](https://github.com/valkey-io/valkey/issues/4819)) - Fix atomic slot migration not replicating evictions on the import target, which let replicas grow far past `maxmemory` by [@&#8203;shanezx-sc](https://github.com/shanezx-sc) ([#&#8203;4920](https://github.com/valkey-io/valkey/issues/4920)) - Redact error text in server logs when `hide-user-data-from-log` is enabled, so command arguments no longer leak into logs by [@&#8203;zackcam](https://github.com/zackcam) ([#&#8203;4815](https://github.com/valkey-io/valkey/issues/4815)) - Fix `HSETEX` and `HGETEX` failing to parse their arguments when the key is named `fields` by [@&#8203;sebxt](https://github.com/sebxt) ([#&#8203;4945](https://github.com/valkey-io/valkey/issues/4945)) - Fix cluster config saving to avoid publishing truncated `nodes.conf` files, losing the startup lock after the first save, and failing every save on SMB filesystems such as Azure Files; the lock now lives on a separate `nodes.conf.lock` file by [@&#8203;KewangZhili](https://github.com/KewangZhili) ([#&#8203;4489](https://github.com/valkey-io/valkey/issues/4489)) - Fix `LSET` on 64-bit builds silently modifying the wrong element for out-of-range indexes instead of returning an index out of range error by [@&#8203;charsyam](https://github.com/charsyam) ([#&#8203;4823](https://github.com/valkey-io/valkey/issues/4823)) - Fix atomic slot migration with `cluster-databases` > 1 applying writes made during the snapshot to the wrong database on the target by [@&#8203;pirate329](https://github.com/pirate329) ([#&#8203;4952](https://github.com/valkey-io/valkey/issues/4952)) **Full Changelog**: <https://github.com/valkey-io/valkey/compare/9.1.2...9.1.3> ### [`v9.1.2`](https://github.com/valkey-io/valkey/releases/tag/9.1.2) [Compare Source](https://github.com/valkey-io/valkey/compare/9.1.1...9.1.2) ## Valkey 9.1.2 - Released Mon 31 August 2026 Upgrade urgency SECURITY: This release includes security fixes we recommend you apply as soon as possible. ##### Security Fixes - GHSA-jcj7-v34w-v9vv: Fix a use-after-free in RDMA connection handling that could allow an authenticated client to crash the server using CLIENT KILL. Only affects servers built with USE_RDMA and configured with an RDMA listener ([#&#8203;4534](https://github.com/valkey-io/valkey/issues/4534)) - GHSA-fq2f-crmw-q97r: Fix an unauthenticated use-after-free of the Lua interpreter state, caused by a process-global script debugger command table that cached a raw pointer to a freed interpreter and was never invalidated ([#&#8203;4574](https://github.com/valkey-io/valkey/issues/4574)) ##### Bug Fixes - Fix a double-free crash when a module timer callback stops its own timer with `ValkeyModule_StopTimer` by [@&#8203;quanyeyang](https://github.com/quanyeyang) ([#&#8203;4211](https://github.com/valkey-io/valkey/issues/4211)) - Fix torn RESP3 push frames when a client publishes to a channel it is also subscribed to, which could desync client libraries by [@&#8203;quanyeyang](https://github.com/quanyeyang) ([#&#8203;4253](https://github.com/valkey-io/valkey/issues/4253)) - Listpacks are now always validated on RDB load and RESTORE, preventing deferred assertion crashes; `sanitize-dump-payload` and its ACL flags become no-ops by [@&#8203;jjuleslasarte](https://github.com/jjuleslasarte) ([#&#8203;3721](https://github.com/valkey-io/valkey/issues/3721)) - Fix crashes, hangs, and CPU spinning when the RDMA transport is used together with I/O threads by [@&#8203;quanyeyang](https://github.com/quanyeyang) ([#&#8203;3611](https://github.com/valkey-io/valkey/issues/3611)) - RESET now clears the `CLIENT IMPORT-SOURCE` flag, so reused pooled connections return to normal expiration semantics by [@&#8203;tjade273](https://github.com/tjade273) ([#&#8203;3973](https://github.com/valkey-io/valkey/issues/3973)) - Truncate a partially written MULTI block from the AOF on short read, preventing loss of newer writes after a later restart by [@&#8203;chzhoo](https://github.com/chzhoo) ([#&#8203;4342](https://github.com/valkey-io/valkey/issues/4342)) - Fix an ACL bypass where duplicate STORE/STOREDIST options let GEORADIUS write or delete keys outside the user's permitted patterns by [@&#8203;tjade273](https://github.com/tjade273) ([#&#8203;3971](https://github.com/valkey-io/valkey/issues/3971)) - Fix command log redaction leaking between commands in a MULTI transaction and missing for commands executed from scripts by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;4323](https://github.com/valkey-io/valkey/issues/4323)) - Fix a use-after-free crash when a module's cluster message type is received after the module is unloaded by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4360](https://github.com/valkey-io/valkey/issues/4360)) - Fix out-of-bounds access for cluster module message type 255, which is now a valid, dispatchable message type by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4410](https://github.com/valkey-io/valkey/issues/4410)) - AOF loading no longer performs ACL checks on replayed commands, preventing silent data loss when the default user is disabled by [@&#8203;lukepalmer](https://github.com/lukepalmer) ([#&#8203;3984](https://github.com/valkey-io/valkey/issues/3984)) - Fix a client memory accounting leak on replicas that inflated the `mem_clients_normal` INFO field after primary disconnections by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4395](https://github.com/valkey-io/valkey/issues/4395)) - Fix a permanent client deadlock when a blocking command like BLPOP is followed by a partially delivered pipelined command by [@&#8203;foobar](https://github.com/foobar) ([#&#8203;4531](https://github.com/valkey-io/valkey/issues/4531)) - HGETEX now requires write permission on the key, closing an ACL gap that let read-only users change field TTLs or delete fields by [@&#8203;ranshid](https://github.com/ranshid) ([#&#8203;4576](https://github.com/valkey-io/valkey/issues/4576)) - Compare the whole TLS certificate CN during authentication, so an embedded NUL can no longer impersonate another ACL user by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;4577](https://github.com/valkey-io/valkey/issues/4577)) - Fix atomic slot migration failures with I/O threads by not offloading the export job's writes while snapshotting by [@&#8203;satheeshaGowda](https://github.com/satheeshaGowda) ([#&#8203;4104](https://github.com/valkey-io/valkey/issues/4104)) - Reject invalid slot import ranges when loading an RDB, so corrupted files can no longer create bad migration jobs by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4229](https://github.com/valkey-io/valkey/issues/4229)) - Reject RDB slot import records with an invalid job name length, preventing an out-of-bounds read at startup by [@&#8203;quanyeyang](https://github.com/quanyeyang) ([#&#8203;4210](https://github.com/valkey-io/valkey/issues/4210)) - MOVE and COPY now check ACL access to the current database, so users can no longer exfiltrate keys from an unauthorized DB by [@&#8203;cjx-zar](https://github.com/cjx-zar) ([#&#8203;4155](https://github.com/valkey-io/valkey/issues/4155)) - Fix a crash on COPY with a trailing DB option during slot migration, and block cross-DB COPY regardless of option order by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;4301](https://github.com/valkey-io/valkey/issues/4301)) - Fix a server panic when pipelined commands with invalid arity reach the key prefetcher with I/O threads enabled by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;4302](https://github.com/valkey-io/valkey/issues/4302)) - HPERSIST, HTTL, HPTTL, HEXPIRETIME, and HPEXPIRETIME now return a syntax error when the FIELDS keyword is missing by [@&#8203;cjx-zar](https://github.com/cjx-zar) ([#&#8203;4300](https://github.com/valkey-io/valkey/issues/4300)) - Fix a race between TLS I/O-thread writes and reads that could leave slot migration export jobs stuck until timeout by [@&#8203;jjuleslasarte](https://github.com/jjuleslasarte) ([#&#8203;4320](https://github.com/valkey-io/valkey/issues/4320)) - Fix a signed overflow that let very large hash field expiration times (e.g. via HPEXPIREAT) crash the server by [@&#8203;ranshid](https://github.com/ranshid) ([#&#8203;4312](https://github.com/valkey-io/valkey/issues/4312)) - Fix a frozen monotonic clock on hosts with unsynchronized TSC that stopped background tasks and key expiration by [@&#8203;quanyeyang](https://github.com/quanyeyang) ([#&#8203;4346](https://github.com/valkey-io/valkey/issues/4346)) - Fix a stack overflow crash when retrying a failed TLS write with a large reply by [@&#8203;murphyjacob4](https://github.com/murphyjacob4) ([#&#8203;4307](https://github.com/valkey-io/valkey/issues/4307)) - Fix the `--check-system` clocksource check to skip hosts using a hardware clock and suggest only actually available clocksources by [@&#8203;quanyeyang](https://github.com/quanyeyang) ([#&#8203;4272](https://github.com/valkey-io/valkey/issues/4272)) - Fix an assertion failure with I/O threads when a blocked client's pending command was processed again before unblocking by [@&#8203;quanyeyang](https://github.com/quanyeyang) ([#&#8203;4376](https://github.com/valkey-io/valkey/issues/4376)) - Sentinel no longer loads the built-in Lua scripting engine, removing a spurious warning at startup by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4327](https://github.com/valkey-io/valkey/issues/4327)) - Validate channel, message, and module payload lengths in cluster bus packets, preventing forged packets from crashing nodes by [@&#8203;tjade273](https://github.com/tjade273) ([#&#8203;3972](https://github.com/valkey-io/valkey/issues/3972)) - Harden stream validation on RDB load and RESTORE so crafted payloads can no longer crash the server on later commands by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;3922](https://github.com/valkey-io/valkey/issues/3922)) - Reject stream payloads with mismatched live/deleted record counts, preventing XDEL from destroying unaccounted entries by [@&#8203;roshkhatri](https://github.com/roshkhatri) ([#&#8203;4381](https://github.com/valkey-io/valkey/issues/4381)) - Skip unnecessary post-read processing with I/O threads on socket and TLS connections, restoring small-payload throughput by [@&#8203;quanyeyang](https://github.com/quanyeyang) ([#&#8203;4401](https://github.com/valkey-io/valkey/issues/4401)) - Fix a use-after-free crash when serving clients blocked on the same key if one client is freed during processing by [@&#8203;quanyeyang](https://github.com/quanyeyang) ([#&#8203;4212](https://github.com/valkey-io/valkey/issues/4212)) - Avoid an unneeded client lookup per write completion with I/O threads on socket and TLS connections, improving pipelined throughput by [@&#8203;dgershko](https://github.com/dgershko) ([#&#8203;4440](https://github.com/valkey-io/valkey/issues/4440)) - Fix CLUSTER SLOT-STATS ORDERBY returning wrong ordering when slot counters differ by more than 2^31 by [@&#8203;jzy1688](https://github.com/jzy1688) ([#&#8203;4459](https://github.com/valkey-io/valkey/issues/4459)) - Fix slot migration failures with I/O threads and TLS by keeping the export job's ACK reads on the main thread while snapshotting by [@&#8203;satheeshaGowda](https://github.com/satheeshaGowda) ([#&#8203;4559](https://github.com/valkey-io/valkey/issues/4559)) **Full Changelog**: <https://github.com/valkey-io/valkey/compare/9.1.1...9.1.2> ### [`v9.1.1`](https://github.com/valkey-io/valkey/releases/tag/9.1.1) [Compare Source](https://github.com/valkey-io/valkey/compare/9.1.0...9.1.1) ## Valkey 9.1.1 - Released Tue 21 July 2026 Upgrade urgency SECURITY: This release includes security fixes we recommend you apply as soon as possible. ##### Security Fixes - CVE-2026-56684: Fix a use-after-free in TLS connection handling that could allow an authenticated client to achieve remote code execution using CLIENT KILL ([#&#8203;4234](https://github.com/valkey-io/valkey/issues/4234)) - CVE-2026-63639: Reject corrupt stream RDB files containing a shared NACK across consumers, which could allow remote code execution. Reported by [@&#8203;z0v3r1n](https://github.com/z0v3r1n) and [@&#8203;lifip](https://github.com/lifip). ([#&#8203;4073](https://github.com/valkey-io/valkey/issues/4073)) ##### Bug Fixes - Omit the implicit `alldbs` ACL rule from `ACL LIST`, `ACL SAVE` and `CONFIG REWRITE` so older versions can parse the output by [@&#8203;dvkashapov](https://github.com/dvkashapov) ([#&#8203;3964](https://github.com/valkey-io/valkey/issues/3964)) - Improve throughput when IO threads are enabled by offloading object deallocation from the main thread by [@&#8203;roshkhatri](https://github.com/roshkhatri) ([#&#8203;3938](https://github.com/valkey-io/valkey/issues/3938)) - Fix use-after-free crash when `ACL LOAD` removes a user whose authenticated client has its close deferred by [@&#8203;ranshid](https://github.com/ranshid) ([#&#8203;3800](https://github.com/valkey-io/valkey/issues/3800)) - Enforce `db=` ACL permissions on every DB clause of `COPY`, closing a bypass with `REPLACE` or repeated DB tokens by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;3801](https://github.com/valkey-io/valkey/issues/3801)) - Enforce database-level ACLs for `CLUSTER FLUSHSLOT`, which removes keys from all databases by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;3806](https://github.com/valkey-io/valkey/issues/3806)) - Fix use-after-free in the module API when unregistering the first registered cluster message receiver by [@&#8203;eifrah-aws](https://github.com/eifrah-aws) ([#&#8203;3846](https://github.com/valkey-io/valkey/issues/3846)) - Fix `HRANDFIELD` with a positive count looping forever when non-expired fields are fewer than the requested count by [@&#8203;cjx-zar](https://github.com/cjx-zar) ([#&#8203;4047](https://github.com/valkey-io/valkey/issues/4047)) - Fix clients left on the wrong database after module keyspace notifications for `MOVE` and `COPY` by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;4024](https://github.com/valkey-io/valkey/issues/4024)) - Fix Sentinel crash during coordinated failover when the command link to the old primary disconnects by [@&#8203;lukepalmer](https://github.com/lukepalmer) ([#&#8203;4068](https://github.com/valkey-io/valkey/issues/4068)) - Fix crash when active hash field expiration leaves a single-entry expiry bucket whose last field is later removed by [@&#8203;ranshid](https://github.com/ranshid) ([#&#8203;3950](https://github.com/valkey-io/valkey/issues/3950)) - Fix assertion in `HEXPIRE`, `HGETDEL` and `HPERSIST` when a module blocks the client in a keyspace notification callback by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;3743](https://github.com/valkey-io/valkey/issues/3743)) - Fix undefined behavior in the failover delay calculation when `cluster-node-timeout` is below 30 milliseconds by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;3941](https://github.com/valkey-io/valkey/issues/3941)) - Reject zipmap RESTORE/RDB payloads with overflowing length fields that could cause out-of-bounds access on 32-bit builds by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;3920](https://github.com/valkey-io/valkey/issues/3920)) - Reject NAN scores in listpack and ziplist encoded sorted sets on RDB/RESTORE load, preventing a crash on skiplist conversion by [@&#8203;madolson](https://github.com/madolson) ([#&#8203;3921](https://github.com/valkey-io/valkey/issues/3921)) - Fix corrupted replies (dropped leading bytes) caused by a reply buffer race when IO threads are enabled by [@&#8203;nanyan0312](https://github.com/nanyan0312) ([#&#8203;4060](https://github.com/valkey-io/valkey/issues/4060)) - Fix startup crash on 32-bit systems where time_t is 64-bit (such as Alpine 3.23) when generating `INFO` output by [@&#8203;chenshi5012](https://github.com/chenshi5012) ([#&#8203;3787](https://github.com/valkey-io/valkey/issues/3787)) - `HGETDEL` now returns a syntax error when the `FIELDS` keyword is missing or misplaced by [@&#8203;lcxn123](https://github.com/lcxn123) ([#&#8203;4049](https://github.com/valkey-io/valkey/issues/4049)) - `COMMAND INFO` in RESP3 now returns the subcommands field as an array instead of a set for commands without subcommands by [@&#8203;rickrams](https://github.com/rickrams) ([#&#8203;3939](https://github.com/valkey-io/valkey/issues/3939)) - Send the replica version on the dual-channel RDB connection so full syncs with newer encodings like hash field TTLs succeed by [@&#8203;hpatro](https://github.com/hpatro) ([#&#8203;4105](https://github.com/valkey-io/valkey/issues/4105)) - Fix duplicate failure handling and an invalid reply sequence in cluster slot migration by [@&#8203;chx9](https://github.com/chx9) ([#&#8203;3723](https://github.com/valkey-io/valkey/issues/3723)) - Reject control characters in `SENTINEL SET` values to prevent config-file injection via Sentinel config rewrite by [@&#8203;eifrah-aws](https://github.com/eifrah-aws) ([#&#8203;3847](https://github.com/valkey-io/valkey/issues/3847)) - Reject control characters and delimiters in cluster AUX fields and validate `cluster-announce-ip` to prevent nodes.conf injection by [@&#8203;eifrah-aws](https://github.com/eifrah-aws) ([#&#8203;3848](https://github.com/valkey-io/valkey/issues/3848)) - Redact key names and user data from more server log messages when `hide-user-data-from-log` is enabled by [@&#8203;zackcam](https://github.com/zackcam) ([#&#8203;3872](https://github.com/valkey-io/valkey/issues/3872)) - `ACL LOG` now reports the denied database ID for `COPY` instead of the command name when `db=` access is denied by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;3888](https://github.com/valkey-io/valkey/issues/3888)) - Fix garbled shard IDs in the cluster UPDATE message log line by [@&#8203;enjoy-binbin](https://github.com/enjoy-binbin) ([#&#8203;3942](https://github.com/valkey-io/valkey/issues/3942)) - Fix negative `master_sync_total_bytes` in `INFO replication` during disk-based sync when the RDB exceeds 2GB by [@&#8203;chx9](https://github.com/chx9) ([#&#8203;3811](https://github.com/valkey-io/valkey/issues/3811)) - Increase the maximum process title length from 255 to 1024 characters to avoid truncation with long paths by [@&#8203;pkhartsk](https://github.com/pkhartsk) ([#&#8203;3843](https://github.com/valkey-io/valkey/issues/3843)) **Full Changelog**: <https://github.com/valkey-io/valkey/compare/9.1.0...9.1.1> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNjAuNCIsInVwZGF0ZWRJblZlciI6IjQ0LjI1Ny45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==-->
chore(deps): update valkey/valkey docker tag to v9.1.1
Some checks failed
ci/woodpecker/pr/qa Pipeline failed
2b6c960631
renovate force-pushed renovate/valkey-valkey-9-x from 2b6c960631
Some checks failed
ci/woodpecker/pr/qa Pipeline failed
to e4c06dccca
Some checks failed
ci/woodpecker/pr/qa Pipeline failed
2026-08-20 01:00:44 +02:00
Compare
renovate force-pushed renovate/valkey-valkey-9-x from e4c06dccca
Some checks failed
ci/woodpecker/pr/qa Pipeline failed
to 9b312873fc
Some checks failed
ci/woodpecker/pr/qa Pipeline failed
2026-08-31 13:00:47 +02:00
Compare
renovate changed title from chore(deps): update valkey/valkey docker tag to v9.1.1 to chore(deps): update valkey/valkey docker tag to v9.1.2 2026-09-01 04:00:46 +02:00
renovate force-pushed renovate/valkey-valkey-9-x from 9b312873fc
Some checks failed
ci/woodpecker/pr/qa Pipeline failed
to 805f262f79
Some checks failed
ci/woodpecker/pr/qa Pipeline failed
2026-09-01 04:00:46 +02:00
Compare
renovate force-pushed renovate/valkey-valkey-9-x from 805f262f79
Some checks failed
ci/woodpecker/pr/qa Pipeline failed
to 0134c10c90
Some checks failed
ci/woodpecker/pr/qa Pipeline failed
2026-09-04 00:00:45 +02:00
Compare
renovate force-pushed renovate/valkey-valkey-9-x from 0134c10c90
Some checks failed
ci/woodpecker/pr/qa Pipeline failed
to 0edca4e661
Some checks failed
ci/woodpecker/pr/qa Pipeline failed
2026-09-07 12:00:40 +02:00
Compare
renovate force-pushed renovate/valkey-valkey-9-x from 0edca4e661
Some checks failed
ci/woodpecker/pr/qa Pipeline failed
to 327cc29505
Some checks failed
ci/woodpecker/pr/qa Pipeline failed
2026-09-21 12:02:08 +02:00
Compare
renovate changed title from chore(deps): update valkey/valkey docker tag to v9.1.2 to chore(deps): update valkey/valkey docker tag to v9.1.3 2026-10-27 03:02:54 +01:00
renovate force-pushed renovate/valkey-valkey-9-x from 327cc29505
Some checks failed
ci/woodpecker/pr/qa Pipeline failed
to a3c8611fa4
Some checks failed
ci/woodpecker/pr/qa Pipeline failed
2026-10-27 03:02:55 +01:00
Compare
renovate force-pushed renovate/valkey-valkey-9-x from a3c8611fa4
Some checks failed
ci/woodpecker/pr/qa Pipeline failed
to 9f01051744
Some checks failed
ci/woodpecker/pr/qa Pipeline failed
2026-11-18 01:03:21 +01:00
Compare
renovate changed title from chore(deps): update valkey/valkey docker tag to v9.1.3 to chore(deps): update valkey/valkey docker tag to v9.1.4 2026-11-19 01:03:32 +01:00
renovate force-pushed renovate/valkey-valkey-9-x from 9f01051744
Some checks failed
ci/woodpecker/pr/qa Pipeline failed
to 689e8fccc8
Some checks failed
ci/woodpecker/pr/qa Pipeline failed
2026-11-19 01:03:33 +01:00
Compare
renovate changed title from chore(deps): update valkey/valkey docker tag to v9.1.4 to chore(deps): update valkey/valkey docker tag to v9.2.0 2026-11-19 12:03:42 +01:00
renovate force-pushed renovate/valkey-valkey-9-x from 689e8fccc8
Some checks failed
ci/woodpecker/pr/qa Pipeline failed
to 844cd050cc
Some checks failed
ci/woodpecker/pr/qa Pipeline failed
2026-11-19 12:03:42 +01:00
Compare
renovate force-pushed renovate/valkey-valkey-9-x from 844cd050cc
Some checks failed
ci/woodpecker/pr/qa Pipeline failed
to 979e69231a
Some checks failed
ci/woodpecker/pr/qa Pipeline failed
2026-11-19 22:03:26 +01:00
Compare
renovate changed title from chore(deps): update valkey/valkey docker tag to v9.2.0 to chore(deps): update valkey/valkey docker tag to v9.2.1 2026-11-26 13:01:51 +01:00
renovate force-pushed renovate/valkey-valkey-9-x from 979e69231a
Some checks failed
ci/woodpecker/pr/qa Pipeline failed
to 228eaac23a
Some checks failed
ci/woodpecker/pr/qa Pipeline failed
2026-11-26 13:01:52 +01:00
Compare
Some checks failed
ci/woodpecker/pr/qa Pipeline failed
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'renovate/valkey-valkey-9-x:renovate/valkey-valkey-9-x'
git switch 'renovate/valkey-valkey-9-x'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'renovate/valkey-valkey-9-x'
git switch 'renovate/valkey-valkey-9-x'
git rebase 'main'
git switch 'main'
git merge --ff-only 'renovate/valkey-valkey-9-x'
git switch 'renovate/valkey-valkey-9-x'
git rebase 'main'
git switch 'main'
git merge --no-ff 'renovate/valkey-valkey-9-x'
git switch 'main'
git merge --squash 'renovate/valkey-valkey-9-x'
git switch 'main'
git merge --ff-only 'renovate/valkey-valkey-9-x'
git switch 'main'
git merge 'renovate/valkey-valkey-9-x'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kontakt/shiftregister!81
No description provided.