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

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 28, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
connect-redis ^6.0.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

Configuration

📅 Schedule: Branch creation - "after 3pm and before 7pm 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 Nov 28, 2024
@renovate renovate bot force-pushed the renovate/connect-redis-8.x branch 5 times, most recently from 64a4651 to 21d4143 Compare December 5, 2024 19:15
@renovate renovate bot changed the title Update dependency connect-redis to v8 Update dependency connect-redis to v8 - autoclosed Dec 8, 2024
@renovate renovate bot closed this Dec 8, 2024
@renovate renovate bot deleted the renovate/connect-redis-8.x branch December 8, 2024 18:33
@renovate renovate bot changed the title Update dependency connect-redis to v8 - autoclosed Update dependency connect-redis to v8 Dec 10, 2024
@renovate renovate bot reopened this Dec 10, 2024
@renovate renovate bot force-pushed the renovate/connect-redis-8.x branch 7 times, most recently from 62cb454 to 77ca5f5 Compare December 17, 2024 11:11
@renovate renovate bot force-pushed the renovate/connect-redis-8.x branch 4 times, most recently from b849242 to a2d7ec1 Compare December 18, 2024 13:21
@renovate renovate bot force-pushed the renovate/connect-redis-8.x branch from a2d7ec1 to b2af502 Compare December 18, 2024 17:27
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