Skip to content

Commit 26c6bda

Browse files
authored
DEV: update RESP2/3 annotation (#1553)
1 parent d024ef3 commit 26c6bda

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

content/develop/reference/protocol-spec.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,9 @@ In Redis 2.0, the protocol's next version, a.k.a RESP2, became the standard comm
5050
Redis 6.0 introduced experimental opt-in support of RESP3's features (excluding streaming strings and streaming aggregates).
5151
In addition, the introduction of the [`HELLO`]({{< relref "/commands/hello" >}}) command allows clients to handshake and upgrade the connection's protocol version (see [Client handshake](#client-handshake)).
5252

53-
Up to and including Redis 7, both RESP2 and RESP3 clients can invoke all core commands.
53+
From Redis version 7 and forward, both RESP2 and RESP3 clients can invoke all core commands.
5454
However, commands may return differently typed replies for different protocol versions.
55+
Each command has descriptions of RESP2 and RESP3 return values that you can reference.
5556

5657
Future versions of Redis may change the default protocol version, but it is unlikely that RESP2 will become entirely deprecated.
5758
It is possible, however, that new features in upcoming versions will require the use of RESP3.

0 commit comments

Comments
 (0)