Skip to content

Commit 61a1553

Browse files
committed
Recommend redis@v3 for now
V4 is too breaking at the moment to work well with the other supported clients and the `legacyMode` is incomplete and unreliable as a fallback. Ref: redis/node-redis#1765
1 parent 03482c6 commit 61a1553

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
npm:
1010

1111
```sh
12-
npm install redis connect-redis express-session
12+
npm install redis@v3 connect-redis express-session
1313
```
1414

1515
Yarn:
1616

1717
```sh
18-
yarn add redis connect-redis express-session
18+
yarn add redis@v3 connect-redis express-session
1919
```
2020

2121
## API
@@ -49,7 +49,7 @@ An instance of [`redis`][1] or a `redis` compatible client.
4949

5050
Known compatible and tested clients:
5151

52-
- [redis][1]
52+
- [redis][1] (v3, **v4 currently is not supported**)
5353
- [ioredis](https://github.com/luin/ioredis)
5454
- [redis-mock](https://github.com/yeahoffline/redis-mock) for testing.
5555

0 commit comments

Comments
 (0)