ricokahler / sanity-codegen

Generate TypeScript types from your Sanity.io schemas
sanity-codegen-dev.vercel.app
MIT License
270 stars 19 forks source link

chore(deps): update sanity monorepo to v3.36.0 #324

Open renovate[bot] opened 11 months ago

renovate[bot] commented 11 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
groq (source) 3.15.1 -> 3.36.0 age adoption passing confidence
sanity (source) 3.15.1 -> 3.36.0 age adoption passing confidence

Release Notes

sanity-io/sanity (groq) ### [`v3.36.0`](https://togithub.com/sanity-io/sanity/releases/tag/v3.36.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.35.2...v3.36.0) #### Installation and upgrading **To initiate a new Studio without installing the CLI globally:** npm create sanity@latest **To upgrade a Sanity Studio, run this command in its folder:** npm install sanity@latest ### ✨ Highlights #### Sanity TypeGen (beta): Generate types for your schema and GROQ queries This release comes with Sanity TypeGen, the new tooling in the Sanity CLI that enables extracting the schema into a static representation (`schema.json`) and to generate TypeScript type definition for it, as well as for GROQ query results. You can learn more about Sanity TypeGen: - [Blog post: Of course, you should be able to type your content quickly! ](https://www.sanity.io/blog/introducing-sanity-typegen?utm_source=github.com\&utm_medium=organic_social\&utm_campaign=sanity-typegen\&utm_content=) - [Documentation](https://www.sanity.io/docs/sanity-typegen?utm_source=github.com\&utm_medium=organic_social\&utm_campaign=sanity-typegen\&utm_content=) - [New course on Sanity Learn](https://www.sanity.io/learn/module/typescripted-content/introduction?utm_source=github.com\&utm_medium=organic_social\&utm_campaign=sanity-typegen\&utm_content=) If you try out Sanity TypeGen, do let us know how it went in the #typescript channel in [the Sanity community](https://slack.sanity.io) or to your customer success team. #### Tasks (beta): Delegate work within Sanity Studio This update also includes the beta of Tasks for Sanity Studio. It's a way to assign tasks related to documents, delegate them to team members, and track their status across the project. ![image](https://hackmd.io/\_uploads/SJ4BS_g10.png) If you wish to disable tasks, you can do so by adding the following to `sanity.config.ts`: ```ts export default defineConfig({ ...restOfConfig, unstable_tasks: { enabled: false, }, }) ``` Documentation for Tasks is in the works and will be announced when ready. ### 🐛 Notable bugfixes - Fixes a bug where all fields got marked as non-optional when extracting schema with `--enforce-required-fields`. - Fixes a bug where Vision would insert new line on cmd-return. ### On `styled-components@5`? If you encounter an error such as `TypeError: Cannot read properties of undefined (reading 'div')`, please make sure your Studio doesn't depend on `styled-components@5`. Updating any such dependencies to `styled-components@6` should resolve the error: npm install styled-components@latest This error is caused by an ESM/CJS compability issue in `@sanity/ui`. ### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- renovate\[bot] | fix(deps): update dependency [@​sanity/presentation](https://togithub.com/sanity/presentation) to v1.12.1 ([#​6109](https://togithub.com/sanity-io/sanity/issues/6109)) | [`2014ef5`](https://togithub.com/sanity-io/sanity/commit/2014ef56cc) renovate\[bot] | chore(lockfile): update dependency [@​sanity/react-loader](https://togithub.com/sanity/react-loader) to v1.9.5 ([#​6104](https://togithub.com/sanity-io/sanity/issues/6104)) | [`0817d8d`](https://togithub.com/sanity-io/sanity/commit/0817d8ddf8) renovate\[bot] | fix(deps): update dependency [@​sanity/ui](https://togithub.com/sanity/ui) to ^2.0.12 ([#​6107](https://togithub.com/sanity-io/sanity/issues/6107)) | [`4886b00`](https://togithub.com/sanity-io/sanity/commit/4886b00b17) renovate\[bot] | fix(deps): update dependency [@​sanity/client](https://togithub.com/sanity/client) to ^6.15.7 ([#​6106](https://togithub.com/sanity-io/sanity/issues/6106)) | [`69a5d6d`](https://togithub.com/sanity-io/sanity/commit/69a5d6d60c) Sindre Gulseth | fix: move typegen cli into [@​sanity/cli](https://togithub.com/sanity/cli) ([#​6111](https://togithub.com/sanity-io/sanity/issues/6111)) | [`3f37c21`](https://togithub.com/sanity-io/sanity/commit/3f37c218ee) Tommy Petty | fix(comments): update close icon to be consistent ([#​6096](https://togithub.com/sanity-io/sanity/issues/6096)) | [`89fd7ec`](https://togithub.com/sanity-io/sanity/commit/89fd7ecbdb) renovate\[bot] | chore(deps): update dependency [@​sanity/visual-editing](https://togithub.com/sanity/visual-editing) to v1.8.4 ([#​6100](https://togithub.com/sanity-io/sanity/issues/6100)) | [`046c090`](https://togithub.com/sanity-io/sanity/commit/046c0907bf) renovate\[bot] | chore(deps): update dependency turbo to ^1.13.0 ([#​6114](https://togithub.com/sanity-io/sanity/issues/6114)) | [`1352e84`](https://togithub.com/sanity-io/sanity/commit/1352e84daa) Sindre Gulseth | chore(typegen): show schema extraction and typegen in help texts ([#​6122](https://togithub.com/sanity-io/sanity/issues/6122)) | [`ec3b25e`](https://togithub.com/sanity-io/sanity/commit/ec3b25e02e) Pedro Bonamin | fix(pte): PTE inline block object modal closing on validation state changes ([#​6113](https://togithub.com/sanity-io/sanity/issues/6113)) | [`a272c71`](https://togithub.com/sanity-io/sanity/commit/a272c71ee8) Sindre Gulseth | fix(schema): correctly assert optional fields with enforce required fields ([#​6121](https://togithub.com/sanity-io/sanity/issues/6121)) | [`f568e14`](https://togithub.com/sanity-io/sanity/commit/f568e14fd7) Espen Hovlandsdal | chore: disable import/extensions rule for get-it middleware import ([#​6127](https://togithub.com/sanity-io/sanity/issues/6127)) | [`aca88e9`](https://togithub.com/sanity-io/sanity/commit/aca88e90b0) Sindre Gulseth | fix(schemaExtract): guard for list options not being an array ([#​6128](https://togithub.com/sanity-io/sanity/issues/6128)) | [`e4f28e5`](https://togithub.com/sanity-io/sanity/commit/e4f28e5e95) Sindre Gulseth | chore(codegen): track ratio between unknown nodes and all type nodes ([#​6125](https://togithub.com/sanity-io/sanity/issues/6125)) | [`3822da2`](https://togithub.com/sanity-io/sanity/commit/3822da2710) Sindre Gulseth | fix(vision): fixes bug where codemirror would insert a new line on cmd-return ([#​6123](https://togithub.com/sanity-io/sanity/issues/6123)) | [`971ba9f`](https://togithub.com/sanity-io/sanity/commit/971ba9f65b) Pedro Bonamin | fix(tasks): update description input to create blocks edx-1206 ([#​6126](https://togithub.com/sanity-io/sanity/issues/6126)) | [`852bfca`](https://togithub.com/sanity-io/sanity/commit/852bfca3a6) Pedro Bonamin | feat(tasks): add tasks empty states ([#​6130](https://togithub.com/sanity-io/sanity/issues/6130)) | [`22afbb4`](https://togithub.com/sanity-io/sanity/commit/22afbb4fdb) Sindre Gulseth | chore(codegen): add cl as codeowners for {code,type}gen ([#​6118](https://togithub.com/sanity-io/sanity/issues/6118)) | [`94d0934`](https://togithub.com/sanity-io/sanity/commit/94d0934fd9) Sindre Gulseth | feat(codegen): attempt to parse groq queries with parameter in slices ([#​6117](https://togithub.com/sanity-io/sanity/issues/6117)) | [`97c0b0c`](https://togithub.com/sanity-io/sanity/commit/97c0b0cff7) shur | feat: indicate in metadata that the quickstart option was used in project creation ([#​6065](https://togithub.com/sanity-io/sanity/issues/6065)) | [`468e76c`](https://togithub.com/sanity-io/sanity/commit/468e76c8cc) ### [`v3.35.2`](https://togithub.com/sanity-io/sanity/releases/tag/v3.35.2) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.35.1...v3.35.2) #### Installation and upgrading **To initiate a new Studio without installing the CLI globally:** npm create sanity@latest **To upgrade a v3 Studio, run this command in its folder:** npm install sanity@latest ### 🐛 Notable bugfixes - Fixes a bug that caused inputs to lose focus when their value changed ### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Sindre Gulseth | chore(schema): add tracing for schema extraction ([#​6019](https://togithub.com/sanity-io/sanity/issues/6019)) | [`ab5ae9f`](https://togithub.com/sanity-io/sanity/commit/ab5ae9f76e) Sindre Gulseth | chore(codegen): add total types and align telemetry prop names ([#​6077](https://togithub.com/sanity-io/sanity/issues/6077)) | [`7ecff65`](https://togithub.com/sanity-io/sanity/commit/7ecff65b64) renovate\[bot] | chore(deps): update dependency [@​portabletext/toolkit](https://togithub.com/portabletext/toolkit) to ^2.0.13 ([#​6098](https://togithub.com/sanity-io/sanity/issues/6098)) | [`c5faca2`](https://togithub.com/sanity-io/sanity/commit/c5faca2d77) renovate\[bot] | chore(lockfile): update dependency [@​sanity/color](https://togithub.com/sanity/color) to v3.0.2 ([#​6101](https://togithub.com/sanity-io/sanity/issues/6101)) | [`7c82923`](https://togithub.com/sanity-io/sanity/commit/7c82923b8f) renovate\[bot] | chore(deps): update dependency [@​sanity/icons](https://togithub.com/sanity/icons) to ^2.11.4 ([#​6099](https://togithub.com/sanity-io/sanity/issues/6099)) | [`a42e9f3`](https://togithub.com/sanity-io/sanity/commit/a42e9f3227) renovate\[bot] | fix(deps): update dependency get-it to ^8.4.16 ([#​6108](https://togithub.com/sanity-io/sanity/issues/6108)) | [`eca9c30`](https://togithub.com/sanity-io/sanity/commit/eca9c3097e) Herman Wikner | fix(comments): drop permission check ([#​6110](https://togithub.com/sanity-io/sanity/issues/6110)) | [`d6a3891`](https://togithub.com/sanity-io/sanity/commit/d6a3891f4b) ### [`v3.35.1`](https://togithub.com/sanity-io/sanity/releases/tag/v3.35.1) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.35.0...v3.35.1) #### Installation and upgrading **To initiate a new Studio without installing the CLI globally:** npm create sanity@latest **To upgrade a v3 Studio, run this command in its folder:** npm install sanity@latest ### 🐛 Notable bugfixes - Increases width of all inline popovers in the Portable Text Editor - Fixes an issue where incorrect studio version was shown in the help menu - Fixes an issue where incorrect loading message shown while a pane is resolving in the structure tool ### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- renovate\[bot] | chore(deps): update tiryoh/gha-jobid-action digest to [`c1d1cf7`](https://togithub.com/sanity-io/sanity/commit/c1d1cf7) ([#​6064](https://togithub.com/sanity-io/sanity/issues/6064)) | [`ae05976`](https://togithub.com/sanity-io/sanity/commit/ae05976b5a) renovate\[bot] | chore(deps): update thollander/actions-comment-pull-request digest to [`fabd468`](https://togithub.com/sanity-io/sanity/commit/fabd468) ([#​6063](https://togithub.com/sanity-io/sanity/issues/6063)) | [`13dcbdb`](https://togithub.com/sanity-io/sanity/commit/13dcbdb1e4) renovate\[bot] | chore(deps): update peter-evans/create-pull-request digest to [`70a41ab`](https://togithub.com/sanity-io/sanity/commit/70a41ab) ([#​6062](https://togithub.com/sanity-io/sanity/issues/6062)) | [`7bd281c`](https://togithub.com/sanity-io/sanity/commit/7bd281c712) renovate\[bot] | chore(deps): update dependency express to ^4.18.3 ([#​6067](https://togithub.com/sanity-io/sanity/issues/6067)) | [`2aa4b64`](https://togithub.com/sanity-io/sanity/commit/2aa4b64b3f) renovate\[bot] | chore(lockfile): update dependency [@​sanity/locale-nn-no](https://togithub.com/sanity/locale-nn-no) to v1.1.5 ([#​6071](https://togithub.com/sanity-io/sanity/issues/6071)) | [`0254106`](https://togithub.com/sanity-io/sanity/commit/0254106e2e) renovate\[bot] | chore(lockfile): update dependency [@​sanity/locale-sv-se](https://togithub.com/sanity/locale-sv-se) to v1.2.3 ([#​6073](https://togithub.com/sanity-io/sanity/issues/6073)) | [`0b1d581`](https://togithub.com/sanity-io/sanity/commit/0b1d581f62) renovate\[bot] | chore(lockfile): update dependency [@​sanity/locale-pt-pt](https://togithub.com/sanity/locale-pt-pt) to v1.1.2 ([#​6072](https://togithub.com/sanity-io/sanity/issues/6072)) | [`19a8dd6`](https://togithub.com/sanity-io/sanity/commit/19a8dd67ff) renovate\[bot] | chore(lockfile): update dependency [@​sanity/locale-nb-no](https://togithub.com/sanity/locale-nb-no) to v1.1.4 ([#​6070](https://togithub.com/sanity-io/sanity/issues/6070)) | [`cc60405`](https://togithub.com/sanity-io/sanity/commit/cc60405d05) renovate\[bot] | chore(lockfile): update dependency [@​sanity/locale-ko-kr](https://togithub.com/sanity/locale-ko-kr) to v1.1.3 ([#​6069](https://togithub.com/sanity-io/sanity/issues/6069)) | [`1d5f3cb`](https://togithub.com/sanity-io/sanity/commit/1d5f3cb722) Nina Andal Aarvik | fix(core): increase default width of PT inline popovers ([#​5878](https://togithub.com/sanity-io/sanity/issues/5878)) | [`f809fe3`](https://togithub.com/sanity-io/sanity/commit/f809fe3714) Herman Wikner | fix(comments): permission check ([#​6057](https://togithub.com/sanity-io/sanity/issues/6057)) | [`2163ff0`](https://togithub.com/sanity-io/sanity/commit/2163ff0002) Sindre Gulseth | fix(codegen): include babel.config.json in the published package ([#​6075](https://togithub.com/sanity-io/sanity/issues/6075)) | [`2e06b84`](https://togithub.com/sanity-io/sanity/commit/2e06b84c43) Sindre Gulseth | fix(codegen): uppercase query type names ([#​6080](https://togithub.com/sanity-io/sanity/issues/6080)) | [`7402093`](https://togithub.com/sanity-io/sanity/commit/74020938c9) Sindre Gulseth | refactor(codegen): move Result appending into type generation ([#​6082](https://togithub.com/sanity-io/sanity/issues/6082)) | [`63432da`](https://togithub.com/sanity-io/sanity/commit/63432dad1f) Herman Wikner | fix(comments): hide resolve action if no handler is provided ([#​6084](https://togithub.com/sanity-io/sanity/issues/6084)) | [`4767b32`](https://togithub.com/sanity-io/sanity/commit/4767b32481) Tommy Petty | fix(tasks): copy changes for Tasks feature ([#​6085](https://togithub.com/sanity-io/sanity/issues/6085)) | [`3ab20ef`](https://togithub.com/sanity-io/sanity/commit/3ab20ef81a) Bjørge Næss | fix: use workspace protocol for all workspace dependencies ([#​6088](https://togithub.com/sanity-io/sanity/issues/6088)) | [`0653134`](https://togithub.com/sanity-io/sanity/commit/06531345b1) Herman Wikner | fix(tasks): ui adjustments ([#​6086](https://togithub.com/sanity-io/sanity/issues/6086)) | [`f89111c`](https://togithub.com/sanity-io/sanity/commit/f89111c01c) Pedro Bonamin | fix(tasks): update info passed to the tasks comments notification context ([#​6087](https://togithub.com/sanity-io/sanity/issues/6087)) | [`6635d72`](https://togithub.com/sanity-io/sanity/commit/6635d7200d) Pedro Bonamin | fix(tasks): update how addonDatasetProvider ready state is set ([#​6076](https://togithub.com/sanity-io/sanity/issues/6076)) | [`a08a82f`](https://togithub.com/sanity-io/sanity/commit/a08a82f2f3) Sindre Gulseth | fix(codegen): use relative path when globbing for files ([#​6083](https://togithub.com/sanity-io/sanity/issues/6083)) | [`5bc629f`](https://togithub.com/sanity-io/sanity/commit/5bc629fd23) Pedro Bonamin | fix(tasks): add new sanityTasks flag ([#​6089](https://togithub.com/sanity-io/sanity/issues/6089)) | [`ae89244`](https://togithub.com/sanity-io/sanity/commit/ae89244f28) Binoy Patel | Revert "fix: use workspace protocol for all workspace dependencies ([#​6088](https://togithub.com/sanity-io/sanity/issues/6088))" ([#​6092](https://togithub.com/sanity-io/sanity/issues/6092)) | [`abfc5d2`](https://togithub.com/sanity-io/sanity/commit/abfc5d23de) Espen Hovlandsdal | fix(structure): use correct loading messages while resolving panes ([#​6093](https://togithub.com/sanity-io/sanity/issues/6093)) | [`d784f82`](https://togithub.com/sanity-io/sanity/commit/d784f825e4) Cody Olsen | refactor: use `PKG_VERSION` from `@sanity/pkg-utils` instead of manually regexing `SANITY_VERSION` ([#​6078](https://togithub.com/sanity-io/sanity/issues/6078)) | [`d514bfc`](https://togithub.com/sanity-io/sanity/commit/d514bfc15c) ### [`v3.35.0`](https://togithub.com/sanity-io/sanity/releases/tag/v3.35.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.34.0...v3.35.0) #### Installation and upgrading **To initiate a new Studio without installing the CLI globally:** npm create sanity@latest **To upgrade a v3 Studio, run this command in its folder:** npm install sanity@latest ### 🐛 Notable bugfixes - Fixes an issue that would cause duplicate entries in the list of recent searches. - Updates the type of `value` within `ObjectFieldProps` to accept a type parameter, allowing for dynamically setting the expected type. (thanks [@​shixish](https://togithub.com/shixish)) ### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Ash | fix(core): include request tag in Text Search API requests ([#​5988](https://togithub.com/sanity-io/sanity/issues/5988)) | [`471854e`](https://togithub.com/sanity-io/sanity/commit/471854e455) cngonzalez | chore: update licenses across packages for current year ([#​6002](https://togithub.com/sanity-io/sanity/issues/6002)) | [`c11256b`](https://togithub.com/sanity-io/sanity/commit/c11256bc62) renovate\[bot] | chore(lockfile): update dependency [@​sanity/assist](https://togithub.com/sanity/assist) to v2.0.4 ([#​6006](https://togithub.com/sanity-io/sanity/issues/6006)) | [`37a4ed3`](https://togithub.com/sanity-io/sanity/commit/37a4ed3d8e) renovate\[bot] | fix(deps): update dependency [@​sanity/presentation](https://togithub.com/sanity/presentation) to v1.11.7 ([#​6007](https://togithub.com/sanity-io/sanity/issues/6007)) | [`1041460`](https://togithub.com/sanity-io/sanity/commit/10414601ad) cngonzalez | fix: ensure that useStructureToolSetting updates only when necessary ([#​6004](https://togithub.com/sanity-io/sanity/issues/6004)) | [`a4d8d2d`](https://togithub.com/sanity-io/sanity/commit/a4d8d2d3e4) renovate\[bot] | fix(deps): update dependency get-it to ^8.4.13 ([#​6013](https://togithub.com/sanity-io/sanity/issues/6013)) | [`1da1feb`](https://togithub.com/sanity-io/sanity/commit/1da1feb417) renovate\[bot] | fix(deps): update dependency [@​sanity/client](https://togithub.com/sanity/client) to ^6.15.5 ([#​6012](https://togithub.com/sanity-io/sanity/issues/6012)) | [`01dec12`](https://togithub.com/sanity-io/sanity/commit/01dec12e2d) renovate\[bot] | chore(deps): update dependency [@​sanity/visual-editing](https://togithub.com/sanity/visual-editing) to v1.8.0 ([#​6015](https://togithub.com/sanity-io/sanity/issues/6015)) | [`2f16c94`](https://togithub.com/sanity-io/sanity/commit/2f16c94060) Sindre Gulseth | fix: schema extraction object type name ([#​6014](https://togithub.com/sanity-io/sanity/issues/6014)) | [`dcd5537`](https://togithub.com/sanity-io/sanity/commit/dcd55378b8) Sindre Gulseth | Fix bug where we cant resolve custom types ([#​6016](https://togithub.com/sanity-io/sanity/issues/6016)) | [`217a47d`](https://togithub.com/sanity-io/sanity/commit/217a47dae0) Herman Wikner | feat(tasks): add comment delete confirm dialog ([#​6009](https://togithub.com/sanity-io/sanity/issues/6009)) | [`c105115`](https://togithub.com/sanity-io/sanity/commit/c105115524) Herman Wikner | fix(comments): hide context menu actions if handler is undefined ([#​6011](https://togithub.com/sanity-io/sanity/issues/6011)) | [`cb55bc5`](https://togithub.com/sanity-io/sanity/commit/cb55bc5e87) renovate\[bot] | chore(deps): update dependency [@​sanity/visual-editing](https://togithub.com/sanity/visual-editing) to v1.8.1 ([#​6022](https://togithub.com/sanity-io/sanity/issues/6022)) | [`09d4e27`](https://togithub.com/sanity-io/sanity/commit/09d4e2720c) renovate\[bot] | chore(deps): update dependency [@​types/use-sync-external-store](https://togithub.com/types/use-sync-external-store) to ^0.0.6 ([#​6023](https://togithub.com/sanity-io/sanity/issues/6023)) | [`910f04c`](https://togithub.com/sanity-io/sanity/commit/910f04cb16) renovate\[bot] | chore(deps): update dependency turbo to ^1.12.5 ([#​6025](https://togithub.com/sanity-io/sanity/issues/6025)) | [`02699dd`](https://togithub.com/sanity-io/sanity/commit/02699dd6a5) renovate\[bot] | chore(deps): update dependency vite to ^4.5.2 ([#​6026](https://togithub.com/sanity-io/sanity/issues/6026)) | [`767e99e`](https://togithub.com/sanity-io/sanity/commit/767e99ea26) renovate\[bot] | chore(deps): update pnpm to v8.15.5 ([#​6027](https://togithub.com/sanity-io/sanity/issues/6027)) | [`a2aedcb`](https://togithub.com/sanity-io/sanity/commit/a2aedcbaf0) renovate\[bot] | chore(deps): update dependency [@​portabletext/toolkit](https://togithub.com/portabletext/toolkit) to ^2.0.11 ([#​6030](https://togithub.com/sanity-io/sanity/issues/6030)) | [`639580f`](https://togithub.com/sanity-io/sanity/commit/639580fc20) renovate\[bot] | chore(deps): update dependency [@​babel/preset-env](https://togithub.com/babel/preset-env) to ^7.24.0 ([#​6033](https://togithub.com/sanity-io/sanity/issues/6033)) | [`795167f`](https://togithub.com/sanity-io/sanity/commit/795167f568) renovate\[bot] | chore(lockfile): update dependency [@​portabletext/react](https://togithub.com/portabletext/react) to v3.0.12 ([#​6031](https://togithub.com/sanity-io/sanity/issues/6031)) | [`9f745f0`](https://togithub.com/sanity-io/sanity/commit/9f745f0fd2) renovate\[bot] | chore(deps): update dependency styled-components to ^6.1.8 ([#​6024](https://togithub.com/sanity-io/sanity/issues/6024)) | [`d405517`](https://togithub.com/sanity-io/sanity/commit/d40551742f) renovate\[bot] | chore(deps): update linters ([#​6029](https://togithub.com/sanity-io/sanity/issues/6029)) | [`baaa56b`](https://togithub.com/sanity-io/sanity/commit/baaa56b9ab) renovate\[bot] | chore(deps): update dependency esbuild to v0.20.2 ([#​6028](https://togithub.com/sanity-io/sanity/issues/6028)) | [`a480588`](https://togithub.com/sanity-io/sanity/commit/a4805883a2) renovate\[bot] | chore(deps): update dependency [@​sanity/pkg-utils](https://togithub.com/sanity/pkg-utils) to ^3.3.8 ([#​6036](https://togithub.com/sanity-io/sanity/issues/6036)) | [`871b450`](https://togithub.com/sanity-io/sanity/commit/871b450245) Ash | fix(util): safely stringify path segments named as GROQ data types (e.g. `null`) ([#​5986](https://togithub.com/sanity-io/sanity/issues/5986)) | [`561ee14`](https://togithub.com/sanity-io/sanity/commit/561ee14fe3) Ash | refactor(core): use path `toString` function from `@sanity/util/paths` ([#​5987](https://togithub.com/sanity-io/sanity/issues/5987)) | [`522477a`](https://togithub.com/sanity-io/sanity/commit/522477ab5b) renovate\[bot] | chore(deps): update dependency [@​sanity/pkg-utils](https://togithub.com/sanity/pkg-utils) to v4 ([#​6037](https://togithub.com/sanity-io/sanity/issues/6037)) | [`114d8bb`](https://togithub.com/sanity-io/sanity/commit/114d8bb5d8) renovate\[bot] | chore(deps): update dependency [@​portabletext/toolkit](https://togithub.com/portabletext/toolkit) to ^2.0.12 ([#​6042](https://togithub.com/sanity-io/sanity/issues/6042)) | [`eb86c41`](https://togithub.com/sanity-io/sanity/commit/eb86c41b6e) renovate\[bot] | chore(deps): update dependency [@​sanity/visual-editing](https://togithub.com/sanity/visual-editing) to v1.8.2 ([#​6043](https://togithub.com/sanity-io/sanity/issues/6043)) | [`039eb1f`](https://togithub.com/sanity-io/sanity/commit/039eb1fcca) renovate\[bot] | chore(lockfile): update dependency [@​sanity/logos](https://togithub.com/sanity/logos) to v2.1.7 ([#​6045](https://togithub.com/sanity-io/sanity/issues/6045)) | [`92e62aa`](https://togithub.com/sanity-io/sanity/commit/92e62aa7ea) renovate\[bot] | chore(lockfile): update dependency [@​sanity/react-loader](https://togithub.com/sanity/react-loader) to v1.9.4 ([#​6046](https://togithub.com/sanity-io/sanity/issues/6046)) | [`aa37fd9`](https://togithub.com/sanity-io/sanity/commit/aa37fd9735) renovate\[bot] | chore(lockfile): update dependency mendoza to v3.0.6 ([#​6047](https://togithub.com/sanity-io/sanity/issues/6047)) | [`b94419a`](https://togithub.com/sanity-io/sanity/commit/b94419adb9) renovate\[bot] | fix(deps): update dependency [@​sanity/presentation](https://togithub.com/sanity/presentation) to v1.11.8 ([#​6048](https://togithub.com/sanity-io/sanity/issues/6048)) | [`bd44216`](https://togithub.com/sanity-io/sanity/commit/bd4421669e) renovate\[bot] | fix(deps): update dependency get-it to ^8.4.14 ([#​6049](https://togithub.com/sanity-io/sanity/issues/6049)) | [`01866ed`](https://togithub.com/sanity-io/sanity/commit/01866ed7e0) renovate\[bot] | chore(lockfile): update dependency [@​portabletext/react](https://togithub.com/portabletext/react) to v3.0.13 ([#​6044](https://togithub.com/sanity-io/sanity/issues/6044)) | [`9ab928f`](https://togithub.com/sanity-io/sanity/commit/9ab928f329) Ash | feat(core): integrate with Text Search API ordering ([#​6001](https://togithub.com/sanity-io/sanity/issues/6001)) | [`a59f4bc`](https://togithub.com/sanity-io/sanity/commit/a59f4bc620) renovate\[bot] | chore(deps): update dependency [@​sanity/pkg-utils](https://togithub.com/sanity/pkg-utils) to ^4.4.3 ([#​6050](https://togithub.com/sanity-io/sanity/issues/6050)) | [`b6334ee`](https://togithub.com/sanity-io/sanity/commit/b6334ee9f5) renovate\[bot] | fix(deps): update dependency [@​sanity/client](https://togithub.com/sanity/client) to ^6.15.6 ([#​6052](https://togithub.com/sanity-io/sanity/issues/6052)) | [`ac206c2`](https://togithub.com/sanity-io/sanity/commit/ac206c2e8d) Pedro Bonamin | fix(tasks): hide safari details marker ([#​6020](https://togithub.com/sanity-io/sanity/issues/6020)) | [`f70cf04`](https://togithub.com/sanity-io/sanity/commit/f70cf04d17) Herman Wikner | fix(tasks): only display tasks with edits in the drafts menu ([#​6053](https://togithub.com/sanity-io/sanity/issues/6053)) | [`050f452`](https://togithub.com/sanity-io/sanity/commit/050f45206c) Herman Wikner | feat(tasks): ui improvements ([#​5990](https://togithub.com/sanity-io/sanity/issues/5990)) | [`a58b596`](https://togithub.com/sanity-io/sanity/commit/a58b596462) cngonzalez | fix: use more reliable comparison in deduping search results ([#​6034](https://togithub.com/sanity-io/sanity/issues/6034)) | [`1dd2ccc`](https://togithub.com/sanity-io/sanity/commit/1dd2cccad8) Sindre Gulseth | feat(codegen): add codegen skeleton package ([#​5979](https://togithub.com/sanity-io/sanity/issues/5979)) | [`e94c02f`](https://togithub.com/sanity-io/sanity/commit/e94c02f58d) Sindre Gulseth | feat(codegen): add groq finder methods. ([#​5980](https://togithub.com/sanity-io/sanity/issues/5980)) | [`7addeef`](https://togithub.com/sanity-io/sanity/commit/7addeefdac) Sindre Gulseth | feat(codegen): add typegen methods to codegen package ([#​5981](https://togithub.com/sanity-io/sanity/issues/5981)) | [`baf7cf0`](https://togithub.com/sanity-io/sanity/commit/baf7cf0445) Sindre Gulseth | feat(codegen): add CLI to generate types given a codegen config ([#​5982](https://togithub.com/sanity-io/sanity/issues/5982)) | [`3742b3f`](https://togithub.com/sanity-io/sanity/commit/3742b3f5a2) Sindre Gulseth | feat(codegen): expose referenced type as hidden symbol ([#​6008](https://togithub.com/sanity-io/sanity/issues/6008)) | [`2826c46`](https://togithub.com/sanity-io/sanity/commit/2826c46300) Sindre Gulseth | chore(codegen): refactor codegen cli group to use typegen cli group ([#​6051](https://togithub.com/sanity-io/sanity/issues/6051)) | [`ff07ff2`](https://togithub.com/sanity-io/sanity/commit/ff07ff247a) Sindre Gulseth | chore(codegen): bind groq-js to ^1.5.0 ([#​6055](https://togithub.com/sanity-io/sanity/issues/6055)) | [`9595f3a`](https://togithub.com/sanity-io/sanity/commit/9595f3a753) renovate\[bot] | chore(deps): lock file maintenance ([#​6035](https://togithub.com/sanity-io/sanity/issues/6035)) | [`c70653a`](https://togithub.com/sanity-io/sanity/commit/c70653afcc) Sindre Gulseth | fix(codegen): update help text and generated comments copy ([#​6059](https://togithub.com/sanity-io/sanity/issues/6059)) | [`2afbc3b`](https://togithub.com/sanity-io/sanity/commit/2afbc3bfdd) Tommy Petty | feat(tasks): Localize Task feature ([#​6017](https://togithub.com/sanity-io/sanity/issues/6017)) | [`06d812c`](https://togithub.com/sanity-io/sanity/commit/06d812c001) Binoy Patel | chore(deps): pin [@​sanity/migrate](https://togithub.com/sanity/migrate) groq to 1.5.0 ([#​6060](https://togithub.com/sanity-io/sanity/issues/6060)) | [`c36a3b0`](https://togithub.com/sanity-io/sanity/commit/c36a3b013c) Andrew Wessels | Update fieldProps.ts ([#​5902](https://togithub.com/sanity-io/sanity/issues/5902)) | [`10d86e0`](https://togithub.com/sanity-io/sanity/commit/10d86e0ad7) ### [`v3.34.0`](https://togithub.com/sanity-io/sanity/releases/tag/v3.34.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.33.0...v3.34.0) #### Installation and upgrading **To initiate a new Studio without installing the CLI globally:** npm create sanity@latest **To upgrade your Sanity Studio, run this command in its folder:** npm install sanity@latest ### ✨ Highlights #### Persisted user settings User settings (like desk list sort orders, view modes, and global search history) are now stored securely server-side by Sanity. This means that these settings do not need to be re-selected across devices or browsers, and will be persisted wherever a user logs into their Studio. ### 🐛 Notable bugfixes - Fixes a bug in the Portable Text Editor where merging two text blocks could result in data loss in the topmost block when several editors are inside the document. - Migration CLI tooling now always places its output in the project root, and provides better messaging about this. ### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Ash | feat(cli): improve migration runner output ([#​5904](https://togithub.com/sanity-io/sanity/issues/5904)) | [`11d15ce`](https://togithub.com/sanity-io/sanity/commit/11d15ce65b) Ash | fix(cli): use inferred project root when creating migrations from subdirectory ([#​5905](https://togithub.com/sanity-io/sanity/issues/5905)) | [`1d2775c`](https://togithub.com/sanity-io/sanity/commit/1d2775cf13) Herman Wikner | fix(core): handle no userId in getUser ([#​5992](https://togithub.com/sanity-io/sanity/issues/5992)) | [`c9ceac0`](https://togithub.com/sanity-io/sanity/commit/c9ceac0038) renovate\[bot] | fix(deps): update dependency [@​sanity/presentation](https://togithub.com/sanity/presentation) to v1.11.6 ([#​5999](https://togithub.com/sanity-io/sanity/issues/5999)) | [`51d3bbd`](https://togithub.com/sanity-io/sanity/commit/51d3bbd5a1) Per-Kristian Nordnes | fix(portable-text-editor): fix and test issue with merge block operation ([#​5996](https://togithub.com/sanity-io/sanity/issues/5996)) | [`96bc72b`](https://togithub.com/sanity-io/sanity/commit/96bc72be1b) Pedro Bonamin | feat(tasks): add notification data for tasks document and tasks comments ([#​5998](https://togithub.com/sanity-io/sanity/issues/5998)) | [`8e63552`](https://togithub.com/sanity-io/sanity/commit/8e63552f24) cngonzalez | feat(core): store and fetch user settings from backend ([#​5939](https://togithub.com/sanity-io/sanity/issues/5939)) | [`ecb3495`](https://togithub.com/sanity-io/sanity/commit/ecb349553b) ### [`v3.33.0`](https://togithub.com/sanity-io/sanity/releases/tag/v3.33.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.32.0...v3.33.0) #### Installation and upgrading **To initiate a new Studio without installing the CLI globally:** npm create sanity@latest **To upgrade a Sanity Studio, run this command in its folder:** npm install sanity@latest ### 🐛 Notable bugfixes - Resolves an issue where users were not redirected to their original destination after re-authenticating, ensuring seamless access to linked content within the Studio. - `_projectId` and `_strengthenOnPublish` are now valid values for Initial Value Templates, allowing for Cross Dataset Reference values in templates. - Fixes a type bug where the type for `defineType` and `defineField` was not being captured correctly. #### Other Features - `__experimental_search` is deprecated in favor of field-level search options for strings and Portable Text arrays. You should now be able to define search weights in your schema, like: ```typescript defineField({ name: 'title', type: 'string', options: { search: { weight: 10, }, }, }) ``` - Document Actions can now specify a `group`, which will allow users to specify whether a specific document action should appear in the footer or in the document's context menu. - Adds ability to open the hotspot and crop dialog by double-clicking image preview. ### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Tommy Petty | Update PULL_REQUEST_TEMPLATE.md ([#​5921](https://togithub.com/sanity-io/sanity/issues/5921)) | [`3afe5a2`](https://togithub.com/sanity-io/sanity/commit/3afe5a261c) Herman Wikner | fix(comments): enable check ([#​5918](https://togithub.com/sanity-io/sanity/issues/5918)) | [`c230bb5`](https://togithub.com/sanity-io/sanity/commit/c230bb5070) Herman Wikner | fix(comments): lost comment message while document is reconnecting ([#​5928](https://togithub.com/sanity-io/sanity/issues/5928)) | [`ec4da46`](https://togithub.com/sanity-io/sanity/commit/ec4da462b5) Bjørge Næss | test(sanity): use dev aliases in the validation test's worker threads ([#​5927](https://togithub.com/sanity-io/sanity/issues/5927)) | [`8bf1c92`](https://togithub.com/sanity-io/sanity/commit/8bf1c928b0) Herman Wikner | feat(comments): support task comments ([#​5934](https://togithub.com/sanity-io/sanity/issues/5934)) | [`75273af`](https://togithub.com/sanity-io/sanity/commit/75273afb9f) Herman Wikner | fix(comments): use `_weak` instead of `weak` ([#​5936](https://togithub.com/sanity-io/sanity/issues/5936)) | [`642224f`](https://togithub.com/sanity-io/sanity/commit/642224f1ac) Tommy Petty | fix(pte): updates zoffset for PopoverEditDialog to not be on top of InspectDialog ([#​5882](https://togithub.com/sanity-io/sanity/issues/5882)) | [`69b3552`](https://togithub.com/sanity-io/sanity/commit/69b3552897) Nina Andal Aarvik | fix(core): add onDoubleClick to open image crop ([#​5815](https://togithub.com/sanity-io/sanity/issues/5815)) | [`e3bfee0`](https://togithub.com/sanity-io/sanity/commit/e3bfee0e52) Bjørge Næss | fix(ci): align pnpm install across all workflows ([#​5920](https://togithub.com/sanity-io/sanity/issues/5920)) | [`f103967`](https://togithub.com/sanity-io/sanity/commit/f10396750b) Rico Kahler | feat(core): redirect to previous path after login ([#​5932](https://togithub.com/sanity-io/sanity/issues/5932)) | [`96cd0b6`](https://togithub.com/sanity-io/sanity/commit/96cd0b636d) Pedro Bonamin | feat(tasks): bootstrap tasks plugin ([#​5704](https://togithub.com/sanity-io/sanity/issues/5704)) | [`dd0794a`](https://togithub.com/sanity-io/sanity/commit/dd0794a36f) cngonzalez | refactor(core): use KeyValueStore for recent searches ([#​5872](https://togithub.com/sanity-io/sanity/issues/5872)) | [`c531a6b`](https://togithub.com/sanity-io/sanity/commit/c531a6b231) Herman Wikner | fix(comments): handle lack of access to inline comments ([#​5925](https://togithub.com/sanity-io/sanity/issues/5925)) | [`2d4f60c`](https://togithub.com/sanity-io/sanity/commit/2d4f60c16b) Pedro Bonamin | chore(comments): add support for comments layout avatar config ([#​5944](https://togithub.com/sanity-io/sanity/issues/5944)) | [`f42ea79`](https://togithub.com/sanity-io/sanity/commit/f42ea799d1) Tommy Petty | fix(core): remove prev and next month buttons in calendar input ([#​5931](https://togithub.com/sanity-io/sanity/issues/5931)) | [`01f7df2`](https://togithub.com/sanity-io/sanity/commit/01f7df21b6) Pedro Bonamin | feat(core): add groups to document actions, introduce paneActions group ([#​5933](https://togithub.com/sanity-io/sanity/issues/5933)) | [`4e95e09`](https://togithub.com/sanity-io/sanity/commit/4e95e092b4) Rico Kahler | fix(core): upgrade and fix types for typescript 5.4 ([#​5943](https://togithub.com/sanity-io/sanity/issues/5943)) | [`4e72b80`](https://togithub.com/sanity-io/sanity/commit/4e72b80dc9) Rico Kahler | fix(core): allow `_projectId` and `_strengthOnPublish` in templates ([#​5942](https://togithub.com/sanity-io/sanity/issues/5942)) | [`5adca88`](https://togithub.com/sanity-io/sanity/commit/5adca888ff) renovate\[bot] | chore(deps): update dependency [@​sanity/visual-editing](https://togithub.com/sanity/visual-editing) to v1.7.0 ([#​5955](https://togithub.com/sanity-io/sanity/issues/5955)) | [`0314111`](https://togithub.com/sanity-io/sanity/commit/0314111b80) renovate\[bot] | chore(lockfile): update dependency [@​sanity/react-loader](https://togithub.com/sanity/react-loader) to v1.9.3 ([#​5952](https://togithub.com/sanity-io/sanity/issues/5952)) | [`01bd4ab`](https://togithub.com/sanity-io/sanity/commit/01bd4abfeb) renovate\[bot] | fix(deps): update dependency [@​sanity/presentation](https://togithub.com/sanity/presentation) to v1.11.4 ([#​5954](https://togithub.com/sanity-io/sanity/issues/5954)) | [`a5a1a5d`](https://togithub.com/sanity-io/sanity/commit/a5a1a5d52b) renovate\[bot] | fix(deps): update dependency [@​sanity/client](https://togithub.com/sanity/client) to ^6.15.3 ([#​5953](https://togithub.com/sanity-io/sanity/issues/5953)) | [`fc22e9f`](https://togithub.com/sanity-io/sanity/commit/fc22e9fdc5) renovate\[bot] | chore(lockfile): update dependency [@​sanity/icons](https://togithub.com/sanity/icons) to v2.11.0 ([#​5957](https://togithub.com/sanity-io/sanity/issues/5957)) | [`502fda0`](https://togithub.com/sanity-io/sanity/commit/502fda0fe9) renovate\[bot] | chore(deps): update dependency [@​sanity/assist](https://togithub.com/sanity/assist) to v2 ([#​5960](https://togithub.com/sanity-io/sanity/issues/5960)) | [`f7019ff`](https://togithub.com/sanity-io/sanity/commit/f7019ff8b5) Pedro Bonamin | fix(deps): update [@​sanity/icons](https://togithub.com/sanity/icons) ([#​5956](https://togithub.com/sanity-io/sanity/issues/5956)) | [`15f53bd`](https://togithub.com/sanity-io/sanity/commit/15f53bd87f) Bjørge Næss | chore(test): exclude the github reporter from playwright tests for now ([#​5959](https://togithub.com/sanity-io/sanity/issues/5959)) | [`334917f`](https://togithub.com/sanity-io/sanity/commit/334917fb3e) Cody Olsen | chore: add PTE in Presentation race condition reproduction ([#​5961](https://togithub.com/sanity-io/sanity/issues/5961)) | [`4adda38`](https://togithub.com/sanity-io/sanity/commit/4adda386fe) Cody Olsen | chore: always bump `@sanity/ui` ([#​5963](https://togithub.com/sanity-io/sanity/issues/5963)) | [`1884546`](https://togithub.com/sanity-io/sanity/commit/188454654f) renovate\[bot] | chore(lockfile): update dependency [@​sanity/icons](https://togithub.com/sanity/icons) to v2.11.2 ([#​5962](https://togithub.com/sanity-io/sanity/issues/5962)) | [`bf22266`](https://togithub.com/sanity-io/sanity/commit/bf22266847) Sindre Gulseth | feat: add cmd to generate a JSON representation of schema ([#​5919](https://togithub.com/sanity-io/sanity/issues/5919)) | [`c1e4f2a`](https://togithub.com/sanity-io/sanity/commit/c1e4f2aac2) renovate\[bot] | fix(deps): update dependency get-it to ^8.4.11 ([#​5967](https://togithub.com/sanity-io/sanity/issues/5967)) | [`25dce83`](https://togithub.com/sanity-io/sanity/commit/25dce83ea3) renovate\[bot] | fix(deps): update dependency [@​sanity/ui](https://togithub.com/sanity/ui) to ^2.0.8 ([#​5966](https://togithub.com/sanity-io/sanity/issues/5966)) | [`a1237d6`](https://togithub.com/sanity-io/sanity/commit/a1237d6fc8) Herman Wikner | feat(core): add navbar actions (`@internal`) ([#​5968](https://togithub.com/sanity-io/sanity/issues/5968)) | [`8336c9f`](https://togithub.com/sanity-io/sanity/commit/8336c9f585) renovate\[bot] | chore(lockfile): update dependency framer-motion to v11.0.12 ([#​5969](https://togithub.com/sanity-io/sanity/issues/5969)) | [`01f260b`](https://togithub.com/sanity-io/sanity/commit/01f260b91f) renovate\[bot] | chore(deps): update dependency [@​sanity/icons](https://togithub.com/sanity/icons) to ^2.11.2 ([#​5970](https://togithub.com/sanity-io/sanity/issues/5970)) | [`1b0eb08`](https://togithub.com/sanity-io/sanity/commit/1b0eb0800a) renovate\[bot] | chore(deps): update dependency [@​sanity/visual-editing](https://togithub.com/sanity/visual-editing) to v1.7.1 ([#​5971](https://togithub.com/sanity-io/sanity/issues/5971)) | [`3101795`](https://togithub.com/sanity-io/sanity/commit/3101795265) renovate\[bot] | fix(deps): update dependency [@​sanity/ui](https://togithub.com/sanity/ui) to ^2.0.9 ([#​5972](https://togithub.com/sanity-io/sanity/issues/5972)) | [`218d09c`](https://togithub.com/sanity-io/sanity/commit/218d09c464) renovate\[bot] | fix(deps): update dependency [@​sanity/presentation](https://togithub.com/sanity/presentation) to v1.11.5 ([#​5973](https://togithub.com/sanity-io/sanity/issues/5973)) | [`9254565`](https://togithub.com/sanity-io/sanity/commit/9254565bd3) Nina Andal Aarvik | fix(tasks): show pending tasks in document footer ([#​5894](https://togithub.com/sanity-io/sanity/issues/5894)) | [`177bc79`](https://togithub.com/sanity-io/sanity/commit/177bc79763) renovate\[bot] | fix(deps): update dependency [@​sanity/client](https://togithub.com/sanity/client) to ^6.15.4 ([#​5975](https://togithub.com/sanity-io/sanity/issues/5975)) | [`a701e1c`](https://togithub.com/sanity-io/sanity/commit/a701e1cb4b) renovate\[bot] | fix(deps): update dependency [@​sanity/ui](https://togithub.com/sanity/ui) to ^2.0.10 ([#​5976](https://togithub.com/sanity-io/sanity/issues/5976)) | [`b7bcc2d`](https://togithub.com/sanity-io/sanity/commit/b7bcc2df41) renovate\[bot] | chore(lockfile): update dependency [@​sanity/assist](https://togithub.com/sanity/assist) to v2.0.3 ([#​5977](https://togithub.com/sanity-io/sanity/issues/5977)) | [`be49900`](https://togithub.com/sanity-io/sanity/commit/be4990055a) Pedro Bonamin | feat(tasks): use FormBuilder to create and edit tasks. ([#​5897](https://togithub.com/sanity-io/sanity/issues/5897)) | [`908577e`](https://togithub.com/sanity-io/sanity/commit/908577e989) Pedro Bonamin | feat(tasks): track activity changes with document history. ([#​5965](https://togithub.com/sanity-io/sanity/issues/5965)) | [`0a76390`](https://togithub.com/sanity-io/sanity/commit/0a763903df) Bjørge Næss | chore(deps): pin typescript to 5.3 ([#​5984](https://togithub.com/sanity-io/sanity/issues/5984)) | [`193b4b8`](https://togithub.com/sanity-io/sanity/commit/193b4b8646) Ash | feat(core): add new search config API ([#​5948](https://togithub.com/sanity-io/sanity/issues/5948)) | [`3c458c8`](https://togithub.com/sanity-io/sanity/commit/3c458c89a9) ### [`v3.32.0`](https://togithub.com/sanity-io/sanity/releases/tag/v3.32.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.31.0...v3.32.0) #### Installation and upgrading **To initiate a new Studio without installing the CLI globally:** npm create sanity@latest **To upgrade your Sanity Studio, run this command in its project folder:** npm install sanity@latest ### ✨ Highlights #### Inline commenting in Blocks ![inline comments screenshot](https://togithub.com/sanity-io/sanity/assets/15094168/c8dec990-dcb0-4368-ac03-8add532b924d) Enhance editorial collaboration with the ability to attach comments directly to specific text selections. This feature includes highlight capabilities and ensures a seamless experience with updates and scrolling interactions. Comments is available on [the Growth plan](https://www.sanity.io/pricing#compare-plans) (30-day free trial on new projects). You can learn more about [comments in the documentation](https://www.sanity.io/docs/comments). ### 🐛 Notable bugfixes #### Fixes sluggish document list due to lingering listeners We've implemented a cleanup mechanism for edit state listeners to resolve issues that caused the document lists to become sluggish. Prior to this fix, open connections weren't being closed properly, leading to slow performance and potential crashes. If you've been experiencing delays or stability problems in your document lists, this update addresses those concerns. ### 📓 Full changelog | Author | Message | Commit | | -------------------- | -------------------------------------------------------------------------- | --------- | | renovate\[bot] | fix(deps): update dependency [@​sanity/client](https://togithub.com/sanity/client) to ^6.15.1 ([#​5913](https://togithub.com/sanity-io/sanity/issues/5913)) | [`3b741a1`](https://togithub.com/sanity-io/sanity/commit/3b741a182) | | renovate\[bot] | chore(lockfile): update dependency [@​sanity/react-loader](https://togithub.com/sanity/react-loader) to v1.9.2 ([#​5912](https://togithub.com/sanity-io/sanity/issues/5912)) | [`124570d`](https://togithub.com/sanity-io/sanity/commit/124570d5d) | | renovate\[bot] | fix(deps): update dependency [@​sanity/presentation](https://togithub.com/sanity/presentation) to v1.11.3 ([#​5914](https://togithub.com/sanity-io/sanity/issues/5914)) | [`2bebf24`](https://togithub.com/sanity-io/sanity/commit/2bebf2477) | | renovate\[bot] | chore(deps): update dependency [@​sanity/visual-editing](https://togithub.com/sanity/visual-editing) to v1.6.0 ([#​5915](https://togithub.com/sanity-io/sanity/issues/5915)) | [`b625213`](https://togithub.com/sanity-io/sanity/commit/b62521316) | | Rico Kahler | fix(core): clean up edit state listeners ([#​5911](https://togithub.com/sanity-io/sanity/issues/5911)) | [`4acc11e`](https://togithub.com/sanity-io/sanity/commit/4acc11e6c) | | Per-Kristian Nordnes | chore(comments): enable inline comments ([#​5883](https://togithub.com/sanity-io/sanity/issues/5883)) | [`7d3f33d`](https://togithub.com/sanity-io/sanity/commit/7d3f33d1e) | | Tommy Petty | fix(core): update placeholder text to be more clear and accessible ([#​5910](https://togithub.com/sanity-io/sanity/issues/5910)) | [`9978095`](https://togithub.com/sanity-io/sanity/commit/997809589) | ### [`v3.31.0`](https://togithub.com/sanity-io/sanity/releases/tag/v3.31.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.30.1...v3.31.0) #### Installation and upgrading **To initiate a new Studio without installing the CLI globally:** npm create sanity@latest **To upgrade a v3 Studio, run this command in its folder:** npm install sanity@latest ### ✨ Highlights #### Portable Text Editor improvements - Inline references and objects will now render with increased default sizes in the Portable Text Editor for easier interaction. - Original content keys are now preserved during undo/redo operations in the Portable Text Editor. This change makes for more robust content integrity. ### 🐛 Notable bugfixes - Fixes an issue that allowed files to be dropped behind the open modal, leading to potentially adding files to the wrong input. - Fixes a problem where temporary network disruptions could cause the form editor to reload and lose unsaved edits. Now, the form becomes read-only during reconnection, preserving state and changes. - Fixes an issue where initial value templates would not accept a target dataset for cross-dataset references. - Fixes an issue where the "disabled" state was shown indefinitely for cross-dataset references. - Resolves a UI problem where the "cannot upload" message was incorrectly shown for extension-restricted file types during hover. - Fixes a bug where certain selections within the Portable Text Editor were being mishandled. - Fixes an issue where Comments would show a loading state while the form was reconnecting, preserving user comments during network issues. ### 📓 Full changelog | Author | Message | Commit | | -------------------- | ----------------------------------------------------------------------------------------------------------- | --------- | | Robin Neatherway | docs: show backup command in help ([#​5865](https://togithub.com/sanity-io/sanity/issues/5865)) | [`5d060af`](https://togithub.com/sanity-io/sanity/commit/5d060afc1) | | Nina Andal Aarvik | fix(core): change modalWidth of inlineObjects to 1 by default ([#​5839](https://togithub.com/sanity-io/sanity/issues/5839)) | [`6e551b0`](https://togithub.com/sanity-io/sanity/commit/6e551b09d) | | Per-Kristian Nordnes | feat(portable-text-editor): preserve keys on undo/redo ([#​5805](https://togithub.com/sanity-io/sanity/issues/5805)) | [`f83e8e4`](https://togithub.com/sanity-io/sanity/commit/f83e8e401) | | Herman Wikner | feat(portable-text-editor): implement `isSelectionOverlapping` method ([#​5870](https://togithub.com/sanity-io/sanity/issues/5870)) | [`1d41af7`](https://togithub.com/sanity-io/sanity/commit/1d41af7c8) | | renovate\[bot] | chore(deps): update dependency get-random-values-esm to v1.0.2 ([#​5856](https://togithub.com/sanity-io/sanity/issues/5856)) | [`16a5434`](https://togithub.com/sanity-io/sanity/commit/16a5434fd) | | Ash | fix(form): prevent drop event propagating outside of EditPortal component ([#​5813](https://togithub.com/sanity-io/sanity/issues/5813)) | [`fc73437`](https://togithub.com/sanity-io/sanity/commit/fc73437ae) | | Per-Kristian Nordnes | fix(portable-text-editor): check that path is lengthy ([#​5875](https://togithub.com/sanity-io/sanity/issues/5875)) | [`2deebb1`](https://togithub.com/sanity-io/sanity/commit/2deebb189) | | Herman Wikner | feat(core): add ` onFullScreenChange ` to Portable Text Input ([#​5879](https://togithub.com/sanity-io/sanity/issues/5879)) | [`84a0c90`](https://togithub.com/sanity-io/sanity/commit/84a0c9028) | | Rupert Dunk | feat(structure): support closing first collapsed `DocumentPanel` ([#​5867](https://togithub.com/sanity-io/sanity/issues/5867)) | [`6d61e94`](https://togithub.com/sanity-io/sanity/commit/6d61e9402) | | cngonzalez | fix(core): check if previous state is null for unmounted component ([#​5724](https://togithub.com/sanity-io/sanity/issues/5724)) | [`9ed5cca`](https://togithub.com/sanity-io/sanity/commit/9ed5cca51) | | Tommy Petty | fix(structure): provide better error handling if orderings contain invalid field ([#​5709](https://togithub.com/sanity-io/sanity/issues/5709)) | [`4926b78`](https://togithub.com/sanity-io/sanity/commit/4926b78e4) | | Per-Kristian Nordnes | feat(portable-text-editor): range decorations ([#​5871](https://togithub.com/sanity-io/sanity/issues/5871)) | [`fa330a0`](https://togithub.com/sanity-io/sanity/commit/fa330a0ba) | | Herman Wikner | feat(comments): introduce inline commenting ([#​5606](https://togithub.com/sanity-io/sanity/issues/5606)) | [`7ed2b0f`](https://togithub.com/sanity-io/sanity/commit/7ed2b0f65) | | Tommy Petty | fix(core): updates to not show "cannot upload" on hover when using extension based accepts settings ([#​5881](https://togithub.com/sanity-io/sanity/issues/5881)) | [`023e7e6`](https://togithub.com/sanity-io/sanity/commit/023e7e646) | | Bjørge Næss | fix(sanity): preserve form (as readOnly) when reconnecting ([#​5884](https://togithub.com/sanity-io/sanity/issues/5884)) | [`ed87e2a`](https://togithub.com/sanity-io/sanity/commit/ed87e2a40) | | Per-Kristian Nordnes | fix(portable-text-editor): all paths must be checked ([#​5891](https://togithub.com/sanity-io/sanity/issues/5891)) | [`4ae88a0`](https://togithub.com/sanity-io/sanity/commit/4ae88a028) | | Per-Kristian Nordnes | fix(comments): allow ranges to be collapsed ([#​5892](https://togithub.com/sanity-io/sanity/issues/5892)) | [`eb5cd50`](https://togithub.com/sanity-io/sanity/commit/eb5cd5020) | | Ash | feat(ci): cache release dependencies ([#​5834](https://togithub.com/sanity-io/sanity/issues/5834)) | [`75ac3cf`](https://togithub.com/sanity-io/sanity/commit/75ac3cfb1) | | Rostislav Melkumyan | feat(cli): --quickstart flag for ejecting server schemas ([#​5797](https://togithub.com/sanity-io/sanity/issues/5797)) | [`174a616`](https://togithub.com/sanity-io/sanity/commit/174a61641) | | Pedro Bonamin | feat(core): export useWorkspaceLoader from core ([#​5898](https://togithub.com/sanity-io/sanity/issues/5898)) | [`3670459`](https://togithub.com/sanity-io/sanity/commit/367045963) | | Pedro Bonamin | chore(search): refactor search to export necessary components and providers. ([#​5900](https://togithub.com/sanity-io/sanity/issues/5900)) | [`4159bca`](https://togithub.com/sanity-io/sanity/commit/4159bcabe) | | Espen Hovlandsdal | chore(deps): upgrade archiver, split2 dependencies ([#​5880](https://togithub.com/sanity-io/sanity/issues/5880)) | [`c9a1dd6`](https://togithub.com/sanity-io/sanity/commit/c9a1dd667) | | Espen Hovlandsdal | fix(core): allow `_dataset` for cross-dataset references in templates ([#​5889](https://togithub.com/sanity-io/sanity/issues/5889)) | [`9fc34a2`](https://togithub.com/sanity-io/sanity/commit/9fc34a25e) | ### [`v3.30.1`](https://togithub.com/sanity-io/sanity/releases/tag/v3.30.1) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.30.0...v3.30.1) #### Installation and upgrading **To initiate a new Studio without installing the CLI globally:** npm create sanity@latest **To upgrade a v3 Studio, run this command in its folder:** npm install sanity@latest #### :sparkles: Highlights - Added reference documentation for the `sanity/migrate` APIs. #### Other features - Adds ARIA labels to navbar icons for better accessibility. - Fixes an issue in which the free trial popover was shown twice for new users. ### 🐛 Notable bugfixes - Updates placeholder color for Portable Text Editor. ### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- cngonzalez | test(core): add tests for sort order local storage values ([#​5764](https://togithub.com/sanity-io/sanity/issues/5764)) | [`adb43b0`](https://togithub.com/sanity-io/sanity/commit/adb43b026d) Per-Kristian Nordnes | feat(form/inputs): control PortableTextEditor instance via ref ([#​5793](https://togithub.com/sanity-io/sanity/issues/5793)) | [`f655b5c`](https://togithub.com/sanity-io/sanity/commit/f655b5cec7) Per-Kristian Nordnes | feat(core/inputs): support custom editor change callback ([#​5803](https://togithub.com/sanity-io/sanity/issues/5803)) | [`1a36a74`](https://togithub.com/sanity-io/sanity/commit/1a36a74013) Per-Kristian Nordnes | feat(portable-text-editor): determine if selection is made backward ([#​5807](https://togithub.com/sanity-io/sanity/issues/5807)) | [`db8fd66`](https://togithub.com/sanity-io/sanity/commit/db8fd66190) Per-Kristian Nordnes | feat(portable-text-editor): new API method getFragment ([#​5806](https://togithub.com/sanity-io/sanity/issues/5806)) | [`f210112`](https://togithub.com/sanity-io/sanity/commit/f210112e34) P

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.



This PR has been generated by Mend Renovate. View repository job log here.

vercel[bot] commented 11 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sanity-codegen-dev ❌ Failed (Inspect) Mar 26, 2024 9:50pm
github-actions[bot] commented 11 months ago

Size Change: -337 B (0%)

Total Size: 67.4 kB

Filename Size Change
packages/core/dist/default-structures/geopoint.js 297 B -1 B (0%)
packages/core/dist/default-structures/image.js 699 B -22 B (-3%)
packages/core/dist/default-structures/index.js 312 B -2 B (-1%)
packages/core/dist/generate-query-types.js 1.34 kB -53 B (-4%)
packages/core/dist/generate-schema-types.js 998 B -54 B (-5%)
packages/core/dist/index.standalone.cjs.js 14.4 kB -1 B (0%)
packages/core/dist/pluck-groq-from-files.js 2.75 kB -43 B (-2%)
packages/core/dist/transform-structure-to-ts.js 2.14 kB -59 B (-3%)
packages/core/dist/utils/create-structure.js 1.19 kB -2 B (0%)
packages/core/dist/utils/is-structure.js 563 B -27 B (-5%)
packages/core/dist/utils/narrow-structure.js 2.25 kB -2 B (0%)
packages/core/dist/utils/resolve-expression.js 1.7 kB -50 B (-3%)
packages/core/dist/utils/simple-logger.js 401 B -2 B (0%)
packages/core/dist/utils/transforms.js 960 B -16 B (-2%)
packages/extractor/dist/default-babel-options.js 737 B -3 B (0%)
ℹ️ View Unchanged | Filename | Size | | :--- | :---: | | `packages/client/dist/index.exports.require.cjs.js` | 972 B | | `packages/client/dist/index.main.cjs.js` | 1.05 kB | | `packages/client/dist/index.module.es.js` | 950 B | | `packages/client/dist/index.unpkg.umd.js` | 1.19 kB | | `packages/core/dist/default-generate-type-name.js` | 308 B | | `packages/core/dist/generate-types.js` | 1.32 kB | | `packages/core/dist/index.js` | 546 B | | `packages/core/dist/index.standalone.esm.js` | 14.5 kB | | `packages/core/dist/index.standalone.js` | 297 B | | `packages/core/dist/resolve-expression-error.js` | 149 B | | `packages/core/dist/schema-normalizer.js` | 2.56 kB | | `packages/core/dist/transform-groq-to-structure.js` | 3.17 kB | | `packages/core/dist/transform-schema-to-structure.js` | 1.73 kB | | `packages/core/dist/utils/access-attribute-in-structure.js` | 577 B | | `packages/core/dist/utils/bounded-find.js` | 382 B | | `packages/core/dist/utils/get-next-filename.js` | 371 B | | `packages/core/dist/utils/hash.js` | 706 B | | `packages/core/dist/utils/index.js` | 615 B | | `packages/core/dist/utils/reduce-object-structures.js` | 910 B | | `packages/core/dist/utils/resolve-identifier.js` | 1.57 kB | | `packages/core/dist/utils/wrap-array.js` | 339 B | | `packages/extractor/dist/index.js` | 298 B | | `packages/extractor/dist/schema-executor.js` | 1.19 kB | | `packages/extractor/dist/schema-extractor.js` | 983 B |

compressed-size-action