v8.0.0
github-actions
released this
27 Nov 22:06
·
1 commit
to refs/heads/master
since this release
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")