Skip to content

Commit b050125

Browse files
committed
F
1 parent b614012 commit b050125

File tree

4 files changed

+15
-75
lines changed

4 files changed

+15
-75
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,16 @@ This package was initially built on top of [`@neshca/cache-handler`](https://www
1010

1111
Starting with 2.0.0 we require Next 15 and Redis 5.
1212

13+
Remove `redis` from your dependencies if you don't need anything other than `@redis/client`. Then install `@redis/client`.
14+
1315
Upgrade Next and Redis in your project to:
16+
```
17+
"next": ">=15.2.4",
18+
"@redis/client": ">= 5.1.1"
19+
```
20+
21+
OR if you need full `redis` package
22+
1423
```
1524
"next": ">=15.2.4",
1625
"redis": ">= 5.1.1"

packages/nextjs-cache-handler/package-lock.json

Lines changed: 4 additions & 73 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/nextjs-cache-handler/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
},
8484
"peerDependencies": {
8585
"next": ">=15.2.4",
86-
"redis": ">= 5.1.1"
86+
"@redis/client": ">= 5.1.1"
8787
},
8888
"distTags": [
8989
"next15"

packages/nextjs-cache-handler/src/handlers/redis-strings.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { createClient } from "redis";
1+
import type { createClient } from "@redis/client";
22

33
export type CachedRouteValue = {
44
kind: "APP_ROUTE";

0 commit comments

Comments
 (0)