Skip to content

Releases: sanity-io/client

v5.4.1

30 Mar 12:26
Compare
Choose a tag to compare

5.4.1 (2023-03-30)

Bug Fixes


This release is also available on:

v5.4.0

28 Mar 15:23
Compare
Choose a tag to compare

5.4.0 (2023-03-28)

Features


This release is also available on:

v5.3.2

23 Mar 06:54
Compare
Choose a tag to compare

5.3.2 (2023-03-23)

Bug Fixes

  • declare File for envs without lib.dom (#175) (1e9cb5e)

v5.3.1

22 Mar 19:27
Compare
Choose a tag to compare

5.3.1 (2023-03-22)

Bug Fixes

  • deps: update dependency @sanity/eventsource to v5 (#169) (1cda138)

This release is also available on:

v5.3.0

13 Mar 16:45
Compare
Choose a tag to compare

5.3.0 (2023-03-13)

Features

  • include mutation error items in error message (#148) (193f45e)

Bug Fixes


This release is also available on:

v5.2.2

21 Feb 00:57
Compare
Choose a tag to compare

5.2.2 (2023-02-21)

Bug Fixes

  • deps: update devdependencies (non-major) (#132) (0acb16b)

This release is also available on:

v5.2.1

15 Feb 13:53
Compare
Choose a tag to compare

5.2.1 (2023-02-15)

Bug Fixes


This release is also available on:

v5.2.0

07 Feb 12:30
Compare
Choose a tag to compare

5.2.0 (2023-02-07)

Features


This release is also available on:

v5.1.0

02 Feb 15:19
Compare
Choose a tag to compare

5.1.0 (2023-02-02)

Features

Bug Fixes

  • make @types/node a dev dependency (88a4cc1)
  • show a migration error when using the default export (#105) (adb582e)

This release is also available on:

v5.0.0

02 Feb 13:03
Compare
Choose a tag to compare

5.0.0 (2023-02-02)

⚠ BREAKING CHANGES

  • We have removed the default export and replaced it with a named one:

    -import SanityClient from '@sanity/client'
    +import {createClient} from '@sanity/client'

The migration guide outlines every breaking change and how to migrate your code

Features

  • full Node.js ESM runtime support (#86) (bd9b247)
  • codebase rewritten in TypeScript, typings are generated and no longer manually maintained
  • make httpRequest on SanityClient configurable, intended for libraries wishing to extend the client
  • shipping modern syntax, reducing bundlesize