Update dependency connect-redis to v9 #2107
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.
This PR contains the following updates:
^6.1.3
->^9.0.0
Release Notes
tj/connect-redis (connect-redis)
v9.0.0
Compare Source
Breaking changes
This library no longer supports
ioredis
. It only supportsredis
(v5
and later) now.Rationale: Due to the growing divergence between the
ioredis
andredis
libraries, it was causing this library to maintain shims to synthesize the two, which was a source of issues and overhead. Following the recommendations from Redis, we will useredis
going forward (we support both a single client and cluster APIs): see https://redis.io/docs/latest/develop/clients/nodejs/migration/Maintenance
v8.1.0
Compare Source
Enhancements
v8.0.3
Compare Source
Bug fixes
node-redis
createCluster
normalized client (@stijnveenman)Maintenance
v8.0.2
Compare Source
Maintenance
v8.0.1
Compare Source
Bug fixes
v8.0.0
Compare Source
Breaking changes
This changes from a default export to a named export to support a consistent API between both CJS and ESM. Support for Node 16 has also been removed.
Migration from v7
If you are using ESM (
import
) modules:If you are using CommonJS (
require
) modules:v7.1.1
Compare Source
Maintenance
v7.1.0
Compare Source
Enhancements
v7.0.1
Compare Source
Maintenance
v7.0.0
Compare Source
Breaking changes
This drops support for the following legacy clients:
This also rewrites the codebase in TypeScript removing the need to include a separate @types/connect-redis dependency.
Build now supports both CJS and ESM. Support for Node 14 has been removed.
Migration from v6
If you were using
@types/connect-redis
, remove that package as types are now included in this package.If you were using the
legacyMode: true
setting for theredis
package, remove this as legacy mode is no longer required to run this package and is no longer supported.Initializing the
RedisStore
no longer takes inexpress-session
.If you are using CommonJS (
require
) modules. You must import thedefault
export.Configuration
📅 Schedule: Branch creation - "after 7am and before 11am every weekday" in timezone Europe/London, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.