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
-`GEOSEARCH_WITH`, `GEORADIUS_WITH`, `GEORADIUS_RO_WITH`, `GEORADIUSBYMEMBER_WITH`, `GEORADIUSBYMEMBER_RO_WITH` - `distance`, `coordinates.longitude`, and `coordinates.latitude` are now `number` (previously `string`).
16
-
17
-
<!--V5:
18
-
19
-
```ts
20
-
export interface GeoReplyWithMember {
21
-
member: string;
22
-
distance?: string;
23
-
hash?: number;
24
-
coordinates?: {
25
-
longitude: string;
26
-
latitude: string;
27
-
};
28
-
}
29
-
```
30
-
31
-
V6:
32
-
33
-
```ts
34
-
export interface GeoReplyWithMember {
35
-
member: string;
36
-
distance?: number;
37
-
hash?: number;
38
-
coordinates?: {
39
-
longitude: number;
40
-
latitude: number;
41
-
};
42
-
}
43
-
```-->
44
-
45
-
-`CF.INSERTNX` changed from `Array<boolean>` to `Array<number>`.
16
+
-`CF.INSERTNX` changed from `Array<boolean>` to `Array<number>`.
46
17
47
18
48
19
## Stabilized APIs
@@ -61,6 +32,7 @@ In v5, some command transforms were unstable under RESP3. In v6, those commands
61
32
|`@redis/search`|`FT.SEARCH NOCONTENT`|`ReplyUnion -> SearchNoContentReply`| RESP3 normalized through `FT.SEARCH` then projected to ids. |
In v6, object-like replies are normalized to plain objects (`{}` / `Object.defineProperties({}, ...)`) instead of null-prototype objects (`Object.create(null)`).
50
+
51
+
Compatibility impact: this can be technically breaking for code/tests that assert a `null` prototype (for example `Object.getPrototypeOf(reply) === null` or deep-equality against `Object.create(null)`), but for most users key access/iteration/serialization behavior remains the same.
Additionally, RESP3 map decoding now creates plain objects by default, so commands that expose raw RESP3 maps as JS objects inherit the same prototype change.
61
+
76
62
77
63
78
-
If you need to preserve v5 default behavior while migrating, pin RESP2 explicitly:
64
+
## If you need to preserve v5 default behavior while migrating, pin RESP2 explicitly:
0 commit comments