pg
8.23.1 · 30 Sep 2026MIT106.3M / weekRepositorynpmAtom feed
Upgrading pg From 4.5.4 to 8.23.1
124 releases in betweennotes for 45
Counted from 45 of 124 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 4.5.4
- Remote Code Execution in pgcritical · GHSA-wc9v-mj63-m9g5
Release by release
8.23.1no release note
- New
Add support for query
pipelineing.
- New
- New
Add support for sslnegotiation=direct for PostgreSQL 17+.
- New
- New
Add support for node@26.
- New
Add
scramMaxIterationsconfig option. - New
Add
client.getTransactionStatus()method. - Fixed
Handle SASL SCRAM server error responses properly.
- New
8.16.1 – 8.19.08 releases, nothing new or fixed; 5 without a note
- New
Add support for min connection pool size.
- New
8.15.1 – 8.15.64 releases, no release note
27 other lines we could not sort, mostly version bumps
- 8.19.0
Pass connection parameters to password callback.
- 8.18.0
Return the client instance as the result of calling
connect(previously it wasvoid). - 8.17.0
Throw correct error if database URL parsing fails.
- 8.9.0
Better errors for SASL authentication.
- 8.9.0
Use native crypto module for SASL authentication.
- 8.8.0
Catch previously uncatchable errors thrown in
pool.query. - 8.6.0
Better SASL error messages & more validation on bad configuration.
- 8.5.0
Convert pg-query-stream internals to typescript.
- 8.4.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
DatabaseErrorfrom pg-protocol.
3 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.