- Update peer dependencies.
@bedrock/[email protected]
.@bedrock/[email protected]
.- BREAKING:
@bedrock/mongodb@11
.- Use MongoDB driver 6.x and update error names and details.
- See changelog for details.
- Update dev dependencies.
- Update test dependencies.
- Update to
connect-mongo@5
. - Make the
session-mongodb.ttl
config value default to a value computed fromexpress.session.ttl
. This does not change the default of 30 minutes but it does allow the express session TTL to properly propagate to theMongoStore
session store instance w/o the need for setting thesession-mongodb.ttl
configuration value independently. It can still be set independently, overiding the computed value if desired.
- BREAKING: Update peer deps:
@bedrock/core@6
@bedrock/express@8
@bedrock/mongodb@10
.
- Use
jsdoc-to-markdown@7
.
- BREAKING: Rename package to
@bedrock/session-mongodb
. - BREAKING: Convert to module (ESM).
- BREAKING: Remove default export.
- BREAKING: Require node 14.x.
- Add missing
esm
dependency.
- Update peer deps:
- Update internals to use esm style and use
esm.js
to transpile to CommonJS.
- Update peer dependencies:
- Update test deps and CI workflow.
- BREAKING: Upgrade
bedrock-mongodb
to ^7.0.0. - BREAKING: Upgrade
connect-mongo
to ^3.2.0. - Change dbPromise to clientPromise for
connect-mongo
.
- Add a test for basic functionality.
- Update to latest bedrock events API.
- Delay server listening until session storage is ready.
- BREAKING: Update
connect-mongo
dependency. - Update
bedrock-mongodb
peer dependency.
- Fix potential deadlock conflict with
bedrock-express
andbedrock-mongodb
. Do not prevent express startup while waiting for session database readiness as this blocks other modules waiting onbedrock.start
, such asbedrock-mongodb
, which is needed to ready the session database. Instead, only prevent express readiness which occurs later duringbedrock.ready
.
- Update connect-mongo dependency.
- Update bedrock dependencies.
- Update package dependencies for npm v3 compatibility.
- Updated to connect-mongo 0.8.1.
- Unused
config['session-mongodb'].clearInterval
.
- Support for bedrock-express
0.2.x
.
- See git history for changes.