v7.0.0-0
Pre-release
Pre-release
- Possibly breaking change: Align session expiration logic with connect-redis which in turned aligned with connect-mongo. Fixes #54.
- Minor breaking change: The
.close()
method is now async and returns aPromise
that will be resolved when this session store is fully shut down. Fixes #183. - Minor breaking change: Now requires Node version
^10.17.0 || >=11.14.0
- Feature: New option:
disableTouch
. Disables updating of TTL in database on touch. Fixes #55. - Feature: New option:
createTableIfMissing
. When set, the session table will be automatically created if missing. Fixes #158 and #173. Thanks @aadeshmisra! - Tweak: Slightly tweaked the pg-promise integration. Fixes #153.
- Tweak: Introduced a new internal
_asyncQuery()
function in a move to modernize internal code on top of Promise / async / await.