Update dependency connect-redis to v7
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
connect-redis | ^6.0.0 -> ^7.0.0 |
Release Notes
tj/connect-redis
v7.0.1
Maintenance
- #382 - Remove FAQ section in readme (@wavded)
- #381 - Declare express-session as a peerDependency (@wavded)
v7.0.0
Breaking changes
This drops support for the following legacy clients:
- redis@v3
- redis-mock
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 the redis
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 in express-session
.
// Previously
import connectRedis from "connect-redis"
import session from "express-session"
const RedisStore = connectRedis(seession)
// Now
import RedisStore from "connect-redis"
If you are using CommonJS (require
) modules. You must import the default
export.
// Previously
const RedisStore = require("connect-redis")
// Now
const RedisStore = require("connect-redis").default
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.