Skip to content

Releases: tj/connect-redis

v8.0.0

27 Nov 22:06
1ae375e
Compare
Choose a tag to compare

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:

// Previously
import RedisStore from "connect-redis"

// Now
import {RedisStore} from "connect-redis"

If you are using CommonJS (require) modules:

// Previously
const RedisStore = require("connect-redis").default

// Now
const {RedisStore} = require("connect-redis")

v7.1.1

22 Jan 16:26
2f1ce8f
Compare
Choose a tag to compare

Maintenance

v7.1.0

11 May 19:28
5f5976e
Compare
Choose a tag to compare

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

06 Mar 15:20
f390403
Compare
Choose a tag to compare

Maintenance

v7.0.0

28 Feb 17:35
3230e28
Compare
Choose a tag to compare

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

18 Mar 19:54
a4770bd
Compare
Choose a tag to compare

v6.1.2

14 Mar 13:50
1da4026
Compare
Choose a tag to compare

Bug fixes

  • #348 - Fix merging bug in 6.1.0 that resulted in sessions being deleted. (@zkldi)

Maintenance

v6.1.1

07 Feb 15:14
ca4a750
Compare
Choose a tag to compare

v6.1.0

04 Feb 15:53
1be0cdf
Compare
Choose a tag to compare

Enhancements

  • #345 - Add support for Redis V4 through legacyMode (@wavded)
  • #333 - Support for concurrent sessions (@xarnze)

Maintenance

v6.0.0

02 Jun 21:41
47b485c
Compare
Choose a tag to compare

Breaking changes

Maintenance