content/develop/whats-new/8-2.md
Redis 8.2 builds on the foundation of Redis 8.0 with significant performance and memory optimizations, enhanced streaming capabilities, and improved cluster management tools.
This release delivers major improvements across multiple areas:
Below is a detailed breakdown of these updates.
Redis 8.2 includes important security fixes:
Redis 8.2 introduces powerful new commands that simplify consumer group management and stream lifecycle operations:
XDELEX]({{< relref "/commands/xdelex/" >}}): Delete entries from streams with advanced consumer group handling options.XACKDEL]({{< relref "/commands/xackdel/" >}}): Acknowledge and delete stream entries in a single atomic operation.These commands include KEEPREF, DELREF, and ACKED options that give you precise control over how consumer group references are handled during entry deletion. This simplifies common patterns where you need to clean up acknowledged entries while working with multiple consumer groups.
The [XADD]({{< relref "/commands/xadd/" >}}) and [XTRIM]({{< relref "/commands/xtrim/" >}}) commands have also been extended with these same options, providing consistent behavior across all commands that remove stream entries.
The new [CLUSTER SLOT-STATS]({{< relref "/commands/cluster-slot-stats/" >}}) command provides detailed per-slot usage metrics including:
This enhanced visibility helps you optimize cluster performance and identify hotspots in your data distribution.
The VSIM command now supports the IN operator for filtering expressions, giving you more flexibility when performing vector similarity searches with complex filtering criteria.
Redis 8.2 extends the [BITOP]({{< relref "/commands/bitop/" >}}) command with new operators that provide more sophisticated bit manipulation capabilities:
These new operators enable more complex bitmap workflows and can simplify operations that previously required multiple commands.
Redis 8.2 introduces new keyspace notification event types that provide better visibility into data changes:
These events help you build more responsive applications by providing granular notifications about specific types of data modifications.
Redis 8.2 delivers substantial performance improvements across core operations.
LREM, LPOS, and LINSERT benefit from cached string2ll results in quicklistCompare.ZRANK and related commands use the same caching optimizations.COPY, RENAME, and RESTORE are optimized when TTL is used.Redis 8.2 introduces the SHARD_K_RATIO parameter for KNN vector queries in Redis clusters. This unstable feature allows you to favor network latency over accuracy, providing faster responses when exact precision isn't critical.
Redis 8.2 provides new metrics to help you monitor and troubleshoot your Redis instances.
used_memory_peak_time: Timestamp when used_memory_peak was reachedmaster_current_sync_attempts: Number of sync attempts since last disconnectionmaster_total_sync_attempts: Total number of sync attempts to mastermaster_link_up_since_seconds: Duration since the replication link was establishedtotal_disconnect_time_sec: Cumulative time the replica has been disconnectedThese metrics provide better visibility into replication health and help you identify patterns in connection stability.
Redis 8.2 continues the unified distribution approach introduced in Redis 8.0, delivering all functionality in a single Redis Open Source package without separate modules.