Closed renovate[bot] closed 1 year ago
As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 5.x releases. However, if you upgrade to 5.x manually then Renovate will reenable minor and patch updates automatically.
If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.
This PR contains the following updates:
^2.0.1
->^5.0.0
Release Notes
sanity-io/client
### [`v5.2.2`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#522-httpsgithubcomsanity-ioclientcomparev521v522-2023-02-21) [Compare Source](https://togithub.com/sanity-io/client/compare/v5.2.1...v5.2.2) ##### Bug Fixes - **deps:** update devdependencies (non-major) ([#132](https://togithub.com/sanity-io/client/issues/132)) ([0acb16b](https://togithub.com/sanity-io/client/commit/0acb16b385e80a67908216b7ccd07250adfa96d4)) ### [`v5.2.1`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#521-httpsgithubcomsanity-ioclientcomparev520v521-2023-02-15) [Compare Source](https://togithub.com/sanity-io/client/compare/v5.2.0...v5.2.1) ##### Bug Fixes - add support for using the default export ([#117](https://togithub.com/sanity-io/client/issues/117)) ([1b1fb16](https://togithub.com/sanity-io/client/commit/1b1fb16371ad323f7bd05d2086acea8a5bdd8237)) - use `Any` for explicit any ([#115](https://togithub.com/sanity-io/client/issues/115)) ([d588cf6](https://togithub.com/sanity-io/client/commit/d588cf6cfb90145b988dee6a9b5d7512a64e0a30)) ### [`v5.2.0`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#520-httpsgithubcomsanity-ioclientcomparev510v520-2023-02-07) [Compare Source](https://togithub.com/sanity-io/client/compare/v5.1.0...v5.2.0) ##### Features - add back `getUrl` & `getDataUrl` ([#110](https://togithub.com/sanity-io/client/issues/110)) ([6cfee72](https://togithub.com/sanity-io/client/commit/6cfee72c10f5d4b4b811ea431f5cc16dd7eaa690)) ### [`v5.1.0`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#510-httpsgithubcomsanity-ioclientcomparev500v510-2023-02-02) [Compare Source](https://togithub.com/sanity-io/client/compare/v5.0.0...v5.1.0) ##### Features - add support for AbortController ([#92](https://togithub.com/sanity-io/client/issues/92)) ([775b5b5](https://togithub.com/sanity-io/client/commit/775b5b5d9cbb3ea1a5f094868113623bf0a7f793)) ##### Bug Fixes - make `@types/node` a dev dependency ([88a4cc1](https://togithub.com/sanity-io/client/commit/88a4cc11eef60f4a3364dc31aaa7916b12308c9f)) - show a migration error when using the default export ([#105](https://togithub.com/sanity-io/client/issues/105)) ([adb582e](https://togithub.com/sanity-io/client/commit/adb582e0626d6cae44270fdc07a6157b1c36f2d1)) ### [`v5.0.0`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#500-httpsgithubcomsanity-ioclientcomparev401v500-2023-02-02) [Compare Source](https://togithub.com/sanity-io/client/compare/v4.0.1...v5.0.0) ##### ⚠ BREAKING CHANGES - We have removed the default export and replaced it with a named one: ```diff -import SanityClient from '@sanity/client' +import {createClient} from '@sanity/client' ``` [The migration guide outlines every breaking change and how to migrate your code](https://togithub.com/sanity-io/client#from-v4) ##### Features - full Node.js ESM runtime support ([#86](https://togithub.com/sanity-io/client/issues/86)) ([bd9b247](https://togithub.com/sanity-io/client/commit/bd9b247f99ac513023581bfb1089b1892390d948)) ### [`v4.0.1`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#401-httpsgithubcomsanity-ioclientcomparev400v401-2023-01-06) [Compare Source](https://togithub.com/sanity-io/client/compare/v4.0.0...v4.0.1) ##### Bug Fixes - **deps:** upgrade rxjs to v7 ([#80](https://togithub.com/sanity-io/client/issues/80)) ([594b4e7](https://togithub.com/sanity-io/client/commit/594b4e76253345bbaa678093b91faa101e240aee)) - use `NodeJS.ReadableStream` type for upload body type to prevent conflict with DOM `ReadableStream` ([#33](https://togithub.com/sanity-io/client/issues/33)) ([8cbfe0c](https://togithub.com/sanity-io/client/commit/8cbfe0cdf419c28b3fa1c0e897e08b94d54a2658)) ### [`v4.0.0`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#400-httpsgithubcomsanity-ioclientcomparev341v400-2023-01-02) [Compare Source](https://togithub.com/sanity-io/client/compare/v3.4.1...v4.0.0) ##### ⚠ BREAKING CHANGES - Expanding ESM support is a significant change. Although a tremendous effort is made to preserve backward compatibility it can't be guaranteed as there are too many conditions, environments, and runtime versions to cover them all. ##### Bug Fixes - **deps:** update dependencies (non-major) ([#36](https://togithub.com/sanity-io/client/issues/36)) ([658b40f](https://togithub.com/sanity-io/client/commit/658b40fb51541eeb0b4313bd9aaef746eeb670d2)) - improve ESM output to support Deno, Bun and Edge runtimes ([#29](https://togithub.com/sanity-io/client/issues/29)) ([5ef19d4](https://togithub.com/sanity-io/client/commit/5ef19d497f884fce0b0f5e3974158df0ad6d9866)) ### [`v3.4.1`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#341) [Compare Source](https://togithub.com/sanity-io/client/compare/v3.4.0...v3.4.1) - fix(typings): `fetch()` does not need to return record ### [`v3.4.0`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#340) [Compare Source](https://togithub.com/sanity-io/client/compare/v3.3.7...v3.4.0) - feat: allow setting `allowReconfigure` to `false` to prevent reconfiguration of existing client instance ### [`v3.3.7`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#337) [Compare Source](https://togithub.com/sanity-io/client/compare/v3.3.6...v3.3.7) - fix(typings): make typings compatible with TypeScript 4.8 - fix(typings): add missing `params` to `MutationSelection` ### [`v3.3.6`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#336) [Compare Source](https://togithub.com/sanity-io/client/compare/v3.3.5...v3.3.6) - fix(typings): missing class extend for `ObservableTransaction` ### [`v3.3.5`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#335) [Compare Source](https://togithub.com/sanity-io/client/compare/v3.3.4...v3.3.5) - fix: regression introduced in [#24](https://togithub.com/sanity-io/client/issues/24). Partially exporting ESM breaks environments that bundle for the browser, such as Next.js. Remove `pkg.exports` until what we ship there is 100% compatible with the ecosystem. ### [`v3.3.4`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#334) [Compare Source](https://togithub.com/sanity-io/client/compare/v3.3.3...v3.3.4) - fix: removed `@sanity/generate-help-url` dependency which threw `TypeError: generateHelpUrl is not a function` errors in some cases ### [`v3.3.3`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#333) [Compare Source](https://togithub.com/sanity-io/client/compare/v3.3.2...v3.3.3) - fix(typings): observable client emits observables on transaction/patch commit ### [`v3.3.2`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#332) [Compare Source](https://togithub.com/sanity-io/client/compare/v3.3.1...v3.3.2) - fix(typings): add missing `operation` property on mutation result ### [`v3.3.1`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#331) [Compare Source](https://togithub.com/sanity-io/client/compare/v3.3.0...v3.3.1) - docs: fix typo in readme ([#10](https://togithub.com/sanity-io/client/issues/10)) - chore: upgrade eventsource dependency ### [`v3.3.0`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#330) [Compare Source](https://togithub.com/sanity-io/client/compare/v3.2.2...v3.3.0) - feat: add `dryRun`, `autoGenerateArrayKeys` mutation options ### [`v3.2.2`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#322) [Compare Source](https://togithub.com/sanity-io/client/compare/v3.2.1...v3.2.2) - fix: use named import for `@sanity/generate-help-url` module ### [`v3.2.1`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#321) [Compare Source](https://togithub.com/sanity-io/client/compare/v3.2.0...v3.2.1) - chore(deps): upgrade dependencies ### [`v3.2.0`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#320) [Compare Source](https://togithub.com/sanity-io/client/compare/v3.1.0...v3.2.0) - fix(typings): add missing `timeout` config option - feat: support passing custom headers to http methods ([#5](https://togithub.com/sanity-io/client/issues/5)) ### [`v3.1.0`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#310) [Compare Source](https://togithub.com/sanity-io/client/compare/v3.0.6...v3.1.0) - feat: add new polyfill for event source ([#2](https://togithub.com/sanity-io/client/issues/2)) ### [`v3.0.6`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#306) [Compare Source](https://togithub.com/sanity-io/client/compare/v3.0.5...v3.0.6) - feat: make `request()` return value generic - feat: add `skipCrossDatasetReferenceValidation` flag to mutations ### [`v3.0.5`](https://togithub.com/sanity-io/client/compare/v3.0.4...v3.0.5) [Compare Source](https://togithub.com/sanity-io/client/compare/v3.0.4...v3.0.5) ### [`v3.0.4`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#304) [Compare Source](https://togithub.com/sanity-io/client/compare/v3.0.3...v3.0.4) - fix(typings): add missing `clone()` method on requester ### [`v3.0.3`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#303) [Compare Source](https://togithub.com/sanity-io/client/compare/v3.0.2...v3.0.3) - feat(http): request compressed responses ### [`v3.0.2`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#302) [Compare Source](https://togithub.com/sanity-io/client/compare/v3.0.1...v3.0.2) - fix(typings): add missing `maxRedirects` option ### [`v3.0.1`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#301) [Compare Source](https://togithub.com/sanity-io/client/compare/v3.0.0...v3.0.1) - fix(typings): use rxjs for observable type ### [`v3.0.0`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#300) [Compare Source](https://togithub.com/sanity-io/client/compare/4d49b83a987d5097064d567f75d21b268a410cbf...v3.0.0) - BREAKING: Passing a `token` *and* `useCdn: true` will now use the API CDN for queries, where it previously used the uncached, "live" API - BREAKING: Client now only supports Node.js v12 and higher - BREAKING: Remove deprecated `merge` patch operator - BREAKING: Remove deprecated `document` property on `assets.upload` response - BREAKING: Make sure `client.observable.fetch()` returns a cold observable [3.4.1]: https://togithub.com/sanity-io/client/compare/v3.4.0...v3.4.1 [3.4.0]: https://togithub.com/sanity-io/client/compare/v3.3.7...v3.4.0 [3.3.7]: https://togithub.com/sanity-io/client/compare/v3.3.6...v3.3.7 [3.3.6]: https://togithub.com/sanity-io/client/compare/v3.3.5...v3.3.6 [3.3.5]: https://togithub.com/sanity-io/client/compare/v3.3.4...v3.3.5 [3.3.4]: https://togithub.com/sanity-io/client/compare/v3.3.3...v3.3.4 [3.3.3]: https://togithub.com/sanity-io/client/compare/v3.3.2...v3.3.3 [3.3.2]: https://togithub.com/sanity-io/client/compare/v3.3.1...v3.3.2 [3.3.1]: https://togithub.com/sanity-io/client/compare/v3.3.0...v3.3.1 [3.3.0]: https://togithub.com/sanity-io/client/compare/v3.2.2...v3.3.0 [3.2.2]: https://togithub.com/sanity-io/client/compare/v3.2.1...v3.2.2 [3.2.1]: https://togithub.com/sanity-io/client/compare/v3.2.0...v3.2.1 [3.2.0]: https://togithub.com/sanity-io/client/compare/v3.1.0...v3.2.0 [3.1.0]: https://togithub.com/sanity-io/client/compare/v3.0.6...v3.1.0 [3.0.6]: https://togithub.com/sanity-io/client/compare/v3.0.4...v3.0.6 [3.0.4]: https://togithub.com/sanity-io/client/compare/v3.0.3...v3.0.4 [3.0.3]: https://togithub.com/sanity-io/client/compare/v3.0.2...v3.0.3 [3.0.2]: https://togithub.com/sanity-io/client/compare/v3.0.1...v3.0.2 [3.0.1]: https://togithub.com/sanity-io/client/compare/v3.0.0...v3.0.1 [3.0.0]: https://togithub.com/sanity-io/client/compare/v2.23.2...v3.0.0Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.