Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@xata.io/client

xataio485.1kApache-2.00.30.1TypeScript support: included

Xata.io SDK for TypeScript and JavaScript

readme

<picture> <source media="(prefers-color-scheme: dark)" srcset="./assets/logo_dark.svg"> <source media="(prefers-color-scheme: light)" srcset="./assets/logo_light.svg"> Xata </picture>

This is the repository where we develop:

There's also other packages that we use internally that might be of your interest:

changelog

@xata.io/client

0.30.1

Patch Changes

0.30.0

Minor Changes

0.29.5

Patch Changes

0.29.4

Patch Changes

0.29.3

Patch Changes

0.29.2

Patch Changes

  • #1380 e8db1cd Thanks @richardgill! - Link to our docs to explain how to resolve the 'api key in browser' error message

0.29.1

Patch Changes

0.29.0

Minor Changes

Patch Changes

0.28.4

Patch Changes

0.28.3

Patch Changes

0.28.2

Patch Changes

0.28.1

Patch Changes

0.28.0

Minor Changes

0.27.0

Minor Changes

Patch Changes

0.26.9

Patch Changes

0.26.8

Patch Changes

0.26.7

Patch Changes

0.26.6

Patch Changes

0.26.5

Patch Changes

0.26.4

Patch Changes

0.26.3

Patch Changes

0.26.2

Patch Changes

0.26.1

Patch Changes

0.26.0

Minor Changes

Patch Changes

0.25.3

Patch Changes

0.25.2

Patch Changes

0.25.1

Patch Changes

0.25.0

Minor Changes

Patch Changes

0.24.3

Patch Changes

0.24.2

Patch Changes

0.24.1

Patch Changes

0.24.0

Minor Changes

Patch Changes

0.23.5

Patch Changes

0.23.4

Patch Changes

0.23.3

Patch Changes

0.23.2

Patch Changes

0.23.1

Patch Changes

0.23.0

Minor Changes

0.22.4

Patch Changes

0.22.3

Patch Changes

0.22.2

Patch Changes

0.22.1

Patch Changes

0.22.0

Minor Changes

Patch Changes

0.21.6

Patch Changes

0.21.5

Patch Changes

0.21.4

Patch Changes

0.21.3

Patch Changes

0.21.2

Patch Changes

0.21.1

Patch Changes

0.21.0

Minor Changes

Patch Changes

0.20.2

Patch Changes

0.20.1

Patch Changes

0.20.0

Minor Changes

Patch Changes

0.19.1

Patch Changes

0.19.0

Minor Changes

Patch Changes

0.18.6

Patch Changes

0.18.5

Patch Changes

0.18.4

Patch Changes

0.18.3

Patch Changes

0.18.2

Patch Changes

0.18.1

Patch Changes

  • #627 ad0a5b4 Thanks @SferaDev! - Fix some cases where filters on link and multiple column types are not working

0.18.0

Minor Changes

Patch Changes

0.17.1

Patch Changes

0.17.0

Minor Changes

0.16.2

Patch Changes

0.16.1

Patch Changes

0.16.0

Minor Changes

Patch Changes

0.15.0

Patch Changes

0.14.0

Minor Changes

Patch Changes

0.13.4

Patch Changes

0.13.3

Patch Changes

0.13.2

Patch Changes

0.13.1

Patch Changes

0.13.0

Minor Changes

0.12.0

Minor Changes

Patch Changes

0.11.0

Minor Changes

Patch Changes

0.10.2

Patch Changes

0.10.1

Patch Changes

0.10.0

Minor Changes

Patch Changes

0.9.1

Patch Changes

0.9.0

Minor Changes

Patch Changes

0.8.4

Patch Changes

  • dd958a4: Fix search results return type
  • f5ec686: Make XataApiClientOptions optional

0.8.3

Patch Changes

  • c660356: Export ESM and CJS bundles

0.8.2

Patch Changes

  • 3d81e7a: Make db model references stable

0.8.1

Patch Changes

  • 5110261: Fix execution from the browser
  • aa3d7e7: Allow sending sort as in the API
  • 0047193: Add new plugin system for the SDK
  • 43856a5: Add discriminated union search

0.8.0

Patch Changes

  • bde908e: Refactor client builder
  • ea3eef8: Make records returned by the API readonly

0.7.2

Patch Changes

  • 4803b6f: Memoize ApiClient namespaces
  • 1f268d7: Add search in XataClient
  • d58c3d9: Hide private helper utilities
  • f3b731b: Expose branch resolution API

0.7.1

Patch Changes

  • 01aef78: Fix bundle for browsers
  • 56be1fd: Allow sending updates with link object
  • fc51771: Add includes operator helper methods

0.7.0

Minor Changes

  • 6ce5512: Add bulk operations for all methods
  • 2a1fa4f: Introduced automatic branch resolution mechanism

Patch Changes

  • d033f3a: Improve column selection output type with non-nullable columns
  • b1e92db: Include stack trace with errors
  • deed570: Improve sorting with multiple properties
  • 80b5417: Improve filtering types

0.6.0

Minor Changes

  • 084f5df: Add type inference for columns
  • bb73c89: Unify create and insert in a single method overload

Patch Changes

  • 716c487: Forward nullable types on links
  • bb66bb2: Fix error handling with createMany
  • 084f5df: Fix circular dependencies on selectable column

0.5.1

Patch Changes

  • 12729ab: Make API client fetch implementation optional

0.5.0

Patch Changes

  • 14ec7d1: Fix in Selectable type

0.4.0

Patch Changes

  • b951331: Add support for new float column
  • d470610: Add new getAll() method
  • eaf92a8: Expose pagination constants (size and offset limits)
  • 57fde77: Reduce subrequests for createMany
  • eaf92a8: Implement schema-less client
  • 97a3caa: Make createBranch from optional with empty branch

0.3.0

Minor Changes

  • 1c0a454: Add API Client and internally use it

Patch Changes

  • 122321c: Fix client in CF workers and Deno
  • a2671b5: Allow cancel or resend workspace invites
  • e73d470: Split insert and create