Skip to content

fix(deps): update dependency connect-mongo to v5

Renovate requested to merge renovate/connect-mongo-5.x into staging

This MR contains the following updates:

Package Type Update Change
connect-mongo dependencies major ^3.2.0 -> ^5.1.0

Release Notes

jdesboeufs/connect-mongo (connect-mongo)

v5.1.0

Compare Source

Changed
  • Extend mongodb peer dependency allowed versions to 6.x
  • Upgrade dependency

v5.0.0

Compare Source

BREAKING CHANGES
  • Upgraded peer dependency mongodb to 5.0.0
  • Change engines to require Node 12.9 or newer, matching the upgrade to mongodb that occurred in v4.5.0
Fixed
  • Declare express-session as a peer dependency.

v4.6.0

Compare Source

Changed
  • Moved mongodb to a peer dependency (and also as a dev dependency for connect-mongo developers). connect-mongo is no longer pinned to a specific version of mongodb. This allows end users to avoid errors due to Typescript definition changes when moving to new versions of mongodb. Users can use any version of mongodb that provides a compatible (non-breaking) interface to mongodb ^4.1.0. Tested on mongodb 4.1.0 and 4.1.1. Should fix: #​433 #​434 #​436
Fixed
  • Fixed "Callback was already called" when some code throws immediately after calling the set function

v4.5.0

Compare Source

BREAKING CHANGES
  • Drop Node 10 support
Changed
Fixed
  • Move writeConcern away from top-level option to fix deprecation warning #​422

v4.4.1

Compare Source

Fixed
  • store.all() method not working with encrypted store #​410 #​411
  • Update and unpin mongodb dependency due to upstream fix has been deployed #​409

v4.4.0

Compare Source

BREAKING CHANGES
  • Use export = for better cjs require without .default
Added
  • Add typescript example

v4.3.1

Compare Source

Fixed
  • Fix incorrect assertion checking after adding client options

v4.3.0

Compare Source

Added
  • Add client option for non-promise client

v4.2.2

Compare Source

Fixed
  • Fix crypto parsing error by upgrading kruptein to v3.0.0 and change encodeas to base64

v4.2.1

Compare Source

v4.2.0

Compare Source

Added
  • Added mongoose example
  • Revert createAutoRemoveIdx and add back autoRemove and autoRemoveInterval
Fixed
  • Use matchedCount instead of modifiedCount to avoid throwing exceptions when nothing to modify #​390
  • Fixed Warning: Accessing non-existent property 'MongoError' of module exports inside circular dependency by downgrade to mongodb@3.6.3
  • Revert update session when touch #​351
  • Fix cannot read property lastModified of null
  • Fix TS typing error

v4.1.0

Compare Source

BREAKING CHANGES
  • Support Node.Js 10.x, 12.x and 14.x and drop older support.
  • Review method to connect to MongoDB and keep only mongoUrl and clientPromise options.
  • Remove the "Remove expired sessions compatibility mode". Now library user can choose to create auto remove index on startup or not.
  • Remove fallbackMemory options.
  • Rewrite the library and test case using typescript.

Checkout the complete migration guide for more details.

v4.0.0

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 MR becomes conflicted, or you tick the rebase/retry checkbox.

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


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

This MR has been generated by Renovate Bot.

Merge request reports

Loading