pg
8.23.1 · 30 Sep 2026MIT105.8M / weekRepositorynpmAtom feed
Upgrading pg From 0.15.0 to 2.11.2
35 releases in betweennotes for 16
Counted from 16 of 35 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking1.0.0
Security
Fixes 1 advisory affecting 0.15.0
- Remote Code Execution in pgcritical · GHSA-wc9v-mj63-m9g5
Release by release
2.11.1 – 2.11.22 releases, no release note
- New
Add support for application_name
- New
- New
Add support for the password file
- New
- New
Add better support for unix domain socket connections
- New
2.8.1 – 2.8.55 releases, no release note
- New
Add support for parsing JSON and UUID result types
- New
2.2.0 – 2.7.010 releases, nothing new or fixed; 4 without a note
- New
Add support for SSL connections in JavaScript driver
- New
11 other lines we could not sort, mostly version bumps
- 2.7.0
Use single row mode in native bindings when available [@rpedela]
- 2.7.0
Automatically bind buffer type parameters as binary [@eugeneware]
- 2.6.0
Respect PGSSLMODE environment variable
- 2.5.0
Ability to opt-in to int8 parsing via
pg.defaults.parseInt8 = true - 2.4.0
Use eval in the result set parser to increase performance
- 2.3.0
Remove built-in support for binary Int64 parsing. Due to the low usage & required compiled dependency this will be pushed into a 3rd party add-on
- 2.1.0
This means you can connect to heroku postgres from your local machine without the native bindings!
- 2.0.0
Properly handle various PostgreSQL to JavaScript type conversions to avoid data loss:
- 1.3.0
Make client_encoding configurable and optional
- 1.2.0
Return field metadata on result object: access via result.fields[i].name/dataTypeID
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.