pg
8.23.1 · 30 Sep 2026MIT106.3M / weekRepositorynpmAtom feed
5.2.1 is the newest release of 5.x.
In short
1 breaking3 new
- Breaking
require('pg').nativenow returns null if the native bindings cannot be found; previously, this threw an exception.
Security
1 advisory affects 5.0.0; 5.2.1 fixes them
- CriticalRemote Code Execution in pgGHSA-wc9v-mj63-m9g5 · 24 Jul 2018Fixed in 5.2.1
Release note
Breaking Changes
- Breaking
require('pg').nativenow returns null if the native bindings cannot be found; previously, this threw an exception.
New Features
Better error message when passing
undefinedas a query parameterSupport for
defaults.connectionStringSupport for
returnToHeadbeing passed to generic pool
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.