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@planetscale/database 22 changes
Breaking changes 2
The required Node version was bumped to 22.
Parameter interpolation was removed, changing how query parameters are handled.
@planetscale/database 13 changes
Breaking changes 1
Placeholder parsing was hardened for sanitization, which may affect how application code handles placeholders.
New APIs and options 1
Adds UnknownError with full response context for non-JSON API errors.
Fixes and other changes 1
Cloudflare errors are detected in UnknownError messaging, helping developers identify those errors.