pg
8.23.1 · 30 Sep 2026MIT106M / weekRepositorynpmAtom feed
8.23.1 is the newest release of 8.x.
In short
7 changed
Release note
pg@8.0.0
note: for detailed release notes please check here
Remove versions of node older than
6 ltsfrom the test matrix.pg>=8.0may still work on older versions but it is no longer officially supported.Change default behavior when not specifying
rejectUnauthorizedwith the SSL connection parameters. Previously we defaulted torejectUnauthorized: falsewhen it was not specifically included. We now default torejectUnauthorized: true.Manually specify{ ssl: { rejectUnauthorized: false } }for old behavior.Change default database when not specified to use the
userconfig option if available. Previouslyprocess.env.USERwas used.Make
pg.nativenon enumerable.noticemessages are no longer instances ofError.Passwords no longer show up when instances of clients or pools are logged.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.