Packages

@planetscale/database

2.0.0 · 24 Sep 2026Apache-2.0807.8k / weekRepositoryHomepagenpmAtom feed

Your version

35 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 2.x · latest line
  2. 2.0.0

    24 Sep 2026
    • Remove parameter interpolation

    • Bump required Node version to 22

    • npm audit fix

  3. 1.x
  4. 1.20.2

    23 Sep 2026
    • security: pin GitHub Actions to commit SHAs

    • security: harden GitHub Actions workflows

    • Add a secure NPM configuration

  5. 1.20.1

    25 Mar 2026
    • Add npm trusted publisher workflow

    • Detect Cloudflare errors in UnknownError messaging

  6. 1.20.0

    24 Mar 2026
    • README: Remove extra docs

    • Update README

    • Add link to postgres documentation

  7. 1.19.0

    14 Aug 2024
    • Fix formatting empty Uint8Arrays

    • Pin license finder

  8. 1.18.0

    29 Apr 2024
    • Fix JSON cast logic. JSON is always UTF8

  9. 1.17.0

    26 Apr 2024
    • Fix binary cast logic

  10. 1.16.0

    9 Feb 2024
    • Support binary text data

  11. 1.15.0

    5 Feb 2024
    • Strict check

    • Constructor type overloading cleanup

    • Support binary data

  12. 1.14.0

    18 Jan 2024
    • Expose Client#config and Connection#config

    • BigInt query paremeter support

  13. 1.13.0

    14 Dec 2023
    • Faster date sanitization

    • Row type parameters execute<T>()

  14. 1.12.0

    14 Dec 2023
    • Add tests for float- and JSON casting

  15. 1.11.0

    21 Aug 2023
    • Add usage instructions with boost

    • Respect config.url as source of truth for API calls

  16. 1.10.0

    25 Jul 2023
    • Set session before throwing an error.

  17. 1.9.0

    24 Jul 2023
    • Add CommonJS build

  18. 1.8.0

    29 Jun 2023
    • Fix fetch-h2 link in README

    • Return geometry as its raw value.

  19. 1.7.0

    6 Apr 2023
    • Recommend fetch-h2 shim for HTTP/2 support

    • Explicitly disallow fetch() caching

  20. 1.6.0

    6 Mar 2023
    • Coerce rowsAffected and insertId to concrete values

    • Fix the 'types' property path in package.json

    • Cast as execute option

  21. 1.5.0

    5 Dec 2022
    • Better timing information for queries

  22. 1.4.1

    28 Nov 2022
    • Add documentation on new array option.

    • actions: Add workflow for codeql scanning

    • Better support for NULLs

  23. 1.4.0

    3 Oct 2022
    • Remove timezone from sanitized date strings

    • Add options for returning rows from queries as an array or object

  24. 1.3.0

    25 Aug 2022
  25. 1.2.1

    25 Aug 2022
    • Throw errors returned from the API instead of returning

  26. 1.2.0

    25 Aug 2022
  27. 1.1.0

    24 Aug 2022
    • Add support for transactions

  28. 1.0.2

    23 Aug 2022
    • Define cast return type as any

    • Simplify fetch function types

  29. 1.0.1

    17 Aug 2022
    • Get ready for 1.0 🚀

    • Fix up the hostname.

    • Update package description.

  30. 1.0.0

    17 Aug 2022
  31. 0.6.x
  32. 0.6.1

    16 Aug 2022
    • Synchronize package version with constant

  33. 0.6.0

    16 Aug 2022
    • Customize type cast function

    • Cleanup public interface methods

    • Update README.md

  34. 0.5.x
  35. 0.5.0

    12 Aug 2022
    • Add DatabaseError

    • Cast year type as number

    • Do not swallow errors from refreshing

  36. 0.4.x
  37. 0.4.0

    11 Aug 2022
  38. 0.3.x
  39. 0.3.0

    11 Aug 2022
    • Support database URL configuration

    • connect() doesn't need await in examples

  40. 0.2.x
  41. 0.2.0

    9 Aug 2022
    • Add license_finder

    • Support custom replacement parameter format function

    • Support named parameter replacement

  42. 0.1.x
  43. 0.1.1

    3 Aug 2022
    • Lower build target to 2020

    • Fix fetch this binding

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.