@planetscale/database
2.0.0 · 24 Sep 2026Apache-2.0807.8k / weekRepositoryHomepagenpmAtom feed
35 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 2.x · latest line
2.0.0
24 Sep 2026Remove parameter interpolation
Bump required Node version to 22
npm audit fix
What's Changed
Remove parameter interpolation
Bump required Node version to 22
npm audit fix
- 1.x
1.20.2
23 Sep 2026security: pin GitHub Actions to commit SHAs
security: harden GitHub Actions workflows
Add a secure NPM configuration
What's Changed
security: pin GitHub Actions to commit SHAs
security: harden GitHub Actions workflows
Add a secure NPM configuration
Add CODEOWNERS
Resolve oustanding
npm auditwarningsUpdate
undiciRemove dependency on
jestSanitization: Harden placeholder parsing
1.20.1
25 Mar 2026Add npm trusted publisher workflow
Detect Cloudflare errors in UnknownError messaging
1.20.0
24 Mar 2026README: Remove extra docs
Update README
Add link to postgres documentation
What's Changed
README: Remove extra docs
Update README
Add link to postgres documentation
Add UnknownError with full response context for non-JSON API errors
1.19.0
14 Aug 2024Fix formatting empty Uint8Arrays
Pin license finder
1.18.0
29 Apr 2024Fix JSON cast logic. JSON is always UTF8
1.17.0
26 Apr 2024Fix binary cast logic
1.16.0
9 Feb 2024Support binary text data
1.15.0
5 Feb 2024Strict check
Constructor type overloading cleanup
Support binary data
1.14.0
18 Jan 2024Expose
Client#configandConnection#configBigIntquery paremeter support
1.13.0
14 Dec 2023Faster date sanitization
Row type parameters
execute<T>()
1.12.0
14 Dec 2023Add tests for float- and JSON casting
1.11.0
21 Aug 2023Add usage instructions with boost
Respect
config.urlas source of truth for API calls
1.10.0
25 Jul 2023Set session before throwing an error.
1.9.0
24 Jul 2023Add CommonJS build
1.8.0
29 Jun 2023Fix fetch-h2 link in README
Return geometry as its raw value.
1.7.0
6 Apr 2023Recommend fetch-h2 shim for HTTP/2 support
Explicitly disallow fetch() caching
1.6.0
6 Mar 2023Coerce rowsAffected and insertId to concrete values
Fix the 'types' property path in package.json
Cast as execute option
What's Changed
Coerce rowsAffected and insertId to concrete values
Fix the 'types' property path in package.json
Cast as execute option
1.5.0
5 Dec 2022Better timing information for queries
1.4.1
28 Nov 2022Add documentation on new array option.
actions: Add workflow for codeql scanning
Better support for NULLs
1.4.0
3 Oct 2022Remove timezone from sanitized date strings
Add options for returning rows from queries as an array or object
1.3.0
25 Aug 20221.2.1
25 Aug 2022Throw errors returned from the API instead of returning
1.2.0
25 Aug 20221.1.0
24 Aug 2022Add support for transactions
1.0.2
23 Aug 2022Define cast return type as any
Simplify fetch function types
What's Changed
1.0.1
Define cast return type as any
Simplify fetch function types
1.0.1
17 Aug 2022Get ready for 1.0 🚀
Fix up the hostname.
Update package description.
1.0.0
17 Aug 2022- 0.6.x
0.6.1
16 Aug 2022Synchronize package version with constant
0.6.0
16 Aug 2022Customize type cast function
Cleanup public interface methods
Update README.md
What's Changed
Customize type cast function
Cleanup public interface methods
Update README.md
Remove aws.connect.psdb.cloud from README
Add User-Agent header
Improve type casts
- 0.5.x
0.5.0
12 Aug 2022Add DatabaseError
Cast year type as number
Do not swallow errors from refreshing
- 0.4.x
0.4.0
11 Aug 2022- 0.3.x
0.3.0
11 Aug 2022Support database URL configuration
connect()doesn't need await in examples
- 0.2.x
0.2.0
9 Aug 2022Add license_finder
Support custom replacement parameter format function
Support named parameter replacement
What's Changed
Add license_finder
Support custom replacement parameter format function
Support named parameter replacement
Simplify text encoding
Parse JSON column values
- 0.1.x
0.1.1
3 Aug 2022Lower build target to 2020
Fix fetch
thisbinding
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.