Skip to content

v7.0.0

Compare
Choose a tag to compare
@voxpelli voxpelli released this 06 Sep 21:31
· 107 commits to main since this release
  • Breaking change: Now requires at least Node.js 12.x
  • 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 a Promise that will be resolved when this session store is fully shut down. Fixes #183.
  • 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.

v6.2.1...v7.0.0