Closed renovate[bot] closed 1 month ago
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
β οΈ Warning: custom changes will be lost.
This PR contains the following updates:
^2.27.7
->^2.27.8
^3.0.0
->^3.0.1
^1.16.1
->^1.16.5
^2.6.1
->^2.8.9
^3.48.1
->^3.57.4
^3.8.1
->^3.10.8
^4.17.6
->^4.17.7
^18.3.3
->^18.3.7
^7.15.0
->^7.18.0
^7.15.0
->^7.18.0
^5.1.3
->^5.2.1
^7.34.3
->^7.36.1
^3.3.2
->^3.3.3
^2.5.0
->^2.5.2
^5.0.7
->^5.0.10
^3.48.1
->^3.57.4
^6.1.11
->^6.1.13
^8.1.0
->^8.3.0
^5.5.3
->^5.6.2
^10.0.1
->^10.0.3
Release Notes
changesets/changesets (@changesets/cli)
### [`v2.27.8`](https://redirect.github.com/changesets/changesets/compare/@changesets/cli@2.27.7...c867f32d0c25cfb2a6b518bc1f9880f758beb157) [Compare Source](https://redirect.github.com/changesets/changesets/compare/@changesets/cli@2.27.7...@changesets/cli@2.27.8)sanity-io/document-internationalization (@sanity/document-internationalization)
### [`v3.0.1`](https://redirect.github.com/sanity-io/document-internationalization/blob/HEAD/CHANGELOG.md#301-2024-08-23) [Compare Source](https://redirect.github.com/sanity-io/document-internationalization/compare/v3.0.0...v3.0.1) ##### Bug Fixes - disable LanguageOption button double-clicks ([#190](https://redirect.github.com/sanity-io/document-internationalization/issues/190)) ([3fdaff6](https://redirect.github.com/sanity-io/document-internationalization/commit/3fdaff64af1df2879e7bf85f00ef895462359549))sanity-io/visual-editing (@sanity/presentation)
### [`v1.16.5`](https://redirect.github.com/sanity-io/visual-editing/blob/HEAD/packages/presentation/CHANGELOG.md#1165-2024-09-11) ##### Bug Fixes - **deps:** update dependency [@sanity/client](https://redirect.github.com/sanity/client) to ^6.21.3 ([#1793](https://redirect.github.com/sanity-io/visual-editing/issues/1793)) ([1dc1b1b](https://redirect.github.com/sanity-io/visual-editing/commit/1dc1b1b9222e6a2f36d6b807415dc1a9b0a2426a)) - remove document.referrer inference ([173f519](https://redirect.github.com/sanity-io/visual-editing/commit/173f519bcc7c85eec135c04d69bfa3ed1c171651)) - send `preview` search param explicitly ([2d02d41](https://redirect.github.com/sanity-io/visual-editing/commit/2d02d41182d212325f05ea1d847d294eb62363f7)) ##### Dependencies - The following workspace dependencies were updated - dependencies - [@sanity/preview-url-secret](https://redirect.github.com/sanity/preview-url-secret) bumped to 1.6.21 - devDependencies - [@repo/visual-editing-helpers](https://redirect.github.com/repo/visual-editing-helpers) bumped to 0.6.21 ### [`v1.16.4`](https://redirect.github.com/sanity-io/visual-editing/blob/HEAD/packages/presentation/CHANGELOG.md#1164-2024-08-12) ##### Bug Fixes - **deps:** update dependency [@sanity/client](https://redirect.github.com/sanity/client) to v6.21.2 ([#1749](https://redirect.github.com/sanity-io/visual-editing/issues/1749)) ([b9efdd2](https://redirect.github.com/sanity-io/visual-editing/commit/b9efdd2a672fdef518bc22a29a25992c938ba1ef)) ##### Dependencies - The following workspace dependencies were updated - dependencies - [@sanity/preview-url-secret](https://redirect.github.com/sanity/preview-url-secret) bumped to 1.6.20 - devDependencies - [@repo/visual-editing-helpers](https://redirect.github.com/repo/visual-editing-helpers) bumped to 0.6.20 ### [`v1.16.3`](https://redirect.github.com/sanity-io/visual-editing/blob/HEAD/packages/presentation/CHANGELOG.md#1163-2024-08-02) ##### Bug Fixes - **deps:** update dependency [@sanity/client](https://redirect.github.com/sanity/client) to v6.21.1 ([#1704](https://redirect.github.com/sanity-io/visual-editing/issues/1704)) ([32f1ef8](https://redirect.github.com/sanity-io/visual-editing/commit/32f1ef8582134a130d6325320274a981217ee2e8)) - **presentation:** display correct revision when switching perspective ([#1699](https://redirect.github.com/sanity-io/visual-editing/issues/1699)) ([a3c9e17](https://redirect.github.com/sanity-io/visual-editing/commit/a3c9e170067258aa32a98074b280b508ac5117a8)) - **presentation:** preserve tool state across intent link navigations ([#1692](https://redirect.github.com/sanity-io/visual-editing/issues/1692)) ([e8809f8](https://redirect.github.com/sanity-io/visual-editing/commit/e8809f8131988af7888ea7d8e10524e55df52e9e)) ##### Dependencies - The following workspace dependencies were updated - dependencies - [@sanity/preview-url-secret](https://redirect.github.com/sanity/preview-url-secret) bumped from ^1.6.18 to ^1.6.19 - devDependencies - [@repo/visual-editing-helpers](https://redirect.github.com/repo/visual-editing-helpers) bumped from 0.6.18 to 0.6.19 ### [`v1.16.2`](https://redirect.github.com/sanity-io/visual-editing/blob/HEAD/packages/presentation/CHANGELOG.md#1162-2024-07-03) ##### Bug Fixes - **deps:** update dependency [@sanity/client](https://redirect.github.com/sanity/client) to v6.20.1 ([#1680](https://redirect.github.com/sanity-io/visual-editing/issues/1680)) ([bb89688](https://redirect.github.com/sanity-io/visual-editing/commit/bb8968816838a60a32242ce803a3ef804f2f885e)) - **presentation:** add iframe pointer events to prevent interference with resizing drag handler ([#1693](https://redirect.github.com/sanity-io/visual-editing/issues/1693)) ([ad3ba1f](https://redirect.github.com/sanity-io/visual-editing/commit/ad3ba1f0ccaba745c538eb1f392eaee5d8954630)) - **presentation:** prevent displaying main document on explicit document navigation ([#1691](https://redirect.github.com/sanity-io/visual-editing/issues/1691)) ([f058555](https://redirect.github.com/sanity-io/visual-editing/commit/f058555d5dc38b5b8a920dfbbce1481a44cda0e5)) ##### Dependencies - The following workspace dependencies were updated - dependencies - [@sanity/preview-url-secret](https://redirect.github.com/sanity/preview-url-secret) bumped from ^1.6.17 to ^1.6.18 - devDependencies - [@repo/visual-editing-helpers](https://redirect.github.com/repo/visual-editing-helpers) bumped from 0.6.17 to 0.6.18sanity-io/ui (@sanity/ui)
### [`v2.8.9`](https://redirect.github.com/sanity-io/ui/blob/HEAD/CHANGELOG.md#289-2024-08-29) [Compare Source](https://redirect.github.com/sanity-io/ui/compare/v2.8.8...v2.8.9) ##### Bug Fixes - **deps:** update dependency [@sanity/icons](https://redirect.github.com/sanity/icons) to ^3.4.0 ([#1428](https://redirect.github.com/sanity-io/ui/issues/1428)) ([31409ee](https://redirect.github.com/sanity-io/ui/commit/31409eefa4a8cd68920c3f7c1adde99a0af90e49)) ### [`v2.8.8`](https://redirect.github.com/sanity-io/ui/blob/HEAD/CHANGELOG.md#288-2024-07-19) [Compare Source](https://redirect.github.com/sanity-io/ui/compare/v2.8.7...v2.8.8) ##### Bug Fixes - **deps:** update dependency [@sanity/icons](https://redirect.github.com/sanity/icons) to ^3.3.1 ([#1402](https://redirect.github.com/sanity-io/ui/issues/1402)) ([8614743](https://redirect.github.com/sanity-io/ui/commit/8614743ca5fb07e711fb66ceaddf578632aa3919)) ### [`v2.8.7`](https://redirect.github.com/sanity-io/ui/blob/HEAD/CHANGELOG.md#287-2024-07-19) [Compare Source](https://redirect.github.com/sanity-io/ui/compare/v2.8.6...v2.8.7) ##### Bug Fixes - add `displayName` to all components to improve debugging ([#1401](https://redirect.github.com/sanity-io/ui/issues/1401)) ([1ab0c18](https://redirect.github.com/sanity-io/ui/commit/1ab0c18f851e1ca4d2b45fb45edc7e386858aff0)) ### [`v2.8.6`](https://redirect.github.com/sanity-io/ui/blob/HEAD/CHANGELOG.md#286-2024-07-18) [Compare Source](https://redirect.github.com/sanity-io/ui/compare/v2.8.5...v2.8.6) ##### Bug Fixes - **MenuGroup:** reduce rerenders when opening groups ([#1399](https://redirect.github.com/sanity-io/ui/issues/1399)) ([9c982ea](https://redirect.github.com/sanity-io/ui/commit/9c982eaad50e7cf11dbecb20962c0f63fd4dd9ff)) - **menu:** refactor to `useClickOutsideEvent` ([#1397](https://redirect.github.com/sanity-io/ui/issues/1397)) ([b830db1](https://redirect.github.com/sanity-io/ui/commit/b830db1fd83fa58b8941b3bb3652fa4eca06ee4b)) ### [`v2.8.5`](https://redirect.github.com/sanity-io/ui/blob/HEAD/CHANGELOG.md#285-2024-07-18) [Compare Source](https://redirect.github.com/sanity-io/ui/compare/v2.8.4...v2.8.5) ##### Bug Fixes - **useClickOutsideEvent:** implement `useDebugValue` to report enabled status ([#1398](https://redirect.github.com/sanity-io/ui/issues/1398)) ([67fe3de](https://redirect.github.com/sanity-io/ui/commit/67fe3def20b3a39ebdbbfac5c80a8b4e7a276b90)) ### [`v2.8.4`](https://redirect.github.com/sanity-io/ui/blob/HEAD/CHANGELOG.md#284-2024-07-18) [Compare Source](https://redirect.github.com/sanity-io/ui/compare/v2.8.3...v2.8.4) ##### Bug Fixes - **dialog:** refactor to `useClickOutsideEvent` ([#1396](https://redirect.github.com/sanity-io/ui/issues/1396)) ([375d83e](https://redirect.github.com/sanity-io/ui/commit/375d83e98832ef0fece8f040378599904d289bc5)) ### [`v2.8.3`](https://redirect.github.com/sanity-io/ui/blob/HEAD/CHANGELOG.md#283-2024-07-18) [Compare Source](https://redirect.github.com/sanity-io/ui/compare/v2.8.2...v2.8.3) ##### Bug Fixes - **breadcrumbs:** refactor to `useClickOutsideEvent` ([#1395](https://redirect.github.com/sanity-io/ui/issues/1395)) ([a4f313d](https://redirect.github.com/sanity-io/ui/commit/a4f313d586a03dd349462740dfcd06b00169db1e)) ### [`v2.8.2`](https://redirect.github.com/sanity-io/ui/blob/HEAD/CHANGELOG.md#282-2024-07-17) [Compare Source](https://redirect.github.com/sanity-io/ui/compare/v2.8.1...v2.8.2) ##### Bug Fixes - revert `useClickOutside` behaviour in dialog & menu ([#1394](https://redirect.github.com/sanity-io/ui/issues/1394)) ([686bd1f](https://redirect.github.com/sanity-io/ui/commit/686bd1f223fbd9a7e6098418c48bb82a0f0c8ff3)) ### [`v2.8.1`](https://redirect.github.com/sanity-io/ui/blob/HEAD/CHANGELOG.md#281-2024-07-17) [Compare Source](https://redirect.github.com/sanity-io/ui/compare/v2.8.0...v2.8.1) ##### Bug Fixes - restore `useClickOutside` behaviour, move new logic to `useClickOutsideEvent` ([#1391](https://redirect.github.com/sanity-io/ui/issues/1391)) ([d3ac101](https://redirect.github.com/sanity-io/ui/commit/d3ac101666f381ab0e6a8b7857e53e6380e6d296)) ### [`v2.8.0`](https://redirect.github.com/sanity-io/ui/blob/HEAD/CHANGELOG.md#280-2024-07-17) [Compare Source](https://redirect.github.com/sanity-io/ui/compare/v2.7.0...v2.8.0) ##### Features - **useClickOutside:** support react refs ([#1390](https://redirect.github.com/sanity-io/ui/issues/1390)) ([cb182db](https://redirect.github.com/sanity-io/ui/commit/cb182db8bc3caf5347a33acc2ae8ffc6a69f39b0)) ### [`v2.7.0`](https://redirect.github.com/sanity-io/ui/blob/HEAD/CHANGELOG.md#270-2024-07-16) [Compare Source](https://redirect.github.com/sanity-io/ui/compare/v2.6.8...v2.7.0) ##### Features - add `useMatchMedia` hook ([0f61001](https://redirect.github.com/sanity-io/ui/commit/0f6100174ad2f90bb46e411279c94e7b57c6b57b)) - **usePrefersDark:** support custom getServerSnapshot ([3a02eeb](https://redirect.github.com/sanity-io/ui/commit/3a02eebc97175807520141ab7d2e74b59563a8ea)) - **usePrefersReducedMotion:** support custom getServerSnapshot ([5c45dac](https://redirect.github.com/sanity-io/ui/commit/5c45dac2d3659637eafc0bcdcb16344c48422867)) ##### Bug Fixes - **useMediaIndex:** reduce memory usage ([#1386](https://redirect.github.com/sanity-io/ui/issues/1386)) ([f47ca6e](https://redirect.github.com/sanity-io/ui/commit/f47ca6e9f6f16471a7fc4adfb93068d9ce9f4f5a)) ### [`v2.6.8`](https://redirect.github.com/sanity-io/ui/blob/HEAD/CHANGELOG.md#268-2024-07-12) [Compare Source](https://redirect.github.com/sanity-io/ui/compare/v2.6.7...v2.6.8) ##### Bug Fixes - **tooltip:** use layout effect to calculate width ([#1373](https://redirect.github.com/sanity-io/ui/issues/1373)) ([d27868e](https://redirect.github.com/sanity-io/ui/commit/d27868e1d741a04ab3bf49a101e1e5afbc009d81)) ### [`v2.6.7`](https://redirect.github.com/sanity-io/ui/blob/HEAD/CHANGELOG.md#267-2024-07-11) [Compare Source](https://redirect.github.com/sanity-io/ui/compare/v2.6.6...v2.6.7) ##### Bug Fixes - revert recent portal/tooltip changes ([#1372](https://redirect.github.com/sanity-io/ui/issues/1372)) ([627003e](https://redirect.github.com/sanity-io/ui/commit/627003e6929c809434b0b72fe8efeff6b0b577fd)), closes [#1371](https://redirect.github.com/sanity-io/ui/issues/1371) [#1370](https://redirect.github.com/sanity-io/ui/issues/1370) [#1369](https://redirect.github.com/sanity-io/ui/issues/1369) ### [`v2.6.6`](https://redirect.github.com/sanity-io/ui/blob/HEAD/CHANGELOG.md#266-2024-07-11) [Compare Source](https://redirect.github.com/sanity-io/ui/compare/v2.6.5...v2.6.6) ##### Bug Fixes - **tooltip:** regression where hover to open stops working ([#1371](https://redirect.github.com/sanity-io/ui/issues/1371)) ([038011b](https://redirect.github.com/sanity-io/ui/commit/038011b496b02a84992360a73b5f556cf92d870c)) ### [`v2.6.5`](https://redirect.github.com/sanity-io/ui/blob/HEAD/CHANGELOG.md#265-2024-07-11) [Compare Source](https://redirect.github.com/sanity-io/ui/compare/v2.6.4...v2.6.5) ##### Bug Fixes - **tooltip:** use layout effect to calculate width ([#1370](https://redirect.github.com/sanity-io/ui/issues/1370)) ([e39ddbe](https://redirect.github.com/sanity-io/ui/commit/e39ddbea9e310fcbd87a43a7a5986261650855fb)) ### [`v2.6.4`](https://redirect.github.com/sanity-io/ui/blob/HEAD/CHANGELOG.md#264-2024-07-11) [Compare Source](https://redirect.github.com/sanity-io/ui/compare/v2.6.3...v2.6.4) ##### Bug Fixes - reduce layout trashing ([#1369](https://redirect.github.com/sanity-io/ui/issues/1369)) ([0cb1cb1](https://redirect.github.com/sanity-io/ui/commit/0cb1cb133fbf7f10ee821e9bcfce3a82bca6e5ae)) ### [`v2.6.3`](https://redirect.github.com/sanity-io/ui/blob/HEAD/CHANGELOG.md#263-2024-07-08) [Compare Source](https://redirect.github.com/sanity-io/ui/compare/v2.6.2...v2.6.3) ##### Bug Fixes - **deps:** update dependency [@sanity/icons](https://redirect.github.com/sanity/icons) to ^3.3.0 ([#1364](https://redirect.github.com/sanity-io/ui/issues/1364)) ([4bf02f5](https://redirect.github.com/sanity-io/ui/commit/4bf02f5495301f567bdace3e32d27bef61b00148)) ### [`v2.6.2`](https://redirect.github.com/sanity-io/ui/blob/HEAD/CHANGELOG.md#262-2024-07-08) [Compare Source](https://redirect.github.com/sanity-io/ui/compare/v2.6.1...v2.6.2) ##### Bug Fixes - **deps:** update dependency [@floating-ui/react-dom](https://redirect.github.com/floating-ui/react-dom) to ^2.1.1 ([#1354](https://redirect.github.com/sanity-io/ui/issues/1354)) ([4642d8e](https://redirect.github.com/sanity-io/ui/commit/4642d8e252e96a697329994e921448e06ed1d151))sanity-io/sanity (@sanity/util)
### [`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) ### [`v3.57.3`](https://redirect.github.com/sanity-io/sanity/releases/tag/v3.57.3) [Compare Source](https://redirect.github.com/sanity-io/sanity/compare/v3.57.2...v3.57.3) ##### 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 ##### Auto-updates enabled by default Newly initialized studios now have auto-updates enabled by default. This feature keeps your deployed studio up to date with the latest versions of Sanity while maintaining full control over your code and customizations, ensuring the same great developer experience youβre accustomed to. With auto-updates enabled, you'll only need to rebuild and redeploy when making your own changes, as new features and improvements from Sanity are delivered automatically. Learn more at https://www.sanity.io/docs/auto-updating-studios ##### π Full changelog Author | Message | Commit \------------ | ------------- | ------------- RitaDias | docs(sanity): remove `@beta` tags from migrate ([#7490](https://redirect.github.com/sanity-io/sanity/issues/7490)) | [`aba8072`](https://redirect.github.com/sanity-io/sanity/commit/aba8072c2f) renovate\[bot] | fix(deps): Update dev-non-major ([#7488](https://redirect.github.com/sanity-io/sanity/issues/7488)) | [`fd37976`](https://redirect.github.com/sanity-io/sanity/commit/fd379762bb) renovate\[bot] | fix(deps): update dependency [@sanity/insert-menu](https://redirect.github.com/sanity/insert-menu) to v1.0.9 ([#7492](https://redirect.github.com/sanity-io/sanity/issues/7492)) | [`e4afd03`](https://redirect.github.com/sanity-io/sanity/commit/e4afd03a35) renovate\[bot] | fix(deps): update dependency [@sanity/presentation](https://redirect.github.com/sanity/presentation) to v1.16.5 ([#7493](https://redirect.github.com/sanity-io/sanity/issues/7493)) | [`f9d354f`](https://redirect.github.com/sanity-io/sanity/commit/f9d354ffec) Carolina Gonzalez | chore: add help text for auto-updates in the studio ([#7461](https://redirect.github.com/sanity-io/sanity/issues/7461)) | [`8b0eeff`](https://redirect.github.com/sanity-io/sanity/commit/8b0eeff8c3) Carolina Gonzalez | feat(cli): use auto-updates flag in init ([#7401](https://redirect.github.com/sanity-io/sanity/issues/7401)) | [`17c02f9`](https://redirect.github.com/sanity-io/sanity/commit/17c02f99a2) ### [`v3.57.2`](https://redirect.github.com/sanity-io/sanity/releases/tag/v3.57.2) [Compare Source](https://redirect.github.com/sanity-io/sanity/compare/v3.57.1...v3.57.2) ##### β¨ Highlights ##### Improved developer tooling for Next.js and Sanity - When `sanity init` is run inside a Next.js project, an appropriate CORS origin is added to the project - When `sanity init` is run inside a Next.js project, environment variables are written to an .env.local file ##### π Notable bugfixes - Fixes flickering issue when navigating within presentation introduced in v3.57.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. ##### π Full changelog Author | Message | Commit \------------ | ------------- | ------------- renovate\[bot] | chore(deps): update dependency [@sanity/pkg-utils](https://redirect.github.com/sanity/pkg-utils) to v6.11.0 ([#7441](https://redirect.github.com/sanity-io/sanity/issues/7441)) | [`ef7fff8`](https://redirect.github.com/sanity-io/sanity/commit/ef7fff8a86) RitaDias | feat(sanity): add telemetry when creating a draft ([#7459](https://redirect.github.com/sanity-io/sanity/issues/7459)) | [`e6b0614`](https://redirect.github.com/sanity-io/sanity/commit/e6b0614c0b) Jordan Lawrence | refactor(core): minor type usage improvement and using task plugin name ([#7453](https://redirect.github.com/sanity-io/sanity/issues/7453)) | [`23086e2`](https://redirect.github.com/sanity-io/sanity/commit/23086e26aa) Ryan Bonial | fix(core): Fix Title in "Untitled was published" toast ([#7473](https://redirect.github.com/sanity-io/sanity/issues/7473)) | [`f44786c`](https://redirect.github.com/sanity-io/sanity/commit/f44786c1bc) renovate\[bot] | fix(deps): update dependency [@sanity/client](https://redirect.github.com/sanity/client) to ^6.21.3 ([#7373](https://redirect.github.com/sanity-io/sanity/issues/7373)) | [`2002add`](https://redirect.github.com/sanity-io/sanity/commit/2002add60b) renovate\[bot] | chore(deps): update dependency [@sanity/tsdoc](https://redirect.github.com/sanity/tsdoc) to v1.0.101 ([#7382](https://redirect.github.com/sanity-io/sanity/issues/7382)) | [`3a18971`](https://redirect.github.com/sanity-io/sanity/commit/3a18971e84) Jordan Lawrence | chore(core, structure): validation on references ([#7431](https://redirect.github.com/sanity-io/sanity/issues/7431)) | [`112df24`](https://redirect.github.com/sanity-io/sanity/commit/112df249d8) renovate\[bot] | fix(deps): update dependency [@sanity/ui](https://redirect.github.com/sanity/ui) to ^2.8.9 ([#7436](https://redirect.github.com/sanity-io/sanity/issues/7436)) | [`048068e`](https://redirect.github.com/sanity-io/sanity/commit/048068e41c) renovate\[bot] | chore(deps): update pnpm to v9.9.0 ([#7480](https://redirect.github.com/sanity-io/sanity/issues/7480)) | [`f1e2a55`](https://redirect.github.com/sanity-io/sanity/commit/f1e2a55e8d) renovate\[bot] | fix(deps): Update dev-non-major ([#7477](https://redirect.github.com/sanity-io/sanity/issues/7477)) | [`dce41fb`](https://redirect.github.com/sanity-io/sanity/commit/dce41fb7a2) renovate\[bot] | chore(deps): update dependency turbo to ^2.1.1 ([#7478](https://redirect.github.com/sanity-io/sanity/issues/7478)) | [`5ef2990`](https://redirect.github.com/sanity-io/sanity/commit/5ef2990e60) renovate\[bot] | chore(deps): update peter-evans/create-pull-request action to v7 ([#7481](https://redirect.github.com/sanity-io/sanity/issues/7481)) | [`b241a3d`](https://redirect.github.com/sanity-io/sanity/commit/b241a3db4e) renovate\[bot] | chore(deps): update linters ([#7479](https://redirect.github.com/sanity-io/sanity/issues/7479)) | [`d05a8ec`](https://redirect.github.com/sanity-io/sanity/commit/d05a8ec3c9) Cody Olsen | chore: fix tsc build errors in latest `@types/react` ([#7482](https://redirect.github.com/sanity-io/sanity/issues/7482)) | [`e2a30fe`](https://redirect.github.com/sanity-io/sanity/commit/e2a30fe44a) renovate\[bot] | fix(deps): update dependency [@sanity/mutate](https://redirect.github.com/sanity/mutate) to ^0.10.0 ([#7451](https://redirect.github.com/sanity-io/sanity/issues/7451)) | [`ea3a79a`](https://redirect.github.com/sanity-io/sanity/commit/ea3a79ae50) Simeon Griggs | fix(cli) use Next.js specific defaults for new projects ([#7465](https://redirect.github.com/sanity-io/sanity/issues/7465)) | [`de03c57`](https://redirect.github.com/sanity-io/sanity/commit/de03c577f2) Jordan Lawrence | Revert "chore: support for sticky params in URL and intent ops ([#7429](https://redirect.github.com/sanity-io/sanity/issues/7429))" ([#7489](https://redirect.github.com/sanity-io/sanity/issues/7489)) | [`5cb335b`](https://redirect.github.com/sanity-io/sanity/commit/5cb335b1a2) ### [`v3.57.1`](https://redirect.github.com/sanity-io/sanity/releases/tag/v3.57.1) [Compare Source](https://redirect.github.com/sanity-io/sanity/compare/v3.57.0...v3.57.1) ### π Notable bugfixes - Fixes a performance regression introduced in v3.51.0 ([#7471](https://redirect.github.com/sanity-io/sanity/issues/7471)) ### 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 | | ----------- | ----------------------------------------- | ------- | | Rico Kahler | fix(core): ensure all keys are reconciled | [`6393df8`](https://redirect.github.com/sanity-io/sanity/commit/6393df8) | ### [`v3.57.0`](https://redirect.github.com/sanity-io/sanity/releases/tag/v3.57.0) [Compare Source](https://redirect.github.com/sanity-io/sanity/compare/v3.56.0...v3.57.0) ### β¨ Highlights #### Significant rendering perf. improvements (up to x10) in dev mode This change enables `styled-components` "speedy mode" in `sanity dev`, improving developer mode performance. This change impacts only development builds (`sanity dev`) β production builds (`sanity build` or `sanity start`) remain unaffected since "speedy mode" has always been enabled in production. Developers embedding Sanity Studio in other frameworks like Next.js or Remix need to adjust their own build tooling to declare the `SC_DISABLE_SPEEDY` flag to achieve the same performance benefits. For example, Next.js users can add this snippet to their `next.config.{js,mjs,ts}` file: export default { env: { SC_DISABLE_SPEEDY: 'false' // makes styled-components as fast in dev mode as it is in production mode } } For Safari users, while they will still be able to inspect and see CSS rules coming from `styled-components`, these will now be read-only in the DevTools inspector. The performance benefits from enabling "speedy mode" in development mode are significant for Safari users and outweigh the convenience of being able to edit these rules directly in the inspector. With Hot Module Reload, developers can still quickly make changes to their source code, and the new styles will apply immediately. Enabling "speedy mode" offers a faster development experience across the board. Developers using Safari for testing purposes can still verify the functionality of the studio, and for more detailed CSS editing, they can switch to Chrome, Firefox, or other Chromium-based browsers like Arc or Brave. It's still possible to restore the old behaviour of disabling speedy in dev mode in userland with a custom `sanity.cli.ts` override: import {defineCliConfig} from 'sanity/cli' import {type UserConfig} from 'vite' export default defineCliConfig({ vite(viteConfig: UserConfig): UserConfig { return { ...viteConfig, define: { ...viteConfig.define, // `sanity dev` enables speedy in both development and production, this line restores the default `styled-components` behaviour of only enabling it in production 'process.env.SC_DISABLE_SPEEDY': JSON.stringify(process.env.NODE_ENV !== 'production'), }, } }, }) #### add `--max-fetch-concurrency` to prevent stalled validators This update addresses an issue where the `sanity documents validate` CLI command could time out when validating documents with complex custom validation rules. The changes include: 1. Increased default maximum fetch concurrency from 10 to 25, which should resolve most timeout issues. 2. Added a new CLI flag `--max-fetch-concurrency` to allow users to adjust the maximum number of concurrent `client.fetch` requests during validation. 3. Made the default maximum custom validation concurrency explicit and configurable. Usage: sanity documents validate --max-fetch-concurrencyConfiguration
π Schedule: Branch creation - "before 4am on monday" in timezone America/Los_Angeles, 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.
π» Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.