Packages

pg

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

Upgrading pg From 3.6.4 to 4.5.7

20 releases in betweennotes for 6

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.0major
  3. 18 releases
  4. 4.5.7target
?
changes to make
0
advisories fixed
3+
new
?
fixes

Counted from 6 of 20 release notes. Advisories are counted from the advisory database, in full.

Release by release

  1. 4.5.1 – 4.5.77 releases, no release note

  2. 4.5.0

    25 Feb 20161 new
    • New

      Add option to parse JS date objects in query parameters as UTC

  3. 4.3.0 – 4.4.68 releases, nothing new or fixed; 6 without a note

  4. 4.2.0

    13 Jan 20151 new
    • New

      Support for additional error fields in postgres >= 9.3 if available.

  5. 4.1.1no release note

  6. 4.1.0

    4 Dec 20141 new
  7. 4.0.0nothing new or fixed in the note

5 other lines we could not sort, mostly version bumps
  • Warn to stderr if a named query exceeds 63 characters which is the max length supported by postgres.

    4.4.0
  • Unpin pg-types semver. Allow it to float against pg-types@1.x.

    4.3.0
  • 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.