fix(deps): update dependency connect-mongo to v5
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
Changed
- Extend
mongodb
peer dependency allowed versions to6.x
- Upgrade dependency
v5.0.0
BREAKING CHANGES
- Upgraded peer dependency
mongodb
to 5.0.0 - Change
engines
to require Node 12.9 or newer, matching the upgrade tomongodb
that occurred inv4.5.0
Fixed
- Declare
express-session
as a peer dependency.
v4.6.0
Changed
- Moved
mongodb
to a peer dependency (and also as a dev dependency forconnect-mongo
developers).connect-mongo
is no longer pinned to a specific version ofmongodb
. This allows end users to avoid errors due to Typescript definition changes when moving to new versions ofmongodb
. Users can use any version ofmongodb
that provides a compatible (non-breaking) interface tomongodb ^4.1.0
. Tested onmongodb
4.1.0
and4.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
BREAKING CHANGES
- Drop Node 10 support
Changed
Fixed
- Move
writeConcern
away from top-level option to fix deprecation warning #422
v4.4.1
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
BREAKING CHANGES
- Use
export =
for better cjs require without.default
Added
- Add typescript example
v4.3.1
Fixed
- Fix incorrect assertion checking after adding
client
options
v4.3.0
Added
- Add
client
option for non-promise client
v4.2.2
Fixed
- Fix crypto parsing error by upgrading
kruptein
tov3.0.0
and change encodeas tobase64
v4.2.1
v4.2.0
Added
- Added mongoose example
- Revert
createAutoRemoveIdx
and add backautoRemove
andautoRemoveInterval
Fixed
- Use
matchedCount
instead ofmodifiedCount
to avoid throwing exceptions when nothing to modify #390 - Fixed
Warning: Accessing non-existent property 'MongoError' of module exports inside circular dependency
by downgrade tomongodb@3.6.3
- Revert update session when touch #351
- Fix cannot read property
lastModified
of null - Fix TS typing error
v4.1.0
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
andclientPromise
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
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.