content/operate/oss_and_stack/stack-with-enterprise/release-notes/redisstack/redisstack-7.2-release-notes.md
This is a maintenance release for Redis Stack Server 7.2.0.
Update urgency: SECURITY: there are security fixes in the release.
This version includes security fixes for the Redis server, addressing potential vulnerabilities such as an RCE when using Lua library components, and a denial-of-service (DoS) risk due to malformed ACL selectors or unbounded pattern matching. Additionally, this maintenance release contains a bug fix to prevent crashes in cluster mode and includes the latest version of Redis Insight.
Security and privacy
Bug Fixes
Redis:
Redis version:
Module versions
Recommended Client Libraries
Compatible with Redis Insight. The docker image redis/redis-stack for this version is bundled with Redis Insight 2.58.
Note: version numbers follow the pattern:
x.y.z-b
x.y Redis major versionz increases with even numbers as a module x.y version increases.b denotes a patch to Redis or a module (any z of Redis modules). b will consist of a v + numeric value.This is a maintenance release for Redis Stack Server 7.2.0.
Update urgency: HIGH: There is a critical bug that may affect a subset of users. Upgrade!
The updated search and query version introduces several new features and important bug fixes, including a critical one. This new release of Redis Stack 7.2.0 also includes updated versions of JSON and time series data structures, each incorporating several bug fixes.
This maintenance release also contains the latest version of RedisInsight.
Improvements
GROUPBY recursion cleanup (MOD-7245)Bug Fixes
Redis Search:
MAX reducer (MOD-7252)\ after the escaped character such as in hello\\,world ignoring , (MOD-7240)SORTBY 2 @field1 @field2 was ignoring the subsequent field(MOD-7206)JSON:
JSON.MSET- AOF commands are duplicated multiple times (MOD-7293)Time series:
Redis version:
Module versions
Recommended Client Libraries
Compatible with Redis Insight. The docker image redis/redis-stack for this version is bundled with Redis Insight 2.54.
Note: version numbers follow the pattern:
x.y.z-b
x.y Redis major versionz increases with even numbers as a module x.y version increases.b denotes a patch to Redis or a module (any z of Redis or modules). b will consist of a v + numeric value.This is a maintenance release for Redis Stack Server 7.2.0.
Update urgency: MODERATE: Program an upgrade of the server, but it's not urgent.
Redis Stack 7.2.0-v11 introduces a new version of the Redis server with several bug fixes, and an updated search and query capability with numerous enhancements and bug fixes.
The updated search and query version features improved memory reporting that accounts for additional memory consumed by TAG and TEXT tries, as well as enhanced memory counting for inverted indexes. Also, it includes additional fields in the FT.INFO command when used within a cluster.
This maintenance release also contains the latest version of RedisInsight.
Improvements
Bug Fixes
Redis:
CLI tools:
Redis Search:
Redis version:
Module versions
Recommended Client Libraries
Compatible with Redis Insight. The docker image redis/redis-stack for this version is bundled with Redis Insight 2.50.
Note: version numbers follow the pattern:
x.y.z-b
x.y Redis major versionz increases with even numbers as a module x.y version increases.b denotes a patch to Redis or a module (any z of Redis or modules). b will consist of a v + numeric value.This is a maintenance release for Redis Stack Server 7.2.0.
Update urgency: HIGH: There is a critical bug that may affect a subset of users. Upgrade!
This version contains the latest search and query capability with several improvements and bug fixes, including critical bug fixes. This release also includes the latest JSON data structure with a fix for a potential crash, the time series data structure with more detailed LibMR error messages, and the latest version of triggers and functions with updated v8 version and a bug fix. It also contains the latest version of RedisInsight.
Improvements
Redis Search:
Time series:
Triggers and Functions:
Bug Fixes
Redis Search:
GEOSHAPE accepting just prefix instead of complete predicate (MOD-6663)FT.CURSOR READ in a numeric query causing a crash (MOD-6597) [critical bug]FT.PROFILE with incorrect arguments could cause a crash on cluster setup (MOD-6791) [critical bug]FT.SEARCH accessing an inexistent memory address causes a crash if using the deprecated FT.ADD command (MOD-6599) [critical bug]JSON:
Triggers and Functions:
Redis version:
Module versions
Recommended Client Libraries
Compatible with RedisInsight. The docker image redis/redis-stack for this version is bundled with RedisInsight 2.46.
Note: version numbers follow the pattern:
x.y.z-b
x.y Redis major versionz increases with even numbers as a module x.y version increases.b denotes a patch to Redis or a module (any z of Redis or modules). b will consist of a v + numeric value.This is a maintenance release for Redis Stack Server 7.2.0.
Update urgency: MODERATE: Program an upgrade of the server, but it's not urgent.
This version contains the latest search and query capability with an improvement for memory allocation patterns on the memory used to query GEOSHAPE types, and several bug fixes. This release also includes the latest probabilistic data structures with a fix for a potential crash, and triggers and functions capability with an updated v8 version. It also contains the latest version of RedisInsight.
Improvements
GEOSHAPE types (MOD 6431)Bug Fixes
Redis Search:
INFIX and SUFFIX report on FT.EXPLAIN and FT.EXPLAINCLI (MOD-6186)TAG indexed with WITHSUFFIXTRIE (MOD-6644)FT.SEARCH hangs forever without replying when an invalid topology is found (MOD-6557)Probabilistic data structures:
CMS.MERGE when using invalid argumentsTriggers and Functions:
Redis version:
Module versions
Recommended Client Libraries
Compatible with RedisInsight. The docker image redis/redis-stack for this version is bundled with RedisInsight 2.44.
Note: version numbers follow the pattern:
x.y.z-b
x.y Redis major versionz increases with even numbers as a module x.y version increases.b denotes a patch to Redis or a module (any z of Redis or modules). b will consist of a v + numeric value.This is a maintenance release for Redis Stack Server 7.2.0.
Update urgency: HIGH: There is a critical bug fixed in the probabilistic data structures that may affect a subset of users. Upgrade!
This version contains the latest probabilistic data structures with a critical bug fix, as well as the latest JSON data structure with a breaking change to revert JSONPath default path value from $ to . under RESP3, and a fix for RediSearch deadlock. This version contains the latest version of RedisInsight.
Improvements
Bug Fixes
JSON:
Probabilistic data structures:
Redis version:
Module versions
Recommended Client Libraries
Compatible with RedisInsight. The docker image redis/redis-stack for this version is bundled with RedisInsight 2.40.
Note: version numbers follow the pattern:
x.y.z-b
x.y Redis major versionz increases with even numbers as a module x.y version increases.b denotes a patch to Redis or a module (any z of Redis or modules). b will consist of a v + numeric value.This is a maintenance release for Redis Stack Server 7.2.0.
Update urgency: SECURITY: there are security fixes in the release.
This version contains security fixes for the Redis server to properly handle the resizing of memory buffers, as well as security fixes for probabilistic data structures to avoid potential crashes. The new Redis Stack version also contains several improvements and bug fixes for the Redis Search capability, including fixes of critical bugs. It also offers the latest time series data structure, the latest Triggers and Functions capability with various improvements and bug fixes, and it contains the latest version of RedisInsight.
Security and privacy
Redis:
Probabilistic data structures:
Improvements
Redis Search:
FT.INFO (MOD-5364)FT.INFO report (MOD-6198)FT.SEARCH on cluster setup (MOD-6278)TIMEOUT, MAXPREFIXEXPANSION warnings in RESP3 replies (MOD-6234)FT.PROFILE report (MOD-6184)FAIL timeout policy (MOD-5990)INTERSECTION (AND) of UNION (OR) (MOD-5910)ON_TIMEOUT RETURN (MOD-5966)FT.PROFILE (MOD-6002)Triggers and Functions:
Bug Fixes
Redis:
FT.AGGREGATE with LOAD stage failing to buffer the right results potentially causing a crash (MOD-6385)Redis Search:
FT.AGGREGATE using the WITHCURSOR flag with - clause causes a crash due to timeout (MOD-5512)JSON documents while querying it causing a crash due to deadlock (MOD-5769, MOD-5895, MOD-6189, MOD-5895)FT.AGGREGATE causes a crash on RESP3 replies (MOD-6250, MOD-6295)ON_TIMEOUT FAIL\RETURN policies in the cluster setup not being respected (MOD-6035, MOD-5948, MOD-6090)FT.SEARCH not responding when using TLS encryption on Amazon Linux 2 (MOD-6012)FT.SEARCH (MOD-5911)FT.AGGREGATE (MOD-5209)FT.CURSOR READ with geo queries causing a crash when data is updated between the cursor reads (MOD-5646)Time series:
Probabilistic data structures:
TOPK.ADD and TOPK.QUERY crash when an item name is an empty string (RED-114676)Triggers and Functions:
Redis version:
Module versions
Recommended Client Libraries
Compatible with RedisInsight. The docker image redis/redis-stack for this version is bundled with RedisInsight 2.40.
Note: version numbers follow the pattern:
x.y.z-b
x.y Redis major versionz increases with even numbers as a module x.y version increases.b denotes a patch to Redis or a module (any z of Redis or modules). b will consist of a v + numeric value.This is a maintenance release for Redis Stack Server 7.2.0.
Update urgency: HIGH: There is a critical bug that may affect a subset of users. Upgrade!
This version contains the latest Search and Query with various improvements and fixes for critical bugs, triggers and functions with an updated v8 version, as well as new JSON, time series, and probabilistic data structures with several improvements. The new version introduces support for RHEL 9 and Rocky Linux 9. It also includes the latest version of RedisInsight.
Improvements
Search and Query:
JSON:
Time series:
Probabilistic data structures:
Bug Fixes
Redis:
Search and Query:
WITHCURSOR making memory growth since CURSOR wasn't invalidated in the shards (MOD-5580)Triggers and Functions:
Redis version
Module versions
Recommended Client Libraries
Compatible with RedisInsight. The docker image redis/redis-stack for this version is bundled with RedisInsight 2.36.
Note: version numbers follow the pattern:
x.y.z-b
x.y Redis major versionz increases with even numbers as a module x.y version increases.b denotes a patch to Redis or a module (any z of Redis or modules). b will consist of a v + numeric value.This is a maintenance release for Redis Stack Server 7.2.0.
Update urgency: SECURITY: There are security fixes in the release.
This version contains a security fix for the Redis server to avoid bypassing desired Unix socket permissions on startup, as well as several improvements and bug fixes.
Security and privacy
listen(2) and chmod(2) calls creates a
race condition that can be used by another process to bypass desired Unix
socket permissions on startup.Improvements
Bug Fixes
Redis version
Module versions
Recommended Client Libraries
Compatible with RedisInsight. The docker image redis/redis-stack for this version is bundled with RedisInsight 2.34.
Note: version numbers follow the pattern:
x.y.z-b
x.y Redis major versionz increases with even numbers as a module x.y version increases.b denotes a patch to Redis or a module (any z of Redis or modules). b will consist of a v + numeric value.This is a maintenance release for Redis Stack Server 7.2.0.
Update urgency: SECURITY: There are security fixes in the release.
This version contains the latest Search and Query capability v. 2.8.8, and triggers and functions v. 2.0.13 with various improvements, security fixes for Search and Query, and several bug fixes. It also includes the latest version of RedisInsight.
Security and privacy
Improvements
Bug Fixes
Search and Query:
lower() and upper() functions on APPLY stage in FT.AGGREGATE in DIALECT 3MAXIDLE parameter value in FT.AGGREGATE causes a crashLOAD step after a FILTER step could cause a crash on FT.AGGREGATEAPPLY or FILTER parser leakTriggers and Functions:
Redis version
Module versions
Recommended Client Libraries
Compatible with RedisInsight. The docker image redis/redis-stack for this version is bundled with RedisInsight 2.34.
Note: version numbers follow the pattern:
x.y.z-b
x.y Redis major versionz increases with even numbers as a module x.y version increases.b denotes a patch to Redis or a module (any z of Redis or modules). b will consist of a v + numeric value.This is a maintenance release for Redis Stack Server 7.2.0.
Update urgency: SECURITY: There are security fixes in the release.
This version contains security improvements for time series to not expose internal commands and several bug fixes for triggers and functions.
Security and privacy
Bug Fixes
Redis version
Module versions
Recommended Client Libraries
Compatible with RedisInsight. The docker image redis/redis-stack for this version is bundled with RedisInsight 2.32.
Note: version numbers follow the pattern:
x.y.z-b
x.y Redis major versionz increases with even numbers as a module x.y version increases.b denotes a patch to Redis or a module (any z of Redis or modules). b will consist of a v + numeric value.This is a maintenance release for Redis Stack Server 7.2.0
Update urgency: SECURITY: There are security fixes in the release.
This version contains security fixes for the Redis server for cases when users may access keys that are not explicitly authorized by the ACL configuration using the SORT_RO command.
Security Fixes
Bug Fixes
Redis version
Module versions
Recommended Client Libraries
Compatible with RedisInsight. The docker image redis/redis-stack for this version is bundled with RedisInsight 2.32.
Note: version numbers follow the following pattern:
x.y.z-b
x.y Redis major versionz increases with even numbers as a module x.y version increases.b denotes a patch to Redis or a module (any z of Redis or modules). b will consist of a v + numeric value.This is a GA release of Redis Stack version 7.2.
Redis server 7.2 introduces significant memory and speed optimizations for lists, sets, and sorted sets, several improvements, including encoding improvements for sets and lists, stream consumer group improvements, and improved durability. Search and Query brings the frequently asked Geo polygons queries for basic shapes and improved query performance on sorting in different scenarios. JSON introduces two new commands: JSON.MERGE and JSON.MSET for more efficient data manipulation. Preview of triggers and functions that allows developers to run JavaScript functions inside the Redis process. Lastly, 7.2 adds the option to use the new protocol RESP3 improving the response format for all commands.
Redis server:
Redis server 7.2 brings performance and resource utilization improvements, including significant memory and speed optimizations for lists, sets, and sorted sets. This new version adds a new WITHSCORE command argument for ZRANK and ZREVRANK, new commands, such as CLIENT NO-TOUCH for clients to run commands without affecting LRU/LFU of keys, and more. Redis 7.2 brings behavior changes by introducing a new format (version 11) for RDB files, which is incompatible with older versions, changing module API, and other changes.
Search and Query:
This new major version introduces the frequently asked Geo Polygon Search. Adding the GEOSHAPE field type that supports polygon shapes using the WKT notation. In addition to the existing GEO for geo range queries, now an alias for GEOPOINT, we add GEOSHAPE with the support for POLYGON and POINT as new shapes formats and polygons operations.
In addition, 7.2 brings improvements in performance for SORT BY operations using FT.SEARCH and FT.AGGREGATE, and the new FORMAT for better readability and future support for better error handling responses on FT.SEARCH and FT.AGGREGATE in RESP3 only.
JSON: JSON introduces two new commands:
Graph:
Graph capabilities are no longer included in Redis Stack. See the RedisGraph End-of-Life Announcement.
[!WARNING]
If you are using graph capabilities with an older version of Redis Stack - please don't upgrade.
Triggers and functions preview: Triggers and functions is part of Redis Stack 7.2 as public preview, any feedback is highly appreciated.
Triggers and functions provides support for running JavaScript functions inside the Redis process. These functions can be executed on-demand, by an event-driven trigger, or by a stream processing trigger. Triggers and functions empowers developers to build and maintain real-time applications by moving logic closer to the data, ensuring a lower latency whilst delivering the best developer experience.
Try it out with the triggers and functions quick start.
Find more details about features and optimizations introduced with Redis Stack 7.2 here:
Redis version
Module versions
Recommended Client Libraries
Compatible with the latest RedisInsight. The docker image redis/redis-stack for this version is bundled with RedisInsight 2.30.
Note: version numbers follow the pattern:
x.y.z-b
x.y Redis major versionz increases with even numbers as a module x.y version increases.b denotes a patch to Redis or a module (any z of Redis or modules). b will consist of a v + numeric value.This is the third release of Redis Stack version 7.2.0.
Update urgency: SECURITY: there are security fixes in the release.
This version contains security improvements for the Redis server.
Features
Improvements
Changed Behavior
Bug Fixes
<count>Redis version
Module versions
Recommended Client Libraries
Compatible with RedisInsight. The docker image redis/redis-stack for this version is bundled with RedisInsight 2.26.
Note: version numbers follow the pattern:
x.y.z-b
x.y Redis major versionz increases with even numbers as a module x.y version increases.b denotes a patch to Redis or a module (any z of Redis or modules). b will consist of a v + numeric value.This is the second release of Redis Stack version 7.2.0.
This version contains a new capability - Triggers and Functions, improvements to the Search and Query capability, and improvements to the JSON, time series and probabilistic data structures. It also includes the latest version of RedisInsight.
The new Search and Query version introduces new and frequently asked Geo Polygon Search. Adding the GEOSHAPE field type that supports polygon shapes using WKT notation. Besides the current GEO (alias for GEOPOINT) used already geo range queries, we add the support for POLYGON as new shapes. In addition, it brings improvements in performance for SORT BY operations using FT.SEARCH and FT.AGGREGATE.
This release includes a new capability - Triggers and Functions that brings the ability to execute and trigger business logic inside Redis using JavaScript (JS). Detailed documentation and examples can be found in this GitHub repository. The Triggers and Functions commands are aligned with the Redis Functions command. The API is not yet final and might change based on feedback. Any feedback is highly appreciated.
Features
Search and Query:
GEOSHAPE field type to map polygons in the SCHEMA on FT.CREATE.POLYGON using WKT notation, for example POLYGON((x1 y1, x2 y2, ...)).FT.SEARCH for Polygons using the predicate @geom:[OPERATOR $poly] and defining polygon in WKT format as PARAMS 2 poly "POLYGON((10 20, ...))" using DIALECT 3.WITHIN and CONTAINS operators with GEOSHAPES for now.SPHERICAL).FT.SEARCH and FT.AGGREGATE as default on DIALECT 4. It will improve performance in 4 different scenarios, listed below:
LIMIT requested results.SORTBY a numeric field, with no filter or filter by the same numeric field, the query iterate on a range large enough to satisfy the LIMIT requested results.SORTBY a numeric field in addition to another non-numeric filter. Some results will get filtered, and the initial range may not be large enough. The iterator then is rewinded with the following ranges, and an additional iteration takes place to collect LIMIT requested results.WITHCOUNT argument that allow return accurate counts for the query results with sorting. This operation processes all results in order to get accurate count, being less performant than the optimised option (default behaviour on DIALECT 4).JSON:
JSON.MERGE in compliance with RFC 7396, supporting:
null as value)JSON.MSET, supporting atomic multiple sets for keys in the same hash slot.Triggers and Functions:
TFUNCTION and TFCALL is used instead of RG.FUNCTION and RG.FCALL.TFCALL combines the library and function in a single argument with '.' separated. Example: TFCALL <library_name>.<function_name>.TFCALLASYNC. Clients rely on TFCALL to never block shared connections so other commands are not delayed on such connections.Improvements
Search and Query:
Triggers and Functions:
Changed Behavior
Bug Fixes
Search and Query:
FT.AGGREGATE reducer (REDUCE argument) isn't return results.@ prefix on GROUPBY fields returnig an error instead of wrong results.JSON:
JSON.TOGGLE key space notification fix.Time series:
Triggers and Functions:
Redis version
Module versions
Recommended Client Libraries
Compatible with the latest RedisInsight. The docker image redis/redis-stack for this version is bundled with RedisInsight 2.26.
Note: version numbers follow the pattern:
x.y.z-b
x.y Redis major versionz increases with even numbers as a module x.y version increases.b denotes a patch to Redis or a module (any z of Redis or modules). b will consist of a v + numeric value.This is the first release of Redis Stack version 7.2.0.
This version contains the latest Search and Query capability, JSON capability, and a new version of RedisInsight.
The latest Search and Query capability introduces new and frequently asked Geo Polygon Search. Adding the GEOMETRY field type that supports polygon shapes using WKT notation. In addition, it brings improvements in performance for SORT BY operations using FT.SEARCH and FT.AGGREGATE.
The latest JSON capability introduces the new JSON.MERGE in compliance with RFC 7396, and JSON.MSET, which supports atomic multiple sets for keys in the same hash slot.
Features
Search and Query:
GEOMETRY field type to map polygons in the SCHEMA on FT.CREATEPOLYGON((x1 y1, x2 y2, ...))FT.SEARCH for Polygons using the predicate @geom:[OPERATOR $poly] and defining polygon in WKT format as PARAMS 2 poly "POLYGON((10 20, ...))" using DIALECT 3WITHIN and CONTAINS operators with Geometries onlyOPTIMIZE keyword to SORTBY queries using FT.SEARCH and FT.AGGREGATE that improve performance in 4 different scenarios:
LIMIT requested results.SORTBY numeric field, with no filter or filter by the same numeric field, the query iterate on a range large enough to satisfy the LIMIT requested results.SORTBY numeric field in addition to another non-numeric filter. Some results will get filtered, and the initial range may not be large enough. The iterator then is rewinded with the following ranges, and an additional iteration takes place to collect the LIMIT requested results.JSON:
JSON.MERGE in compliance with RFC 7396, supporting:
null as value)JSON.MSET, supporting atomic multiple sets for keys in the same hash slotImprovements
Changed Behavior
nilBug Fixes
REPLICAOF causing a failureTIMEOUT configuration on FT.AGGREGATE query being ignorednumEntries avoiding excessive memory consumptionFT.CURSOR READ on JSON numeric queries not returning resultsRedis version
Module versions
Recommended Client Libraries
Compatible with the latest RedisInsight. The docker image redis/redis-stack for this version is bundled with RedisInsight 2.26.
Note: version numbers follow the pattern:
x.y.z-b
x.y Redis major versionz increases with even numbers as a module x.y version increases.b denotes a patch to Redis or a module (any z of Redis or modules). b will consist of a v + numeric value.