Parameter interpolation has been removed from PlanetScale database-js, and the required Node version is now 22. The major release also includes an npm audit fix.
PlanetScale database-js
npx @buildinternet/releases get planetscale-database-jsSanitization is hardened in placeholder parsing, and outstanding npm audit warnings are resolved with undici updated. The rest is CI and repo hygiene, including pinned GitHub Actions, workflow security checks, and removal of the jest dependency.
What's Changed
- Add npm trusted publisher workflow by @mattrobenolt in https://github.com/planetscale/database-js/pull/197
- Detect Cloudflare errors in UnknownError messaging by @mattrobenolt in https://github.com/planetscale/database-js/pull/198
What's Changed
- README: remove extra docs by @nickvanw in https://github.com/planetscale/database-js/pull/184
- Update README by @iheanyi in https://github.com/planetscale/database-js/pull/189
- Add link to postgres documentation by @SimeonGriggs in…
What's Changed
- Fix formatting empty Uint8Arrays by @emmatown in https://github.com/planetscale/database-js/pull/181
- Pin license finder by @ayrton in https://github.com/planetscale/database-js/pull/182
New Contributors
- @emmatown made their first contribution…
What's Changed
- Fix JSON cast logic. JSON is always UTF8 by @mattrobenolt in https://github.com/planetscale/database-js/pull/176
Full Changelog: https://github.com/planetscale/database-js/compare/v1.17.0...v1.18.0
What's Changed
- Fix binary cast logic by @mattrobenolt and @ayrton in https://github.com/planetscale/database-js/pull/174
Full Changelog: https://github.com/planetscale/database-js/compare/v1.16.0...v1.17.0
What's Changed
- Support binary text data by @ayrton in https://github.com/planetscale/database-js/pull/167
Full Changelog: https://github.com/planetscale/database-js/compare/v1.15.0...v1.16.0
What's Changed
- Strict check by @ayrton in https://github.com/planetscale/database-js/pull/157
- Constructor type overloading cleanup by @ayrton in https://github.com/planetscale/database-js/pull/162
- Support binary data by @mattrobenolt and @ayrton in…
What's Changed
- Expose
Client#configandConnection#configby @SevInf in https://github.com/planetscale/database-js/pull/153 BigIntquery paremeter support by @jkomyno in https://github.com/planetscale/database-js/pull/159
New Contributors
- @SevInf made…
What's Changed
- Faster date sanitization by @andrewvasilchuk in https://github.com/planetscale/database-js/pull/131
- Row type parameters
execute<T>()by @ayrton in https://github.com/planetscale/database-js/pull/154
New Contributors
- @ayrton made their first…
What's Changed
- Add tests for float- and JSON casting by @andrewvasilchuk in https://github.com/planetscale/database-js/pull/132
Full Changelog: https://github.com/planetscale/database-js/compare/v1.11.0...v1.12.0
What's Changed
- Add usage instructions with boost by @mscoutermarsh in https://github.com/planetscale/database-js/pull/130
- Respect
config.urlas source of truth for API calls by @iheanyi in https://github.com/planetscale/database-js/pull/138
New Contributors
*…
What's Changed
- Set session before throwing an error. by @iheanyi in https://github.com/planetscale/database-js/pull/129
Full Changelog: https://github.com/planetscale/database-js/compare/v1.9.0...v1.10.0
What's Changed
- Add CommonJS build by @dgraham in https://github.com/planetscale/database-js/pull/128
Full Changelog: https://github.com/planetscale/database-js/compare/v1.8.0...v1.9.0
What's Changed
- Fix fetch-h2 link in README by @jvandenaardweg in https://github.com/planetscale/database-js/pull/109
- Return geometry as its raw value. by @iheanyi in https://github.com/planetscale/database-js/pull/121
New Contributors
- @jvandenaardweg made their…
What's Changed
- Bump json5 from 2.2.1 to 2.2.3 by @dependabot in https://github.com/planetscale/database-js/pull/79
- coerce rowsAffected and insertId to concrete values by @mattrobenolt in https://github.com/planetscale/database-js/pull/89
- Fix the 'types' property path…
What's Changed
- Better timing information for queries by @iheanyi in https://github.com/planetscale/database-js/pull/77
Full Changelog: https://github.com/planetscale/database-js/compare/v1.4.1...v1.5.0
What's Changed
- Add documentation on new array option. by @iheanyi in https://github.com/planetscale/database-js/pull/66
- actions: add workflow for codeql scanning by @skottler in https://github.com/planetscale/database-js/pull/74
- Better support for NULLs by…
What's Changed
- Remove timezone from sanitized date strings by @dgraham in https://github.com/planetscale/database-js/pull/64
- Add options for returning rows from queries as an array or object by @iheanyi in https://github.com/planetscale/database-js/pull/65
**Full…

