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 #1350

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 11, 2024

This PR contains the following updates:

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

Release Notes

tj/connect-redis (connect-redis)

v8.0.1

Compare Source

Bug fixes

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

Configuration

📅 Schedule: Branch creation - "after 7am and before 11am every weekday" in timezone Europe/London, 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.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Dec 11, 2024
@renovate renovate bot force-pushed the renovate/connect-redis-8.x branch 4 times, most recently from 46c419f to 06e8af1 Compare December 13, 2024 11:09
@renovate renovate bot force-pushed the renovate/connect-redis-8.x branch from 06e8af1 to 6ad354b Compare December 13, 2024 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants