6.0.0 (2026-07-31)
Bug Fixes
- clear stale socket timeout on reconnect (#2148) (6455dbe)
- cluster: recreate stale connection on circular MOVED (#2135) (08c8967)
- cluster: validate MOVED slot to prevent Array.prototype pollution (#2151) (9618206), closes #1267
- command: serialize large integer arguments in decimal notation (#2136) (09b8d04)
- redis: keep reconnecting when connection closes during client setup (#2099) (#2123) (f9a66bc)
- sentinel: preserve zero preferred slave priority (#2129) (a3f9f2d)
- tracing: redact values for GETSET and PSETEX (#2134) (832765d)
- types: export ScanStreamOptions, RedisStatus and ClusterStatus (#2158) (cf3bf71)
Features
- add LMOVEM and BLMOVEM command support (#2144) (c26af46)
- add Redis 8.10 set cardinality commands (#2143) (301099b)
- himport managed fieldsets (#2159) (729f174)
- improve default connection resilience (#2160) (6d0716e)
- support MAXCOUNT and MAXSIZE for stream reads (#2142) (ae5e41b)
BREAKING CHANGES
- ioredis now requires Node.js 20 or newer and uses RESP3 by default. Set
protocol: 2to retain the v5 wire protocol.