unstale

npm / @planetscale/database

@planetscale/database

What changed in @planetscale/database 1 to 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

3 breaking1 new APIs and options1 fixes and other

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

npx @unstale/cli init

@unstale/cli on npm

@planetscale/database 22 changes

Breaking changes 2

  • The required Node version was bumped to 22.

    2.0.0release notes

  • Parameter interpolation was removed, changing how query parameters are handled.

    2.0.0release notes

@planetscale/database 13 changes

Breaking changes 1

  • Placeholder parsing was hardened for sanitization, which may affect how application code handles placeholders.

    1.20.2release notes

New APIs and options 1

  • Adds UnknownError with full response context for non-JSON API errors.

    1.20.0release notes

Fixes and other changes 1

  • Cloudflare errors are detected in UnknownError messaging, helping developers identify those errors.

    1.20.1release notes