npm / pg
pg
What changed in pg 8, from its official release notes, upgrade guides and advisories. Also covers @types/pg. Sources checked 2026-10-27.
1 deprecations2 new APIs and options
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initpg 83 changes
Deprecations 1
The internal query queue is deprecated; developers relying on it should avoid depending on this internal behavior.
New APIs and options 2
Adds support for query pipelining.
Adds support for sslnegotiation=direct when connecting to PostgreSQL 17+.