Packages

pg

8.23.1 · 30 Sep 2026MIT106.3M / weekRepositorynpmAtom feed

Upgrading pg From 3.6.4 to 4.0.0

1 release in betweenevery note read

Other targets from 3.6.4Latest8.23.1
The note of 4.0.0 lists no breaking change or deprecation, which is rare for a major.
  1. 3.6.4yours
  2. 4.0.0target
?
changes to make
0
advisories fixed
0
new
0
fixes

Security

1 advisory still affects 4.0.0

Upgrading to 4.5.7 clears it.

3 other lines we could not sort, mostly version bumps
  • Make native bindings an optional install with npm install pg-native

    4.0.0
  • No longer surround query result callback with try/catch block.

    4.0.0
  • Remove built in COPY IN / COPY OUT support - better implementations provided by pg-copy-streams and pg-native

    4.0.0

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.