Packages

ioredis

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

Upgrading ioredis From 4.9.3 to 6.1.0

110 releases in betweenevery note read

Other targets from 4.9.3Newest 4.x4.31.0
  1. 4.9.3yours
  2. 3 releases
  3. 4.10.1security
  4. 68 releases
  5. 5.0.0major
  6. 13 releases
  7. 5.2.6breaking
  8. 21 releases
  9. 6.0.0security
  10. 6.1.0target
  11. 6 pre

Start here

Before you upgrade

Tick each one off as you go
  • Breaking6.0.0
  • Breaking5.2.6
  • Breaking5.0.0
  • Breaking5.0.0
  • Breaking5.0.0
  • Breaking5.0.0
  • Breaking5.0.0
  • Breaking5.0.0
  • Breaking5.0.0

Security

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

    6.0.0
  • Upgrade deps to resolve security vulnerabilities warnings

    4.10.1

Release by release

  1. 6.1.0

    23 Nov 20269 new · 47 fixes
    • New

      client: Smart client handoffs, which handle Redis maintenance notifications with the maintNotifications, maintEndpointType, maintRelaxedCommandTimeout and maintRelaxedSocketTimeout options

    • New

      cluster: Add a health check for sharded subscribers, configured with shardedSubscriberHealthCheckInterval (default 10000 ms, null disables it)

    • New

      cluster: Add the subscriberNodeRole option to choose the node role for the Pub/Sub subscriber

    • New

      commands: Add the set member expiration commands SADDEX, SEXPIRE, SEXPIREAT, SEXPIRETIME, SPERSIST, SPEXPIRE, SPEXPIREAT, SPEXPIRETIME, SPTTL and STTL (Redis 8.12)

  2. 6.0.0

    Security fix31 Jul 20266 new · 7 fixes
    • Security

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

    • Breaking

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

    • New

      Add RESP3

    • New

      Add LMOVEM and BLMOVEM command support

  3. 5.11.1

    4 Jun 20262 fixes
    • Fixed

      cluster: reconnect to nodes that restart without slot changes

    • Fixed

      Parse protocol-relative Redis URLs as TCP connections

  4. 5.11.0

    26 May 20268 new · 2 fixes
    • New

      Add array commands, typings and tests

    • New

      Add increx command

    • New

      Add Redis MSETEX support

    • New

      Add typed GCRA command support and functional tests

  5. 5.10.1

    19 Mar 20261 fix
    • Fixed

      cluster: lazily start sharded subscribers

  6. 5.10.0

    27 Feb 20262 new
    • New

      Add hash field expiration commands and tests

    • New

      Add hexpireat & hexpiretime

  7. 5.9.3

    12 Feb 20263 fixes
    • Fixed

      Autopipelining to route writes to masters with scaleReads

    • Fixed

      Fix issue with moved command for replicas

    • Fixed

      types: optional properties on RedisOptions allow explicit undefined

  8. 5.9.2

    15 Jan 20262 fixes
    • Fixed

      cluster: Cluster reconnect sharded subscribers

    • Fixed

      Preserve replica slots on MOVED in pipelines

1 other line we could not sort, mostly version bumps
  • Revert "fix: preserve replica slots on MOVED in pipelines (#2059)" (#2062) (517b932), closes #2059 #2062

    5.9.2

11 internal lines (docs, tests, tooling) left out.

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.