Packages

pg

8.23.1 · 30 Sep 2026MIT105.8M / weekRepositorynpmAtom feed

Upgrading pg From 0.7.2 to 8.23.1

218 releases in betweennotes for 75

Reading releases, release notes and advisories…

Other targets from 0.7.2Newest 0.x0.15.1Clears its advisory2.11.2
  1. 0.7.2yours
  2. 0.8.0major
  3. 7 releases
  4. 0.9.0major
  5. 0.10.0major
  6. 4 releases
  7. 0.12.0major
  8. 2 releases
  9. 0.13.0major
  10. 2 releases
  11. 0.14.0major
  12. 1 release
  13. 0.15.0major
  14. 1 release
  15. 1.0.0major
  16. 10 releases
  17. 2.0.0major
  18. 22 releases
  19. 3.0.0major
  20. 18 releases
  21. 4.0.0major
  22. 19 releases
  23. 5.0.0major
  24. 3 releases
  25. 6.0.0major
  26. 22 releases
  27. 7.0.0major
  28. 37 releases
  29. 8.0.0major
  30. 54 releases
  31. 8.23.1target
22+
changes to make
1
advisory fixed
56+
new
6+
fixes

Counted from 75 of 218 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 0.7.2

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

50 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.