{"id":"src_BfU0p37FAcZe0kGugGFm9","slug":"planetscale-database-js","name":"PlanetScale database-js","type":"github","url":"https://github.com/planetscale/database-js","orgId":"org_2z0vY9-qvBjZ_eVjlzWCh","org":{"slug":"planetscale","name":"PlanetScale"},"isPrimary":false,"metadata":"{}","releaseCount":34,"releasesLast30Days":2,"avgReleasesPerWeek":0.2,"latestVersion":"v1.20.1","latestDate":"2026-03-25T21:22:54.000Z","changelogUrl":null,"hasChangelogFile":false,"lastFetchedAt":"2026-04-19T07:01:33.086Z","trackingSince":"2023-04-06T16:49:55.000Z","releases":[{"id":"rel_ul9bKrS3GyQ_Blr-AmLis","version":"v1.20.1","title":"v1.20.1","summary":"## What's Changed\n* Add npm trusted publisher workflow by @mattrobenolt in https://github.com/planetscale/database-js/pull/197\n* Detect Cloudflare err...","content":"## What's Changed\n* Add npm trusted publisher workflow by @mattrobenolt in https://github.com/planetscale/database-js/pull/197\n* Detect Cloudflare errors in UnknownError messaging by @mattrobenolt in https://github.com/planetscale/database-js/pull/198\n\n\n**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.20.0...v1.20.1","publishedAt":"2026-03-25T21:22:54.000Z","url":"https://github.com/planetscale/database-js/releases/tag/v1.20.1","media":[]},{"id":"rel_e8gdBQ7XizlhY38NirGUg","version":"v1.20.0","title":"v1.20.0","summary":"## What's Changed\n* README: remove extra docs by @nickvanw in https://github.com/planetscale/database-js/pull/184\n* Update README by @iheanyi in https...","content":"## What's Changed\n* README: remove extra docs by @nickvanw in https://github.com/planetscale/database-js/pull/184\n* Update README by @iheanyi in https://github.com/planetscale/database-js/pull/189\n* Add link to postgres documentation by @SimeonGriggs in https://github.com/planetscale/database-js/pull/194\n* Add UnknownError with full response context for non-JSON API errors by @mattrobenolt in https://github.com/planetscale/database-js/pull/196\n\n## New Contributors\n* @SimeonGriggs made their first contribution in https://github.com/planetscale/database-js/pull/194\n\n**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.19.0...v1.20.0","publishedAt":"2026-03-24T18:38:01.000Z","url":"https://github.com/planetscale/database-js/releases/tag/v1.20.0","media":[]},{"id":"rel_ltWo0MM4rTD4BzXDk_1sX","version":"v1.19.0","title":"v1.19.0","summary":"## What's Changed\r\n\r\n* Fix formatting empty Uint8Arrays by @emmatown in https://github.com/planetscale/database-js/pull/181\r\n* Pin license finder by @...","content":"## What's Changed\r\n\r\n* Fix formatting empty Uint8Arrays by @emmatown in https://github.com/planetscale/database-js/pull/181\r\n* Pin license finder by @ayrton in https://github.com/planetscale/database-js/pull/182\r\n\r\n## New Contributors\r\n* @emmatown made their first contribution in https://github.com/planetscale/database-js/pull/181\r\n\r\n**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.18.0...v1.19.0","publishedAt":"2024-08-14T11:37:33.000Z","url":"https://github.com/planetscale/database-js/releases/tag/v1.19.0","media":[]},{"id":"rel_sl1JRnndtQgOCUKhIZ2aS","version":"v1.18.0","title":"v1.18.0","summary":"## What's Changed\r\n* Fix JSON cast logic. JSON is always UTF8 by @mattrobenolt in https://github.com/planetscale/database-js/pull/176\r\n\r\n\r\n**Full Chan...","content":"## What's Changed\r\n* Fix JSON cast logic. JSON is always UTF8 by @mattrobenolt in https://github.com/planetscale/database-js/pull/176\r\n\r\n\r\n**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.17.0...v1.18.0","publishedAt":"2024-04-29T16:17:18.000Z","url":"https://github.com/planetscale/database-js/releases/tag/v1.18.0","media":[]},{"id":"rel_3_qXtkOGib5E_CyieuFAe","version":"v1.17.0","title":"v1.17.0","summary":"## What's Changed\r\n* Fix binary cast logic by @mattrobenolt and @ayrton in https://github.com/planetscale/database-js/pull/174\r\n\r\n\r\n**Full Changelog**...","content":"## What's Changed\r\n* Fix binary cast logic by @mattrobenolt and @ayrton in https://github.com/planetscale/database-js/pull/174\r\n\r\n\r\n**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.16.0...v1.17.0","publishedAt":"2024-04-26T20:39:25.000Z","url":"https://github.com/planetscale/database-js/releases/tag/v1.17.0","media":[]},{"id":"rel_X3890YpfRRCNqKzqI-Is8","version":"v1.16.0","title":"v1.16.0","summary":"## What's Changed\r\n* Support binary text data by @ayrton in https://github.com/planetscale/database-js/pull/167\r\n\r\n\r\n**Full Changelog**: https://githu...","content":"## What's Changed\r\n* Support binary text data by @ayrton in https://github.com/planetscale/database-js/pull/167\r\n\r\n\r\n**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.15.0...v1.16.0","publishedAt":"2024-02-09T21:53:36.000Z","url":"https://github.com/planetscale/database-js/releases/tag/v1.16.0","media":[]},{"id":"rel_UAF7r0t9rQEY0s-utrWYy","version":"v1.15.0","title":"v1.15.0","summary":"## What's Changed\r\n* Strict check by @ayrton in https://github.com/planetscale/database-js/pull/157\r\n* Constructor type overloading cleanup by @ayrton...","content":"## What's Changed\r\n* Strict check by @ayrton in https://github.com/planetscale/database-js/pull/157\r\n* Constructor type overloading cleanup by @ayrton in https://github.com/planetscale/database-js/pull/162\r\n* Support binary data by @mattrobenolt and @ayrton in https://github.com/planetscale/database-js/pull/164\r\n\r\n\r\n**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.14.0...v1.15.0","publishedAt":"2024-02-05T11:52:23.000Z","url":"https://github.com/planetscale/database-js/releases/tag/v1.15.0","media":[]},{"id":"rel_ljKTbjj3k0WHZfYwiDdap","version":"v1.14.0","title":"v1.14.0","summary":"## What's Changed\r\n* Expose `Client#config` and `Connection#config` by @SevInf in https://github.com/planetscale/database-js/pull/153\r\n* `BigInt` quer...","content":"## What's Changed\r\n* Expose `Client#config` and `Connection#config` by @SevInf in https://github.com/planetscale/database-js/pull/153\r\n* `BigInt` query paremeter support by @jkomyno in https://github.com/planetscale/database-js/pull/159\r\n\r\n## New Contributors\r\n* @SevInf made their first contribution in https://github.com/planetscale/database-js/pull/153\r\n* @jkomyno made their first contribution in https://github.com/planetscale/database-js/pull/159\r\n\r\n**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.13.0...v1.14.0","publishedAt":"2024-01-18T19:28:01.000Z","url":"https://github.com/planetscale/database-js/releases/tag/v1.14.0","media":[]},{"id":"rel_Ns4ECaZTaOmr5tDEAFThA","version":"v1.13.0","title":"v1.13.0","summary":"## What's Changed\r\n* Faster date sanitization by @andrewvasilchuk in https://github.com/planetscale/database-js/pull/131\r\n* Row type parameters `execu...","content":"## What's Changed\r\n* Faster date sanitization by @andrewvasilchuk in https://github.com/planetscale/database-js/pull/131\r\n* Row type parameters `execute<T>()` by @ayrton in https://github.com/planetscale/database-js/pull/154\r\n\r\n## New Contributors\r\n* @ayrton made their first contribution in https://github.com/planetscale/database-js/pull/155\r\n\r\n**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.12.0...v1.13.0","publishedAt":"2023-12-14T23:50:13.000Z","url":"https://github.com/planetscale/database-js/releases/tag/v1.13.0","media":[]},{"id":"rel_wEmkbGysFMYuYW3Uwalr4","version":"v1.12.0","title":"v1.12.0","summary":"## What's Changed\r\n* Add tests for float- and JSON casting by @andrewvasilchuk in https://github.com/planetscale/database-js/pull/132\r\n\r\n\r\n**Full Chan...","content":"## What's Changed\r\n* Add tests for float- and JSON casting by @andrewvasilchuk in https://github.com/planetscale/database-js/pull/132\r\n\r\n\r\n**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.11.0...v1.12.0","publishedAt":"2023-12-14T23:49:59.000Z","url":"https://github.com/planetscale/database-js/releases/tag/v1.12.0","media":[]},{"id":"rel_tDcI1wBgZnT-H6ZiopZIb","version":"v1.11.0","title":"v1.11.0","summary":"## What's Changed\r\n* Add usage instructions with boost by @mscoutermarsh in https://github.com/planetscale/database-js/pull/130\r\n* Respect `config.url...","content":"## What's Changed\r\n* Add usage instructions with boost by @mscoutermarsh in https://github.com/planetscale/database-js/pull/130\r\n* Respect `config.url` as source of truth for API calls by @iheanyi in https://github.com/planetscale/database-js/pull/138\r\n\r\n## New Contributors\r\n* @mscoutermarsh made their first contribution in https://github.com/planetscale/database-js/pull/130\r\n\r\n**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.10.0...v1.11.0","publishedAt":"2023-08-21T18:31:00.000Z","url":"https://github.com/planetscale/database-js/releases/tag/v1.11.0","media":[]},{"id":"rel_ALXGejQKYkBtJ8F3lsFQ7","version":"v1.10.0","title":"v1.10.0","summary":"## What's Changed\r\n* Set session before throwing an error. by @iheanyi in https://github.com/planetscale/database-js/pull/129\r\n\r\n\r\n**Full Changelog**:...","content":"## What's Changed\r\n* Set session before throwing an error. by @iheanyi in https://github.com/planetscale/database-js/pull/129\r\n\r\n\r\n**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.9.0...v1.10.0","publishedAt":"2023-07-25T22:05:30.000Z","url":"https://github.com/planetscale/database-js/releases/tag/v1.10.0","media":[]},{"id":"rel_ORzzSvfWe_epy0mhQKX3Y","version":"v1.9.0","title":"v1.9.0","summary":"## What's Changed\r\n* Add CommonJS build by @dgraham in https://github.com/planetscale/database-js/pull/128\r\n\r\n\r\n**Full Changelog**: https://github.com...","content":"## What's Changed\r\n* Add CommonJS build by @dgraham in https://github.com/planetscale/database-js/pull/128\r\n\r\n\r\n**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.8.0...v1.9.0","publishedAt":"2023-07-24T16:50:27.000Z","url":"https://github.com/planetscale/database-js/releases/tag/v1.9.0","media":[]},{"id":"rel_YMTD8R3Vb9FWOSQKw0q3u","version":"v1.8.0","title":"v1.8.0","summary":"## What's Changed\r\n* Fix fetch-h2 link in README by @jvandenaardweg in https://github.com/planetscale/database-js/pull/109\r\n* Return geometry as its r...","content":"## What's Changed\r\n* Fix fetch-h2 link in README by @jvandenaardweg in https://github.com/planetscale/database-js/pull/109\r\n* Return geometry as its raw value. by @iheanyi in https://github.com/planetscale/database-js/pull/121\r\n\r\n## New Contributors\r\n* @jvandenaardweg made their first contribution in https://github.com/planetscale/database-js/pull/109\r\n\r\n**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.7.0...v1.8.0","publishedAt":"2023-06-29T18:36:43.000Z","url":"https://github.com/planetscale/database-js/releases/tag/v1.8.0","media":[]},{"id":"rel_-Qe0E3E77tsjt3jrY9s-V","version":"v1.6.0","title":"v1.6.0","summary":"## What's Changed\r\n* Bump json5 from 2.2.1 to 2.2.3 by @dependabot in https://github.com/planetscale/database-js/pull/79\r\n* coerce rowsAffected and in...","content":"## What's Changed\r\n* Bump json5 from 2.2.1 to 2.2.3 by @dependabot in https://github.com/planetscale/database-js/pull/79\r\n* coerce rowsAffected and insertId to concrete values by @mattrobenolt in https://github.com/planetscale/database-js/pull/89\r\n* Fix the 'types' property path in package.json by @bjesuiter in https://github.com/planetscale/database-js/pull/93\r\n* Cast as execute option by @cdcarson in https://github.com/planetscale/database-js/pull/81\r\n\r\n## New Contributors\r\n* @bjesuiter made their first contribution in https://github.com/planetscale/database-js/pull/93\r\n* @cdcarson made their first contribution in https://github.com/planetscale/database-js/pull/81\r\n\r\n**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.5.0...v1.6.0","publishedAt":"2023-04-06T17:16:59.000Z","url":"https://github.com/planetscale/database-js/releases/tag/v1.6.0","media":[]},{"id":"rel_mUUttZdPDX6uXs0mvrsaK","version":"v1.5.0","title":"v1.5.0","summary":"## What's Changed\r\n* Better timing information for queries by @iheanyi in https://github.com/planetscale/database-js/pull/77\r\n\r\n\r\n**Full Changelog**: ...","content":"## What's Changed\r\n* Better timing information for queries by @iheanyi in https://github.com/planetscale/database-js/pull/77\r\n\r\n\r\n**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.4.1...v1.5.0","publishedAt":"2023-04-06T17:16:46.000Z","url":"https://github.com/planetscale/database-js/releases/tag/v1.5.0","media":[]},{"id":"rel_RIxuHolRboigo3gxPGl1O","version":"v1.4.1","title":"v1.4.1","summary":"## What's Changed\r\n* Add documentation on new array option. by @iheanyi in https://github.com/planetscale/database-js/pull/66\r\n* actions: add workflow...","content":"## What's Changed\r\n* Add documentation on new array option. by @iheanyi in https://github.com/planetscale/database-js/pull/66\r\n* actions: add workflow for codeql scanning by @skottler in https://github.com/planetscale/database-js/pull/74\r\n* Better support for NULLs by @mattrobenolt in https://github.com/planetscale/database-js/pull/73\r\n\r\n## New Contributors\r\n* @skottler made their first contribution in https://github.com/planetscale/database-js/pull/74\r\n\r\n**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.4.0...v1.4.1","publishedAt":"2023-04-06T17:16:24.000Z","url":"https://github.com/planetscale/database-js/releases/tag/v1.4.1","media":[]},{"id":"rel_mpR-9GOHYLkHhwc6Q2Kun","version":"v1.4.0","title":"v1.4.0","summary":"## What's Changed\r\n* Remove timezone from sanitized date strings by @dgraham in https://github.com/planetscale/database-js/pull/64\r\n* Add options for ...","content":"## What's Changed\r\n* Remove timezone from sanitized date strings by @dgraham in https://github.com/planetscale/database-js/pull/64\r\n* Add options for returning rows from queries as an array or object by @iheanyi in https://github.com/planetscale/database-js/pull/65\r\n\r\n\r\n**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.3.0...v1.4.0","publishedAt":"2023-04-06T17:16:12.000Z","url":"https://github.com/planetscale/database-js/releases/tag/v1.4.0","media":[]},{"id":"rel_QQdX04vmjlNHxX7wBoVyS","version":"v1.3.0","title":"v1.3.0","summary":"**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.2.1...v1.3.0","content":"**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.2.1...v1.3.0","publishedAt":"2023-04-06T17:15:51.000Z","url":"https://github.com/planetscale/database-js/releases/tag/v1.3.0","media":[]},{"id":"rel_rFyR_pG2h_l3qlaf5RoL0","version":"v1.2.1","title":"v1.2.1","summary":"## What's Changed\r\n* Throw errors returned from the API instead of returning by @iheanyi in https://github.com/planetscale/database-js/pull/62\r\n\r\n\r\n**...","content":"## What's Changed\r\n* Throw errors returned from the API instead of returning by @iheanyi in https://github.com/planetscale/database-js/pull/62\r\n\r\n\r\n**Full Changelog**: https://github.com/planetscale/database-js/compare/v1.1.0...v1.2.1","publishedAt":"2023-04-06T17:12:40.000Z","url":"https://github.com/planetscale/database-js/releases/tag/v1.2.1","media":[]}],"pagination":{"page":1,"pageSize":20,"totalPages":2,"totalItems":34},"summaries":{"rolling":null,"monthly":[]}}