|
| 1 | +--- |
| 2 | +title: Redis 8.0-RC1 |
| 3 | +alwaysopen: false |
| 4 | +categories: |
| 5 | +- docs |
| 6 | +- operate |
| 7 | +- rs |
| 8 | +- rc |
| 9 | +description: What's new in Redis 8.0-RC1 |
| 10 | +linkTitle: What's new in Redis 8.0-RC1 |
| 11 | +weight: 5 |
| 12 | +--- |
| 13 | + |
| 14 | +## Highlights |
| 15 | + |
| 16 | +- **Integrated modules** now part of core: |
| 17 | + - JSON |
| 18 | + - Probabilistic Time Series: Bloom, Cuckoo, Count-min sketch, Top-K, and t-digest |
| 19 | + - Time Series |
| 20 | + - [Vector Set (preview)]({{< relref "/develop/data-types/vector-sets/" >}}) |
| 21 | + - [Redis Query Engine]({{< relref "/develop/interact/#search-and-query" >}}) with horizontal & vertical scaling |
| 22 | + - All components available in Redis binary distributions |
| 23 | + - New config file: `redis-full.conf` for full component loading |
| 24 | + |
| 25 | +## New Commands |
| 26 | + |
| 27 | +- **Hash with expiration support**: |
| 28 | + - `HGETDEL` – get and delete hash field |
| 29 | + - `HGETEX`, `HSETEX` – get/set hash fields with expiration |
| 30 | +- **Field TTL & expiration (7.4+)**: |
| 31 | + - `HEXPIRE`, `HPEXPIRE`, `HEXPIREAT`, `HPEXPIREAT` |
| 32 | + - `HPERSIST`, `HEXPIRETIME`, `HPEXPIRETIME`, `HTTL`, `HPTTL` |
| 33 | +- **Other command additions**: |
| 34 | + - `XREAD +` – read latest stream entry |
| 35 | + - `HSCAN NOVALUES` – scan hash field names only |
| 36 | + - `SORT` in cluster mode with `BY` and `GET` |
| 37 | + - `CLIENT KILL MAXAGE` |
| 38 | + - Lua: `os.clock()` now available |
| 39 | + - `SPUBLISH` in `MULTI/EXEC` transactions on replicas |
| 40 | + - [Vector set command group (preview)] ({{< relref "/commands/?group=vector_set" >}}) |
| 41 | + |
| 42 | +## Internal Architecture |
| 43 | + |
| 44 | +- **I/O threading overhaul**: read+write threading for higher throughput |
| 45 | +- **Replication**: improved mechanism with AOF offset support |
| 46 | +- **Over 30 performance optimizations**: |
| 47 | + - Optimized: `GET`, `EXISTS`, `LRANGE`, `HSET`, `XREAD`, `SCAN`, `ZADD`, `ZUNION`, `PFCOUNT`, `HSCAN`, and more |
| 48 | + - Improved latency, memory, and CPU utilization |
| 49 | + |
| 50 | +## Security |
| 51 | + |
| 52 | +- CVE-2024-46981: Lua RCE |
| 53 | +- CVE-2024-51741: ACL DoS |
| 54 | +- CVE-2024-31449, 31227, 31228: DoS in Lua/ACLs |
| 55 | + |
| 56 | +## Packaging |
| 57 | + |
| 58 | +- [Docker](https://hub.docker.com/_/redis) |
| 59 | +- Snap, Brew, APT, and RPM packages are available |
| 60 | + |
| 61 | +## Observability |
| 62 | + |
| 63 | +- New `INFO` sections: |
| 64 | + - `KEYSIZES`, `Threads` |
| 65 | + - Hash expiration stats |
| 66 | + - Client buffer disconnection counters |
| 67 | + - Dictionary memory rehashing |
| 68 | + - Script eviction stats |
| 69 | + |
| 70 | +## Upgrades & Support |
| 71 | + |
| 72 | +- Supports upgrade from: |
| 73 | + - Redis 7.x with or without modules |
| 74 | + - Redis Stack 7.2 and 7.4 |
| 75 | +- Supported OS: |
| 76 | + - Ubuntu 20.04 / 22.04 / 24.04 |
| 77 | + - Debian 11 / 12 |
| 78 | + - macOS 13–15 |
| 79 | + - Rocky/Alma Linux 8.10, 9.5 |
0 commit comments