---
name: PlanetScale database-js
slug: planetscale-database-js
type: github
source_url: https://github.com/planetscale/database-js
organization: PlanetScale
organization_slug: planetscale
total_releases: 34
latest_version: v1.20.1
latest_date: 2026-03-25
last_updated: 2026-04-19
tracking_since: 2023-04-06
canonical: https://releases.sh/planetscale/planetscale-database-js
organization_url: https://releases.sh/planetscale
---

<Release version="v1.20.1" date="March 25, 2026" published="2026-03-25T21:22:54.000Z" url="https://github.com/planetscale/database-js/releases/tag/v1.20.1">
## 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


**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.20.0...v1.20.1
</Release>

<Release version="v1.20.0" date="March 24, 2026" published="2026-03-24T18:38:01.000Z" url="https://github.com/planetscale/database-js/releases/tag/v1.20.0">
## 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 https://github.com/planetscale/database-js/pull/194
* Add UnknownError with full response context for non-JSON API errors by @mattrobenolt in https://github.com/planetscale/database-js/pull/196

## New Contributors
* @SimeonGriggs made their first contribution in https://github.com/planetscale/database-js/pull/194

**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.19.0...v1.20.0
</Release>

<Release version="v1.19.0" date="August 14, 2024" published="2024-08-14T11:37:33.000Z" url="https://github.com/planetscale/database-js/releases/tag/v1.19.0">
## 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 in https://github.com/planetscale/database-js/pull/181

**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.18.0...v1.19.0
</Release>

<Release version="v1.18.0" date="April 29, 2024" published="2024-04-29T16:17:18.000Z" url="https://github.com/planetscale/database-js/releases/tag/v1.18.0">
## 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
</Release>

<Release version="v1.17.0" date="April 26, 2024" published="2024-04-26T20:39:25.000Z" url="https://github.com/planetscale/database-js/releases/tag/v1.17.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
</Release>

<Release version="v1.16.0" date="February 9, 2024" published="2024-02-09T21:53:36.000Z" url="https://github.com/planetscale/database-js/releases/tag/v1.16.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
</Release>

<Release version="v1.15.0" date="February 5, 2024" published="2024-02-05T11:52:23.000Z" url="https://github.com/planetscale/database-js/releases/tag/v1.15.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 https://github.com/planetscale/database-js/pull/164


**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.14.0...v1.15.0
</Release>

<Release version="v1.14.0" date="January 18, 2024" published="2024-01-18T19:28:01.000Z" url="https://github.com/planetscale/database-js/releases/tag/v1.14.0">
## What's Changed
* Expose `Client#config` and `Connection#config` by @SevInf in https://github.com/planetscale/database-js/pull/153
* `BigInt` query paremeter support by @jkomyno in https://github.com/planetscale/database-js/pull/159

## New Contributors
* @SevInf made their first contribution in https://github.com/planetscale/database-js/pull/153
* @jkomyno made their first contribution in https://github.com/planetscale/database-js/pull/159

**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.13.0...v1.14.0
</Release>

<Release version="v1.13.0" date="December 14, 2023" published="2023-12-14T23:50:13.000Z" url="https://github.com/planetscale/database-js/releases/tag/v1.13.0">
## 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 contribution in https://github.com/planetscale/database-js/pull/155

**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.12.0...v1.13.0
</Release>

<Release version="v1.12.0" date="December 14, 2023" published="2023-12-14T23:49:59.000Z" url="https://github.com/planetscale/database-js/releases/tag/v1.12.0">
## 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
</Release>

<Release version="v1.11.0" date="August 21, 2023" published="2023-08-21T18:31:00.000Z" url="https://github.com/planetscale/database-js/releases/tag/v1.11.0">
## What's Changed
* Add usage instructions with boost by @mscoutermarsh in https://github.com/planetscale/database-js/pull/130
* Respect `config.url` as source of truth for API calls by @iheanyi in https://github.com/planetscale/database-js/pull/138

## New Contributors
* @mscoutermarsh made their first contribution in https://github.com/planetscale/database-js/pull/130

**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.10.0...v1.11.0
</Release>

<Release version="v1.10.0" date="July 25, 2023" published="2023-07-25T22:05:30.000Z" url="https://github.com/planetscale/database-js/releases/tag/v1.10.0">
## 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
</Release>

<Release version="v1.9.0" date="July 24, 2023" published="2023-07-24T16:50:27.000Z" url="https://github.com/planetscale/database-js/releases/tag/v1.9.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
</Release>

<Release version="v1.8.0" date="June 29, 2023" published="2023-06-29T18:36:43.000Z" url="https://github.com/planetscale/database-js/releases/tag/v1.8.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 first contribution in https://github.com/planetscale/database-js/pull/109

**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.7.0...v1.8.0
</Release>

<Release version="v1.6.0" date="April 6, 2023" published="2023-04-06T17:16:59.000Z" url="https://github.com/planetscale/database-js/releases/tag/v1.6.0">
## 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 in package.json by @bjesuiter in https://github.com/planetscale/database-js/pull/93
* Cast as execute option by @cdcarson in https://github.com/planetscale/database-js/pull/81

## New Contributors
* @bjesuiter made their first contribution in https://github.com/planetscale/database-js/pull/93
* @cdcarson made their first contribution in https://github.com/planetscale/database-js/pull/81

**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.5.0...v1.6.0
</Release>

<Release version="v1.5.0" date="April 6, 2023" published="2023-04-06T17:16:46.000Z" url="https://github.com/planetscale/database-js/releases/tag/v1.5.0">
## 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
</Release>

<Release version="v1.4.1" date="April 6, 2023" published="2023-04-06T17:16:24.000Z" url="https://github.com/planetscale/database-js/releases/tag/v1.4.1">
## 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 @mattrobenolt in https://github.com/planetscale/database-js/pull/73

## New Contributors
* @skottler made their first contribution in https://github.com/planetscale/database-js/pull/74

**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.4.0...v1.4.1
</Release>

<Release version="v1.4.0" date="April 6, 2023" published="2023-04-06T17:16:12.000Z" url="https://github.com/planetscale/database-js/releases/tag/v1.4.0">
## 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 Changelog**: https://github.com/planetscale/database-js/compare/v1.3.0...v1.4.0
</Release>

<Release version="v1.3.0" date="April 6, 2023" published="2023-04-06T17:15:51.000Z" url="https://github.com/planetscale/database-js/releases/tag/v1.3.0">
**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.2.1...v1.3.0
</Release>

<Release version="v1.2.1" date="April 6, 2023" published="2023-04-06T17:12:40.000Z" url="https://github.com/planetscale/database-js/releases/tag/v1.2.1">
## What's Changed
* Throw errors returned from the API instead of returning by @iheanyi in https://github.com/planetscale/database-js/pull/62


**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.1.0...v1.2.1
</Release>

<Pagination page="1" total-pages="2" total-items="34" next="https://releases.sh/planetscale/planetscale-database-js.md?page=2" />
