Releases: tj/connect-redis
Releases · tj/connect-redis
v7.1.1
v7.1.0
Enhancements
- #393 - Add TTL interception for external conditional TTL handling (@movwf)
- #390 - Add support for async serializer so it can be used with worker threads (@ozcanovunc)
v7.0.1
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
v6.1.3
v6.1.2
Bug fixes
- #348 - Fix merging bug in 6.1.0 that resulted in sessions being deleted. (@zkldi)
Maintenance
- #350 - Add keywords in package.json (@noahliechti)
v6.1.1
v6.1.0
Enhancements
- #345 - Add support for Redis V4 through legacyMode (@wavded)
- #333 - Support for concurrent sessions (@xarnze)
Maintenance
- #344 - Update import format on readme (@cechiorlu)
- #342 - Add note about using multiple Redis versions (@abhijoshi2k)