In Tair (Redis OSS-compatible), you can create instances that run different versions of Redis Open-Source Edition. This topic describes the new features and compatibility changes for each major version of Redis Open-Source Edition.
Each section describes the features and compatibility changes from the open-source community and Alibaba Cloud. For more information, see the Redis Major Version Compatibility Report, which was co-developed by the Tair team and the community.
Redis Open-Source Edition 7.0
New features
For information about the new features of Redis 7.0, see the 7.0 release note.
For example, for module commands that use background threads, the slow query log records the entire suspension time. In contrast, for regular blocking commands such as BLPOP, the slow query log records only the running time, not the suspension time.
Compatibility
For information about breaking changes from the community, see the 7.0 release note.
For example, the STRALGO command is no longer supported and is replaced by the LCS command.
The allow-oom flag in Lua scripts is no longer supported. For more information, see redis/redis#10699.
For information about other command support changes, see Command support for Redis Open-Source Edition.
Redis Open-Source Edition 6.0
New features
For information about the new features of Redis 6.0, see the 6.0 release note.
In the direct connection mode for a cluster architecture, the PUBLISH command is broadcast across the cluster.
Compatibility
For information about breaking changes from the community, see the 6.0 release note.
The Account Management feature is different from open-source Redis ACL permissions. The following describes the Account Management feature for Tair (Redis OSS-compatible):
The default account is
default. The account named after the instance, such asr-bp1857n194kiuv****, is a separate account.When you connect to Redis using the AUTH command, the
defaultaccount is used for authentication if no account is specified.
For information about other command support changes, see Command support for Redis Open-Source Edition.
Redis Open-Source Edition 5.0
New features
For information about the new features of Redis 5.0, see the 5.0 release note.
Adds support for latency insight.
Adds support for real-time statistics on large keys.
Adds support for Transport Layer Security (TLS) encryption.
The wake-up time precision for blocking connections is optimized.
The direct connection mode for a cluster architecture supports seamless scaling.
Compatibility
For information about breaking changes from the community, see the 5.0 release note.
For example, commands executed by Lua scripts no longer sort the results.
Account names are case-sensitive.
After you enable passwordless access over a VPC, you can still use the AUTH command to switch between accounts.
NoteIf your accounts have different permissions, make sure that your application executes commands that are within the scope of the account's permissions. Otherwise, a permission error occurs.
The READONLY and READWRITE commands are available.
The cloud-native and classic editions have a key difference. On a cloud-native edition instance, after you enable passwordless access over a VPC, all connections still require whitelist authentication, and you cannot set the
#no_loose_check-whitelist-alwaysparameter.For information about other command support changes, see Command support for Redis Open-Source Edition.