Packages

ioredis

6.1.0 · 23 Nov 2026MIT45.2M / weekRepositoryHomepagenpmAtom feed

Your version

6.0.0

major31 Jul 2026Where it was published

6.1.0 is the newest release of 6.x.

In short

1 breaking1 security6 new7 fixed

  • Breaking

    Ioredis now requires Node.js 20 or newer and uses RESP3 by default. Set protocol: 2 to retain the v5 wire protocol.

  • Security

    cluster: validate MOVED slot to prevent Array.prototype pollution (#2151) (9618206), closes #1267

Release note

  • Add RESP3

Bug Fixes

  • Clear stale socket timeout on reconnect

  • cluster: recreate stale connection on circular MOVED

  • Security

    cluster: validate MOVED slot to prevent Array.prototype pollution (#2151) (9618206), closes #1267

  • command: serialize large integer arguments in decimal notation

  • redis: keep reconnecting when connection closes during client setup

  • sentinel: preserve zero preferred slave priority

  • tracing: redact values for GETSET and PSETEX

  • types: export ScanStreamOptions, RedisStatus and ClusterStatus

Features

  • Add LMOVEM and BLMOVEM command support

  • Add Redis 8.10 set cardinality commands

  • Himport managed fieldsets

  • Improve default connection resilience

  • Support MAXCOUNT and MAXSIZE for stream reads

Breaking changes

  • Breaking

    Ioredis now requires Node.js 20 or newer and uses RESP3 by default. Set protocol: 2 to retain the v5 wire protocol.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.