Skip to content

Commit d74776f

Browse files
Update 8-0.md (#1542)
1 parent 43293c0 commit d74776f

File tree

1 file changed

+80
-81
lines changed
  • content/develop/whats-new

1 file changed

+80
-81
lines changed

content/develop/whats-new/8-0.md

Lines changed: 80 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -8,87 +8,86 @@ categories:
88
- operate
99
- rs
1010
- rc
11-
description: What's new in Redis 8 in Redis Open Source
12-
linkTitle: What's new in Redis 8.0
11+
description: What's new in Redis 8
12+
linkTitle: What's new in Redis 8
1313
weight: 5
1414
---
1515

16-
## Highlights
17-
18-
- **Name change**: Redis Community Edition is now **Redis Open Source**
19-
- **License options**:
20-
- Redis Source Available License 2.0 (RSALv2)
21-
- Server Side Public License v1 (SSPLv1)
22-
- GNU Affero General Public License (AGPLv3)
23-
24-
- **Integrated modules** now part of core:
25-
- JSON
26-
- Probabilistic: Bloom, Cuckoo, Count-min sketch, Top-K, and t-digest
27-
- Time Series
28-
- [Vector sets (preview)]({{< relref "/develop/data-types/vector-sets/" >}})
29-
- [Redis Query Engine]({{< relref "/develop/interact/#search-and-query" >}}) with horizontal & vertical scaling
30-
- All components available in Redis binary distributions
31-
- New config file: `redis-full.conf` for full component loading
32-
33-
## New Commands
34-
35-
- **Hash with expiration support**:
36-
- `HGETDEL` – get and delete hash field
37-
- `HGETEX`, `HSETEX` – get/set hash fields with expiration
38-
- **Field TTL & expiration (7.4+)**:
39-
- `HEXPIRE`, `HPEXPIRE`, `HEXPIREAT`, `HPEXPIREAT`
40-
- `HPERSIST`, `HEXPIRETIME`, `HPEXPIRETIME`, `HTTL`, `HPTTL`
41-
- **Other command additions**:
42-
- `XREAD +` – read latest stream entry
43-
- `HSCAN NOVALUES` – scan hash field names only
44-
- `SORT` in cluster mode with `BY` and `GET`
45-
- `CLIENT KILL MAXAGE`
46-
- Lua: `os.clock()` now available
47-
- `SPUBLISH` in `MULTI/EXEC` transactions on replicas
48-
- [Vector set command group (preview)]({{< relref "/commands/?group=vector_set" >}})
49-
50-
## Internal Architecture
51-
52-
- **I/O threading overhaul**: read+write threading for higher throughput
53-
- **Replication**: improved mechanism with AOF offset support
54-
- **Over 30 performance optimizations**:
55-
- Optimized: `GET`, `EXISTS`, `LRANGE`, `HSET`, `XREAD`, `SCAN`, `ZADD`, `ZUNION`, `PFCOUNT`, `HSCAN`, and more
56-
- Improved latency, memory, and CPU utilization
57-
58-
## Security
59-
60-
- CVE-2024-46981: Lua RCE
61-
- CVE-2024-51741: ACL DoS
62-
- CVE-2024-31449, 31227, 31228: DoS in Lua/ACLs
63-
64-
## Packaging
65-
66-
Redis 8 in Redis Open Source is available in the following distributions:
67-
68-
- [Docker](https://hub.docker.com/_/redis)
69-
- APT
70-
- RPM
71-
- Snap
72-
- Homebrew
73-
- Pre-built binaries
74-
- [Source code](https://github.com/redis/redis/releases/tag/8.0-rc1)
75-
76-
## Observability
77-
78-
- New `INFO` sections:
79-
- `KEYSIZES`, `Threads`
80-
- Hash expiration stats
81-
- Client buffer disconnection counters
82-
- Dictionary memory rehashing
83-
- Script eviction stats
84-
85-
## Upgrades & Support
86-
87-
- Supports upgrade from:
88-
- Redis 7.x with or without modules
89-
- Redis Stack 7.2 and 7.4
90-
- Supported operating systems:
91-
- Ubuntu 20.04 / 22.04 / 24.04
92-
- Debian 11 / 12
93-
- macOS 13–15
94-
- Rocky/Alma Linux 8.10 / 9.5
16+
Redis 8.0 introduces powerful new capabilities, including the beta release of the Vector Set data structure, designed for AI use cases such as semantic search and recommendation systems.
17+
18+
This release also delivers over 30 performance improvements, including:
19+
- Up to 87% faster command execution
20+
- Up to 2x higher throughput
21+
- Up to 18% faster replication
22+
23+
Additionally, the Redis Community Edition has been renamed to Redis Open Source, marking a shift toward a unified, modern distribution. This version offers the full power of Redis — no modules, no fragmentation — just Redis.
24+
25+
Below is a detailed breakdown of these updates.
26+
27+
## New features
28+
### Vector set [beta]
29+
The new `Vector set` data structure supports high-dimensional vector similarity search, which is ideal for AI use cases such as semantic search and recommendation systems. Vector set complements Redis’s existing vector search capabilities via the Query Engine and is currently available in beta. APIs and behaviors may change in future releases.
30+
31+
### New hash commands
32+
Redis 8 builds on Redis 7.4’s introduction of field-level expiration in hashes and adds three new commands for working with hashes:
33+
- [HGETEX](https://redis.io/docs/latest/commands/hgetex/): Fetch a hash field and optionally set an expiration
34+
- [HSETEX](https://redis.io/docs/latest/commands/hsetex/): Set a hash field and optionally set an expiration
35+
- [HGETDEL](https://redis.io/docs/latest/commands/hgetdel/): Fetch and delete a hash field
36+
37+
These commands simplify common caching and session management usage patterns.
38+
39+
## Improvements
40+
### Redis Query Engine Improvements
41+
The Redis Query Engine allows users to use Redis as a document database, a vector database, a secondary index, and a search engine. With Redis Query Engine, users can define indexes for hash and JSON documents, and use a rich query language for vector search, full-text search, geospatial queries, and aggregations.
42+
43+
Use cases include:
44+
45+
- Vector Search: Search based on semantic similarity using vector embeddings stored in `JSON` or `hashes`
46+
- Exact Matching: Lookups using filters, tags, and ranges
47+
- Full-Text Search: Supports stemming, synonyms, and fuzzy matching
48+
49+
The Redis Query Engine powers a wide range of applications, from AI retrieval-augmented generation (RAG) systems to full-featured search engines.
50+
51+
### Access Control Improvements
52+
Access Control Lists (ACLs) have been updated to support the new data structures introduced in Redis 8. Existing ACL categories such as `@read` and `@write` now include commands for `JSON`, `time series`, `VECTOR`, and `probabilistic` data structures.
53+
54+
These updates allow for more precise control over which operations users can perform on each data structure.
55+
56+
### Performance improvements
57+
Redis 8 delivers the largest performance leap in Redis history with over 30 optimizations, including:
58+
- Up to 87% lower command latency
59+
- 2x throughput in multi-threaded workloads
60+
- 35% memory savings for replica nodes
61+
- 16x more query processing capacity with horizontal and vertical scaling
62+
63+
These improvements benefit both single-node and clustered deployments. More details are available in the [Redis 8 GA](https://redis.io/blog/redis-8-ga/) blog post.
64+
65+
## Changes
66+
67+
### Breaking changes
68+
#### ACL behavior
69+
Commands from included modules are now covered under standard categories (e.g., `+@read`, `+@write`). A user with `+@all` `-@write` will no longer be able to execute `FT.SEARCH` as they could before.
70+
Explicit inclusion of new command categories is required to maintain access.
71+
72+
#### Redis Query Engine
73+
The following changes affect behavior and validation in the Redis Query Engine:
74+
- Enforces validation for `LIMIT` arguments (offset must be 0 if limit is 0).
75+
- Enforces parsing rules for `FT.CURSOR READ` and `FT.ALIASADD`.
76+
- Parentheses are now required for exponentiation precedence in `APPLY` expressions.
77+
- Invalid input now returns errors instead of empty results.
78+
- Default values revisited for reducers like `AVG`, `COUNT`, `SUM`, `STDDEV`, `QUANTILE`, and others.
79+
- Updates to scoring (`BM25` is now the default instead of `TF-IDF`).
80+
- Improved handling of expired records, memory constraints, and malformed fields.
81+
82+
For a full list of the Redis Query Engine-related changes, see the [release notes](https://github.com/redis/redis/releases).
83+
84+
### Other changes
85+
#### One Redis
86+
Over time, Redis introduced several modules to address new use cases such as search, vector similarity, time series analysis, and probabilistic modeling. While these modules extended Redis’s functionality, managing version compatibility and module installation introduced friction.
87+
88+
Redis Stack partially solved this by bundling modules together, but it also created fragmentation across the ecosystem.
89+
90+
Redis 8 merges Redis Stack and Redis Community Edition into a single unified distribution: Redis Open Source. All previously modular functionality is now built into the Redis Open Source package, eliminating the need to manage separate modules. You now get a single, consistent feature set across all deployments.
91+
92+
## Component versions
93+
Redis 8.0 delivers just Redis — no modules, no fragmentation.

0 commit comments

Comments
 (0)