Packages

pg

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

Upgrading pg From 1.3.0 to 8.23.1

183 releases in betweennotes for 69

Reading releases, release notes and advisories…

Other targets from 1.3.0Clears its advisory2.11.2
  1. 1.3.0yours
  2. 2.0.0major
  3. 22 releases
  4. 3.0.0major
  5. 18 releases
  6. 4.0.0major
  7. 19 releases
  8. 5.0.0major
  9. 3 releases
  10. 6.0.0major
  11. 22 releases
  12. 7.0.0major
  13. 37 releases
  14. 8.0.0major
  15. 54 releases
  16. 8.23.1target
20+
changes to make
1
advisory fixed
56+
new
5+
fixes

Counted from 69 of 183 release notes. Advisories are counted from the advisory database, in full.

Start here

Before you upgrade

Tick each one off as you go
  • Breaking8.8.0
  • Breaking7.14.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking6.0.0

Security

Fixes 1 advisory affecting 1.3.0

Release by release

  1. 8.23.1no release note

  2. 8.23.0

    8 Aug 20261 new
  3. 8.22.0

    19 Jun 20261 new
  4. 8.21.0

    18 May 20263 new · 1 fix
  5. 8.20.0

    4 Mar 20261 new
    • New

      Add onConnect callback to pg.Pool constructor options allowing for async initialization of newly created & connected pooled clients.

  6. 8.16.1 – 8.19.08 releases, nothing new or fixed; 5 without a note

  7. 8.16.0

    12 May 20251 new
  8. 8.15.1 – 8.15.64 releases, no release note

45 other lines we could not sort, mostly version bumps
  • Pass connection parameters to password callback.

    8.19.0
  • Return the client instance as the result of calling connect (previously it was void).

    8.18.0
  • Throw correct error if database URL parsing fails.

    8.17.0
  • Better errors for SASL authentication.

    8.9.0
  • Use native crypto module for SASL authentication.

    8.9.0
  • Catch previously uncatchable errors thrown in pool.query.

    8.8.0
  • Better SASL error messages & more validation on bad configuration.

    8.6.0
  • Convert pg-query-stream internals to typescript.

    8.5.0
  • Switch to optional peer dependencies & remove semver package which has been a small thorn in the side of a few users.

    8.4.0
  • Export DatabaseError from pg-protocol.

    8.4.0

6 internal lines (docs, tests, tooling) left out.

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.