From a90a4213723ccbfd7e69ddf6e7a7fbddb9a7204a Mon Sep 17 00:00:00 2001 From: Alec Gibson <12036746+alecgibson@users.noreply.github.com> Date: Thu, 2 Jul 2026 08:33:09 +0100 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Support=20`redis@6`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This change widens the supported `redis` range to include v6 alongside v4 and v5, and adds v6 to the CI test matrix. No adapter changes were needed: every node-redis API we use (`createClient`, `client.options`, `connect()`, `subscribe()`, `unsubscribe()`, `eval()`, and `close()`) is unchanged in v6. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .github/workflows/test.yml | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 537d78e..08c01be 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,6 +21,7 @@ jobs: redis: - 4 - 5 + - 6 services: redis: image: redis diff --git a/package.json b/package.json index 0f89d7c..1244ee6 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Redis pub/sub adapter adapter for ShareDB", "main": "index.js", "dependencies": { - "redis": "^4.0.0 || ^5.0.0", + "redis": "^4.0.0 || ^5.0.0 || ^6.0.0", "sharedb": "^1.0.0 || ^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0" }, "devDependencies": {