tinloof / sanity-kit

83 stars 11 forks source link

chore(deps): update packages dependencies #86

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 4 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@changesets/cli (source) ^2.27.7 -> ^2.27.8 age adoption passing confidence
@sanity/document-internationalization ^3.0.0 -> ^3.0.1 age adoption passing confidence
@sanity/presentation (source) ^1.16.1 -> ^1.16.5 age adoption passing confidence
@sanity/ui (source) ^2.6.1 -> ^2.8.9 age adoption passing confidence
@sanity/util (source) ^3.48.1 -> ^3.57.4 age adoption passing confidence
@tanstack/react-virtual (source) ^3.8.1 -> ^3.10.8 age adoption passing confidence
@types/lodash (source) ^4.17.6 -> ^4.17.7 age adoption passing confidence
@types/react (source) ^18.3.3 -> ^18.3.7 age adoption passing confidence
@typescript-eslint/eslint-plugin (source) ^7.15.0 -> ^7.18.0 age adoption passing confidence
@typescript-eslint/parser (source) ^7.15.0 -> ^7.18.0 age adoption passing confidence
eslint-plugin-prettier ^5.1.3 -> ^5.2.1 age adoption passing confidence
eslint-plugin-react ^7.34.3 -> ^7.36.1 age adoption passing confidence
prettier (source) ^3.3.2 -> ^3.3.3 age adoption passing confidence
prettier-plugin-packagejson ^2.5.0 -> ^2.5.2 age adoption passing confidence
rimraf ^5.0.7 -> ^5.0.10 age adoption passing confidence
sanity (source) ^3.48.1 -> ^3.57.4 age adoption passing confidence
styled-components (source) ^6.1.11 -> ^6.1.13 age adoption passing confidence
tsup (source) ^8.1.0 -> ^8.3.0 age adoption passing confidence
typescript (source) ^5.5.3 -> ^5.6.2 age adoption passing confidence
use-debounce ^10.0.1 -> ^10.0.3 age adoption passing confidence

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.18
sanity-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-concurrency These changes should improve the performance and reliability of document validation for projects with complex custom validation rules. Users experiencing timeouts during validation should try increasing the `--max-fetch-concurrency` value if issues persist with the new default. ### 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 | feat(cli): allow setting --max-fetch-concurrency to prevent stalled validators ([#​7450](https://redirect.github.com/sanity-io/sanity/issues/7450))| [`85b0538`](https://redirect.github.com/sanity-io/sanity/commit/85b0538) Jordan Lawrence | chore(core): improvements to diff component styles and presentation ([#​7385](https://redirect.github.com/sanity-io/sanity/issues/7385)) | [`35b6600`](https://redirect.github.com/sanity-io/sanity/commit/35b6600fe8) Jordan Lawrence | fix(structure): passing from operation context to label for success toast ([#​7437](https://redirect.github.com/sanity-io/sanity/issues/7437)) | [`f4e414c`](https://redirect.github.com/sanity-io/sanity/commit/f4e414cfb8) Cody Olsen | fix: significantly speed up styled-components in dev mode ([#​7440](https://redirect.github.com/sanity-io/sanity/issues/7440)) | [`c259119`](https://redirect.github.com/sanity-io/sanity/commit/c2591194ef) Jordan Lawrence | test: improved context mocking on TestProvider ([#​7433](https://redirect.github.com/sanity-io/sanity/issues/7433)) | [`58863af`](https://redirect.github.com/sanity-io/sanity/commit/58863af782) Jordan Lawrence | chore(core): single addon dataset context ([#​7432](https://redirect.github.com/sanity-io/sanity/issues/7432)) | [`9da634e`](https://redirect.github.com/sanity-io/sanity/commit/9da634e8c1) Jordan Lawrence | chore: improved data testing by ui and test id ([#​7428](https://redirect.github.com/sanity-io/sanity/issues/7428)) | [`deca138`](https://redirect.github.com/sanity-io/sanity/commit/deca1388bf) RitaDias | test(sanity): skip toolbar test ([#​7446](https://redirect.github.com/sanity-io/sanity/issues/7446)) | [`713c3f9`](https://redirect.github.com/sanity-io/sanity/commit/713c3f9f1d) renovate\[bot] | chore(lockfile): update dependency styled-components to v6.1.13 ([#​7443](https://redirect.github.com/sanity-io/sanity/issues/7443)) | [`7395a93`](https://redirect.github.com/sanity-io/sanity/commit/7395a93c35) renovate\[bot] | chore(deps): update dependency styled-components to ^6.1.13 ([#​7442](https://redirect.github.com/sanity-io/sanity/issues/7442)) | [`c5a4207`](https://redirect.github.com/sanity-io/sanity/commit/c5a4207a56) renovate\[bot] | fix(deps): update dependency [@​portabletext/editor](https://redirect.github.com/portabletext/editor) to ^1.0.19 ([#​7405](https://redirect.github.com/sanity-io/sanity/issues/7405)) | [`5ebff0d`](https://redirect.github.com/sanity-io/sanity/commit/5ebff0df71) ### [`v3.56.0`](https://redirect.github.com/sanity-io/sanity/releases/tag/v3.56.0) [Compare Source](https://redirect.github.com/sanity-io/sanity/compare/v3.55.0...v3.56.0) ### ✨ Highlights #### Improved document sync notification Fixes an issue where the syncing document notification would sometimes remain on the screen indefinitely, even after the document was no longer visible. The toast is now dismissible, improving the user experience when working with synchronized documents. ![Sync Document Toast](https://redirect.github.com/user-attachments/assets/b4c3243a-7282-4dc3-a4bb-9442243226ed) #### Copy document URL to clipboard A new feature has been added to the document pane, allowing users to easily copy the current document's URL to their clipboard. This makes sharing documents with colleagues and collaborators more convenient. #### Ending the "Array Tree Editing" beta Thank you to everyone who participated in the "Array Tree Editing" beta. Based on your feedback, we are ending this experiment as we continue to explore better ways to navigate nested structured. ### πŸ› Notable bugfixes - **Optimized rendering in Presence:** We’ve optimized how presence changes are handled, reducing unnecessary re-renders in the Studio. This enhancement improves overall performance when multiple users are working on the same document. - **Respect for `--no-auto-updates` flag in CLI:** Fixed an issue where the CLI would not respect the `--no-auto-updates` flag, ensuring that this configuration setting now behaves as expected. - **Improved feedback when extracting schema:** The schema extraction process now outputs the file path, providing clearer feedback and making it easier to locate the saved schema. - **Constrain size for date picker popover:** Added a prop to constrain the size of the date picker popover in the `DateTimeInput` UI component, providing more control over its appearance, especially in modal contexts. ### 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 \------------ | ------------- | ------------- Carolina Gonzalez | feat(cli): respect `--no-auto-updates flag` in CLI config ([#​7396](https://redirect.github.com/sanity-io/sanity/issues/7396)) | [`c83021e`](https://redirect.github.com/sanity-io/sanity/commit/c83021ebaf) Pedro Bonamin | chore(structure): add DocumentListBuilder.filter JSdoc details ([#​7402](https://redirect.github.com/sanity-io/sanity/issues/7402)) | [`445384d`](https://redirect.github.com/sanity-io/sanity/commit/445384d417) Pedro Bonamin | fix(structure): make sync document toast dismisable ([#​7209](https://redirect.github.com/sanity-io/sanity/issues/7209)) | [`dc40f6e`](https://redirect.github.com/sanity-io/sanity/commit/dc40f6ee94) Pedro Bonamin | chore(core): end "Array Tree Editing" beta ([#​7411](https://redirect.github.com/sanity-io/sanity/issues/7411)) | [`9894c6d`](https://redirect.github.com/sanity-io/sanity/commit/9894c6dbd8) Rune Botten | fix(core): avoid unnecessary re-renders in useDocumentPresence ([#​7365](https://redirect.github.com/sanity-io/sanity/issues/7365)) | [`379620e`](https://redirect.github.com/sanity-io/sanity/commit/379620e0a9) Simeon Griggs | output path when extracting schema ([#​7414](https://redirect.github.com/sanity-io/sanity/issues/7414)) | [`6fdfcac`](https://redirect.github.com/sanity-io/sanity/commit/6fdfcac0c5) RitaDias | refactor(sanity): Move date inputs UI Components to ui-components ([#​7410](https://redirect.github.com/sanity-io/sanity/issues/7410)) | [`0d1dcd7`](https://redirect.github.com/sanity-io/sanity/commit/0d1dcd7bec) renovate\[bot] | fix(deps): update dependency [@​sanity/icons](https://redirect.github.com/sanity/icons) to ^3.4.0 ([#​7417](https://redirect.github.com/sanity-io/sanity/issues/7417)) | [`6bd4f8c`](https://redirect.github.com/sanity-io/sanity/commit/6bd4f8cd20) RitaDias | fix(sanity): add prop for constraintSize ([#​7421](https://redirect.github.com/sanity-io/sanity/issues/7421)) | [`17a7b1d`](https://redirect.github.com/sanity-io/sanity/commit/17a7b1d9f8) Drew Lyton | feat(sanity): add always present document action to copy url to clipboard ([#​7416](https://redirect.github.com/sanity-io/sanity/issues/7416)) | [`7afcdb4`](https://redirect.github.com/sanity-io/sanity/commit/7afcdb408c) renovate\[bot] | fix(deps): update dependency groq-js to ^1.13.0 ([#​7424](https://redirect.github.com/sanity-io/sanity/issues/7424)) | [`14530aa`](https://redirect.github.com/sanity-io/sanity/commit/14530aa3b0) Drew Lyton | feat(sanity): Update presence menu button for inviting new collaborators ([#​7406](https://redirect.github.com/sanity-io/sanity/issues/7406)) | [`064519a`](https://redirect.github.com/sanity-io/sanity/commit/064519a2aa) ### [`v3.55.0`](https://redirect.github.com/sanity-io/sanity/releases/tag/v3.55.0) [Compare Source](https://redirect.github.com/sanity-io/sanity/compare/v3.54.0...v3.55.0) ### ✨ Highlights #### Request access to Studios Users can now request access to a project they're not yet a member of, straight from the Studio's "Not authorized" screen. Project administrators will be alerted by email and can approve or deny the request from the [project settings area](https://www.sanity.io/manage/). ![image](https://hackmd.io/\_uploads/BywCAMzjA.png) #### TypeGen updates Running `sanity typegen` will now by default generate a query typemap which the Sa

Configuration

πŸ“… 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.

renovate[bot] commented 1 month ago

Edited/Blocked Notification

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.