Skip to content

Commit 47d42ae

Browse files
suxb201claude
andcommitted
feat: update command specs to support Redis 8.4 and Valkey 9.x
- Add 12 new commands from Redis 8.4: - Connection: CLIENT NO-TOUCH, CLIENT SETINFO - Cluster: CLUSTER MIGRATION, MYSHARDID, SLOT-STATS, SYNCSLOTS - String: DELEX, DIGEST, MSETEX - Server: SFLUSH, TRIMSLOTS - Generic: WAITAOF - Add 17 Valkey-specific commands: - Connection: CLIENT CAPA, CLIENT IMPORT-SOURCE - Cluster: CANCELSLOTMIGRATIONS, FLUSHSLOT, GETSLOTMIGRATIONS, MIGRATESLOTS - Server: COMMANDLOG (with subcommands) - String: DELIFEQ - Scripting: SCRIPT SHOW - Sentinel: PRIMARY variants (renamed from MASTER) - Update documentation with version compatibility details - Total commands now: 434 (up from 405) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1156ba1 commit 47d42ae

34 files changed

Lines changed: 2071 additions & 39 deletions

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ RedisShake is a powerful tool for Redis data transformation and migration, offer
1818

1919
1. **Zero Downtime Migration**: Enables seamless data migration without data loss or service interruption, ensuring continuous operation during the transfer process.
2020

21-
2. **Valkey/Redis Compatibility**: Supports Redis (2.8 to 8.x) and Valkey (8.x to 9.x) across standalone, master–slave, sentinel, and cluster deployments. See [Version Compatibility](https://tair-opensource.github.io/RedisShake/zh/others/compatibility.html) for detailed feature support.
21+
2. **Valkey/Redis Compatibility**: Supports Redis (2.8 to 8.4.x) and Valkey (8.x to 9.x) across standalone, master–slave, sentinel, and cluster deployments. See [Version Compatibility](https://tair-opensource.github.io/RedisShake/zh/others/compatibility.html) for detailed feature support.
2222

2323
3. **Cloud Service Integration**: Seamlessly works with Redis-like databases from major cloud providers:
2424
- Alibaba Cloud: [Tair (Redis® OSS-Compatible)](https://www.alibabacloud.com/en/product/tair)

docs/src/en/others/compatibility.md

Lines changed: 34 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ RedisShake supports multiple Redis and Valkey versions. This document details th
1010

1111
| Database | Supported Versions |
1212
|----------|-------------------|
13-
| Redis | 2.8 - 8.x |
13+
| Redis | 2.8 - 8.4.x |
1414
| Valkey | 8.x - 9.x |
1515

16+
> **Note:** Command specifications are based on Redis 8.4 and Valkey 9.x (unstable), with a total of 434 commands supported.
17+
1618
## Redis Version Support Details
1719

1820
### Redis 2.8 - 3.x
@@ -42,11 +44,21 @@ RedisShake supports multiple Redis and Valkey versions. This document details th
4244
**Newly Supported:**
4345
- Hash field expiration commands: HSETEX, HGETEX, HGETDEL, HTTL, HPTTL, HPERSIST, HEXPIRE, HEXPIREAT, HPEXPIRE, HPEXPIREAT, HEXPIRETIME, HPEXPIRETIME
4446
- Hash field expiration RDB format (RDB type 22-25)
47+
- XACKDEL/XDELEX commands (8.2+)
4548

4649
**Not Supported:**
4750
- Vector Sets
4851
- Redis Stack modules (RedisJSON, RediSearch, RedisTimeSeries, RedisBloom)
4952

53+
### Redis 8.4.x
54+
55+
**Newly Supported Commands:**
56+
- Connection: CLIENT NO-TOUCH, CLIENT SETINFO
57+
- Cluster: CLUSTER MIGRATION, CLUSTER MYSHARDID, CLUSTER SLOT-STATS, CLUSTER SYNCSLOTS
58+
- String: DELEX, DIGEST, MSETEX
59+
- Server: SFLUSH, TRIMSLOTS
60+
- Generic: WAITAOF
61+
5062
## Valkey Version Support Details
5163

5264
### Valkey 8.x
@@ -60,17 +72,29 @@ RedisShake supports multiple Redis and Valkey versions. This document details th
6072
- Hash field expiration commands (same as Redis 8.x)
6173
- Hash field expiration RDB format
6274

75+
**Valkey-specific Commands:**
76+
- Connection: CLIENT CAPA, CLIENT IMPORT-SOURCE
77+
- Cluster: CLUSTER CANCELSLOTMIGRATIONS, CLUSTER FLUSHSLOT, CLUSTER GETSLOTMIGRATIONS, CLUSTER MIGRATESLOTS
78+
- Server: COMMANDLOG (with subcommands: GET, HELP, LEN, RESET)
79+
- String: DELIFEQ
80+
- Scripting: SCRIPT SHOW
81+
- Sentinel: SENTINEL GET-PRIMARY-ADDR-BY-NAME, SENTINEL IS-PRIMARY-DOWN-BY-ADDR, SENTINEL PRIMARIES, SENTINEL PRIMARY
82+
83+
> **Note:** Valkey uses "PRIMARY" terminology instead of "MASTER" for Sentinel commands.
84+
6385
## Feature Support Matrix
6486

65-
| Feature | Redis 2.8-7.x | Redis 8.x | Valkey 8.x | Valkey 9.x |
66-
|---------|---------------|-----------|------------|------------|
67-
| Basic Data Types |||||
68-
| Stream | ✓ (5.0+) ||||
69-
| Module | ✓ (4.0+) ||||
70-
| Function | ✓ (7.0+) ||||
71-
| Hash Field Expiration |||||
72-
| XACKDEL/XDELEX || ✓ (8.2+) |||
73-
| Vector Sets |||||
87+
| Feature | Redis 2.8-7.x | Redis 8.x | Redis 8.4.x | Valkey 8.x | Valkey 9.x |
88+
|---------|---------------|-----------|-------------|------------|------------|
89+
| Basic Data Types ||||||
90+
| Stream | ✓ (5.0+) |||||
91+
| Module | ✓ (4.0+) |||||
92+
| Function | ✓ (7.0+) |||||
93+
| Hash Field Expiration ||||||
94+
| XACKDEL/XDELEX || ✓ (8.2+) ||||
95+
| Vector Sets ||||||
96+
| WAITAOF ||||||
97+
| COMMANDLOG ||||||
7498

7599
## Cross-Version Migration
76100

docs/src/zh/others/compatibility.md

Lines changed: 34 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ RedisShake 支持多种 Redis 和 Valkey 版本,本文档详细说明各版本
1010

1111
| 数据库 | 支持版本 |
1212
|--------|----------|
13-
| Redis | 2.8 - 8.x |
13+
| Redis | 2.8 - 8.4.x |
1414
| Valkey | 8.x - 9.x |
1515

16+
> **注意:** 命令规范基于 Redis 8.4 和 Valkey 9.x (unstable),共计支持 434 个命令。
17+
1618
## Redis 版本支持详情
1719

1820
### Redis 2.8 - 3.x
@@ -42,11 +44,21 @@ RedisShake 支持多种 Redis 和 Valkey 版本,本文档详细说明各版本
4244
**新增支持:**
4345
- Hash 字段过期命令:HSETEX、HGETEX、HGETDEL、HTTL、HPTTL、HPERSIST、HEXPIRE、HEXPIREAT、HPEXPIRE、HPEXPIREAT、HEXPIRETIME、HPEXPIRETIME
4446
- Hash 字段过期 RDB 格式(RDB type 22-25)
47+
- XACKDEL/XDELEX 命令(8.2+)
4548

4649
**不支持:**
4750
- Vector Sets(向量数据类型)
4851
- Redis Stack 模块(RedisJSON、RediSearch、RedisTimeSeries、RedisBloom)
4952

53+
### Redis 8.4.x
54+
55+
**新增支持命令:**
56+
- 连接类:CLIENT NO-TOUCH、CLIENT SETINFO
57+
- 集群类:CLUSTER MIGRATION、CLUSTER MYSHARDID、CLUSTER SLOT-STATS、CLUSTER SYNCSLOTS
58+
- 字符串类:DELEX、DIGEST、MSETEX
59+
- 服务端类:SFLUSH、TRIMSLOTS
60+
- 通用类:WAITAOF
61+
5062
## Valkey 版本支持详情
5163

5264
### Valkey 8.x
@@ -60,17 +72,29 @@ RedisShake 支持多种 Redis 和 Valkey 版本,本文档详细说明各版本
6072
- Hash 字段过期命令(与 Redis 8.x 相同)
6173
- Hash 字段过期 RDB 格式
6274

75+
**Valkey 独有命令:**
76+
- 连接类:CLIENT CAPA、CLIENT IMPORT-SOURCE
77+
- 集群类:CLUSTER CANCELSLOTMIGRATIONS、CLUSTER FLUSHSLOT、CLUSTER GETSLOTMIGRATIONS、CLUSTER MIGRATESLOTS
78+
- 服务端类:COMMANDLOG(含子命令:GET、HELP、LEN、RESET)
79+
- 字符串类:DELIFEQ
80+
- 脚本类:SCRIPT SHOW
81+
- 哨兵类:SENTINEL GET-PRIMARY-ADDR-BY-NAME、SENTINEL IS-PRIMARY-DOWN-BY-ADDR、SENTINEL PRIMARIES、SENTINEL PRIMARY
82+
83+
> **注意:** Valkey 在哨兵命令中使用 "PRIMARY" 术语替代 "MASTER"。
84+
6385
## 特性支持矩阵
6486

65-
| 特性 | Redis 2.8-7.x | Redis 8.x | Valkey 8.x | Valkey 9.x |
66-
|------|---------------|-----------|------------|------------|
67-
| 基础数据类型 |||||
68-
| Stream | ✓ (5.0+) ||||
69-
| Module | ✓ (4.0+) ||||
70-
| Function | ✓ (7.0+) ||||
71-
| Hash 字段过期 |||||
72-
| XACKDEL/XDELEX || ✓ (8.2+) |||
73-
| Vector Sets |||||
87+
| 特性 | Redis 2.8-7.x | Redis 8.x | Redis 8.4.x | Valkey 8.x | Valkey 9.x |
88+
|------|---------------|-----------|-------------|------------|------------|
89+
| 基础数据类型 ||||||
90+
| Stream | ✓ (5.0+) |||||
91+
| Module | ✓ (4.0+) |||||
92+
| Function | ✓ (7.0+) |||||
93+
| Hash 字段过期 ||||||
94+
| XACKDEL/XDELEX || ✓ (8.2+) ||||
95+
| Vector Sets ||||||
96+
| WAITAOF ||||||
97+
| COMMANDLOG ||||||
7498

7599
## 跨版本迁移
76100

0 commit comments

Comments
 (0)