Skip to content

Commit aab6ff7

Browse files
chore(release): 5.0.0 [skip ci]
1 parent b9ebfe8 commit aab6ff7

File tree

3 files changed

+20
-3
lines changed

3 files changed

+20
-3
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,23 @@
55
All notable changes to this project will be documented in this file. See
66
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
77

8+
## [5.0.0](https://github.com/sanity-io/client/compare/v4.0.1...v5.0.0) (2023-02-02)
9+
10+
### ⚠ BREAKING CHANGES
11+
12+
- We have removed the default export and replaced it with a named one:
13+
14+
```diff
15+
-import SanityClient from '@sanity/client'
16+
+import {createClient} from '@sanity/client'
17+
```
18+
19+
We're working on a codemod for this migration.
20+
21+
### Features
22+
23+
- full Node.js ESM runtime support ([#86](https://github.com/sanity-io/client/issues/86)) ([bd9b247](https://github.com/sanity-io/client/commit/bd9b247f99ac513023581bfb1089b1892390d948)), closes [/github.com/sanity-io/client#from-v4](https://github.com/sanity-io//github.com/sanity-io/client/issues/from-v4)
24+
825
## [4.0.1](https://github.com/sanity-io/client/compare/v4.0.0...v4.0.1) (2023-01-06)
926

1027
### Bug Fixes

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sanity/client",
3-
"version": "5.0.0-esm.18",
3+
"version": "5.0.0",
44
"description": "Client for retrieving, creating and patching data from Sanity.io",
55
"keywords": [
66
"sanity",

0 commit comments

Comments
 (0)