# What changed in @planetscale/database

> 5 changes in @planetscale/database 1 to 2 from its official release notes, upgrade guides and advisories: 3 breaking, 1 new APIs and options. Each one cited. Sources checked 2026-11-30. HTML: https://unstale.sh/npm/@planetscale/database/

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

## @planetscale/database 2

### Breaking changes

- The required Node version was bumped to 22. (2.0.0) — [release notes](https://github.com/planetscale/database-js/releases/tag/v2.0.0)
- Parameter interpolation was removed, changing how query parameters are handled. (2.0.0) — [release notes](https://github.com/planetscale/database-js/releases/tag/v2.0.0)

## @planetscale/database 1

### Breaking changes

- Placeholder parsing was hardened for sanitization, which may affect how application code handles placeholders. (1.20.2) — [release notes](https://github.com/planetscale/database-js/releases/tag/v1.20.2)

### New APIs and options

- Adds UnknownError with full response context for non-JSON API errors. (1.20.0) — [release notes](https://github.com/planetscale/database-js/releases/tag/v1.20.0)

### Fixes and other changes

- Cloudflare errors are detected in UnknownError messaging, helping developers identify those errors. (1.20.1) — [release notes](https://github.com/planetscale/database-js/releases/tag/v1.20.1)
