sanity-io / plugin-kit

Enhanced Sanity.io plugin development experience.
MIT License
72 stars 7 forks source link

chore(deps): update dependency sanity to v3.39.0 #192

Closed renovate[bot] closed 2 months ago

renovate[bot] commented 2 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
sanity (source) 3.38.0 -> 3.39.0 age adoption passing confidence

Release Notes

sanity-io/sanity (sanity) ### [`v3.39.0`](https://togithub.com/sanity-io/sanity/releases/tag/v3.39.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.38.0...v3.39.0) ### Install or upgrade Sanity Studio To initiate a new Sanity Studio project or upgrade an existing one, please refer to our comprehensive guide on [Installing and Upgrading Sanity Studio](https://www.sanity.io/docs/upgrade). If you are updating from a version earlier than [3.37.0](https://www.sanity.io/changelog/93306939-973b-4e48-bb63-89a6b91d70b3), you should also check out [this article](https://www.sanity.io/help/upgrade-packages) to ensure your dependencies are up to date. ### ✨ Highlights #### Scheduled Publishing is now part of the core Sanity Studio package The [Scheduled Publishing](https://www.sanity.io/docs/scheduled-publishing) feature, which up until this release has been available as a plugin for Sanity Studio, has been moved into the core `sanity` package and enabled by default. Scheduled Publishing is available on all paid plans and trials. If you wish to opt out of Scheduled Publishing, you can do so in your Studio configuration: ```typescript // sanity.config.ts export default defineConfig({ // .... scheduledPublishing: { enabled: false, } ) ``` Go to [docs](https://www.sanity.io/docs/scheduled-publishing) and [feature announcement blog post](https://www.sanity.io/blog/publishing-scheduled) to learn more. ##### Migrating from the Scheduled Publishing plugin to the new built-in configuration: If you are already using Scheduled Publishing plugin, the first step is to get rid of it and update your studio to the latest release. If you already updated your studio you might have gotten an alert about this. Run the following command in your project root to uninstall the plugin: ```shell npm uninstall @​sanity/scheduled-publishing ``` Next, remove the plugin from your studio configuration. Typically you'll find this in `./sanity.config.ts|js`. Find the `scheduledPublishing` plugin and do the following changes in your configuration file: Before: ```typescript // sanity.config.ts import {scheduledPublishing} from '@​sanity/scheduled-publishing' export default defineConfig({ //.... plugins: [ scheduledPublishing({ // e.g. 12/25/2024 6:30 AM inputDateTimeFormat: 'MM/dd/yyyy h:mm a', }) ] }) ``` After: ```diff - import {scheduledPublishing} from '@​sanity/scheduled-publishing' export default defineConfig({ // ... plugins: [ - scheduledPublishing({ - inputDateTimeFormat: 'MM/dd/yyyy h:mm a', - }) ], + scheduledPublishing: { + enabled: true, + inputDateTimeFormat: 'MM/dd/yyyy h:mm a', + } }) ``` ### 🐛 Notable bugfixes - Fixes a bug that caused negations to be transformed to wildcard search prefixes if they appeared at the end of a search query. - Improves error handling when attempting to run a migration against invalid project configurations. - Fixes an issue where a document's validation panel would show a system error message when a field with a validation error was deleted. - Fixes a bug that caused `_type` to be incorrectly parsed from statements in the `filter` parameter of document lists. - Fixes an issue that sometimes caused the Studio to load indefinitely when visited from a task notification email. Author | Message | Commit \------------ | ------------- | ------------- cngonzalez | fix: refactor checkoutPair to allow mutations for liveEdit documents ([#​6393](https://togithub.com/sanity-io/sanity/issues/6393)) | [`f6ae402`](https://togithub.com/sanity-io/sanity/commit/f6ae4028b4) Ash | fix(core): prevent transformation of negation tokens into wildcard prefix tokens ([#​6396](https://togithub.com/sanity-io/sanity/issues/6396)) | [`f28ef7e`](https://togithub.com/sanity-io/sanity/commit/f28ef7e094) Bjørge Næss | fix(migrate): forward possible API error response to error thrown for non 2xx ([#​6387](https://togithub.com/sanity-io/sanity/issues/6387)) | [`9316475`](https://togithub.com/sanity-io/sanity/commit/9316475346) Rico Kahler | refactor(tasks, comments): core plugins ([#​6333](https://togithub.com/sanity-io/sanity/issues/6333)) | [`3c917d2`](https://togithub.com/sanity-io/sanity/commit/3c917d22e0) renovate\[bot] | chore(deps): update dependency [@​sanity/tsdoc](https://togithub.com/sanity/tsdoc) to v1.0.34 ([#​6402](https://togithub.com/sanity-io/sanity/issues/6402)) | [`5fc2775`](https://togithub.com/sanity-io/sanity/commit/5fc277588d) renovate\[bot] | chore(lockfile): update dependency [@​sanity/react-loader](https://togithub.com/sanity/react-loader) to v1.9.12 ([#​6405](https://togithub.com/sanity-io/sanity/issues/6405)) | [`d3e924e`](https://togithub.com/sanity-io/sanity/commit/d3e924e26d) renovate\[bot] | chore(lockfile): update dependency [@​sanity/preview-url-secret](https://togithub.com/sanity/preview-url-secret) to v1.6.9 ([#​6404](https://togithub.com/sanity-io/sanity/issues/6404)) | [`4c6f1e2`](https://togithub.com/sanity-io/sanity/commit/4c6f1e2fef) renovate\[bot] | chore(deps): update dependency [@​sanity/visual-editing](https://togithub.com/sanity/visual-editing) to v1.8.12 ([#​6403](https://togithub.com/sanity-io/sanity/issues/6403)) | [`6802d29`](https://togithub.com/sanity-io/sanity/commit/6802d29bb2) renovate\[bot] | fix(deps): update dependency [@​sanity/client](https://togithub.com/sanity/client) to ^6.15.17 ([#​6406](https://togithub.com/sanity-io/sanity/issues/6406)) | [`82e505f`](https://togithub.com/sanity-io/sanity/commit/82e505fc8c) renovate\[bot] | fix(deps): update dependency [@​sanity/presentation](https://togithub.com/sanity/presentation) to v1.12.5 ([#​6407](https://togithub.com/sanity-io/sanity/issues/6407)) | [`98bb233`](https://togithub.com/sanity-io/sanity/commit/98bb2338b0) renovate\[bot] | fix(deps): update dependency [@​sanity/ui](https://togithub.com/sanity/ui) to ^2.1.4 ([#​6408](https://togithub.com/sanity-io/sanity/issues/6408)) | [`59cad0b`](https://togithub.com/sanity-io/sanity/commit/59cad0b923) renovate\[bot] | fix(deps): update dependency get-it to ^8.4.26 ([#​6409](https://togithub.com/sanity-io/sanity/issues/6409)) | [`159f542`](https://togithub.com/sanity-io/sanity/commit/159f5428e5) renovate\[bot] | chore(deps): update dependency [@​sanity/pkg-utils](https://togithub.com/sanity/pkg-utils) to v6.7.1 ([#​6410](https://togithub.com/sanity-io/sanity/issues/6410)) | [`e5252e1`](https://togithub.com/sanity-io/sanity/commit/e5252e17d6) Pedro Bonamin | fix(codeowners): update codeowners for tasks and comments ([#​6414](https://togithub.com/sanity-io/sanity/issues/6414)) | [`d286050`](https://togithub.com/sanity-io/sanity/commit/d286050dda) Rico Kahler | test: add sanity-plugin-hotspot-array ([#​6401](https://togithub.com/sanity-io/sanity/issues/6401)) | [`d591b18`](https://togithub.com/sanity-io/sanity/commit/d591b18fda) Binoy Patel | fix: TS import paths importing index.ts twice incorrectly ([#​6415](https://togithub.com/sanity-io/sanity/issues/6415)) | [`6066e92`](https://togithub.com/sanity-io/sanity/commit/6066e9287e) Pedro Bonamin | fix(tasks): update tasks upsell provider client version ([#​6413](https://togithub.com/sanity-io/sanity/issues/6413)) | [`61a887c`](https://togithub.com/sanity-io/sanity/commit/61a887c018) renovate\[bot] | chore(deps): update dependency [@​sanity/pkg-utils](https://togithub.com/sanity/pkg-utils) to v6.8.0 ([#​6421](https://togithub.com/sanity-io/sanity/issues/6421)) | [`72e34f8`](https://togithub.com/sanity-io/sanity/commit/72e34f8a80) renovate\[bot] | chore(lockfile): update dependency zod to v3.22.5 ([#​6420](https://togithub.com/sanity-io/sanity/issues/6420)) | [`5c7352c`](https://togithub.com/sanity-io/sanity/commit/5c7352cf76) Cody Olsen | refactor: use `@sanity/prettier-config` ([#​6423](https://togithub.com/sanity-io/sanity/issues/6423)) | [`e75e390`](https://togithub.com/sanity-io/sanity/commit/e75e390e61) renovate\[bot] | chore(deps): update dependency recast to ^0.23.6 ([#​6422](https://togithub.com/sanity-io/sanity/issues/6422)) | [`2b30eb6`](https://togithub.com/sanity-io/sanity/commit/2b30eb6edd) Bjørge Næss | chore: turn server actions on by default in test-studio ([#​6425](https://togithub.com/sanity-io/sanity/issues/6425)) | [`dd61ead`](https://togithub.com/sanity-io/sanity/commit/dd61ead1bd) RitaDias | fix([@​sanity](https://togithub.com/sanity)): issue where hidden unicode characters were bloating document in PTE ([#​6424](https://togithub.com/sanity-io/sanity/issues/6424)) | [`ce46077`](https://togithub.com/sanity-io/sanity/commit/ce460775e7) Per-Kristian Nordnes | Revert "fix([@​sanity](https://togithub.com/sanity)): issue where hidden unicode characters were bloating document in PTE ([#​6424](https://togithub.com/sanity-io/sanity/issues/6424))" | [`cac48bb`](https://togithub.com/sanity-io/sanity/commit/cac48bb7f2) Per-Kristian Nordnes | fix(portable-text-editor): support collapsed range decorations ([#​6428](https://togithub.com/sanity-io/sanity/issues/6428)) | [`2d02d62`](https://togithub.com/sanity-io/sanity/commit/2d02d62599) renovate\[bot] | fix(deps): update dependency get-it to ^8.4.27 ([#​6434](https://togithub.com/sanity-io/sanity/issues/6434)) | [`5fb7ddf`](https://togithub.com/sanity-io/sanity/commit/5fb7ddf1b5) renovate\[bot] | chore(deps): update dependency [@​sanity/visual-editing](https://togithub.com/sanity/visual-editing) to v1.8.13 ([#​6432](https://togithub.com/sanity-io/sanity/issues/6432)) | [`f4e482d`](https://togithub.com/sanity-io/sanity/commit/f4e482d338) renovate\[bot] | fix(deps): update dependency [@​sanity/client](https://togithub.com/sanity/client) to ^6.15.19 ([#​6433](https://togithub.com/sanity-io/sanity/issues/6433)) | [`4e32715`](https://togithub.com/sanity-io/sanity/commit/4e32715c39) renovate\[bot] | chore(deps): update dependency [@​sanity/pkg-utils](https://togithub.com/sanity/pkg-utils) to v6.8.1 ([#​6431](https://togithub.com/sanity-io/sanity/issues/6431)) | [`26b8c76`](https://togithub.com/sanity-io/sanity/commit/26b8c76c3b) renovate\[bot] | chore(lockfile): update dependency [@​sanity/react-loader](https://togithub.com/sanity/react-loader) to v1.9.13 ([#​6436](https://togithub.com/sanity-io/sanity/issues/6436)) | [`846cf68`](https://togithub.com/sanity-io/sanity/commit/846cf688fb) renovate\[bot] | chore(lockfile): update dependency [@​sanity/preview-url-secret](https://togithub.com/sanity/preview-url-secret) to v1.6.10 ([#​6435](https://togithub.com/sanity-io/sanity/issues/6435)) | [`7b20162`](https://togithub.com/sanity-io/sanity/commit/7b20162ca8) renovate\[bot] | fix(deps): update dependency [@​sanity/presentation](https://togithub.com/sanity/presentation) to v1.12.6 ([#​6437](https://togithub.com/sanity-io/sanity/issues/6437)) | [`3eb44db`](https://togithub.com/sanity-io/sanity/commit/3eb44db1a4) renovate\[bot] | chore(deps): update dependency [@​sanity/visual-editing](https://togithub.com/sanity/visual-editing) to v1.8.14 ([#​6438](https://togithub.com/sanity-io/sanity/issues/6438)) | [`177b4b5`](https://togithub.com/sanity-io/sanity/commit/177b4b5d46) renovate\[bot] | chore(deps): update dependency [@​sanity/tsdoc](https://togithub.com/sanity/tsdoc) to v1.0.36 ([#​6444](https://togithub.com/sanity-io/sanity/issues/6444)) | [`8f05301`](https://togithub.com/sanity-io/sanity/commit/8f05301699) renovate\[bot] | chore(deps): update peter-evans/create-pull-request digest to [`9153d83`](https://togithub.com/sanity-io/sanity/commit/9153d83) ([#​6443](https://togithub.com/sanity-io/sanity/issues/6443)) | [`035c59d`](https://togithub.com/sanity-io/sanity/commit/035c59d562) Tommy Petty | fix(structure): update to not crash validation panel if unable to get path title ([#​6417](https://togithub.com/sanity-io/sanity/issues/6417)) | [`d5f8fb6`](https://togithub.com/sanity-io/sanity/commit/d5f8fb6799) renovate\[bot] | chore(lockfile): update dependency [@​sanity/eventsource](https://togithub.com/sanity/eventsource) to v5.0.2 ([#​6445](https://togithub.com/sanity-io/sanity/issues/6445)) | [`b8f3666`](https://togithub.com/sanity-io/sanity/commit/b8f366601d) Herman Wikner | fix(comments): conditional rendering of `CommentsProvider` ([#​6412](https://togithub.com/sanity-io/sanity/issues/6412)) | [`379396e`](https://togithub.com/sanity-io/sanity/commit/379396e63e) Per-Kristian Nordnes | perf(portable-text-editor): improve range deocration render perf ([#​6441](https://togithub.com/sanity-io/sanity/issues/6441)) | [`c9b1ebb`](https://togithub.com/sanity-io/sanity/commit/c9b1ebb461) Rico Kahler | fix(structure): resolve static types in document list filters ([#​6439](https://togithub.com/sanity-io/sanity/issues/6439)) | [`048ce0b`](https://togithub.com/sanity-io/sanity/commit/048ce0b98b) Rico Kahler | fix(core): fix autocomplete for `defineType` in VSCode ([#​6447](https://togithub.com/sanity-io/sanity/issues/6447)) | [`3ff78f6`](https://togithub.com/sanity-io/sanity/commit/3ff78f6d73) Ash | test(e2e): fix unawaited assertion ([#​6442](https://togithub.com/sanity-io/sanity/issues/6442)) | [`37b6291`](https://togithub.com/sanity-io/sanity/commit/37b6291f69) renovate\[bot] | fix(deps): update dependency [@​sanity/presentation](https://togithub.com/sanity/presentation) to v1.12.7 ([#​6448](https://togithub.com/sanity-io/sanity/issues/6448)) | [`f9634f4`](https://togithub.com/sanity-io/sanity/commit/f9634f42c1) Pedro Bonamin | fix(tasks): update taskURL for notification target ([#​6395](https://togithub.com/sanity-io/sanity/issues/6395)) | [`7c8cebf`](https://togithub.com/sanity-io/sanity/commit/7c8cebf37d) Sindre Gulseth | fix(typegen): fixes a case where we track ratio as NaN ([#​6309](https://togithub.com/sanity-io/sanity/issues/6309)) | [`b0f405e`](https://togithub.com/sanity-io/sanity/commit/b0f405e292) renovate\[bot] | fix(deps): update dependency [@​sanity/client](https://togithub.com/sanity/client) to ^6.15.20 ([#​6461](https://togithub.com/sanity-io/sanity/issues/6461)) | [`d7f1067`](https://togithub.com/sanity-io/sanity/commit/d7f1067718) Cody Olsen | chore: remove `_internalBrowser` from `typesVersions` ([#​6451](https://togithub.com/sanity-io/sanity/issues/6451)) | [`c1f1fdf`](https://togithub.com/sanity-io/sanity/commit/c1f1fdf946) Rico Kahler | chore(deps): bump [@​sanity/export](https://togithub.com/sanity/export) ([#​6462](https://togithub.com/sanity-io/sanity/issues/6462)) | [`348a3a9`](https://togithub.com/sanity-io/sanity/commit/348a3a996d) Pedro Bonamin | feat(scheduled-publishing): move scheduled publishing into core. ([#​6416](https://togithub.com/sanity-io/sanity/issues/6416)) | [`a6fc5af`](https://togithub.com/sanity-io/sanity/commit/a6fc5af0d2)

Configuration

📅 Schedule: Branch creation - "before 3am on the first day of the month" (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

socket-security[bot] commented 2 months ago

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

Package New capabilities Transitives Size Publisher
npm/@typescript-eslint/eslint-plugin@7.7.1 Transitive: environment +12 5.8 MB jameshenry
npm/@typescript-eslint/parser@7.7.1 Transitive: environment +6 1.82 MB jameshenry

View full report↗︎