Skip to content

Commit

Permalink
Lock Redis supported version to 3.x.x
Browse files Browse the repository at this point in the history
The supported Redis version is now locked to 3.x.x. This will prevent
app startup failures for users with Redis 3.x.x.
  • Loading branch information
luismiramirez committed Jan 25, 2022
1 parent 3ce0e21 commit 531e5bf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions packages/nodejs/.changesets/lock-redis-version-to-3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
bump: "patch"
type: "fix"
---

The supported Redis version is now locked to 3.x.x. This will prevent app startup failures for users
with Redis 4.x.x.
2 changes: 1 addition & 1 deletion packages/nodejs/src/instrumentation/redis/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export const instrument = (
mod: RedisModule,
tracer: Tracer
): Plugin<RedisModule> => ({
version: ">= 3.0.0",
version: "~3",
install(): RedisModule {
shimmer.wrap(
mod.RedisClient.prototype,
Expand Down

0 comments on commit 531e5bf

Please sign in to comment.