sanity-io / gatsby-source-sanity

Gatsby source plugin for building websites using Sanity.io as a backend.
https://www.sanity.io/
MIT License
197 stars 61 forks source link

chore(deps): update dependency @sanity/client to v5 #252

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sanity/client (source) ^3.4.1 -> ^5.0.0 age adoption passing confidence

Release Notes

sanity-io/client (@​sanity/client) ### [`v5.4.2`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#542-2023-04-03) [Compare Source](https://togithub.com/sanity-io/client/compare/v5.4.1...v5.4.2) ##### Bug Fixes - **mutate:** reflect support for providing transaction id in typings ([#​187](https://togithub.com/sanity-io/client/issues/187)) ([b7ad302](https://togithub.com/sanity-io/client/commit/b7ad302d80ce90574e3d52875f3af67c65e683eb)) - **mutate:** serialize clientless patches correctly ([#​186](https://togithub.com/sanity-io/client/issues/186)) ([b635dff](https://togithub.com/sanity-io/client/commit/b635dffc9073d6452735a6128c344b924b58d599)) ### [`v5.4.1`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#541-2023-03-30) [Compare Source](https://togithub.com/sanity-io/client/compare/v5.4.0...v5.4.1) ##### Bug Fixes - **listen:** lazy init event source ([#​181](https://togithub.com/sanity-io/client/issues/181)) ([a84ee1c](https://togithub.com/sanity-io/client/commit/a84ee1ceb3e8cf49ea5b60d227240803efbd2548)) ### [`v5.4.0`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#540-2023-03-28) [Compare Source](https://togithub.com/sanity-io/client/compare/v5.3.2...v5.4.0) ##### Features - add `edge-light` export condition ([#​176](https://togithub.com/sanity-io/client/issues/176)) ([501e7b6](https://togithub.com/sanity-io/client/commit/501e7b646d5d93f46849529b4d2d9cecd3b8a4a2)) ### [`v5.3.2`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#532-2023-03-23) [Compare Source](https://togithub.com/sanity-io/client/compare/v5.3.1...v5.3.2) ##### Bug Fixes - declare `File` for envs without `lib.dom` ([#​175](https://togithub.com/sanity-io/client/issues/175)) ([1e9cb5e](https://togithub.com/sanity-io/client/commit/1e9cb5ea4bde338f35f30e59722d56e32eccc3a1)) ### [`v5.3.1`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#531-2023-03-22) [Compare Source](https://togithub.com/sanity-io/client/compare/v5.3.0...v5.3.1) ##### Bug Fixes - **deps:** update dependency [@​sanity/eventsource](https://togithub.com/sanity/eventsource) to v5 ([#​169](https://togithub.com/sanity-io/client/issues/169)) ([1cda138](https://togithub.com/sanity-io/client/commit/1cda13862852b4aaddebeec34079d0df752e4603)) ### [`v5.3.0`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#530-2023-03-13) [Compare Source](https://togithub.com/sanity-io/client/compare/v5.2.2...v5.3.0) ##### Features - include mutation error items in error message ([#​148](https://togithub.com/sanity-io/client/issues/148)) ([193f45e](https://togithub.com/sanity-io/client/commit/193f45e6ab3efa0a53aafd86acca6f04149d4172)) ##### Bug Fixes - correct document ID validation ([#​149](https://togithub.com/sanity-io/client/issues/149)) ([b5799c9](https://togithub.com/sanity-io/client/commit/b5799c9a7dcc588bb6fb51941a297a0bb8200751)) - **deps:** update devdependencies (non-major) ([#​137](https://togithub.com/sanity-io/client/issues/137)) ([13c9fe4](https://togithub.com/sanity-io/client/commit/13c9fe4f2860ab07be247fea54dff0352eec30de)) ### [`v5.2.2`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#522-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-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-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-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-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-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-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))

Configuration

📅 Schedule: Branch creation - "before 3am on Monday" (UTC), 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 using a curated preset maintained by Sanity. View repository job log here

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
gatsby-source-sanity ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 28, 2023 1:18am
socket-security[bot] commented 1 year ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
@sanity/client 5.4.2 None +7 6.59 MB sanity-io

🚮 Removed packages: @types/node@18.17.0, eslint@8.45.0

renovate[bot] commented 1 year ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 5.x releases. But if you manually upgrade to 5.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.