#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.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps connect-redis from 6.0.0 to 7.1.1.
Release notes
Sourced from connect-redis's releases.
... (truncated)
Commits
2f1ce8f
v7.1.1d80fcac
Fix typo in readme (#408)bd40b39
Fix broken windows (#409)5f5976e
v7.1.08d385c2
Add TTL interception for external conditional TTL handling (#393)54d17d3
Add support for async serializer for use with worker threads (#390)f390403
v7.0.120ca62a
Remove FAQ section in readme (#382)2cbf45f
Declare express-session as a peerDependency (#381)3230e28
v7.0.0Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show