sanity-io / visual-editing

https://visual-editing-studio.sanity.build
MIT License
37 stars 20 forks source link

fix(deps): Update sanity monorepo to ^3.57.4 (canary) #1839

Closed renovate[bot] closed 2 months ago

renovate[bot] commented 2 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sanity/types (source) ^3.57.3 -> ^3.57.4 age adoption passing confidence
@sanity/types (source) 3.57.3 -> 3.57.4 age adoption passing confidence
@sanity/util (source) 3.57.3 -> 3.57.4 age adoption passing confidence
@sanity/vision (source) 3.57.3 -> 3.57.4 age adoption passing confidence
groq (source) 3.57.3 -> 3.57.4 age adoption passing confidence
sanity (source) 3.57.3 -> 3.57.4 age adoption passing confidence

Release Notes

sanity-io/sanity (@​sanity/types) ### [`v3.57.4`](https://redirect.github.com/sanity-io/sanity/releases/tag/v3.57.4) [Compare Source](https://redirect.github.com/sanity-io/sanity/compare/v3.57.3...v3.57.4) ### โœจ Highlights #### Performance improvements for large documents This release introduces significant performance improvements for form state computation in Sanity Studio, especially for complex documents: - Up to 10x performance improvement for documents with multiple large objects in arrays - Noticeable improvements for documents with large Portable Text fields - Memoization for form state computation ### ๐Ÿ› Notable bugfixes - The `_createdAt` document property will now always be set to the time when the document in question was first created in its initial draft state rather than the time of publishing, as intended. - In the Portable Text Editor, annotations can now be added across existing annotations and decorators without accidentally expanding or removing those. - In the Portable Text Editor, a collapsed selection can now toggle off an entire annotation. - A performance regression introduced in `3.52.3`, affecting large Portable Text documents, has now been fixed. - Toggling decorators in selections spanning empty lines in the Portable Text Editor now works more predictably. - Lists created in the Portable Text Editor should now reset sublist indices under different parent list items (thank you, [@​phattran2905](https://redirect.github.com/phattran2905)!). - When focused, the Portable Text Editor now automatically adds empty `markDefs` arrays to blocks if missing. - Array inputs now forward the received `onItemPrepend` and `onItemAppend` hooks to the insert button/array functions component. ### 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. ### ๐Ÿ““ Full changelog Author | Message | Commit \------------ | ------------- | ------------- Cody Olsen | chore(deps): bump `typescript` to `5.6.2` ([#​7494](https://redirect.github.com/sanity-io/sanity/issues/7494)) | [`caec753`](https://redirect.github.com/sanity-io/sanity/commit/caec753b31) Ash | fix(sanity): prevent empty patches being created ([#​7499](https://redirect.github.com/sanity-io/sanity/issues/7499)) | [`99f1bb6`](https://redirect.github.com/sanity-io/sanity/commit/99f1bb6163) renovate\[bot] | chore(deps): update typescript-tooling ([#​7504](https://redirect.github.com/sanity-io/sanity/issues/7504)) | [`9a646d8`](https://redirect.github.com/sanity-io/sanity/commit/9a646d82f0) Phat Tran | fix(core): correctly reset PTE list counts after non-numbered lists and in sublists ([#​7506](https://redirect.github.com/sanity-io/sanity/issues/7506)) | [`4918a9e`](https://redirect.github.com/sanity-io/sanity/commit/4918a9e5fa) renovate\[bot] | chore(deps): update dependency turbo to ^2.1.2 ([#​7507](https://redirect.github.com/sanity-io/sanity/issues/7507)) | [`618d95c`](https://redirect.github.com/sanity-io/sanity/commit/618d95c2e1) renovate\[bot] | chore(deps): update pnpm to v9.10.0 ([#​7509](https://redirect.github.com/sanity-io/sanity/issues/7509)) | [`cf55d9d`](https://redirect.github.com/sanity-io/sanity/commit/cf55d9d5d9) renovate\[bot] | chore(deps): update linters ([#​7508](https://redirect.github.com/sanity-io/sanity/issues/7508)) | [`453c4a4`](https://redirect.github.com/sanity-io/sanity/commit/453c4a4e58) renovate\[bot] | fix(deps): Update dev-non-major ([#​7510](https://redirect.github.com/sanity-io/sanity/issues/7510)) | [`fe75e37`](https://redirect.github.com/sanity-io/sanity/commit/fe75e37617) renovate\[bot] | fix(deps): update dependency [@​portabletext/editor](https://redirect.github.com/portabletext/editor) to ^1.1.0 ([#​7501](https://redirect.github.com/sanity-io/sanity/issues/7501)) | [`a6e0389`](https://redirect.github.com/sanity-io/sanity/commit/a6e038941a) Jordan Lawrence | fix(core): drafts not using server actions always generate a created at ([#​7503](https://redirect.github.com/sanity-io/sanity/issues/7503)) | [`728311e`](https://redirect.github.com/sanity-io/sanity/commit/728311e4a2) renovate\[bot] | fix(deps): update dependency [@​portabletext/editor](https://redirect.github.com/portabletext/editor) to ^1.1.1 ([#​7514](https://redirect.github.com/sanity-io/sanity/issues/7514)) | [`daf4ffa`](https://redirect.github.com/sanity-io/sanity/commit/daf4ffad04) Simeon Griggs | fix: add padding above the "Push to reload" button instead of below ([#​7464](https://redirect.github.com/sanity-io/sanity/issues/7464)) | [`1a33125`](https://redirect.github.com/sanity-io/sanity/commit/1a33125c50) Bjรธrge Nรฆss | fix: forward received onItemPrepend/onItemAppend to ArrayFunctions ([#​7516](https://redirect.github.com/sanity-io/sanity/issues/7516)) | [`4a50023`](https://redirect.github.com/sanity-io/sanity/commit/4a50023cc7) Rico Kahler | perf(core): memoize `prepareFormState` ([#​7498](https://redirect.github.com/sanity-io/sanity/issues/7498)) | [`3bf7096`](https://redirect.github.com/sanity-io/sanity/commit/3bf70962b4)
sanity-io/sanity (@​sanity/vision) ### [`v3.57.4`](https://redirect.github.com/sanity-io/sanity/compare/v3.57.3...v3.57.4) [Compare Source](https://redirect.github.com/sanity-io/sanity/compare/v3.57.3...v3.57.4)
sanity-io/sanity (sanity) ### [`v3.57.4`](https://redirect.github.com/sanity-io/sanity/compare/v3.57.3...v3.57.4) [Compare Source](https://redirect.github.com/sanity-io/sanity/compare/v3.57.3...v3.57.4)

Configuration

๐Ÿ“… Schedule: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).

๐Ÿšฆ Automerge: Enabled.

โ™ป Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

๐Ÿ”• Ignore: Close this PR and you won't be reminded about these updates again.



This PR has been generated by Mend Renovate using a curated preset maintained by Sanity. View repository job log here

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git โ†—๏ธŽ

Name Status Preview Comments Updated (UTC)
live-visual-editing-next โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Sep 18, 2024 0:56am
visual-editing-astro โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Sep 18, 2024 0:56am
visual-editing-next โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Sep 18, 2024 0:56am
visual-editing-next-with-i18n โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Sep 18, 2024 0:56am
visual-editing-nuxt โŒ Failed (Inspect) Sep 18, 2024 0:56am
visual-editing-page-builder-demo โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Sep 18, 2024 0:56am
visual-editing-remix โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Sep 18, 2024 0:56am
visual-editing-storybook โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Sep 18, 2024 0:56am
visual-editing-studio โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Sep 18, 2024 0:56am
visual-editing-svelte โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Sep 18, 2024 0:56am
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/@sanity/types@3.57.4 None 0 400 kB bjoerge
npm/@sanity/util@3.57.4 None +7 4.61 MB bjoerge
npm/@sanity/vision@3.57.4 Transitive: environment +81 13.6 MB bjoerge
npm/groq@3.57.4 None 0 11.8 kB bjoerge

๐Ÿšฎ Removed packages: npm/@sanity/types@3.57.3, npm/@sanity/util@3.57.3, npm/@sanity/vision@3.57.3, npm/groq@3.57.3

View full reportโ†—๏ธŽ