Snyk has created this PR to upgrade ioredis from 4.27.10 to 5.1.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Warning: This is a major version upgrade, and may be a breaking change.
The recommended version is 19 versions ahead of your current version.
The recommended version was released 21 days ago, on 2022-06-25.
In the update of v5, we've made ioredis even more stable and developer-friendly while minimizing the number of breaking changes, so you can spend more time enjoying your life 😄.
support defining custom commands via constructor options (f293b97)
support Redis Functions introduced in Redis 7.0 (32eb381)
BREAKING CHANGES
slotsRefreshInterval is disabled by default,
previously, the default value was 5000.
allowUsernameInURI is removed and ioredis will always
use the username passed via URI.
Previously, the username part in new Redis("redis://username:authpassword@127.0.0.1:6380/4")
was ignored unless allowUsernameInURI is 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")
Redis#serverInfo is removed. This field is never documented so
you very likely have never used it.
Support for third-party Promise libraries is dropped. Related methods (exports.Promise = require('bluebird')) are kept but they don't take any effects. The native Promise will always be used.
We now require Node.js v12 or newer.
Redis can't be called as a function anymore as it's now a class.
Please change Redis() to new Redis(). Note that Redis() was already deprecated
in the previous version.
Snyk has created this PR to upgrade ioredis from 4.27.10 to 5.1.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Warning: This is a major version upgrade, and may be a breaking change.
Release notes
Package name: ioredis
5.1.0 (2022-06-25)
Features
5.0.6 (2022-05-31)
Bug Fixes
5.0.5 (2022-05-17)
Bug Fixes
5.0.4 (2022-04-09)
Bug Fixes
5.0.3 (2022-03-31)
Bug Fixes
5.0.2 (2022-03-30)
Bug Fixes
5.0.1 (2022-03-26)
Bug Fixes
5.0.0 (2022-03-26)
In the update of v5, we've made ioredis even more stable and developer-friendly while minimizing the number of breaking changes, so you can spend more time enjoying your life😄 .
Please refer to the guideline to upgrade your projects:🚀 Upgrading from v4 to v5.
Bug Fixes
Features
BREAKING CHANGES
slotsRefreshInterval
is disabled by default,previously, the default value was 5000.
allowUsernameInURI
is removed and ioredis will alwaysuse the username passed via URI.
Previously, the
username
part innew Redis("redis://username:authpassword@127.0.0.1:6380/4")
was ignored unless
allowUsernameInURI
is 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")
Redis#serverInfo
is removed. This field is never documented soyou very likely have never used it.
exports.Promise = require('bluebird')
) are kept but they don't take any effects. The native Promise will always be used.Redis
can't be called as a function anymore as it's now a class.Please change
Redis()
tonew Redis()
. Note thatRedis()
was already deprecatedin the previous version.
5.0.0-beta.4 (2022-03-19)
Bug Fixes
5.0.0-beta.3 (2022-03-19)
Bug Fixes
Commit messages
Package name: ioredis
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs