Skip to content

Commit d79980d

Browse files
Merge pull request #2 from ViktarStarastsenka/feature-sets
Adding a draft for Redis versions
2 parents e72303d + 2ef3114 commit d79980d

File tree

4 files changed

+193
-0
lines changed

4 files changed

+193
-0
lines changed

content/develop/redis-versions/6-2

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
title: Redis 6.2
3+
alwaysopen: false
4+
categories:
5+
- docs
6+
- operate
7+
- rs
8+
- rc
9+
description: Highlights of what's new for Redis 6.2
10+
linkTitle: Redis 6.2
11+
weight: 8
12+
---
13+
14+
Redis version 6.2 introduces new capabilities designed to improve data indexing, querying, and analytics. This update brings multi-value indexing, expanded wildcard query support, and a new probabilistic data structure for quantile estimation. Additionally, significant enhancements to Redis Streams and time series data processing offer greater flexibility for developers working with real-time and historical datasets. Over 25 new commands have been added, addressing key feature requests and further extending Redis' functionality.
15+
Below is a detailed breakdown of these improvements.
16+
17+
## New features
18+
19+
### Multi-value indexing and querying
20+
Redis now supports indexing and querying multi-value attributes across all field types, including `TEXT`, `TAG`, `NUMERIC`, `GEO`, and `VECTOR`. Developers can define JSONPath expressions leading to arrays or multiple scalar values, overcoming the previous limitation of indexing only single scalar attributes.
21+
22+
### Wildcard query support
23+
The Redis Query Engine now enables suffix and infix wildcard searches for `TEXT` and `TAG` fields. This enhancement provides greater flexibility in data retrieval and filtering.
24+
25+
### t-digest: a new probabilistic data structure for quantile estimation
26+
Redis introduces t-digest, an advanced probabilistic data structure that efficiently estimates quantiles in large datasets or continuous data streams. This is particularly beneficial for analytics and monitoring applications where quantile calculations are required.
27+
28+
### Retrieve aggregation results for ongoing time series buckets
29+
A new feature allows users to retrieve the latest, still-open time series buckets during compaction.
30+
31+
### Time-weighted average aggregator for time series
32+
Redis now includes a time-weighted average aggregator, improving accuracy in average-over-time calculations. This feature is especially valuable for time series data with irregular sampling intervals.
33+
34+
### Gap-filling for time series data
35+
To improve time series analytics, Redis introduces gap-filling capabilities. This feature allows interpolation of missing values or repetition of the last known value for empty time buckets, ensuring continuity in time series analysis.
36+
37+
## Improvements
38+
### Existing data structures
39+
Redis 6.2 introduces over 25 new commands, fulfilling long-standing community requests. Notably:
40+
41+
- The long-awaited `ZUNION` and `ZINTER` commands now allow direct retrieval of results, unlike `ZUNIONSTORE` and `ZINTERSTORE`, which store results in a key.
42+
- Redis Streams enhancements include:
43+
- Support for exclusive range queries, providing finer control over data retrieval.
44+
- The ability to filter pending messages based on idle time, improving message management.
45+
- A new mechanism to automatically claim pending messages from a stream consumer group, transferring ownership of messages that have exceeded their idle timeout to a new consumer without requiring manual acknowledgment.
46+
47+
## Component versions
48+
The Redis version 6.2 is built upon the following component versions:
49+
50+
- [Redis 6.2](https://github.com/redis/redis/blob/6.2/00-RELEASENOTES)
51+
- [Search 2.6](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/release-notes/redisearch/redisearch-2.6-release-notes/)
52+
- [JSON 2.4](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/release-notes/redisjson/redisjson-2.4-release-notes/)
53+
- [Time series 1.8](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/release-notes/redistimeseries/redistimeseries-1.8-release-notes/)
54+
- [Bloom 2.4](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/release-notes/redisbloom/redisbloom-2.4-release-notes/)
55+
- [Graph 2.10](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/release-notes/redisgraph/redisgraph-2.10-release-notes/)

content/develop/redis-versions/7-2

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
---
2+
title: Redis 7.2
3+
alwaysopen: false
4+
categories:
5+
- docs
6+
- operate
7+
- rs
8+
- rc
9+
description: Highlights of what's new for Redis 7.2
10+
linkTitle: Redis 7.2
11+
weight: 9
12+
---
13+
14+
Redis version 7.2 introduces new capabilities, including improved geospatial queries, streamlined JSON data manipulation, and the public preview of Triggers and Functions for event-driven processing (not included in 7.4 and later). Performance optimizations, client-side enhancements, and behavioral refinements further improve Redis' efficiency, security, and usability.
15+
Below is a detailed breakdown of these updates.
16+
17+
## New features
18+
19+
### Geospatial queries with polygon search
20+
Redis Query Engine now supports querying geospatial data using polygon search, enabling developers to efficiently filter and retrieve data within complex geographic boundaries.
21+
22+
### Streamlined data manipulation in JSON
23+
JSON now includes two new commands for improved data handling:
24+
25+
- `JSON.MERGE`: Merges a given JSON value into matching paths, allowing more flexible updates.
26+
- `JSON.MSET`: Sets or updates multiple JSON values simultaneously based on specified key-path-value triplets, improving efficiency when handling structured data.
27+
28+
### Public preview: Triggers and Functions (not included in 7.4 and later)
29+
Redis introduces the public preview of Triggers and Functions, an event-driven engine for executing TypeScript/JavaScript code within Redis. This feature enables efficient in-database data processing, reducing reliance on external computation. It also supports cross-shard read operations, which were previously unavailable with Lua scripts.
30+
31+
## Improvements
32+
### Existing data structures
33+
Significant performance improvements have been made across Redis data types. Sorted sets, commonly used for gaming leaderboards, now see performance improvements ranging from [30% to 100%](https://redis.io/blog/introducing-redis-7-2/#:~:text=We%20made%20Redis%20more%20powerful%20for%20developers).
34+
35+
Additionally, Redis stream consumer tracking has been enhanced to provide better visibility into consumer activity, and blocked stream commands now return a distinct error when the target key no longer exists.
36+
37+
### Redis Query Engine improvements
38+
The Redis Query Engine has received several updates, including optimized `SORT BY` operations and the addition of a new `FORMAT` response in RESP3, improving both efficiency and readability.
39+
40+
### Script execution enhancemets
41+
Client-side tracking now monitors actual keys read during script execution, improving key usage tracking accuracy. Additionally, blocked commands will re-evaluate security checks before execution, ensuring compliance with updated permissions. Standardized ACL failure messages and error codes now provide clearer error handling.
42+
43+
### Client and replication enhancements
44+
TLS-based replication now supports Server Name Indication (SNI) to improve compatibility with secure deployments. The `HELLO` command behavior has also been refined to modify client state only upon successful execution, ensuring more predictable client behavior.
45+
46+
47+
## Changes
48+
49+
### Breaking changes
50+
Redis 7.2 introduces several backward-incompatible changes. Lua scripts no longer support the print() function, blocking of `PFCOUNT` and `PUBLISH` in read-only scripts, and time sampling freezing during command execution. Error handling updates include case changes in error responses, new behavior for `ZPOPMIN/ZPOPMAX` with count 0, and adjustments to `XCLAIM/XAUTOCLAIM`. ACL changes affect command categorization and key access permissions, while command introspection now includes per-subcommand stats. Redis now allows certain CONFIG commands during loading and tracks stats only when commands execute.
51+
52+
For more details, see [Redis 7.2 Breaking Changes](https://redis.io/docs/latest/embeds/r7.2-breaking-changes/).
53+
54+
### Expired keys are now deleted from replica indexes
55+
Expired keys are now deleted from Redis Query Engine replica indexes, ensuring that queries return an empty array rather than nil when the data no longer exists.
56+
57+
### Other changes
58+
Redis Stack 7.2 no longer includes Graph capabilities. For more details, refer to the [RedisGraph End-of-Life Announcement](https://redis.io/blog/redisgraph-eol/#:~:text=After%20January%2031%2C%202025%2C%20RedisGraph,subscriptions%20until%20January%2031%2C%202024.).
59+
60+
## Component versions
61+
The Redis version 7.2 includes the following components:
62+
63+
- [Redis 7.2](https://github.com/redis/redis/blob/7.2/00-RELEASENOTES)
64+
- [Search 2.8](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/release-notes/redisearch/redisearch-2.8-release-notes/)
65+
- [JSON 2.6](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/release-notes/redisjson/redisjson-2.6-release-notes/)
66+
- [Time series 1.10](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/release-notes/redistimeseries/redistimeseries-1.10-release-notes/)
67+
- [Bloom 2.6](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/release-notes/redisbloom/redisbloom-2.6-release-notes/)
68+
- [Gears 2.0](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/deprecated-features/triggers-and-functions/)

content/develop/redis-versions/7-4

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
title: Redis 7.4
3+
alwaysopen: false
4+
categories:
5+
- docs
6+
- operate
7+
- rs
8+
- rc
9+
description: Highlights of what's new for Redis 7.4
10+
linkTitle: Redis 7.4
11+
weight: 10
12+
---
13+
14+
Redis 7.4 introduces several new features and improvements aimed at enhancing memory efficiency, performance, and ease of use for various applications. These updates include support for hash field expiration, new memory-efficient data types for AI workloads, simplified secondary indexing, and time series optimizations. Additionally, Redis 7.4 brings several behavior and component changes.
15+
16+
## New features
17+
18+
### Hash field expiration support
19+
20+
Redis 7.4 adds the ability to set expiration times for individual hash fields or adjust their remaining TTL. This feature, long-requested by users, improves memory efficiency and performance, especially in caching and session storage scenarios.
21+
22+
### New memory-efficient data types for AI workloads
23+
With the growing demand for AI applications, Redis 7.4 introduces `bfloat16` and `float16` data types. These new types reduce memory usage by up to 47% and lower latency by as much as 59% under load, making them ideal for storing and processing vector embeddings in AI-powered applications, including vector databases and Retrieval Augmented Generation (RAG) systems.
24+
25+
### Time series optimization with insertion filters
26+
Redis 7.4 introduces insertion filters for time series data, allowing sensors to ignore new measurements when the differences in time or value are minimal. This feature helps reduce the size of time series data and boosts efficiency.
27+
28+
## Improvements
29+
30+
### Simplified secondary indexing
31+
The Redis Query Engine now offers a more straightforward approach to secondary indexing with the addition of the `TAG` index type. Querying tags with special characters (like `@` and `.`) is easier, as it no longer requires escaping; simply wrap query terms in double quotes. The update also includes improved handling of empty and missing fields, making the data model more flexible. Geospatial search has been enhanced with new operators, such as `INTERSECT` and `DISJOIN`, and memory usage reporting for indexes has been improved.
32+
33+
## Changes
34+
35+
### Behavior changes
36+
Redis 7.4 includes behavior changes such as using jemalloc instead of libc for allocating Lua VM code. This adjustment reduces memory fragmentation and improves performance. Additionally, the `ACL LOAD` command has been modified to ensure that only clients with affected user configurations are disconnected, reducing unnecessary disruptions.
37+
38+
### Other changes
39+
Redis Stack 7.4 no longer includes Triggers and Functions due to low adoption during its public preview. This removal simplifies Redis and ensures that resources are focused on the most widely used features.
40+
41+
## Component versions
42+
The Redis version 7.4 includes the following components:
43+
44+
- [Redis 7.4](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/release-notes/redisce/redisce-7.4-release-notes/)
45+
- [Search 2.10](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/release-notes/redisearch/redisearch-2.10-release-notes/)
46+
- [JSON 2.8](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/release-notes/redisjson/redisjson-2.8-release-notes/)
47+
- [Time series 1.12](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/release-notes/redistimeseries/redistimeseries-1.12-release-notes/)
48+
- [Bloom 2.8](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/release-notes/redisbloom/redisbloom-2.8-release-notes/)
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: Redis versions
3+
alwaysopen: false
4+
categories:
5+
- docs
6+
- operate
7+
- rs
8+
- rc
9+
description: Highlights of what's new for Redis versions
10+
linkTitle: Redis versions
11+
weight: 10
12+
---
13+
14+
A Redis version represents the complete set of features available in a specific Redis version.
15+
16+
The following Redis versions are supported and maintained:
17+
18+
- Redis version [7.4]({{< relref "/develop/redis-versions/7-4" >}})
19+
- Redis version [7.2]({{< relref "/develop/redis-versions/7-2" >}})
20+
- Redis version [6.2]({{< relref "/develop/redis-versions/6-2" >}})
21+
22+
To use a new feature introduced in a later Redis version, you must upgrade the corresponding components included in that Redis version.

0 commit comments

Comments
 (0)