Redis 8.0-RC1
What's new in Redis 8.0-RC1
Highlights
- Integrated modules now part of core:
- JSON
- Probabilistic: Bloom, Cuckoo, Count-min sketch, Top-K, and t-digest
- Time Series
- Vector sets (preview)
- Redis Query Engine with horizontal & vertical scaling
- All components available in Redis binary distributions
- New config file:
redis-full.conf
for full component loading
New Commands
- Hash with expiration support:
HGETDEL
– get and delete hash fieldHGETEX
,HSETEX
– get/set hash fields with expiration
- Field TTL & expiration (7.4+):
HEXPIRE
,HPEXPIRE
,HEXPIREAT
,HPEXPIREAT
HPERSIST
,HEXPIRETIME
,HPEXPIRETIME
,HTTL
,HPTTL
- Other command additions:
XREAD +
– read latest stream entryHSCAN NOVALUES
– scan hash field names onlySORT
in cluster mode withBY
andGET
CLIENT KILL MAXAGE
- Lua:
os.clock()
now available SPUBLISH
inMULTI/EXEC
transactions on replicas- Vector set command group (preview)
Internal Architecture
- I/O threading overhaul: read+write threading for higher throughput
- Replication: improved mechanism with AOF offset support
- Over 30 performance optimizations:
- Optimized:
GET
,EXISTS
,LRANGE
,HSET
,XREAD
,SCAN
,ZADD
,ZUNION
,PFCOUNT
,HSCAN
, and more - Improved latency, memory, and CPU utilization
- Optimized:
Security
- CVE-2024-46981: Lua RCE
- CVE-2024-51741: ACL DoS
- CVE-2024-31449, 31227, 31228: DoS in Lua/ACLs
Packaging
Redis 8.0-RC1 is available in the following distributions:
- Docker
- APT
- RPM
- Snap
- Homebrew
- Pre-built binaries
- Source code
Observability
- New
INFO
sections:KEYSIZES
,Threads
- Hash expiration stats
- Client buffer disconnection counters
- Dictionary memory rehashing
- Script eviction stats
Upgrades & Support
- Supports upgrade from:
- Redis 7.x with or without modules
- Redis Stack 7.2 and 7.4
- Supported operating systems:
- Ubuntu 20.04 / 22.04 / 24.04
- Debian 11 / 12
- macOS 13–15
- Rocky/Alma Linux 8.10 / 9.5