Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency connect-redis to v8 #415

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Nov 27, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
connect-redis ^3.4.0 -> ^8.0.0 age adoption passing confidence

Release Notes

tj/connect-redis (connect-redis)

v8.0.0

Compare Source

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

Compare Source

Maintenance

v7.1.0

Compare Source

Enhancements

v7.0.1

Compare Source

Maintenance

v7.0.0

Compare Source

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

Compare Source

v6.1.2

Compare Source

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

v6.1.1

Compare Source

v6.1.0

Compare Source

Enhancements
Maintenance

v6.0.0

Compare Source

Breaking changes
Maintenance

v5.2.0

Compare Source

Enhancements
Maintenance

v5.1.0

Compare Source

Enhancements
Maintenance

v5.0.0

Compare Source

  • Drop support for Node 8

v4.0.4

Compare Source

v4.0.3

Compare Source

v4.0.2

Compare Source

v4.0.1

Compare Source

  • Change peerDependencies to optionalDependencies @​knoxcard

v4.0.0

Compare Source

V4 is a rework of the library to accomplish the following goals.

  • Use slightly more modern JavaScript, targeting Node 8 and above.
  • Switch to using cookie.expires for TTL like connect-mongo does.
  • Remove the embedded node_redis client, a client must be provided.
  • Remove all embedded client options that are no longer needed.
  • Clearer documentation around TTLs.
  • Add clear method to support the full express-session API.
  • Remove multi-session destroy usage to conform with the API.
  • Build with Travis.

V4 has breaking changes which are outlined in the migration guide.

v3.4.2

Compare Source

v3.4.1

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants