sanity-io / next-sanity

Sanity.io toolkit for Next.js
https://www.sanity.io/
MIT License
756 stars 91 forks source link

chore(lockfile): Update sanity monorepo to v3.47.1 #1606

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 3 months ago

Mend Renovate

This PR contains the following updates:

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

Release Notes

sanity-io/sanity (groq) ### [`v3.47.1`](https://togithub.com/sanity-io/sanity/releases/tag/v3.47.1) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.47.0...v3.47.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 - Fixes a potential crash in certain javascript environments when trying to access process.env - Errors occuring during a migration now provides more details ##### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- ecospark\[bot] | chore(deps): dedupe pnpm-lock.yaml ([#​6975](https://togithub.com/sanity-io/sanity/issues/6975)) | [`355e1b9`](https://togithub.com/sanity-io/sanity/commit/355e1b9c3e) Binoy Patel | fix(migrate): fixes error message to be more helpful ([#​6986](https://togithub.com/sanity-io/sanity/issues/6986)) | [`df89f88`](https://togithub.com/sanity-io/sanity/commit/df89f88428) Espen Hovlandsdal | fix(cli): correct noop return value on esbuild-register in dev ([#​6990](https://togithub.com/sanity-io/sanity/issues/6990)) | [`51ecce0`](https://togithub.com/sanity-io/sanity/commit/51ecce044a) Espen Hovlandsdal | fix(core): make version check not depend on `process.env` ([#​6991](https://togithub.com/sanity-io/sanity/issues/6991)) | [`7c00b8f`](https://togithub.com/sanity-io/sanity/commit/7c00b8f65e) ### [`v3.47.0`](https://togithub.com/sanity-io/sanity/releases/tag/v3.47.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.46.1...v3.47.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 #### Array insert menu This release includes a much requested upgrade of the array insert menu with various new options available. Including a new and more informative grid view, the ability to organize available schema types in groups, and filter them with a search term, and more. Check out the [array article in the docs](https://www.sanity.io/docs/array-type#75a7de924c9e) for examples. ![array insert menu](https://togithub.com/sanity-io/sanity/assets/6476108/b83c992b-3703-42f8-b87b-c8937230abde) #### Other features Adds a type export of all the discovered Sanity schema variants resulting from running `sanity typegen` in the CLI. This can be useful in mocks/testing environments and used by third party tools to get a list of potential types. This union type is accessible as `AllSanitySchemaTypes` in the generated type definitions. ### 🐛 Notable bugfixes - Fixes an issue where a text preview image would be included into the Portable Text Editor (PTE) when pasting text from Word. - Fixes an issue where navigation options were not being passed as expected when calling a scoped router's navigate function. - Fixes an issue where the PTE wouldn't activate when you start dragging files into it. - Images in the `Hotspot & Crop` tool now render faster, and use far less memory. - Reduces layout shift when uploading images that replace existing image assets. - Fixes an issue that could cause a 409 error when restoring a document from history. - Fixes an issue where image and file types might be listed in their lowercase variant in array insert menus ### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- ecospark\[bot] | chore(deps): dedupe pnpm-lock.yaml ([#​6916](https://togithub.com/sanity-io/sanity/issues/6916)) | [`7f20f24`](https://togithub.com/sanity-io/sanity/commit/7f20f24a21) renovate\[bot] | chore(deps): update dependency [@​sanity/tsdoc](https://togithub.com/sanity/tsdoc) to v1.0.72 ([#​6911](https://togithub.com/sanity-io/sanity/issues/6911)) | [`7d312e4`](https://togithub.com/sanity-io/sanity/commit/7d312e4e9e) Cody Olsen | feat(deps): upgrade react-rx to v3 ([#​6883](https://togithub.com/sanity-io/sanity/issues/6883)) | [`c0fe9f6`](https://togithub.com/sanity-io/sanity/commit/c0fe9f6dfd) renovate\[bot] | fix(deps): Update dev-non-major ([#​6915](https://togithub.com/sanity-io/sanity/issues/6915)) | [`f00ca7e`](https://togithub.com/sanity-io/sanity/commit/f00ca7ecbb) Per-Kristian Nordnes | fix(core): fix issue with pasting mixed content (files and text) for pt-input ([#​6924](https://togithub.com/sanity-io/sanity/issues/6924)) | [`fda9387`](https://togithub.com/sanity-io/sanity/commit/fda9387eef) Rupert Dunk | fix(router): pass options on scoped router navigation ([#​6923](https://togithub.com/sanity-io/sanity/issues/6923)) | [`2fabc2e`](https://togithub.com/sanity-io/sanity/commit/2fabc2eeb6) Fred Carlsen | chore: clean playwright-ct cache on each run ([#​6928](https://togithub.com/sanity-io/sanity/issues/6928)) | [`286aaed`](https://togithub.com/sanity-io/sanity/commit/286aaed5bd) Fred Carlsen | fix(form): activate PTE input when dragging files ([#​6929](https://togithub.com/sanity-io/sanity/issues/6929)) | [`a2be16c`](https://togithub.com/sanity-io/sanity/commit/a2be16c410) Ash | chore: update lockfile ([#​6932](https://togithub.com/sanity-io/sanity/issues/6932)) | [`d935a3a`](https://togithub.com/sanity-io/sanity/commit/d935a3a3e7) Cody Olsen | fix: improve perf of by creating the canvas in a side effect ([#​6874](https://togithub.com/sanity-io/sanity/issues/6874)) | [`5d8031b`](https://togithub.com/sanity-io/sanity/commit/5d8031b38f) Cody Olsen | fix: layout shift when uploading images ([#​6930](https://togithub.com/sanity-io/sanity/issues/6930)) | [`ae142d4`](https://togithub.com/sanity-io/sanity/commit/ae142d4571) renovate\[bot] | fix(deps): Update dev-non-major ([#​6941](https://togithub.com/sanity-io/sanity/issues/6941)) | [`3300904`](https://togithub.com/sanity-io/sanity/commit/3300904872) renovate\[bot] | fix(deps): update dependency [@​sanity/presentation](https://togithub.com/sanity/presentation) to v1.16.0 ([#​6942](https://togithub.com/sanity-io/sanity/issues/6942)) | [`abe562b`](https://togithub.com/sanity-io/sanity/commit/abe562bd2e) renovate\[bot] | fix(deps): update dependency [@​sanity/ui](https://togithub.com/sanity/ui) to ^2.3.6 ([#​6943](https://togithub.com/sanity-io/sanity/issues/6943)) | [`c1869b9`](https://togithub.com/sanity-io/sanity/commit/c1869b928f) renovate\[bot] | chore(lockfile): update dependency [@​sanity/import](https://togithub.com/sanity/import) to v3.37.5 ([#​6940](https://togithub.com/sanity-io/sanity/issues/6940)) | [`6cfe40e`](https://togithub.com/sanity-io/sanity/commit/6cfe40e4f4) Cody Olsen | fix: change `useListFormat` to no longer violate the rule of hooks ([#​6876](https://togithub.com/sanity-io/sanity/issues/6876)) | [`cae047f`](https://togithub.com/sanity-io/sanity/commit/cae047f1c1) Bjørge Næss | fix(sanity): only include create action when restoring a deleted document ([#​6937](https://togithub.com/sanity-io/sanity/issues/6937)) | [`2736835`](https://togithub.com/sanity-io/sanity/commit/273683562e) Cody Olsen | refactor: change memoization of margins to support the rule of hooks ([#​6875](https://togithub.com/sanity-io/sanity/issues/6875)) | [`fbf90ec`](https://togithub.com/sanity-io/sanity/commit/fbf90ec871) Espen Hovlandsdal | fix(schema): use base type for title if no subtype title or name is given ([#​6947](https://togithub.com/sanity-io/sanity/issues/6947)) | [`bbe7ac0`](https://togithub.com/sanity-io/sanity/commit/bbe7ac0ec0) Binoy Patel | fix(cli): account for base path in the importmap ([#​6919](https://togithub.com/sanity-io/sanity/issues/6919)) | [`8f28054`](https://togithub.com/sanity-io/sanity/commit/8f280547b5) renovate\[bot] | chore(lockfile): update dependency [@​sanity/bifur-client](https://togithub.com/sanity/bifur-client) to v0.4.1 ([#​6939](https://togithub.com/sanity-io/sanity/issues/6939)) | [`e161e0b`](https://togithub.com/sanity-io/sanity/commit/e161e0b17d) Nina Andal Aarvik | fix(vision): center loading spinner ([#​6900](https://togithub.com/sanity-io/sanity/issues/6900)) | [`5943d4f`](https://togithub.com/sanity-io/sanity/commit/5943d4f0aa) Christian Grøngaard | chore: allow clean:deps to remove test studio node_modules ([#​6951](https://togithub.com/sanity-io/sanity/issues/6951)) | [`339128d`](https://togithub.com/sanity-io/sanity/commit/339128dc7f) Christian Grøngaard | feat(core): new insert menu for arrays with filtering, type preview support ([#​6853](https://togithub.com/sanity-io/sanity/issues/6853)) | [`203f135`](https://togithub.com/sanity-io/sanity/commit/203f1358f0) ecospark\[bot] | chore(deps): dedupe pnpm-lock.yaml ([#​6957](https://togithub.com/sanity-io/sanity/issues/6957)) | [`4b89dd5`](https://togithub.com/sanity-io/sanity/commit/4b89dd555e) renovate\[bot] | fix(deps): Update dev-non-major ([#​6958](https://togithub.com/sanity-io/sanity/issues/6958)) | [`d89acea`](https://togithub.com/sanity-io/sanity/commit/d89acea8e4) renovate\[bot] | fix(deps): update dependency [@​sanity/ui](https://togithub.com/sanity/ui) to ^2.4.0 ([#​6959](https://togithub.com/sanity-io/sanity/issues/6959)) | [`5a38691`](https://togithub.com/sanity-io/sanity/commit/5a38691682) Sindre Gulseth | feat(typegen): add all schema types exported union | [`5d97a0e`](https://togithub.com/sanity-io/sanity/commit/5d97a0e408) Sindre Gulseth | Revert "feat(typegen): add all schema types exported union" | [`e65adee`](https://togithub.com/sanity-io/sanity/commit/e65adee7d8) RitaDias | test(e2e): update e2e flaky tests ([#​6927](https://togithub.com/sanity-io/sanity/issues/6927)) | [`6b20e5f`](https://togithub.com/sanity-io/sanity/commit/6b20e5faa4) Sindre Gulseth | feat(typegen): add all schema types exported union ([#​6962](https://togithub.com/sanity-io/sanity/issues/6962)) | [`fa459a4`](https://togithub.com/sanity-io/sanity/commit/fa459a428c) Ash | test(e2e): ensure custom publish action can patch document before publication | [`17d0bbf`](https://togithub.com/sanity-io/sanity/commit/17d0bbf7bb) Ash | fix(sanity): remove `ifDraftRevisionId` optimistic lock usage when publishing documents | [`3064705`](https://togithub.com/sanity-io/sanity/commit/306470520c) Christian Grøngaard | fix(core): make array insert menu full width if grid view is configured ([#​6969](https://togithub.com/sanity-io/sanity/issues/6969)) | [`47d204c`](https://togithub.com/sanity-io/sanity/commit/47d204c27d) Christian Grøngaard | deps(core): update [@​sanity/insert-menu](https://togithub.com/sanity/insert-menu) ([#​6971](https://togithub.com/sanity-io/sanity/issues/6971)) | [`de01b7c`](https://togithub.com/sanity-io/sanity/commit/de01b7c956) Bjørge Næss | fix(structure): don't replace url when navigating back to list after document deletion ([#​6953](https://togithub.com/sanity-io/sanity/issues/6953)) | [`f662ae2`](https://togithub.com/sanity-io/sanity/commit/f662ae2525) Bjørge Næss | refactor(core): change revision history label from 'Version' to the more accurate 'Revision' ([#​6956](https://togithub.com/sanity-io/sanity/issues/6956)) | [`b90820c`](https://togithub.com/sanity-io/sanity/commit/b90820c303) Espen Hovlandsdal | feat(core): implement basic error reporting ([#​6914](https://togithub.com/sanity-io/sanity/issues/6914)) | [`02dab2a`](https://togithub.com/sanity-io/sanity/commit/02dab2a876) Binoy Patel | fix(ci): importmap path on windows ([#​6948](https://togithub.com/sanity-io/sanity/issues/6948)) | [`6bbf609`](https://togithub.com/sanity-io/sanity/commit/6bbf609f67) Carolina Gonzalez | feat: notify AUS studio users of new studio versions ([#​6893](https://togithub.com/sanity-io/sanity/issues/6893)) | [`e9b16c8`](https://togithub.com/sanity-io/sanity/commit/e9b16c89f1) ### [`v3.46.1`](https://togithub.com/sanity-io/sanity/releases/tag/v3.46.1) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.46.0...v3.46.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 - Fixes a bug causing Structure Tool to crash when attempting to read the `scrollTop` of a nonexistent element. ### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Ash | fix(sanity): ignore sticky overlay regions with a falsey DOM node ([#​6910](https://togithub.com/sanity-io/sanity/issues/6910)) | [`4f1be6c`](https://togithub.com/sanity-io/sanity/commit/4f1be6cc1a) ### [`v3.46.0`](https://togithub.com/sanity-io/sanity/releases/tag/v3.46.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.45.0...v3.46.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 where projects with a large amount of users would sometimes get a request error when loading user info. - Form input components now have their own error boundaries, limiting crashes to a field level on a document form, instead of taking down the entire Structure Tool. - Fixes React 19 causing the Portable Text Editor (PTE) to crash in some scenarios. - Fixes an issue where searching for text within fields of type `text` (not `string`) would not yield results. - Fixes an issue when dragging PTE blocks. - Fixes a visual regression in PTE fullscreen mode where the *Drop to upload files* message would be positioned incorrectly. - Fixes a regression where pasting from Word would insert an image version of the text being pasted instead of the actual text. ### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Christian Grøngaard | chore(core): abstract `getSchemaTypeIcon` ([#​6844](https://togithub.com/sanity-io/sanity/issues/6844)) | [`6693c54`](https://togithub.com/sanity-io/sanity/commit/6693c54d27) Rostislav Melkumyan | feat: add integration when creating a new project through cli ([#​6639](https://togithub.com/sanity-io/sanity/issues/6639)) | [`ac214b8`](https://togithub.com/sanity-io/sanity/commit/ac214b8e2e) jordanl17 | fix(structure): fixing issue with shift mutli select of documents ([#​6857](https://togithub.com/sanity-io/sanity/issues/6857)) | [`15861f4`](https://togithub.com/sanity-io/sanity/commit/15861f4fbc) Espen Hovlandsdal | fix(core): chunk user loading into batches of max 400 items ([#​6858](https://togithub.com/sanity-io/sanity/issues/6858)) | [`4531750`](https://togithub.com/sanity-io/sanity/commit/4531750501) ecospark\[bot] | chore(deps): dedupe pnpm-lock.yaml ([#​6849](https://togithub.com/sanity-io/sanity/issues/6849)) | [`73861ef`](https://togithub.com/sanity-io/sanity/commit/73861efa47) renovate\[bot] | chore(deps): update dependency [@​sanity/pkg-utils](https://togithub.com/sanity/pkg-utils) to v6.9.0 ([#​6850](https://togithub.com/sanity-io/sanity/issues/6850)) | [`4b6d33f`](https://togithub.com/sanity-io/sanity/commit/4b6d33f8a8) renovate\[bot] | chore(lockfile): update dependency [@​sanity/bifur-client](https://togithub.com/sanity/bifur-client) to v0.4.1 ([#​6860](https://togithub.com/sanity-io/sanity/issues/6860)) | [`c1c2ab2`](https://togithub.com/sanity-io/sanity/commit/c1c2ab2539) renovate\[bot] | fix(deps): Update babel monorepo ([#​6861](https://togithub.com/sanity-io/sanity/issues/6861)) | [`4fa813d`](https://togithub.com/sanity-io/sanity/commit/4fa813d74d) renovate\[bot] | chore(lockfile): update dependency [@​sanity/icons](https://togithub.com/sanity/icons) to v3.2.0 ([#​6864](https://togithub.com/sanity-io/sanity/issues/6864)) | [`513601c`](https://togithub.com/sanity-io/sanity/commit/513601c1a2) renovate\[bot] | fix(deps): update dependency [@​sanity/ui](https://togithub.com/sanity/ui) to ^2.3.1 ([#​6851](https://togithub.com/sanity-io/sanity/issues/6851)) | [`74d4e67`](https://togithub.com/sanity-io/sanity/commit/74d4e67f0e) renovate\[bot] | chore(deps): update dependency [@​sanity/icons](https://togithub.com/sanity/icons) to ^3.2.0 ([#​6863](https://togithub.com/sanity-io/sanity/issues/6863)) | [`c03c346`](https://togithub.com/sanity-io/sanity/commit/c03c3460d4) renovate\[bot] | fix(deps): Update dev-non-major ([#​6862](https://togithub.com/sanity-io/sanity/issues/6862)) | [`74f8080`](https://togithub.com/sanity-io/sanity/commit/74f80803f6) Carolina Gonzalez | feat: add hasSanityPackageInImportMap ([#​6832](https://togithub.com/sanity-io/sanity/issues/6832)) | [`8ea7d8f`](https://togithub.com/sanity-io/sanity/commit/8ea7d8fe9a) Cody Olsen | feat: add error boundary for form input components ([#​6869](https://togithub.com/sanity-io/sanity/issues/6869)) | [`23c42ae`](https://togithub.com/sanity-io/sanity/commit/23c42ae523) Cody Olsen | fix: portable text editor crash on React 19 ([#​6870](https://togithub.com/sanity-io/sanity/issues/6870)) | [`293e7d1`](https://togithub.com/sanity-io/sanity/commit/293e7d11da) Cody Olsen | refactor: replace `useForwardedRef` with `useImperativeHandle` ([#​6830](https://togithub.com/sanity-io/sanity/issues/6830)) | [`23bac62`](https://togithub.com/sanity-io/sanity/commit/23bac629d9) renovate\[bot] | fix(deps): update dependency get-it to ^8.6.0 ([#​6884](https://togithub.com/sanity-io/sanity/issues/6884)) | [`9f5e29f`](https://togithub.com/sanity-io/sanity/commit/9f5e29face) ecospark\[bot] | chore(deps): dedupe pnpm-lock.yaml ([#​6892](https://togithub.com/sanity-io/sanity/issues/6892)) | [`5c01ef6`](https://togithub.com/sanity-io/sanity/commit/5c01ef6855) Cody Olsen | refactor: lift `useCallback` out of `useAsync` so it can be compiled ([#​6873](https://togithub.com/sanity-io/sanity/issues/6873)) | [`08f79a4`](https://togithub.com/sanity-io/sanity/commit/08f79a40bd) Espen Hovlandsdal | fix(search): include `text` type fields in search queries ([#​6895](https://togithub.com/sanity-io/sanity/issues/6895)) | [`5e505ac`](https://togithub.com/sanity-io/sanity/commit/5e505ace02) RitaDias | test(e2e): update timeouts for opening popovers ([#​6871](https://togithub.com/sanity-io/sanity/issues/6871)) | [`1befff1`](https://togithub.com/sanity-io/sanity/commit/1befff10f1) Pedro Bonamin | fix(scheduled-publishing): export EditScheduleForm from core ([#​6872](https://togithub.com/sanity-io/sanity/issues/6872)) | [`43711d7`](https://togithub.com/sanity-io/sanity/commit/43711d78a2) Rico Kahler | feat: add CLI options to enable auto-updating studios ([#​6514](https://togithub.com/sanity-io/sanity/issues/6514)) | [`5077c8b`](https://togithub.com/sanity-io/sanity/commit/5077c8b336) Binoy Patel | feat(cli): show prompt if local version doesn't match remote ([#​6707](https://togithub.com/sanity-io/sanity/issues/6707)) | [`50f1e54`](https://togithub.com/sanity-io/sanity/commit/50f1e543e4) Binoy Patel | fix(cli): allow using auto-updates in unattended mode ([#​6897](https://togithub.com/sanity-io/sanity/issues/6897)) | [`61f1f8c`](https://togithub.com/sanity-io/sanity/commit/61f1f8cad8) ecospark\[bot] | chore(deps): dedupe pnpm-lock.yaml ([#​6899](https://togithub.com/sanity-io/sanity/issues/6899)) | [`07454a1`](https://togithub.com/sanity-io/sanity/commit/07454a175a) Christian Grøngaard | fix(form): avoid spreading key prop ([#​6887](https://togithub.com/sanity-io/sanity/issues/6887)) | [`51eb56a`](https://togithub.com/sanity-io/sanity/commit/51eb56a3cb) renovate\[bot] | fix(deps): update dependency [@​sanity/client](https://togithub.com/sanity/client) to ^6.20.0 ([#​6886](https://togithub.com/sanity-io/sanity/issues/6886)) | [`124dc22`](https://togithub.com/sanity-io/sanity/commit/124dc2238e) Fred Carlsen | fix(core): fix dragging existing blocks in pte ([#​6867](https://togithub.com/sanity-io/sanity/issues/6867)) | [`0d92883`](https://togithub.com/sanity-io/sanity/commit/0d9288362e) renovate\[bot] | chore(deps): update dependency [@​sanity/pkg-utils](https://togithub.com/sanity/pkg-utils) to v6.9.3 ([#​6903](https://togithub.com/sanity-io/sanity/issues/6903)) | [`7f18d45`](https://togithub.com/sanity-io/sanity/commit/7f18d45172) renovate\[bot] | chore(deps): update dependency turbo to ^1.13.4 ([#​6905](https://togithub.com/sanity-io/sanity/issues/6905)) | [`576dd3f`](https://togithub.com/sanity-io/sanity/commit/576dd3faae) renovate\[bot] | chore(deps): update dependency [@​vitejs/plugin-react](https://togithub.com/vitejs/plugin-react) to ^4.3.1 ([#​6904](https://togithub.com/sanity-io/sanity/issues/6904)) | [`24255b4`](https://togithub.com/sanity-io/sanity/commit/24255b448d) Cody Olsen | fix: regression causing ESM build errors ([#​6909](https://togithub.com/sanity-io/sanity/issues/6909)) | [`0b92a8e`](https://togithub.com/sanity-io/sanity/commit/0b92a8e413) renovate\[bot] | chore(deps): update dependency esbuild to ^0.21.5 ([#​6908](https://togithub.com/sanity-io/sanity/issues/6908)) | [`69496d1`](https://togithub.com/sanity-io/sanity/commit/69496d10ca)
sanity-io/sanity (sanity) ### [`v3.47.1`](https://togithub.com/sanity-io/sanity/compare/v3.47.0...d7dc231c5d8baba5f122c2e54f70d231f1f4ce1f) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.47.0...v3.47.1) ### [`v3.47.0`](https://togithub.com/sanity-io/sanity/releases/tag/v3.47.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.46.1...v3.47.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 #### Array insert menu This release includes a much requested upgrade of the array insert menu with various new options available. Including a new and more informative grid view, the ability to organize available schema types in groups, and filter them with a search term, and more. Check out the [array article in the docs](https://www.sanity.io/docs/array-type#75a7de924c9e) for examples. ![array insert menu](https://togithub.com/sanity-io/sanity/assets/6476108/b83c992b-3703-42f8-b87b-c8937230abde) #### Other features Adds a type export of all the discovered Sanity schema variants resulting from running `sanity typegen` in the CLI. This can be useful in mocks/testing environments and used by third party tools to get a list of potential types. This union type is accessible as `AllSanitySchemaTypes` in the generated type definitions. ### 🐛 Notable bugfixes - Fixes an issue where a text preview image would be included into the Portable Text Editor (PTE) when pasting text from Word. - Fixes an issue where navigation options were not being passed as expected when calling a scoped router's navigate function. - Fixes an issue where the PTE wouldn't activate when you start dragging files into it. - Images in the `Hotspot & Crop` tool now render faster, and use far less memory. - Reduces layout shift when uploading images that replace existing image assets. - Fixes an issue that could cause a 409 error when restoring a document from history. - Fixes an issue where image and file types might be listed in their lowercase variant in array insert menus ### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- ecospark\[bot] | chore(deps): dedupe pnpm-lock.yaml ([#​6916](https://togithub.com/sanity-io/sanity/issues/6916)) | [`7f20f24`](https://togithub.com/sanity-io/sanity/commit/7f20f24a21) renovate\[bot] | chore(deps): update dependency [@​sanity/tsdoc](https://togithub.com/sanity/tsdoc) to v1.0.72 ([#​6911](https://togithub.com/sanity-io/sanity/issues/6911)) | [`7d312e4`](https://togithub.com/sanity-io/sanity/commit/7d312e4e9e) Cody Olsen | feat(deps): upgrade react-rx to v3 ([#​6883](https://togithub.com/sanity-io/sanity/issues/6883)) | [`c0fe9f6`](https://togithub.com/sanity-io/sanity/commit/c0fe9f6dfd) renovate\[bot] | fix(deps): Update dev-non-major ([#​6915](https://togithub.com/sanity-io/sanity/issues/6915)) | [`f00ca7e`](https://togithub.com/sanity-io/sanity/commit/f00ca7ecbb) Per-Kristian Nordnes | fix(core): fix issue with pasting mixed content (files and text) for pt-input ([#​6924](https://togithub.com/sanity-io/sanity/issues/6924)) | [`fda9387`](https://togithub.com/sanity-io/sanity/commit/fda9387eef) Rupert Dunk | fix(router): pass options on scoped router navigation ([#​6923](https://togithub.com/sanity-io/sanity/issues/6923)) | [`2fabc2e`](https://togithub.com/sanity-io/sanity/commit/2fabc2eeb6) Fred Carlsen | chore: clean playwright-ct cache on each run ([#​6928](https://togithub.com/sanity-io/sanity/issues/6928)) | [`286aaed`](https://togithub.com/sanity-io/sanity/commit/286aaed5bd) Fred Carlsen | fix(form): activate PTE input when dragging files ([#​6929](https://togithub.com/sanity-io/sanity/issues/6929)) | [`a2be16c`](https://togithub.com/sanity-io/sanity/commit/a2be16c410) Ash | chore: update lockfile ([#​6932](https://togithub.com/sanity-io/sanity/issues/6932)) | [`d935a3a`](https://togithub.com/sanity-io/sanity/commit/d935a3a3e7) Cody Olsen | fix: improve perf of by creating the canvas in a side effect ([#​6874](https://togithub.com/sanity-io/sanity/issues/6874)) | [`5d8031b`](https://togithub.com/sanity-io/sanity/commit/5d8031b38f) Cody Olsen | fix: layout shift when uploading images ([#​6930](https://togithub.com/sanity-io/sanity/issues/6930)) | [`ae142d4`](https://togithub.com/sanity-io/sanity/commit/ae142d4571) renovate\[bot] | fix(deps): Update dev-non-major ([#​6941](https://togithub.com/sanity-io/sanity/issues/6941)) | [`3300904`](https://togithub.com/sanity-io/sanity/commit/3300904872) renovate\[bot] | fix(deps): update dependency [@​sanity/presentation](https://togithub.com/sanity/presentation) to v1.16.0 ([#​6942](https://togithub.com/sanity-io/sanity/issues/6942)) | [`abe562b`](https://togithub.com/sanity-io/sanity/commit/abe562bd2e) renovate\[bot] | fix(deps): update dependency [@​sanity/ui](https://togithub.com/sanity/ui) to ^2.3.6 ([#​6943](https://togithub.com/sanity-io/sanity/issues/6943)) | [`c1869b9`](https://togithub.com/sanity-io/sanity/commit/c1869b928f) renovate\[bot] | chore(lockfile): update dependency [@​sanity/import](https://togithub.com/sanity/import) to v3.37.5 ([#​6940](https://togithub.com/sanity-io/sanity/issues/6940)) | [`6cfe40e`](https://togithub.com/sanity-io/sanity/commit/6cfe40e4f4) Cody Olsen | fix: change `useListFormat` to no longer violate the rule of hooks ([#​6876](https://togithub.com/sanity-io/sanity/issues/6876)) | [`cae047f`](https://togithub.com/sanity-io/sanity/commit/cae047f1c1) Bjørge Næss | fix(sanity): only include create action when restoring a deleted document ([#​6937](https://togithub.com/sanity-io/sanity/issues/6937)) | [`2736835`](https://togithub.com/sanity-io/sanity/commit/273683562e) Cody Olsen | refactor: change memoization of margins to support the rule of hooks ([#​6875](https://togithub.com/sanity-io/sanity/issues/6875)) | [`fbf90ec`](https://togithub.com/sanity-io/sanity/commit/fbf90ec871) Espen Hovlandsdal | fix(schema): use base type for title if no subtype title or name is given ([#​6947](https://togithub.com/sanity-io/sanity/issues/6947)) | [`bbe7ac0`](https://togithub.com/sanity-io/sanity/commit/bbe7ac0ec0) Binoy Patel | fix(cli): account for base path in the importmap ([#​6919](https://togithub.com/sanity-io/sanity/issues/6919)) | [`8f28054`](https://togithub.com/sanity-io/sanity/commit/8f280547b5) renovate\[bot] | chore(lockfile): update dependency [@​sanity/bifur-client](https://togithub.com/sanity/bifur-client) to v0.4.1 ([#​6939](https://togithub.com/sanity-io/sanity/issues/6939)) | [`e161e0b`](https://togithub.com/sanity-io/sanity/commit/e161e0b17d) Nina Andal Aarvik | fix(vision): center loading spinner ([#​6900](https://togithub.com/sanity-io/sanity/issues/6900)) | [`5943d4f`](https://togithub.com/sanity-io/sanity/commit/5943d4f0aa) Christian Grøngaard | chore: allow clean:deps to remove test studio node_modules ([#​6951](https://togithub.com/sanity-io/sanity/issues/6951)) | [`339128d`](https://togithub.com/sanity-io/sanity/commit/339128dc7f) Christian Grøngaard | feat(core): new insert menu for arrays with filtering, type preview support ([#​6853](https://togithub.com/sanity-io/sanity/issues/6853)) | [`203f135`](https://togithub.com/sanity-io/sanity/commit/203f1358f0) ecospark\[bot] | chore(deps): dedupe pnpm-lock.yaml ([#​6957](https://togithub.com/sanity-io/sanity/issues/6957)) | [`4b89dd5`](https://togithub.com/sanity-io/sanity/commit/4b89dd555e) renovate\[bot] | fix(deps): Update dev-non-major ([#​6958](https://togithub.com/sanity-io/sanity/issues/6958)) | [`d89acea`](https://togithub.com/sanity-io/sanity/commit/d89acea8e4) renovate\[bot] | fix(deps): update dependency [@​sanity/ui](https://togithub.com/sanity/ui) to ^2.4.0 ([#​6959](https://togithub.com/sanity-io/sanity/issues/6959)) | [`5a38691`](https://togithub.com/sanity-io/sanity/commit/5a38691682) Sindre Gulseth | feat(typegen): add all schema types exported union | [`5d97a0e`](https://togithub.com/sanity-io/sanity/commit/5d97a0e408) Sindre Gulseth | Revert "feat(typegen): add all schema types exported union" | [`e65adee`](https://togithub.com/sanity-io/sanity/commit/e65adee7d8) RitaDias | test(e2e): update e2e flaky tests ([#​6927](https://togithub.com/sanity-io/sanity/issues/6927)) | [`6b20e5f`](https://togithub.com/sanity-io/sanity/commit/6b20e5faa4) Sindre Gulseth | feat(typegen): add all schema types exported union ([#​6962](https://togithub.com/sanity-io/sanity/issues/6962)) | [`fa459a4`](https://togithub.com/sanity-io/sanity/commit/fa459a428c) Ash | test(e2e): ensure custom publish action can patch document before publication | [`17d0bbf`](https://togithub.com/sanity-io/sanity/commit/17d0bbf7bb) Ash | fix(sanity): remove `ifDraftRevisionId` optimistic lock usage when publishing documents | [`3064705`](https://togithub.com/sanity-io/sanity/commit/306470520c) Christian Grøngaard | fix(core): make array insert menu full width if grid view is configured ([#​6969](https://togithub.com/sanity-io/sanity/issues/6969)) | [`47d204c`](https://togithub.com/sanity-io/sanity/commit/47d204c27d) Christian Grøngaard | deps(core): update [@​sanity/insert-menu](https://togithub.com/sanity/insert-menu) ([#​6971](https://togithub.com/sanity-io/sanity/issues/6971)) | [`de01b7c`](https://togithub.com/sanity-io/sanity/commit/de01b7c956) Bjørge Næss | fix(structure): don't replace url when navigating back to list after document deletion ([#​6953](https://togithub.com/sanity-io/sanity/issues/6953)) | [`f662ae2`](https://togithub.com/sanity-io/sanity/commit/f662ae2525) Bjørge Næss | refactor(core): change revision history label from 'Version' to the more accurate 'Revision' ([#​6956](https://togithub.com/sanity-io/sanity/issues/6956)) | [`b90820c`](https://togithub.com/sanity-io/sanity/commit/b90820c303) Espen Hovlandsdal | feat(core): implement basic error reporting ([#​6914](https://togithub.com/sanity-io/sanity/issues/6914)) | [`02dab2a`](https://togithub.com/sanity-io/sanity/commit/02dab2a876) Binoy Patel | fix(ci): importmap path on windows ([#​6948](https://togithub.com/sanity-io/sanity/issues/6948)) | [`6bbf609`](https://togithub.com/sanity-io/sanity/commit/6bbf609f67) Carolina Gonzalez | feat: notify AUS studio users of new studio versions ([#​6893](https://togithub.com/sanity-io/sanity/issues/6893)) | [`e9b16c8`](https://togithub.com/sanity-io/sanity/commit/e9b16c89f1) ### [`v3.46.1`](https://togithub.com/sanity-io/sanity/releases/tag/v3.46.1) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.46.0...v3.46.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 - Fixes a bug causing Structure Tool to crash when attempting to read the `scrollTop` of a nonexistent element. ### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Ash | fix(sanity): ignore sticky overlay regions with a falsey DOM node ([#​6910](https://togithub.com/sanity-io/sanity/issues/6910)) | [`4f1be6c`](https://togithub.com/sanity-io/sanity/commit/4f1be6cc1a) ### [`v3.46.0`](https://togithub.com/sanity-io/sanity/releases/tag/v3.46.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.45.0...v3.46.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 where projects with a large amount of users would sometimes get a request error when loading user info. - Form input components now have their own error boundaries, limiting crashes to a field level on a document form, instead of taking down the entire Structure Tool. - Fixes React 19 causing the Portable Text Editor (PTE) to crash in some scenarios. - Fixes an issue where searching for text within fields of type `text` (not `string`) would not yield results. - Fixes an issue when dragging PTE blocks. - Fixes a visual regression in PTE fullscreen mode where the *Drop to upload files* message would be positioned incorrectly. - Fixes a regression where pasting from Word would insert an image version of the text being pasted instead of the actual text. ### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Christian Grøngaard | chore(core): abstract `getSchemaTypeIcon` ([#​6844](https://togithub.com/sanity-io/sanity/issues/6844)) | [`6693c54`](https://togithub.com/sanity-io/sanity/commit/6693c54d27) Rostislav Melkumyan | feat: add integration when creating a new project through cli ([#​6639](https://togithub.com/sanity-io/sanity/issues/6639)) | [`ac214b8`](https://togithub.com/sanity-io/sanity/commit/ac214b8e2e) jordanl17 | fix(structure): fixing issue with shift mutli select of documents ([#​6857](https://togithub.com/sanity-io/sanity/issues/6857)) | [`15861f4`](https://togithub.com/sanity-io/sanity/commit/15861f4fbc) Espen Hovlandsdal | fix(core): chunk user loading into batches of max 400 items ([#​6858](https://togithub.com/sanity-io/sanity/issues/6858)) | [`4531750`](https://togithub.com/sanity-io/sanity/commit/4531750501) ecospark\[bot] | chore(deps): dedupe pnpm-lock.yaml ([#​6849](https://togithub.com/sanity-io/sanity/issues/6849)) | [`73861ef`](https://togithub.com/sanity-io/sanity/commit/73861efa47) renovate\[bot] | chore(deps): update dependency [@​sanity/pkg-utils](https://togithub.com/sanity/pkg-utils) to v6.9.0 ([#​6850](https://togithub.com/sanity-io/sanity/issues/6850)) | [`4b6d33f`](https://togithub.com/sanity-io/sanity/commit/4b6d33f8a8) renovate\[bot] | chore(lockfile): update dependency [@​sanity/bifur-client](https://togithub.com/sanity/bifur-client) to v0.4.1 ([#​6860](https://togithub.com/sanity-io/sanity/issues/6860)) | [`c1c2ab2`](https://togithub.com/sanity-io/sanity/commit/c1c2ab2539) renovate\[bot] | fix(deps): Update babel monorepo ([#​6861](https://togithub.com/sanity-io/sanity/issues/6861)) | [`4fa813d`](https://togithub.com/sanity-io/sanity/commit/4fa813d74d) renovate\[bot] | chore(lockfile): update dependency [@​sanity/icons](https://togithub.com/sanity/icons) to v3.2.0 ([#​6864](https://togithub.com/sanity-io/sanity/issues/6864)) | [`513601c`](https://togithub.com/sanity-io/sanity/commit/513601c1a2) renovate\[bot] | fix(deps): update dependency [@​sanity/ui](https://togithub.com/sanity/ui) to ^2.3.1 ([#​6851](https://togithub.com/sanity-io/sanity/issues/6851)) | [`74d4e67`](https://togithub.com/sanity-io/sanity/commit/74d4e67f0e) renovate\[bot] | chore(deps): update dependency [@​sanity/icons](https://togithub.com/sanity/icons) to ^3.2.0 ([#​6863](https://togithub.com/sanity-io/sanity/issues/6863)) | [`c03c346`](https://togithub.com/sanity-io/sanity/commit/c03c3460d4) renovate\[bot] | fix(deps): Update dev-non-major ([#​6862](https://togithub.com/sanity-io/sanity/issues/6862)) | [`74f8080`](https://togithub.com/sanity-io/sanity/commit/74f80803f6) Carolina Gonzalez | feat: add hasSanityPackageInImportMap ([#​6832](https://togithub.com/sanity-io/sanity/issues/6832)) | [`8ea7d8f`](https://togithub.com/sanity-io/sanity/commit/8ea7d8fe9a) Cody Olsen | feat: add error boundary for form input components ([#​6869](https://togithub.com/sanity-io/sanity/issues/6869)) | [`23c42ae`](https://togithub.com/sanity-io/sanity/commit/23c42ae523) Cody Olsen | fix: portable text editor crash on React 19 ([#​6870](https://togithub.com/sanity-io/sanity/issues/6870)) | [`293e7d1`](https://togithub.com/sanity-io/sanity/commit/293e7d11da) Cody Olsen | refactor: replace `useForwardedRef` with `useImperativeHandle` ([#​6830](https://togithub.com/sanity-io/sanity/issues/6830)) | [`23bac62`](https://togithub.com/sanity-io/sanity/commit/23bac629d9) renovate\[bot] | fix(deps): update dependency get-it to ^8.6.0 ([#​6884](https://togithub.com/sanity-io/sanity/issues/6884)) | [`9f5e29f`](https://togithub.com/sanity-io/sanity/commit/9f5e29face) ecospark\[bot] | chore(deps): dedupe pnpm-lock.yaml ([#​6892](https://togithub.com/sanity-io/sanity/issues/6892)) | [`5c01ef6`](https://togithub.com/sanity-io/sanity/commit/5c01ef6855) Cody Olsen | refactor: lift `useCallback` out of `useAsync` so it can be compiled ([#​6873](https://togithub.com/sanity-io/sanity/issues/6873)) | [`08f79a4`](https://togithub.com/sanity-io/sanity/commit/08f79a40bd) Espen Hovlandsdal | fix(search): include `text` type fields in search queries ([#​6895](https://togithub.com/sanity-io/sanity/issues/6895)) | [`5e505ac`](https://togithub.com/sanity-io/sanity/commit/5e505ace02) RitaDias | test(e2e): update timeouts for opening popovers ([#​6871](https://togithub.com/sanity-io/sanity/issues/6871)) | [`1befff1`](https://togithub.com/sanity-io/sanity/commit/1befff10f1) Pedro Bonamin | fix(scheduled-publishing): export EditScheduleForm from core ([#​6872](https://togithub.com/sanity-io/sanity/issues/6872)) | [`43711d7`](https://togithub.com/sanity-io/sanity/commit/43711d78a2) Rico Kahler | feat: add CLI options to enable auto-updating studios ([#​6514](https://togithub.com/sanity-io/sanity/issues/6514)) | [`5077c8b`](https://togithub.com/sanity-io/sanity/commit/5077c8b336) Binoy Patel | feat(cli): show prompt if local version doesn't match remote ([#​6707](https://togithub.com/sanity-io/sanity/issues/6707)) | [`50f1e54`](https://togithub.com/sanity-io/sanity/commit/50f1e543e4) Binoy Patel | fix(cli): allow using auto-updates in unattended mode ([#​6897](https://togithub.com/sanity-io/sanity/issues/6897)) | [`61f1f8c`](https://togithub.com/sanity-io/sanity/commit/61f1f8cad8) ecospark\[bot] | chore(deps): dedupe pnpm-lock.yaml ([#​6899](https://togithub.com/sanity-io/sanity/issues/6899)) | [`07454a1`](https://togithub.com/sanity-io/sanity/commit/07454a175a) Christian Grøngaard | fix(form): avoid spreading key prop ([#​6887](https://togithub.com/sanity-io/sanity/issues/6887)) | [`51eb56a`](https://togithub.com/sanity-io/sanity/commit/51eb56a3cb) renovate\[bot] | fix(deps): update dependency [@​sanity/client](https://togithub.com/sanity/client) to ^6.20.0 ([#​6886](https://togithub.com/sanity-io/sanity/issues/6886)) | [`124dc22`](https://togithub.com/sanity-io/sanity/commit/124dc2238e) Fred Carlsen | fix(core): fix dragging existing blocks in pte ([#​6867](https://togithub.com/sanity-io/sanity/issues/6867)) | [`0d92883`](https://togithub.com/sanity-io/sanity/commit/0d9288362e) renovate\[bot] | chore(deps): update dependency [@​sanity/pkg-utils](https://togithub.com/sanity/pkg-utils) to v6.9.3 ([#​6903](https://togithub.com/sanity-io/sanity/issues/6903)) | [`7f18d45`](https://togithub.com/sanity-io/sanity/commit/7f18d45172) renovate\[bot] | chore(deps): update dependency turbo to ^1.13.4 ([#​6905](https://togithub.com/sanity-io/sanity/issues/6905)) | [`576dd3f`](https://togithub.com/sanity-io/sanity/commit/576dd3faae) renovate\[bot] | chore(deps): update dependency [@​vitejs/plugin-react](https://togithub.com/vitejs/plugin-react) to ^4.3.1 ([#​6904](https://togithub.com/sanity-io/sanity/issues/6904)) | [`24255b4`](https://togithub.com/sanity-io/sanity/commit/24255b448d) Cody Olsen | fix: regression causing ESM build errors ([#​6909](https://togithub.com/sanity-io/sanity/issues/6909)) | [`0b92a8e`](https://togithub.com/sanity-io/sanity/commit/0b92a8e413) renovate\[bot] | chore(deps): update dependency esbuild to ^0.21.5 ([#​6908](https://togithub.com/sanity-io/sanity/issues/6908)) | [`69496d1`](https://togithub.com/sanity-io/sanity/commit/69496d10ca)

Configuration

📅 Schedule: Branch creation - "before 3am on Monday" (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 these updates again.



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

vercel[bot] commented 3 months ago

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

Name Status Preview Comments Updated (UTC)
next-sanity-static ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 19, 2024 4:35pm
socket-security[bot] commented 3 months ago

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

Package New capabilities Transitives Size Publisher
npm/groq@3.47.1 None 0 0 B
npm/sanity@3.47.1 None 0 0 B

🚮 Removed packages: npm/groq@3.45.0, npm/sanity@3.45.0

View full report↗︎

renovate[bot] commented 3 months ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (^3.37.1). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.