sanity-io / plugin-kit

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

chore(deps): update dependency sanity to v3.60.0 #274

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 1 month ago

This PR contains the following updates:

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

Release Notes

sanity-io/sanity (sanity) ### [`v3.60.0`](https://redirect.github.com/sanity-io/sanity/releases/tag/v3.60.0) [Compare Source](https://redirect.github.com/sanity-io/sanity/compare/v3.59.1...v3.60.0) ##### ✨ Highlights ##### Custom callback for error reporting - Adds `onUncaughtError`-callback for Studio config that enables developers to implement custom error reporting. See [#​7553](https://redirect.github.com/sanity-io/sanity/issues/7553) for more details and usage examples. ##### 🐛 Notable bugfixes - Improves performance when navigating between previously visited document lists in the studio - The global search "contains" filter now matches inside words - Fixes an issue that in certain rare cases caused long delays while loading a document - Improves loading state of reference previews - Fixes an issue that could in rare cases lead to an outdated version of the document being displayed in the form ##### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Rico Kahler | test: add efps to CI ([#​7556](https://redirect.github.com/sanity-io/sanity/issues/7556)) | [`834403a`](https://redirect.github.com/sanity-io/sanity/commit/834403a934) Bjørge Næss | fix(structure): memoize search query results ([#​7555](https://redirect.github.com/sanity-io/sanity/issues/7555)) | [`d4e4e44`](https://redirect.github.com/sanity-io/sanity/commit/d4e4e44b4d) Ash | fix(sanity): allow global search "contains" filter to match inside words ([#​7572](https://redirect.github.com/sanity-io/sanity/issues/7572)) | [`0cdfdce`](https://redirect.github.com/sanity-io/sanity/commit/0cdfdce755) Snorre Eskeland Brekke | feat(sanity): studio manifests cont ([#​7403](https://redirect.github.com/sanity-io/sanity/issues/7403)) | [`a098753`](https://redirect.github.com/sanity-io/sanity/commit/a09875391f) Binoy Patel | fix(cli): use studioHost from CLI config for intent link ([#​7570](https://redirect.github.com/sanity-io/sanity/issues/7570)) | [`818e151`](https://redirect.github.com/sanity-io/sanity/commit/818e151cb7) Espen Hovlandsdal | fix(core): add missing `listenerName` property on welcome event ([#​7577](https://redirect.github.com/sanity-io/sanity/issues/7577)) | [`13f0563`](https://redirect.github.com/sanity-io/sanity/commit/13f0563e1a) renovate\[bot] | chore(deps): update peter-evans/create-pull-request digest to [`5e91468`](https://redirect.github.com/sanity-io/sanity/commit/5e91468) ([#​7582](https://redirect.github.com/sanity-io/sanity/issues/7582)) | [`c3540dd`](https://redirect.github.com/sanity-io/sanity/commit/c3540dd018) renovate\[bot] | fix(deps): update dependency [@​sanity/client](https://redirect.github.com/sanity/client) to ^6.22.1 ([#​7585](https://redirect.github.com/sanity-io/sanity/issues/7585)) | [`cd07e93`](https://redirect.github.com/sanity-io/sanity/commit/cd07e93dd5) renovate\[bot] | fix(deps): update dependency [@​portabletext/editor](https://redirect.github.com/portabletext/editor) to ^1.1.3 ([#​7575](https://redirect.github.com/sanity-io/sanity/issues/7575)) | [`99fcc1f`](https://redirect.github.com/sanity-io/sanity/commit/99fcc1f292) Drew Lyton | refactor(structure): cleanup RequestPermissionDialog ([#​7571](https://redirect.github.com/sanity-io/sanity/issues/7571)) | [`11f2177`](https://redirect.github.com/sanity-io/sanity/commit/11f217757a) Binoy Patel | chore(deps): replace npm-run-all with npm-run-all2 ([#​7583](https://redirect.github.com/sanity-io/sanity/issues/7583)) | [`22dca32`](https://redirect.github.com/sanity-io/sanity/commit/22dca328f7) Binoy Patel | chore(ci): shard e2e components tests ([#​7581](https://redirect.github.com/sanity-io/sanity/issues/7581)) | [`a9f5178`](https://redirect.github.com/sanity-io/sanity/commit/a9f5178ca2) renovate\[bot] | chore(deps): update tiryoh/gha-jobid-action digest to [`be260d8`](https://redirect.github.com/sanity-io/sanity/commit/be260d8) ([#​7589](https://redirect.github.com/sanity-io/sanity/issues/7589)) | [`6337ddf`](https://redirect.github.com/sanity-io/sanity/commit/6337ddf0ad) renovate\[bot] | chore(deps): update dependency turbo to ^2.1.3 ([#​7591](https://redirect.github.com/sanity-io/sanity/issues/7591)) | [`9c9e350`](https://redirect.github.com/sanity-io/sanity/commit/9c9e350ecc) Espen Hovlandsdal | chore(deps): upgrade `@sanity/asset-utils` to v2 ([#​7584](https://redirect.github.com/sanity-io/sanity/issues/7584)) | [`92de3d9`](https://redirect.github.com/sanity-io/sanity/commit/92de3d9606) renovate\[bot] | fix(deps): update dependency [@​portabletext/editor](https://redirect.github.com/portabletext/editor) to ^1.1.4 ([#​7590](https://redirect.github.com/sanity-io/sanity/issues/7590)) | [`b655562`](https://redirect.github.com/sanity-io/sanity/commit/b6555624d0) Espen Hovlandsdal | chore(ci): use `efps` for job name, use node 20, clarify tag description ([#​7596](https://redirect.github.com/sanity-io/sanity/issues/7596)) | [`9cad54b`](https://redirect.github.com/sanity-io/sanity/commit/9cad54b431) Espen Hovlandsdal | chore(ci): use environment variables, not secrets, for non-sensitive vars ([#​7598](https://redirect.github.com/sanity-io/sanity/issues/7598)) | [`af71d46`](https://redirect.github.com/sanity-io/sanity/commit/af71d46402) Ryan Bonial | fix(cli): do not throw during migrate if project ID is passed through flag ([#​7594](https://redirect.github.com/sanity-io/sanity/issues/7594)) | [`caced3b`](https://redirect.github.com/sanity-io/sanity/commit/caced3b7b2) Bjørge Næss | refactor(core): add reusable rxSwr operator ([#​7562](https://redirect.github.com/sanity-io/sanity/issues/7562)) | [`13518b2`](https://redirect.github.com/sanity-io/sanity/commit/13518b2980) Bjørge Næss | fix(structure): improve and clean up form ready state ([#​7600](https://redirect.github.com/sanity-io/sanity/issues/7600)) | [`21d848d`](https://redirect.github.com/sanity-io/sanity/commit/21d848d7b7) RitaDias | feat(sanity): add config for onUncaughtError ([#​7553](https://redirect.github.com/sanity-io/sanity/issues/7553)) | [`e3cf177`](https://redirect.github.com/sanity-io/sanity/commit/e3cf17766b) Bjørge Næss | chore(ci): change env vars from secrets to env ([#​7601](https://redirect.github.com/sanity-io/sanity/issues/7601)) | [`7868c0b`](https://redirect.github.com/sanity-io/sanity/commit/7868c0b9f0) Bjørge Næss | fix(core): add detection and recovery for missing mutation events ([#​7576](https://redirect.github.com/sanity-io/sanity/issues/7576)) | [`8195c96`](https://redirect.github.com/sanity-io/sanity/commit/8195c96b82) Bjørge Næss | fix(core): fix reference preview flickering and improve loading ([#​7563](https://redirect.github.com/sanity-io/sanity/issues/7563)) | [`1e31c35`](https://redirect.github.com/sanity-io/sanity/commit/1e31c359a3) Rico Kahler | feat: propagate `PairListenerOptions`; add telemetry for `OutOfSyncError` ([#​7595](https://redirect.github.com/sanity-io/sanity/issues/7595)) | [`d96f890`](https://redirect.github.com/sanity-io/sanity/commit/d96f890047) ### [`v3.59.1`](https://redirect.github.com/sanity-io/sanity/releases/tag/v3.59.1) [Compare Source](https://redirect.github.com/sanity-io/sanity/compare/v3.59.0...v3.59.1) ##### 🐛 Notable bugfixes - Fixes a bug that caused the document editor to crash when the default field group is not found. ##### 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: protect against falsy `selectedGroup` ([#​7593](https://redirect.github.com/sanity-io/sanity/issues/7593)) | [`98f4eb9`](https://redirect.github.com/sanity-io/sanity/commit/98f4eb9) ### [`v3.59.0`](https://redirect.github.com/sanity-io/sanity/releases/tag/v3.59.0) [Compare Source](https://redirect.github.com/sanity-io/sanity/compare/v3.58.0...v3.59.0) ### ✨ Highlights #### Request edit access to Studio Users with the read-only "Viewer" role can now request edit access to the project, straight from Sanity Studio. Project administrators will be alerted by email and can approve or deny the request from the project management section at [sanity.io/manage](https://www.sanity.io/manage). #### Other improvements - Eliminated layout shifts in image fields. ### 🐛 Notable bugfixes - Fixes a few cases of unnecessary loading states appearing in the studio. - Fixes an issue causing the command line tool to crash when using Turborepo on Windows (thanks [@​josemanosalvas](https://redirect.github.com/josemanosalvas)!) - Fixes an issue where using the Microsoft Word preprocessor from the `@sanity/block-tools` package outside of a browser would crash (thanks [@​silvertech-daniel](https://redirect.github.com/silvertech-daniel)!) - Fixes incorrect usage of light mode in image field overlays when dark mode is active. - Improves error message when the studio development server is stopped — instead of a generic "dynamic import" error, it will now tell you the development server is stopped. - Fixes an issue where pasting into a conditionally read-only field would not work, even if the field returned `false` for the read-only check. ### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Bjørge Næss | chore: cleanup import specifiers etc | [`8b509f7`](https://redirect.github.com/sanity-io/sanity/commit/8b509f777c) Bjørge Næss | chore: move dev-aliases into [@​repo/dev-aliases](https://redirect.github.com/repo/dev-aliases) | [`2180d0f`](https://redirect.github.com/sanity-io/sanity/commit/2180d0f3a5) Bjørge Næss | chore(sanity): load monorepo aliases from '[@​repo/dev-aliases](https://redirect.github.com/repo/dev-aliases)' | [`16dfd3d`](https://redirect.github.com/sanity-io/sanity/commit/16dfd3d700) Bjørge Næss | chore(test): convert jest configs to mjs | [`8938d6e`](https://redirect.github.com/sanity-io/sanity/commit/8938d6e1dd) Bjørge Næss | chore(test): move jest config to @​repo/test-config/jest | [`24618f9`](https://redirect.github.com/sanity-io/sanity/commit/24618f94a1) Bjørge Næss | chore(test): add support for vitest | [`512e16a`](https://redirect.github.com/sanity-io/sanity/commit/512e16a83b) Bjørge Næss | chore(ci): run jest tests in a separate workflow | [`44dee81`](https://redirect.github.com/sanity-io/sanity/commit/44dee81f10) Bjørge Næss | chore(test): move `@sanity/migrate` to vitest | [`3c63eee`](https://redirect.github.com/sanity-io/sanity/commit/3c63eeeed8) Bjørge Næss | chore(test): move `@sanity/block-tools` to vitest | [`09e86a2`](https://redirect.github.com/sanity-io/sanity/commit/09e86a2fbc) Bjørge Næss | chore(test): move `@sanity/mutator` to vitest | [`09be44d`](https://redirect.github.com/sanity-io/sanity/commit/09be44defd) Bjørge Næss | chore(test): move `@sanity/schema` to vitest | [`56b7ee5`](https://redirect.github.com/sanity-io/sanity/commit/56b7ee5173) Bjørge Næss | chore(test): move `@sanity/types` to vitest | [`8bf4868`](https://redirect.github.com/sanity-io/sanity/commit/8bf4868927) Bjørge Næss | chore(test): move `@sanity/util` to vitest | [`38eca25`](https://redirect.github.com/sanity-io/sanity/commit/38eca2571f) Espen Hovlandsdal | chore: enable source maps for package bundles ([#​7540](https://redirect.github.com/sanity-io/sanity/issues/7540)) | [`0396ec2`](https://redirect.github.com/sanity-io/sanity/commit/0396ec287d) Bjørge Næss | chore(cli): remove reliance on node-machine-id ([#​7545](https://redirect.github.com/sanity-io/sanity/issues/7545)) | [`de9c29b`](https://redirect.github.com/sanity-io/sanity/commit/de9c29b6b7) ecospark\[bot] | chore(deps): dedupe pnpm-lock.yaml ([#​7544](https://redirect.github.com/sanity-io/sanity/issues/7544)) | [`9848f20`](https://redirect.github.com/sanity-io/sanity/commit/9848f20694) RitaDias | chore(form): revert changes in schema that were meant to have been deleted ([#​7549](https://redirect.github.com/sanity-io/sanity/issues/7549)) | [`7aed0c0`](https://redirect.github.com/sanity-io/sanity/commit/7aed0c07cc) Bjørge Næss | fix(preview): allow `null` as valid cache/memo value for preview fields ([#​7551](https://redirect.github.com/sanity-io/sanity/issues/7551)) | [`7b9b556`](https://redirect.github.com/sanity-io/sanity/commit/7b9b556598) Bjørge Næss | refactor(store) simplify key value store, add SWR through local storage behavior ([#​7554](https://redirect.github.com/sanity-io/sanity/issues/7554)) | [`d2ca86d`](https://redirect.github.com/sanity-io/sanity/commit/d2ca86d992) Bjørge Næss | fix(core): emit setting from localStorage immediately upon subscription ([#​7560](https://redirect.github.com/sanity-io/sanity/issues/7560)) | [`1e79797`](https://redirect.github.com/sanity-io/sanity/commit/1e79797054) RitaDias | chore(sanity): update naming of draft created telemetry event ([#​7561](https://redirect.github.com/sanity-io/sanity/issues/7561)) | [`ae1c9c2`](https://redirect.github.com/sanity-io/sanity/commit/ae1c9c28b8) Jordan Lawrence | feat(core): specific error when dev server is stopped ([#​7476](https://redirect.github.com/sanity-io/sanity/issues/7476)) | [`7fcf22a`](https://redirect.github.com/sanity-io/sanity/commit/7fcf22a948) RitaDias | chore(form): remove imports from shouldArrayDialogOpen ([#​7550](https://redirect.github.com/sanity-io/sanity/issues/7550)) | [`bdfd8df`](https://redirect.github.com/sanity-io/sanity/commit/bdfd8df3d9) silvertech-daniel | fix(block-tools): remove references to implicit globals `document` and `Text` ([#​7532](https://redirect.github.com/sanity-io/sanity/issues/7532)) | [`306a671`](https://redirect.github.com/sanity-io/sanity/commit/306a6717cc) Ash | fix(sanity): prevent layout shifts in image input | [`6b8a76f`](https://redirect.github.com/sanity-io/sanity/commit/6b8a76fe6e) Ash | feat(sanity): allow image input block size to extend to `30vh` | [`14ebf2c`](https://redirect.github.com/sanity-io/sanity/commit/14ebf2cd95) Ash | refactor(sanity): remove redundant drag-related props | [`8a80ef2`](https://redirect.github.com/sanity-io/sanity/commit/8a80ef232f) Ash | fix(sanity): use correct color scheme in image input overlay | [`df0e18a`](https://redirect.github.com/sanity-io/sanity/commit/df0e18a9e6) Binoy Patel | fix(core): fixes an issue with pasting in conditional readonly field ([#​7564](https://redirect.github.com/sanity-io/sanity/issues/7564)) | [`2e47715`](https://redirect.github.com/sanity-io/sanity/commit/2e47715c1d) shur | fix: set `cliInitializedAt` even if project bootstrap fails ([#​7558](https://redirect.github.com/sanity-io/sanity/issues/7558)) | [`ea186d8`](https://redirect.github.com/sanity-io/sanity/commit/ea186d8bdd) renovate\[bot] | fix(deps): update dependency `@portabletext/editor` to ^1.1.2 ([#​7566](https://redirect.github.com/sanity-io/sanity/issues/7566)) | [`a762c62`](https://redirect.github.com/sanity-io/sanity/commit/a762c62d08) Espen Hovlandsdal | chore(deps): upgrade moment, drop `@types` module ([#​7565](https://redirect.github.com/sanity-io/sanity/issues/7565)) | [`be73a2a`](https://redirect.github.com/sanity-io/sanity/commit/be73a2aea9) renovate\[bot] | fix(deps): update dependency [@​sanity/client](https://redirect.github.com/sanity/client) to ^6.22.0 ([#​7522](https://redirect.github.com/sanity-io/sanity/issues/7522)) | [`7c01a95`](https://redirect.github.com/sanity-io/sanity/commit/7c01a95220) Binoy Patel | refactor(cli): update projects list command to link to manage ([#​7568](https://redirect.github.com/sanity-io/sanity/issues/7568)) | [`85941d2`](https://redirect.github.com/sanity-io/sanity/commit/85941d276f) Drew Lyton | feat: add ability to request edit access from viewer role ([#​7546](https://redirect.github.com/sanity-io/sanity/issues/7546)) | [`59f4fda`](https://redirect.github.com/sanity-io/sanity/commit/59f4fdaa13) ### [`v3.58.0`](https://redirect.github.com/sanity-io/sanity/releases/tag/v3.58.0) [Compare Source](https://redirect.github.com/sanity-io/sanity/compare/v3.57.4...v3.58.0) ### ✨ Highlights #### Product announcements Studio users will now receive notifications about new Sanity features via a floating clickable card in the bottom-left corner of the interface. Clicking the card will open a modal with more details about the feature. Previously seen product announcements can also be accessed anytime from the new “What’s New” item in the help menu. #### Other features - The global error UI has been refined so that it is clearer to users. - The global error UI now only displays the stack trace in development builds. - A **Copy error details** action has been added to the global error UI and the document list error UI. This allows users to easily share the error stack trace with developers. - Please note that these new strings cannot be internationalized, because the global error UI is rendered outside of the locale provider. - The **Reconnecting** toast is no longer displayed if the connection is reestablished within two seconds. ### 🐛 Notable bugfixes - Fixes issues occurring when a draft exist for a live-editable schema. - Improves task assignee list performance. - Improves Portable Text editor performance. ### 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(perf): add new eFPS benchmark suite ([#​7407](https://redirect.github.com/sanity-io/sanity/issues/7407)) | [`2de06de`](https://redirect.github.com/sanity-io/sanity/commit/2de06de0ea) Ryan Bonial | Fix: prevent flash of "Untitled" when loading a document w/ preview ([#​7505](https://redirect.github.com/sanity-io/sanity/issues/7505)) | [`b7f0135`](https://redirect.github.com/sanity-io/sanity/commit/b7f0135e67) ecospark\[bot] | chore(deps): dedupe pnpm-lock.yaml ([#​7521](https://redirect.github.com/sanity-io/sanity/issues/7521)) | [`4729e84`](https://redirect.github.com/sanity-io/sanity/commit/4729e84b8f) Pedro Bonamin | fix(core): hide `versions.*` documents from search, update `getPublishedId` to account for versions ([#​7470](https://redirect.github.com/sanity-io/sanity/issues/7470)) | [`7c814a8`](https://redirect.github.com/sanity-io/sanity/commit/7c814a88e4) RitaDias | fix(structure): live edit on draft documents ([#​7526](https://redirect.github.com/sanity-io/sanity/issues/7526)) | [`7bf9995`](https://redirect.github.com/sanity-io/sanity/commit/7bf9995f4d) RitaDias | refactor(structure): add virtualization when rendering assigneeds list ([#​7536](https://redirect.github.com/sanity-io/sanity/issues/7536)) | [`e102679`](https://redirect.github.com/sanity-io/sanity/commit/e10267991d) Bjørge Næss | fix(core): skip updating focusPath state if unchanged ([#​7524](https://redirect.github.com/sanity-io/sanity/issues/7524)) | [`7183b24`](https://redirect.github.com/sanity-io/sanity/commit/7183b2448e) Pedro Bonamin | fix(core): document store cache memo not working ([#​7530](https://redirect.github.com/sanity-io/sanity/issues/7530)) | [`8c677c2`](https://redirect.github.com/sanity-io/sanity/commit/8c677c29cd) Bjørge Næss | fix(core): clean up portable text input's selection change handling ([#​7525](https://redirect.github.com/sanity-io/sanity/issues/7525)) | [`714b3e1`](https://redirect.github.com/sanity-io/sanity/commit/714b3e1e5d) Ash | chore(sanity): add return type to `StudioErrorBoundary` component | [`b7b677c`](https://redirect.github.com/sanity-io/sanity/commit/b7b677c213) Ash | chore: fix spelling mistake | [`a7ca8b6`](https://redirect.github.com/sanity-io/sanity/commit/a7ca8b6172) Ash | chore(sanity): remove unused parameter from `onRetry` function signature | [`61e981b`](https://redirect.github.com/sanity-io/sanity/commit/61e981b489) Ash | feat(sanity): add `ErrorActions` component | [`7809762`](https://redirect.github.com/sanity-io/sanity/commit/7809762b79) Ash | feat(sanity): refine `StudioErrorBoundary` component UI | [`d11efce`](https://redirect.github.com/sanity-io/sanity/commit/d11efce410) Ash | feat(sanity): add "Copy error details" button to document list error UI | [`a218c88`](https://redirect.github.com/sanity-io/sanity/commit/a218c88030) Pedro Bonamin | feat(core): Studio announcements ([#​7515](https://redirect.github.com/sanity-io/sanity/issues/7515)) | [`3593bf5`](https://redirect.github.com/sanity-io/sanity/commit/3593bf56a4) RitaDias | refactor(structure): add timeout to reconnecting message ([#​7531](https://redirect.github.com/sanity-io/sanity/issues/7531)) | [`9ab4086`](https://redirect.github.com/sanity-io/sanity/commit/9ab4086ea7) ### [`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 Sanity Client can use to automatically infer the returned types of a query. ##### 🐛 Notable bugfixes - The TypeGen CLI command should now correctly detect and generate types defined by `defineQuery` from the `next-sanity` package. - Fixes an issue with `FormInput` causing `includeField` to not have any effect for nested paths. - Fixes an issue with the cursor sometimes moving around as you typed in the Portable Text Editor. - Fixes an issue where references would not open if clicked inside a Field Group. - Fixes an issue where it wasn't possible to copy a text selection inside a `text` field. ##### 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 \------------ | ------------- | ------------- Bjørge Næss | fix(form): fix issue where FormInput was not rendering field when passed 'includeField' ([#​7350](https://redirect.github.com/sanity-io/sanity/issues/7350)) | [`e6185ef`](https://redirect.github.com/sanity-io/sanity/commit/e6185ef8d7) Jordan Lawrence | chore(tests): collapsing ct test report comment ([#​7378](https://redirect.github.com/sanity-io/sanity/issues/7378)) | [`cd341d8`](https://redirect.github.com/sanity-io/sanity/commit/cd341d8f86) renovate\[bot] | chore(deps): update dependency [@​sanity/pkg-utils](https://redirect.github.com/sanity/pkg-utils) to v6.10.10 ([#​7381](https://redirect.github.com/sanity-io/sanity/issues/7381)) | [`292b7d0`](https://redirect.github.com/sanity-io/sanity/commit/292b7d0dca) renovate\[bot] | fix(deps): update dependency get-it to ^8.6.5 ([#​7376](https://redirect.github.com/sanity-io/sanity/issues/7376)) | [`b5d7418`](https://redirect.github.com/sanity-io/sanity/commit/b5d7418d60) renovate\[bot] | fix(deps): update dependency [@​portabletext/editor](https://redirect.github.com/portabletext/editor) to ^1.0.15 ([#​7377](https://redirect.github.com/sanity-io/sanity/issues/7377)) | [`f273249`](https://redirect.github.com/sanity-io/sanity/commit/f2732495d6) Bjørge Næss | refactor(preview): extract global listener, refactor preview APIs and improve typings ([#​7360](https://redirect.github.com/sanity-io/sanity/issues/7360)) | [`5c75a38`](https://redirect.github.com/sanity-io/sanity/commit/5c75a38933) Bjørge Næss | chore: add docgen script ([#​7387](https://redirect.github.com/sanity-io/sanity/issues/7387)) | [`e3a02c4`](https://redirect.github.com/sanity-io/sanity/commit/e3a02c4894) Sindre Gulseth | fix(typegen): find queries imported with defineQuery from next-sanity ([#​7391](https://redirect.github.com/sanity-io/sanity/issues/7391)) | [`b86e3d0`](https://redirect.github.com/sanity-io/sanity/commit/b86e3d0cf4) Sindre Gulseth | feat(typegen): set overload client methods to default to true ([#​7390](https://redirect.github.com/sanity-io/sanity/issues/7390)) | [`c11e51f`](https://redirect.github.com/sanity-io/sanity/commit/c11e51fdb2) Jordan Lawrence | test(core): updating import on helpers to using jest and not playwright ([#​7384](https://redirect.github.com/sanity-io/sanity/issues/7384)) | [`87316d6`](https://redirect.github.com/sanity-io/sanity/commit/87316d683e) Carolina Gonzalez | fix: do not show latest version if auto-updating ([#​7388](https://redirect.github.com/sanity-io/sanity/issues/7388)) | [`1872388`](https://redirect.github.com/sanity-io/sanity/commit/1872388e2b) Espen Hovlandsdal | chore(types): deprecate studioHost, externalStudioHost properties ([#​7369](https://redirect.github.com/sanity-io/sanity/issues/7369)) | [`565eb49`](https://redirect.github.com/sanity-io/sanity/commit/565eb490cd) Bjørge Næss | chore: fix wrong version format in generate documents script ([#​7393](https://redirect.github.com/sanity-io/sanity/issues/7393)) | [`1a2ef91`](https://redirect.github.com/sanity-io/sanity/commit/1a2ef91d9a) Fred Carlsen | fix(core): fix copy related issues ([#​7394](https://redirect.github.com/sanity-io/sanity/issues/7394)) | [`49083dd`](https://redirect.github.com/sanity-io/sanity/commit/49083ddc86) Drew Lyton | feat(sanity): request access flow ([#​7248](https://redirect.github.com/sanity-io/sanity/issues/7248)) | [`5ab35a5`](https://redirect.github.com/sanity-io/sanity/commit/5ab35a54f3) ### [`v3.54.0`](https://redirect.github.com/sanity-io/sanity/releases/tag/v3.54.0) [Compare Source](https://redirect.github.com/sanity-io/sanity/compare/v3.53.0...v3.54.0) ### ✨ Highlights #### Copy Paste Improvements - Adds support for copying supported object types into array fields - Adds support for copying and pasting individual array items ![release image](https://redirect.github.com/user-attachments/assets/8682ade8-88aa-44ae-b082-ba54302f5eaa) #### Multiple deployment targets for Sanity Studio Introduces support for adding multiple `[my-company].sanity.studio` deployments for a project. Link your studio code to a specific hostname with the new `studioHost` property in the CLI config as shown below, or select or create a deployment target when prompted while running `sanity deploy`. You can now see all your studio deployments in the [project management settings](https://manage.sanity.io). ```typescript // ./sanity.cli.ts import {defineCliConfig} from 'sanity/cli' export default defineCliConfig({ api: { projectId: 'projectid', dataset: 'production' }, // Tip: You can use an environment variable for studioHost if you want // to deploy separate studios for production, staging, testing etc. studioHost: 'my-company' }) ``` Read more in the [Hosting and deployment](https://www.sanity.io/docs/deployment) article in the docs. ### 🐛 Notable bugfixes - Fixes an issue where you were able to copy and paste documents that contained non-existing references - Fixes an issue where `getValueAtPath()` utility wouldn't work for 0 index path segments `(['array', 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 \------------ | ------------- | ------------- Sindre Gulseth | chore(typegen): move prettier formatting into generateAction ([#​7333](https://redirect.github.com/sanity-io/sanity/issues/7333)) | [`3c34f08`](https://redirect.github.com/sanity-io/sanity/commit/3c34f0808a) Cody Olsen | fix(deps): `@bjoerge/mutiny` is now `@sanity/mutate` ([#​7344](https://redirect.github.com/sanity-io/sanity/issues/7344)) | [`4aeb5b6`](https://redirect.github.com/sanity-io/sanity/commit/4aeb5b6f0d) Bjørge Næss | chore(dev): add groq package to monorepo aliases ([#​7340](https://redirect.github.com/sanity-io/sanity/issues/7340)) | [`d44b06e`](https://redirect.github.com/sanity-io/sanity/commit/d44b06e6fd) renovate\[bot] | chore(deps): update pnpm to v9.7.0 ([#​7346](https://redirect.github.com/sanity-io/sanity/issues/7346)) | [`0772245`](https://redirect.github.com/sanity-io/sanity/commit/0772245bbd) renovate\[bot] | fix(deps): update dependency [@​portabletext/editor](https://redirect.github.com/portabletext/editor) to ^1.0.12 ([#​7352](https://redirect.github.com/sanity-io/sanity/issues/7352)) | [`ecde097`](https://redirect.github.com/sanity-io/sanity/commit/ecde097776) renovate\[bot] | fix(deps): update dependency [@​sanity/insert-menu](https://redirect.github.com/sanity/insert-menu) to v1.0.8 ([#​7343](https://redirect.github.com/sanity-io/sanity/issues/7343)) | [`088139d`](https://redirect.github.com/sanity-io/sanity/commit/088139dac3) renovate\[bot] | fix(deps): update dependency get-it to ^8.6.4 ([#​7353](https://redirect.github.com/sanity-io/sanity/issues/7353)) | [`f6b6378`](https://redirect.github.com/sanity-io/sanity/commit/f6b6378052) renovate\[bot] | fix(deps): Update dev-non-major ([#​7345](https://redirect.github.com/sanity-io/sanity/issues/7345)) | [`eefb5ea`](https://redirect.github.com/sanity-io/sanity/commit/eefb5ea138) Christian Grøngaard

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 1 month ago

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

Package New capabilities Transitives Size Publisher
npm/sanity@3.60.0 Transitive: environment, eval, filesystem, network, shell, unsafe +758 669 MB armandocerna, ash, atombender, ...58 more
npm/styled-components@6.1.13 environment Transitive: filesystem +16 3.79 MB probablyup

🚮 Removed packages: npm/sanity@3.52.4, npm/styled-components@6.1.8

View full report↗︎