You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/v5.md
-35Lines changed: 0 additions & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,41 +40,6 @@ This replaces the previous approach of using `commandOptions({ returnBuffers: tr
40
40
41
41
RESP3 uses a different mechanism for handling Pub/Sub messages. Instead of modifying the `onReply` handler as in RESP2, RESP3 provides a dedicated `onPush` handler. When using RESP3, the client automatically uses this more efficient push notification system.
42
42
43
-
## Known Limitations
44
-
45
-
### Unstable Commands
46
-
47
-
Some Redis commands have unstable RESP3 transformations. These commands will throw an error when used with RESP3 unless you explicitly opt in to using them by setting `unstableResp3: true` in your client configuration:
48
-
49
-
```javascript
50
-
constclient=createClient({
51
-
RESP:3,
52
-
unstableResp3:true
53
-
});
54
-
```
55
-
56
-
The following commands have unstable RESP3 implementations:
57
-
58
-
1.**Stream Commands**:
59
-
-`XREAD` and `XREADGROUP` - The response format differs between RESP2 and RESP3
60
-
61
-
2.**Search Commands (RediSearch)**:
62
-
-`FT.AGGREGATE`
63
-
-`FT.AGGREGATE_WITHCURSOR`
64
-
-`FT.CURSOR_READ`
65
-
-`FT.INFO`
66
-
-`FT.PROFILE_AGGREGATE`
67
-
-`FT.PROFILE_SEARCH`
68
-
-`FT.SEARCH`
69
-
-`FT.SEARCH_NOCONTENT`
70
-
-`FT.SPELLCHECK`
71
-
72
-
3.**Time Series Commands**:
73
-
-`TS.INFO`
74
-
-`TS.INFO_DEBUG`
75
-
76
-
If you need to use these commands with RESP3, be aware that the response format might change in future versions.
0 commit comments