connect-pg-simple
Advanced tools
Changelog
10.0.0 (2024-09-13)
pg
(81b5630)knip
(f78ef50)validate-conventional-commit
(84f525a)Changelog
9.0.0 (2023-06-07)
>=16.0.0
Changelog
8.0.0 (2022-11-12)
^14.18.0 || >=16.0.0
#
) This can be breaking if you relied on those properties or methodspg
node:
to import built in modulesChangelog
7.0.0 (2021-09-06)
7.0.0-0
Changelog
7.0.0-0 (2021-01-18)
.close()
method is now async and returns a Promise
that will be resolved when this session store is fully shut down. Fixes #183.^10.17.0 || >=11.14.0
disableTouch
. Disables updating of TTL in database on touch. Fixes #55.createTableIfMissing
. When set, the session table will be automatically created if missing. Fixes #158 and #173. Thanks @aadeshmisra!_asyncQuery()
function in a move to modernize internal code on top of Promise / async / await.Changelog
6.2.1 (2020-08-19)
Changelog
6.2.0 (2020-08-06)
Changelog
6.1.0 (2019-12-29)
pruneSessionRandomizedInterval
enables deactivation + customization of the new random prune interval feature.5
minutes, rather than 1
minute. No need to clean extremely often. Will probably make even longer eventually, but a more drastic change could be kind of a breaking change. Please comment in #162 with feedback on future default.expire
column. You have to add this yourself if you have already set up this module. The change is purely for enhancing performance and can be skipped if no performance issues have been experiences. It is recommended to apply it though.Changelog
6.0.1 (2019-08-21)
schemaName
and tableName
wasn't escaped. If any of the two contained a string with a double quote in it, then that would enable an SQL injection. This was previously a feature of tableName
, before the introduction of a separate schemaName
, as that allowed a schema to be defined as part of tableName
. Defining schema name through tableName
is still supported after this fix, but is now deprecated.