Skip to content

Compatibility Matrix

Support Tiers

  • Supported — Tested in CI matrix, bugs are treated as high priority
  • Best effort — May work, not tested in CI, community PRs accepted
  • Not supported — Known incompatibilities, not planned

Runtime Compatibility

Node 18Node 20Node 22
NestJS 11SupportedSupportedBest effort
NestJS 10SupportedSupportedBest effort
NestJS 9Best effortBest effortNot supported

NestJS 9 is EOL and not covered by CI. It may work but is best-effort only.

Redis Compatibility

Redis 6.2Redis 7.x
StandaloneSupportedSupported
SentinelSupportedSupported
ClusterSupportedSupported

Redis 6.2 is the minimum version required for Lua scripting features used by locks, rate-limit, and idempotency packages.

Driver Compatibility

DriverStatusNotes
ioredis (recommended)SupportedPrimary driver, most tested
node-redisSupportedFeature parity for supported topologies via driver abstraction

ioredis is the recommended driver due to mature Cluster and Sentinel support and wider community adoption. The driver abstraction layer provides feature parity for supported topologies. For Docker Sentinel behind NAT, ioredis is recommended.

Peer Dependencies

DependencyMinimumRecommended
Node.js18.0.020.x LTS
@nestjs/common10.0.011.x
@nestjs/core10.0.011.x
ioredis5.0.05.9+
redis (node-redis)4.6.04.7+
reflect-metadata0.2.00.2.x
rxjs7.8.07.8+

Plugin-Specific Dependencies

Plugin packages additionally require @nestjs-redisx/core as a peer dependency.

PluginExtra Dependencies
metricsdepends on prom-client
tracingdepends on @opentelemetry/api (+ optional SDK packages depending on exporter)

All other plugins (cache, locks, rate-limit, idempotency, streams) have no additional production dependencies beyond core and NestJS.

Known Limitations

  1. Redis Cluster requires Redis 6.2+ and at least 3 master nodes
  2. Redis Sentinel requires Redis 6.2+ with a sentinel-aware topology
  3. Lua scripts used by locks, rate-limit, and idempotency require Redis 6.2+ for EVALSHA with script preloading
  4. node-redis Sentinel support is limited compared to ioredis
  5. Redis Cluster multi-key commands require hash tags {...} to avoid CROSSSLOT errors
  6. Lua scripts in Cluster must operate on keys within the same hash slot (RedisX uses hash tags for this)

Released under the MIT License.