unstale

npm / pg-promise

pg-promise

What changed in pg-promise 12, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-20.

1 breaking2 new APIs and options1 behavior and defaults1 tooling1 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

pg-promise 126 changes

Breaking changes 1

  • Legacy custom object and class inspections were removed; console output now uses NodeJS's default inspection, including color output for library class instances.

    12.6.0release notes

New APIs and options 2

  • The constructor accepts duplicate with values error, skip, or replace, allowing developers to choose how duplicate columns are handled.

    12.5.0release notes

  • The method accepts the skip option for handling duplicate columns when extending a ColumnSet.

    12.5.0release notes

Behavior and default changes 1

Tooling 1

  • TypeScript declarations for ColumnSet were updated.

    12.4.0release notes

Fixes and other changes 1