Redis Software 版本说明 7.8.x

Redis 社区版 7.4 功能。哈希字段过期。客户端缓存支持。指标流引擎预览。用于检查数据库可用性、重新平衡分片、故障转移分片和控制数据库流量的新 API。针对节点作、数据库标签和数据库配置的 Cluster Manager UI 增强功能。用户管理员角色。基于大小和时间的日志轮换。模块管理增强功能。可配置的最小密码长度。可配置的许可证到期警报阈值。

Redis 企业软件

Redis 软件 7.8 版现已推出!

突出

此版本提供:

  • Redis 社区版 7.4 功能

  • 哈希字段过期

  • 客户端缓存支持

  • 指标流引擎预览

  • 用于检查数据库可用性、重新平衡分片、故障转移分片和控制数据库流量的新 API

  • 针对节点作、数据库标签和数据库配置的集群管理器 UI 增强功能

  • 用户管理员角色

  • 基于大小和时间的日志轮换

  • 模块管理增强功能

  • 可配置的最小密码长度

  • 可配置的许可证到期警报阈值

详细的发行说明

有关更详细的发行说明,请从下表中选择内部版本:

版本 (Release date) 主要变化 Redis CE 兼容性
7.8.6-13(2025 年 3 月) 用户密码的可配置哈希算法。用于验证用户和角色的 REST API 请求的试运行选项。 Redis 7.4.0 版本
7.8.4-95(2025 年 3 月) 修复了升级期间服务器重启失败、可选服务的连接检查、“rladmin”中交换的分片状态和看门狗状态值、进程导出器崩溃以及启用了 OSS 集群 API 的主动-主动数据库的同步器问题的错误修复。 Redis 7.4.0 版本
7.8.4-66(2025 年 2 月) Ubuntu 22 支持。修复了崩溃、意外重启和自动计算的副本缓冲区类型不正确的错误。 Redis 7.4.0 版本
7.8.4-18(2024 年 12 月) REST API 的基于证书的身份验证。用于验证 Redis ACL REST API 请求的试运行选项。 Redis 7.4.0 版本
7.8.2-60(2024 年 12 月) 错误修复,包括对 RHEL 8 OpenSSL 依赖项问题的修复,该问题导致在升级到 Redis 软件版本 7.8.2-34 后频繁重启“cm_server”并阻止访问 Redis 软件集群管理器 UI。 Redis 7.4.0 版本
7.8.2-34(2024 年 11 月) Redis 社区版 7.4 功能。哈希字段过期。客户端缓存支持。指标流引擎预览。用于检查数据库可用性、重新平衡分片、故障转移分片和控制数据库流量的新 API。针对节点作、数据库标签和数据库配置的 Cluster Manager UI 增强功能。用户管理员角色。基于大小和时间的日志轮换。模块管理增强功能。可配置的最小密码长度。可配置的许可证到期警报阈值。 Redis 7.4.0 版本

版本变更

  • 添加了验证,以在更新 LDAP 配置时验证 LDAP 服务器 URI 是否包含主机和端口。

  • oss_shardingAPI 字段在早期版本的 Redis Software 中没有影响。然而oss_sharding现在将作为未来计划的一部分生效。在另行通知之前,请将此字段设置为false以避免意外影响。

重大更改

Redis 软件版本 7.8.2 引入了以下重大更改:

  • 升级数据库时,默认情况下,升级过程还会尝试升级数据库模块。

    • 默认值latest_with_modules已更改为true.

    • rladmin upgrade db将始终升级数据库的模块。

    • 使用 REST API 升级数据库时,您可以设置"latest_with_modules": false以防止模块升级。

Redis 数据库版本 7.4 重大更改

当 Redis 社区版的新主要版本更改现有命令时,将数据库升级到新版本可能会破坏某些功能。在升级之前,请阅读提供的会影响 Redis Software 的重大更改列表,并更新连接到数据库的任何应用程序以处理这些更改。

确认您的 Redis 数据库版本 (redis_version) 或运行以下命令INFOcommand 替换为redis-cli:

$ redis-cli -p <port> INFO
"# Server
redis_version:7.0.8
..."
Security behavior changes
  • #13108 Lua: LRU eviction for scripts generated with EVAL.
Other general behavior changes
  • #13133 Lua: allocate VM code with jemalloc instead of libc and count it as used memory.

  • #12171 ACL LOAD: do not disconnect all clients.

Product lifecycle updates

End-of-life policy extension

The end-of-life policy for Redis Software versions 6.2 and later has been extended to 24 months after the formal release of the subsequent major version. For the updated end-of-life schedule, see the Redis Software product lifecycle.

Supported upgrade paths

Redis Software versions 6.2.4 and 6.2.8 do not support direct upgrades beyond version 7.4.x. Versions 6.2.10, 6.2.12, and 6.2.18 are part of the upgrade path. To upgrade from 6.2.4 or 6.2.8 to versions later than 7.4.x, an intermediate upgrade is required.

The next major Redis Software release will still bundle Redis database version 6.2 and allow database upgrades from Redis database version 6.2 to 7.x.

See the Redis Software product lifecycle for more information about release numbers.

End of triggers and functions preview

The triggers and functions (RedisGears) preview has been discontinued.

  • Commands such as TFCALL, TFCALLASYNC, and TFUNCTION will be deprecated and will return error messages.

  • Any JavaScript functions stored in Redis will be removed.

  • JavaScript-based triggers will be blocked.

  • Lua functions and scripts will not be affected.

If your database currently uses triggers and functions, you need to:

  1. Adjust your applications to accommodate these changes.

  2. Delete all triggers and functions libraries from your existing database:

    1. Run TFUNCTION LIST.

    2. Copy all library names.

    3. Run TFUNCTION DELETE for each library in the list.

    If any triggers and functions libraries remain in the database, the RDB snapshot won't load on a cluster without RedisGears.

  3. Migrate your database to a new database without the RedisGears module.

Deprecations

API deprecations

V1 Prometheus metrics deprecation

V1 Prometheus metrics are deprecated but still available. To transition to the new metrics stream engine, either migrate your existing dashboards using Prometheus v1 metrics and equivalent v2 PromQL now, or wait to use new preconfigured dashboards when they become available in a future release.

Download center modules deprecation

New Redis modules will not be available for download from the Redis download center.

Legacy UI not supported

The legacy UI was deprecated in favor of the new Cluster Manager UI in Redis Software version 7.2.4 and is no longer supported as of Redis Software version 7.8.2.

Redis 6.0 databases not supported

Redis database version 6.0 was deprecated in Redis Software version 7.4.2 and is no longer supported as of Redis Software version 7.8.2.

To prepare for the removal of Redis database version 6.0 before you upgrade to Redis Software version 7.8.2:

  • For Redis Software 6.2.* clusters, upgrade Redis 6.0 databases to Redis 6.2. See the Redis 6.2 release notes for the list of changes.

  • For Redis Software 7.2.4 and 7.4.2 clusters, upgrade Redis 6.0 databases to Redis 7.2. Before you upgrade your databases, see the list of Redis 7.2 breaking changes and update any applications that connect to your database to handle these changes.

Ubuntu 18.04 not supported

Ubuntu 18.04 was deprecated in Redis Software version 7.2.4 and is no longer supported as of Redis Software version 7.8.2.

Upcoming changes

Default image change for Redis Software containers

Starting with version 7.8, Redis Software containers with the image tag x.y.z-build will be based on RHEL instead of Ubuntu.

This change will only affect you if you use containers outside the official Redis Enterprise for Kubernetes product and use Ubuntu-specific commands.

To use Ubuntu-based images after this change, you can specify the operating system suffix in the image tag. For example, use the image tag 7.4.2-216.focal instead of 7.4.2-216.

Supported platforms

The following table provides a snapshot of supported platforms as of this Redis Software release. See the supported platforms reference for more details about operating system compatibility.

Supported – The platform is supported for this version of Redis Software and Redis Stack modules.

⚠️ Deprecation warning – The platform is still supported for this version of Redis Software, but support will be removed in a future release.

Redis Software
major versions
7.8 7.4 7.2 6.4 6.2
Release date Nov 2024 Feb 2024 Aug 2023 Feb 2023 Aug 2021
End-of-life date Determined after
next major release
Nov 2026 Feb 2026 Aug 2025 Feb 2025
Platforms
RHEL 9 &
compatible distros1
RHEL 9
FIPS mode5
RHEL 8 &
compatible distros1
RHEL 7 &
compatible distros1
⚠️
Ubuntu 22.042
Ubuntu 20.042
Ubuntu 18.042 ⚠️ ⚠️
Ubuntu 16.042 ⚠️
Amazon Linux 2
Amazon Linux 1
Kubernetes3
Docker4
  1. The RHEL-compatible distributions CentOS, CentOS Stream, Alma, and Rocky are supported if they have full RHEL compatibility. Oracle Linux running the Red Hat Compatible Kernel (RHCK) is supported, but the Unbreakable Enterprise Kernel (UEK) is not supported.

  2. The server version of Ubuntu is recommended for production installations. The desktop version is only recommended for development deployments.

  3. See the Redis Enterprise for Kubernetes documentation for details about support per version and Kubernetes distribution.

  4. Docker images of Redis Software are certified for development and testing only.

  5. Supported only if FIPS was enabled during RHEL installation to ensure FIPS compliance.

Known issues

  • RS131972: Creating an ACL that contains a line break in the Cluster Manager UI can cause shard migration to fail due to ACL errors.

Known limitations

Upload modules before OS upgrade

If the cluster contains any databases that use modules, you must upload module packages for the target OS version to a node in the existing cluster before you upgrade the cluster's operating system.

See Upgrade a cluster's operating system for detailed upgrade instructions.

New Cluster Manager UI limitations

The following legacy UI features are not yet available in the new Cluster Manager UI:

RedisGraph prevents upgrade to RHEL 9

You cannot upgrade from a prior RHEL version to RHEL 9 if the Redis Software cluster contains a RedisGraph module, even if unused by any database. The RedisGraph module has reached end-of-life and is completely unavailable in RHEL 9.

Query results might include hash keys with lazily expired fields

If one or more fields of a hash key expire after an FT.SEARCH or FT.AGGREGATE query begins, Redis does not account for these lazily expired fields. As a result, keys with expired fields might still be included in the query results, leading to potentially incorrect or inconsistent results.

RATE THIS PAGE
Back to top ↑