This is the first release of Redis Stack version 7.4.0 which embeds the first release candidate of Redis 7.4 (release notes)
Headlines:
Data Structures:
Hash
: Redis now supports expiration of individual hash fields. Redis already supports key expiration. For each key - users can specify a time when the key should expire, or alternatively - specify the remaining time-to-live (TTL) after which the key would expire. One very frequent request was to allow specifying expiration time or TTL also for individual hash fields, which is now supported using 9 new Redis commands:
HEXPIRE
,HPEXPIRE
,HEXPIREAT
,HPEXPIREAT
- set the time when specific hash fields should expire, or the remaining time-to-live for specific fields.HTTL
,HPTTL
,HEXPIRETIME
,HPEXPIRETIME
- retrieve the time when specific hash fields should expire, or the remaining time-to-live for specific fieldsHPERSIST
- remove the expiration of specific hash fields
Note: There is a known issue when search and query indexes are not properly updated on field expiration that will be handled in the upcoming releases.
Streams
: It is now possible to start reading from the last stream message using XREAD
with the new id value +
.
There are many additional improvements, including new command arguments, security, performance and resource utilization enhancements, several new metrics and configuration parameters where introduced, and multiple bugs were fixed.
Time Series
: The latest time series data structures adds a highly requested feature: insertion-filter for close samples. Many sensors report data periodically. Often, the difference between the measured value and the previous measured value is negligible and related to random noise or to measurement accuracy limitations. When both the time difference and the value difference between the current and the previous sample are small, it may be preferable to ignore (not to add) the new measurement.
Search and query
New bfloat16
and float16
vector data types, reducing memory consumption for vectors while maintaining accuracy.
Support for indexing empty and missing values, as well as enhanced exact-matching queries.
Developers can now match TAG
terms without needing to escape special characters in the query, making the onboarding process and use of the query syntax more intuitive and enjoyable.
Geospatial search capabilities have been expanded with new INTERSECT
and DISJOINT
operators, and ergonomics have been improved by providing better reporting of the memory consumed by the index.
Removal of Triggers and functions
Redis Stack 7.4 will no longer include triggers and functions. To ensure a seamless upgrade, remove any T&F functions created before loading an RDB file into the new Redis Stack.
Details:
Find more details about features and optimizations introduced with Redis Stack 7.4 here:
Redis version:
Module versions
Recommended Client Libraries
- Java
- Python
- NodeJS
- .NET
- Go
Test new features in this Redis Stack release with the following beta versions of Client Libraries:
- Java
- Python
Compatible with Redis Insight. The docker image redis/redis-stack for this version is bundled with Redis Insight 2.50.
Note: Redis Insight 2.50 bundled with this release candidate does not support the expiration of individual hash fields.
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 (anyz
of Redis or Modules).b
will consist of av
+ numeric value.