#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.
You can trigger a rebase of this PR 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 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)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps connect-redis from 4.0.4 to 7.1.0.
Release notes
Sourced from connect-redis's releases.
... (truncated)
Commits
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.0a168f99
Drop legacy client support. Switch to Typescript (#377)e5c6cd1
Test ioredis 5 (#375)df96b20
Remove Node v12 support, add Node v16 build (#369)You can trigger a rebase of this PR 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 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)