sanity-io / sanity-template-nextjs-clean

A clean Next.js template with a native authoring experience
https://template-nextjs-clean.sanity.build
139 stars 58 forks source link

fix(deps): update dependency next-sanity to v5 - autoclosed #27

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
next-sanity ^3.1.9 -> ^5.0.0 age adoption passing confidence

Release Notes

sanity-io/next-sanity (next-sanity) ### [`v5.0.2`](https://togithub.com/sanity-io/next-sanity/blob/HEAD/CHANGELOG.md#​502-httpsgithubcomsanity-ionext-sanitycomparev501v502-2023-06-21) [Compare Source](https://togithub.com/sanity-io/next-sanity/compare/v5.0.1...v5.0.2) ##### Bug Fixes - **deps:** update dependency [@​sanity/preview-kit](https://togithub.com/sanity/preview-kit) to v2.2.2 ([#​464](https://togithub.com/sanity-io/next-sanity/issues/464)) ([288f543](https://togithub.com/sanity-io/next-sanity/commit/288f543cb7eb8b623641589b2c09e53e840510a0)) ### [`v5.0.1`](https://togithub.com/sanity-io/next-sanity/blob/HEAD/CHANGELOG.md#​501-httpsgithubcomsanity-ionext-sanitycomparev500v501-2023-06-21) [Compare Source](https://togithub.com/sanity-io/next-sanity/compare/v5.0.0...v5.0.1) ##### Bug Fixes - **webhook:** add `app-router` support ([#​460](https://togithub.com/sanity-io/next-sanity/issues/460)) ([c2f6155](https://togithub.com/sanity-io/next-sanity/commit/c2f6155bdfc26feace614fd7b1cb1887c84d14c5)) ### [`v5.0.0`](https://togithub.com/sanity-io/next-sanity/blob/HEAD/CHANGELOG.md#​500-httpsgithubcomsanity-ionext-sanitycomparev433v500-2023-06-21) [Compare Source](https://togithub.com/sanity-io/next-sanity/compare/v4.3.3...v5.0.0) ##### ⚠ BREAKING CHANGES - `definePreview` and `` are replaced by ``. - `usePreview` is replaced by `useLiveQuery`. - `@sanity/client` is now a peer dependency. [The migration guide outlines every breaking change and how to migrate your code](https://togithub.com/sanity-io/next-sanity/#migration-guides) ##### Bug Fixes - Preview hooks no longer perform queries while the initial dataset export is streaming, as this could lead to incomplete query results and unexpected cases of `null`. ### [`v4.3.3`](https://togithub.com/sanity-io/next-sanity/blob/HEAD/CHANGELOG.md#​433-httpsgithubcomsanity-ionext-sanitycomparev432v433-2023-05-24) [Compare Source](https://togithub.com/sanity-io/next-sanity/compare/v4.3.2...v4.3.3) ##### Bug Fixes - **deps:** upgrade `@sanity/preview-kit` to v1.5.4 ([7c7ec79](https://togithub.com/sanity-io/next-sanity/commit/7c7ec79e4aff6937ee4581bc7381e9457fc1b005)) ### [`v4.3.2`](https://togithub.com/sanity-io/next-sanity/blob/HEAD/CHANGELOG.md#​432-httpsgithubcomsanity-ionext-sanitycomparev431v432-2023-05-03) [Compare Source](https://togithub.com/sanity-io/next-sanity/compare/v4.3.1...v4.3.2) ##### Bug Fixes - add back `SanityClient` export ([86ee531](https://togithub.com/sanity-io/next-sanity/commit/86ee531bb894a41a7e6db0d02651d3b73af03cac)) ### [`v4.3.1`](https://togithub.com/sanity-io/next-sanity/blob/HEAD/CHANGELOG.md#​431-httpsgithubcomsanity-ionext-sanitycomparev430v431-2023-05-03) [Compare Source](https://togithub.com/sanity-io/next-sanity/compare/v4.3.0...v4.3.1) ##### Bug Fixes - add release notes ([9e9d4e0](https://togithub.com/sanity-io/next-sanity/commit/9e9d4e081c161db84a5e1d59890f05508be1b504)) ### [`v4.3.0`](https://togithub.com/sanity-io/next-sanity/blob/HEAD/CHANGELOG.md#​430-httpsgithubcomsanity-ionext-sanitycomparev421v430-2023-05-03) [Compare Source](https://togithub.com/sanity-io/next-sanity/compare/v4.2.1...v4.3.0) ##### Introducing Visual Editing > **Note** > > Visual Editing is available for select [Sanity enterprise customers](https://www.sanity.io/enterprise?utm_source=github.com\&utm_medium=referral\&utm_campaign=may-vercel-launch). If you would like to use Visual Editing with Vercel, you will also need to contact Vercel to enable this feature for your Vercel team. [You may contact our sales team for more information.](https://www.sanity.io/contact/sales?utm_source=github.com\&utm_medium=referral\&utm_campaign=may-vercel-launch) ![](https://i.imgur.com/wt95U5Q.jpg) This release includes support for Visual Editing and Content Source Maps. This feature enables you to make deep edit links from components in a front end that takes you to respective fields in the Studio. This enables a new workflow that substantially reduces the time it takes to make changes by bringing you directly to the relevant field where you can make edits reliably in its appropriate context. For more information on Visual Editing, [check out the documentation here](https://www.sanity.io/docs/vercel-visual-editing?utm_source=github.com\&utm_medium=referral\&utm_campaign=may-vercel-launch). Existing Sanity enterprise customers can contact their dedicated customer success manager to enable this feature. [Customers interested in upgrading to an enterprise plan can contact our sales team for more information](https://www.sanity.io/contact/sales?utm_source=github.com\&utm_medium=referral\&utm_campaign=may-vercel-launch). You will also need to [contact Vercel sales](https://vercel.com/contact/sales) to enable this feature for your Vercel team. Sanity enterprise customers can also use the Content Source Maps with GROQ to build custom Visual Editing capabilities. For more information, [check out the Content Source Maps documentation here](https://www.sanity.io/docs/content-source-maps?utm_source=github.com\&utm_medium=referral\&utm_campaign=may-vercel-launch). *** This release is also available on: - [npm package (@​latest dist-tag)](https://www.npmjs.com/package/next-sanity/v/4.3.0) ### [`v4.2.1`](https://togithub.com/sanity-io/next-sanity/blob/HEAD/CHANGELOG.md#​421-httpsgithubcomsanity-ionext-sanitycomparev420v421-2023-05-03) [Compare Source](https://togithub.com/sanity-io/next-sanity/compare/v4.2.0...v4.2.1) ##### Bug Fixes - **docs:** update the `pages` metadata example ([7b30ea7](https://togithub.com/sanity-io/next-sanity/commit/7b30ea7fe638f10c049667f47ca7a4fbf6375f7e)) ### [`v4.2.0`](https://togithub.com/sanity-io/next-sanity/blob/HEAD/CHANGELOG.md#​420-httpsgithubcomsanity-ionext-sanitycomparev418v420-2023-04-28) [Compare Source](https://togithub.com/sanity-io/next-sanity/compare/v4.1.8...v4.2.0) ##### Features - add `unstable__fastRender` experiment ([60ef49e](https://togithub.com/sanity-io/next-sanity/commit/60ef49e0f0f48461a3bc481bc6c4389aaf717380)) - add support for metadata API ([#​405](https://togithub.com/sanity-io/next-sanity/issues/405)) ([5ed8609](https://togithub.com/sanity-io/next-sanity/commit/5ed8609fd83835d18a1b32e3f56a5838c6901e94)) ##### Bug Fixes - deprecate `next-sanity/studio/loading` ([8e1c1bb](https://togithub.com/sanity-io/next-sanity/commit/8e1c1bb0c48f78a7c13de39eed449c4b4873dd4d)) - **metadata:** use `next-sanity/studio/metadata` entrypoint ([8da05a1](https://togithub.com/sanity-io/next-sanity/commit/8da05a1cfb26b92631b721661e3903e78421e283)) - support the `scheme="system"` studio prop ([17ab29c](https://togithub.com/sanity-io/next-sanity/commit/17ab29c1e4109b6797fe932618fb5c3140d8feff)) ### [`v4.1.8`](https://togithub.com/sanity-io/next-sanity/blob/HEAD/CHANGELOG.md#​418-httpsgithubcomsanity-ionext-sanitycomparev417v418-2023-04-27) [Compare Source](https://togithub.com/sanity-io/next-sanity/compare/v4.1.7...v4.1.8) ##### Bug Fixes - **deps:** add `@types/styled-components` to peers ([3634dac](https://togithub.com/sanity-io/next-sanity/commit/3634dac6ae43b2f619d47bdfa1fa72124e55be82)) ### [`v4.1.7`](https://togithub.com/sanity-io/next-sanity/blob/HEAD/CHANGELOG.md#​417-httpsgithubcomsanity-ionext-sanitycomparev416v417-2023-04-12) [Compare Source](https://togithub.com/sanity-io/next-sanity/compare/v4.1.6...v4.1.7) ##### Bug Fixes - **deps:** update dependency [@​sanity/preview-kit](https://togithub.com/sanity/preview-kit) to v1.4.0 ([#​391](https://togithub.com/sanity-io/next-sanity/issues/391)) ([ad92dd1](https://togithub.com/sanity-io/next-sanity/commit/ad92dd12a8da984938f3b70f7311794e771e0c4d)) ### [`v4.1.6`](https://togithub.com/sanity-io/next-sanity/blob/HEAD/CHANGELOG.md#​416-httpsgithubcomsanity-ionext-sanitycomparev415v416-2023-03-27) [Compare Source](https://togithub.com/sanity-io/next-sanity/compare/v4.1.5...v4.1.6) ##### Bug Fixes - **deps:** update dependency [@​sanity/preview-kit](https://togithub.com/sanity/preview-kit) to v1.3.7 ([#​367](https://togithub.com/sanity-io/next-sanity/issues/367)) ([8a63231](https://togithub.com/sanity-io/next-sanity/commit/8a6323134b7e66b581ddf28b8eb1a9f9da11ec5e)) - **deps:** update dependency [@​sanity/preview-kit](https://togithub.com/sanity/preview-kit) to v1.3.8 ([#​384](https://togithub.com/sanity-io/next-sanity/issues/384)) ([75ca575](https://togithub.com/sanity-io/next-sanity/commit/75ca57599147321f963053c2758f492c4059d4aa)) ### [`v4.1.5`](https://togithub.com/sanity-io/next-sanity/blob/HEAD/CHANGELOG.md#​415-httpsgithubcomsanity-ionext-sanitycomparev414v415-2023-02-15) [Compare Source](https://togithub.com/sanity-io/next-sanity/compare/v4.1.4...v4.1.5) ##### Bug Fixes - **client:** use named `createClient` export ([5c5f1a3](https://togithub.com/sanity-io/next-sanity/commit/5c5f1a37f8a101fff7403828514b213dcb7b0519)) ### [`v4.1.4`](https://togithub.com/sanity-io/next-sanity/blob/HEAD/CHANGELOG.md#​414-httpsgithubcomsanity-ionext-sanitycomparev413v414-2023-02-15) [Compare Source](https://togithub.com/sanity-io/next-sanity/compare/v4.1.3...v4.1.4) ##### Bug Fixes - **deps:** update dependency [@​sanity/client](https://togithub.com/sanity/client) to v5 ([#​340](https://togithub.com/sanity-io/next-sanity/issues/340)) ([8b5af88](https://togithub.com/sanity-io/next-sanity/commit/8b5af88c62a412633896fd84b2ec0adffc2a2f63)) ### [`v4.1.3`](https://togithub.com/sanity-io/next-sanity/blob/HEAD/CHANGELOG.md#​413-httpsgithubcomsanity-ionext-sanitycomparev412v413-2023-02-14) [Compare Source](https://togithub.com/sanity-io/next-sanity/compare/v4.1.2...v4.1.3) ##### Bug Fixes - bumping `@sanity/preview-kit` to `1.3.4` ([f8621be](https://togithub.com/sanity-io/next-sanity/commit/f8621befb2832816f52586b03c46184a46b0e995)) ### [`v4.1.2`](https://togithub.com/sanity-io/next-sanity/blob/HEAD/CHANGELOG.md#​412-httpsgithubcomsanity-ionext-sanitycomparev411v412-2023-01-26) [Compare Source](https://togithub.com/sanity-io/next-sanity/compare/v4.1.1...v4.1.2) ##### Bug Fixes - **deps:** update devdependencies (non-major) ([#​316](https://togithub.com/sanity-io/next-sanity/issues/316)) ([e5c17f6](https://togithub.com/sanity-io/next-sanity/commit/e5c17f67a3f8866eab6dada23dbf956b150d7327)) ### [`v4.1.1`](https://togithub.com/sanity-io/next-sanity/blob/HEAD/CHANGELOG.md#​411-httpsgithubcomsanity-ionext-sanitycomparev410v411-2023-01-19) [Compare Source](https://togithub.com/sanity-io/next-sanity/compare/v4.1.0...v4.1.1) ##### Bug Fixes - **deps:** update dependency [@​sanity/preview-kit](https://togithub.com/sanity/preview-kit) to ^1.3 ([#​301](https://togithub.com/sanity-io/next-sanity/issues/301)) ([f8cd8d2](https://togithub.com/sanity-io/next-sanity/commit/f8cd8d2f574c0f244cf0b9e37802f98c24fef506)) ### [`v4.1.0`](https://togithub.com/sanity-io/next-sanity/blob/HEAD/CHANGELOG.md#​410-httpsgithubcomsanity-ionext-sanitycomparev406v410-2023-01-17) [Compare Source](https://togithub.com/sanity-io/next-sanity/compare/v4.0.6...v4.1.0) ##### Features - support modern npm peer deps ([b06546a](https://togithub.com/sanity-io/next-sanity/commit/b06546a84d0a505f3ed8522735f682d6ce529360)) ##### Bug Fixes - improve npm deduping of shared deps ([5fb74ef](https://togithub.com/sanity-io/next-sanity/commit/5fb74ef08886f45b00eb83b03901d7c9db7562a3)) ### [`v4.0.6`](https://togithub.com/sanity-io/next-sanity/blob/HEAD/CHANGELOG.md#​406-httpsgithubcomsanity-ionext-sanitycomparev405v406-2023-01-14) [Compare Source](https://togithub.com/sanity-io/next-sanity/compare/v4.0.5...v4.0.6) ##### Bug Fixes - **deps:** update dependency [@​sanity/preview-kit](https://togithub.com/sanity/preview-kit) to ^1.2.23 ([#​297](https://togithub.com/sanity-io/next-sanity/issues/297)) ([7a3242e](https://togithub.com/sanity-io/next-sanity/commit/7a3242e773d93ab68a0fe7d3e98d463bc3572a50)) ### [`v4.0.5`](https://togithub.com/sanity-io/next-sanity/blob/HEAD/CHANGELOG.md#​405-httpsgithubcomsanity-ionext-sanitycomparev404v405-2023-01-14) [Compare Source](https://togithub.com/sanity-io/next-sanity/compare/v4.0.4...v4.0.5) ##### Bug Fixes - **deps:** update dependency groq to ^3.2.3 ([#​291](https://togithub.com/sanity-io/next-sanity/issues/291)) ([d551334](https://togithub.com/sanity-io/next-sanity/commit/d551334986f4cd6e28a024c71aeed073d1aab89f)) ### [`v4.0.4`](https://togithub.com/sanity-io/next-sanity/blob/HEAD/CHANGELOG.md#​404-httpsgithubcomsanity-ionext-sanitycomparev403v404-2023-01-12) [Compare Source](https://togithub.com/sanity-io/next-sanity/compare/v4.0.3...v4.0.4) ##### Bug Fixes - **deps:** update dependency [@​sanity/preview-kit](https://togithub.com/sanity/preview-kit) to ^1.2.22 ([#​289](https://togithub.com/sanity-io/next-sanity/issues/289)) ([fee62dc](https://togithub.com/sanity-io/next-sanity/commit/fee62dc949d411343228fd79658dac272c712748)) ### [`v4.0.3`](https://togithub.com/sanity-io/next-sanity/blob/HEAD/CHANGELOG.md#​403-httpsgithubcomsanity-ionext-sanitycomparev402v403-2023-01-12) [Compare Source](https://togithub.com/sanity-io/next-sanity/compare/v4.0.2...v4.0.3) ##### Bug Fixes - **deps:** update dependency [@​sanity/preview-kit](https://togithub.com/sanity/preview-kit) to ^1.2.21 ([#​286](https://togithub.com/sanity-io/next-sanity/issues/286)) ([09013a8](https://togithub.com/sanity-io/next-sanity/commit/09013a8601c696ee76d3d2cef3575e553f2ecd58)) ### [`v4.0.2`](https://togithub.com/sanity-io/next-sanity/blob/HEAD/CHANGELOG.md#​402-httpsgithubcomsanity-ionext-sanitycomparev401v402-2023-01-12) [Compare Source](https://togithub.com/sanity-io/next-sanity/compare/v4.0.1...v4.0.2) ##### Bug Fixes - **deps:** update dependency [@​sanity/preview-kit](https://togithub.com/sanity/preview-kit) to ^1.2.20 ([#​283](https://togithub.com/sanity-io/next-sanity/issues/283)) ([6a6dbe6](https://togithub.com/sanity-io/next-sanity/commit/6a6dbe60e97da95db719ba2647a6b6e0d67aca69)) ### [`v4.0.1`](https://togithub.com/sanity-io/next-sanity/blob/HEAD/CHANGELOG.md#​401-httpsgithubcomsanity-ionext-sanitycomparev400v401-2023-01-12) [Compare Source](https://togithub.com/sanity-io/next-sanity/compare/v4.0.0...v4.0.1) ##### Bug Fixes - **deps:** update dependency groq to v3 ([#​280](https://togithub.com/sanity-io/next-sanity/issues/280)) ([a67ea30](https://togithub.com/sanity-io/next-sanity/commit/a67ea301b9f6cf9c3b92effa9a141fef4deb7274)) ### [`v4.0.0`](https://togithub.com/sanity-io/next-sanity/blob/HEAD/CHANGELOG.md#​400-httpsgithubcomsanity-ionext-sanitycomparev319v400-2023-01-08) [Compare Source](https://togithub.com/sanity-io/next-sanity/compare/v3.1.9...v4.0.0) ##### ⚠ BREAKING CHANGES - change `import NextStudioLoading from 'next-sanity/studio/loading'` to `import {NextStudioLoading} from 'next-sanity/studio/loading'` ##### Bug Fixes - add full Node.js ESM runtime support ([ad3ceb7](https://togithub.com/sanity-io/next-sanity/commit/ad3ceb7262765a89e4138ec61f5ed49fbf7fd7e2)) - **deps:** update dependency [@​sanity/client](https://togithub.com/sanity/client) to ^4.0.1 ([#​267](https://togithub.com/sanity-io/next-sanity/issues/267)) ([b489987](https://togithub.com/sanity-io/next-sanity/commit/b48998735045b1723b2da7b0297870d9bf3457f3)) - **deps:** update dependency [@​sanity/client](https://togithub.com/sanity/client) to v4 ([#​262](https://togithub.com/sanity-io/next-sanity/issues/262)) ([a6ea4f3](https://togithub.com/sanity-io/next-sanity/commit/a6ea4f3ce35c28796f3ba3ec34dd549ac84220cd)) - **deps:** update dependency [@​sanity/preview-kit](https://togithub.com/sanity/preview-kit) to ^1.2.17 ([#​264](https://togithub.com/sanity-io/next-sanity/issues/264)) ([006fac3](https://togithub.com/sanity-io/next-sanity/commit/006fac349b4bd7a7d3b725927bc7cb364c4f00ee)) - **deps:** update dependency [@​sanity/preview-kit](https://togithub.com/sanity/preview-kit) to ^1.2.18 ([#​270](https://togithub.com/sanity-io/next-sanity/issues/270)) ([3d15213](https://togithub.com/sanity-io/next-sanity/commit/3d152138013da5553295b36c71670e4eb0b4bd3e)) - **deps:** update dependency [@​sanity/preview-kit](https://togithub.com/sanity/preview-kit) to ^1.2.19 ([#​274](https://togithub.com/sanity-io/next-sanity/issues/274)) ([ca28e5b](https://togithub.com/sanity-io/next-sanity/commit/ca28e5b47ae6ca1987516c5814fc03a721c698c5)) ##### Code Refactoring - make `NextStudioLoading` a named export ([086de6f](https://togithub.com/sanity-io/next-sanity/commit/086de6f44b8b5db15fe0470267a2f90ff4c62770))

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)
template-nextjs-clean ❌ Failed (Inspect) Jun 26, 2023 0:08am
socket-security[bot] commented 1 year ago

New and updated dependency changes detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives^1 Size Publisher
next-sanity ⬆️ 3.1.9...5.0.2 environment +30/-21 700 MB sanity-io