# What changed in pg

> 3 changes in pg 8 from its official release notes, upgrade guides and advisories: 1 deprecations, 2 new APIs and options. Each one cited. Sources checked 2026-10-27. HTML: https://unstale.sh/npm/pg/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## pg 8

### Deprecations

- The internal query queue is deprecated; developers relying on it should avoid depending on this internal behavior. (8.19.0) — [release notes](https://github.com/brianc/node-postgres/blob/747a68ce273f8cdbb7c9c619f211ac383aaebdab/CHANGELOG.md#pg8190)

### New APIs and options

- Adds support for query pipelining. (8.23.0) — [release notes](https://github.com/brianc/node-postgres/blob/747a68ce273f8cdbb7c9c619f211ac383aaebdab/CHANGELOG.md#pg8230)
- Adds support for sslnegotiation=direct when connecting to PostgreSQL 17+. (8.22.0) — [release notes](https://github.com/brianc/node-postgres/blob/747a68ce273f8cdbb7c9c619f211ac383aaebdab/CHANGELOG.md#pg8220)
