ioredis
6.1.0 · 23 Nov 2026MIT45.2M / weekRepositoryHomepagenpmAtom feed
Upgrading ioredis From 4.31.0 to 5.0.0
1 release in betweenevery note read
- 7
- changes to make
- 0
- advisories fixed
- 22
- new
- 13
- fixes
Start here
Before you upgrade
Tick each one off as you go- Breaking5.0.0
- Breaking5.0.0
- Breaking5.0.0
- Breaking5.0.0
- Breaking5.0.0
- Breaking5.0.0
- Breaking5.0.0
Release by release
- Breaking
Remove dropBufferSupport option
- Breaking
slotsRefreshIntervalis disabled by default, previously, the default value was 5000. - Breaking
allowUsernameInURIis removed and ioredis will always use the username passed via URI. Previously, theusernamepart innew Redis("redis://username:authpassword@127.0.0.1:6380/4")was ignored unlessallowUsernameInURIis specified:new Redis("redis://username:authpassword@127.0.0.1:6380/4?allowUsernameInURI=true"). Now, if you don't want to send username to Redis, just leave the username part empty:new Redis("redis://:authpassword@127.0.0.1:6380/4") - Breaking
Redis#serverInfois removed. This field is never documented so you very likely have never used it.
- Breaking
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.