Closed renovate[bot] closed 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
sanity-codegen-dev | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 29, 2023 3:54am |
Size Change: 0 B
Total Size: 67.1 kB
This PR contains the following updates:
3.2.4
->3.11.3
3.2.4
->3.11.3
Release Notes
sanity-io/sanity
### [`v3.11.3`](https://togithub.com/sanity-io/sanity/releases/tag/v3.11.3) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.11.2...v3.11.3) #### Installation and upgrading **To initiate a new Studio without installing the CLI globally:** npx create-sanity@latest **To upgrade a v3 Studio:** npm install sanity@latest ### 🐛 Notable bugfixes - Fixes a recent regression from v3.11.2 where text annotations nested inside Portable Text inputs could not be edited properly ### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Bjørge Næss | chore(perf): support passing a comma-separated list of test-ids when running perf suite ([#4520](https://togithub.com/sanity-io/sanity/issues/4520)) | [`6fb3855`](https://togithub.com/sanity-io/sanity/commit/6fb3855a7) Herman Wikner | fix(core): add `PortableTextInputProps` to `InputProps` union ([#4522](https://togithub.com/sanity-io/sanity/issues/4522)) | [`4031d3c`](https://togithub.com/sanity-io/sanity/commit/4031d3c06) renovate\[bot] | fix(deps): update dependency [@tanstack/react-virtual](https://togithub.com/tanstack/react-virtual) to v3.0.0-beta.54 ([#4478](https://togithub.com/sanity-io/sanity/issues/4478)) | [`4bef600`](https://togithub.com/sanity-io/sanity/commit/4bef6000e) Per-Kristian Nordnes | fix(core/form/inputs): fix rendering regression for PT-input ([#4530](https://togithub.com/sanity-io/sanity/issues/4530)) | [`fba12cf`](https://togithub.com/sanity-io/sanity/commit/fba12cf73) ### [`v3.11.2`](https://togithub.com/sanity-io/sanity/releases/tag/v3.11.2) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.11.1...v3.11.2) #### Installation and upgrading **To initiate a new Studio without installing the CLI globally:** npx create-sanity@latest **To upgrade a v3 Studio:** npm install sanity@latest ### 🐛 Notable bugfixes - Fixes issue where image and file upload fields were not uploading data - Fixes issue that would cause the dropdown list of autocomplete suggestions for reference fields to not overflow correctly inside the Portable Text editor - Fixes issue where the current value of reference fields would not be displayed in the Portable Text editor - Improves performance for arrays and portable text inputs ### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Espen Hovlandsdal | fix(deps): update dependency [@sanity/client](https://togithub.com/sanity/client) to 6.1.1 | [`05b29b7`](https://togithub.com/sanity-io/sanity/commit/05b29b767) RitaDias | fix(core): fix image and file upload ([#4518](https://togithub.com/sanity-io/sanity/issues/4518)) | [`8861dfa`](https://togithub.com/sanity-io/sanity/commit/8861dfafa) Binoy Patel | fix(core): fix PT reference autocomplete being cut off ([#4519](https://togithub.com/sanity-io/sanity/issues/4519)) | [`6581afd`](https://togithub.com/sanity-io/sanity/commit/6581afddb) Per-Kristian Nordnes | fix(form/inputs): use ref to value as dependency | [`4c83b91`](https://togithub.com/sanity-io/sanity/commit/4c83b91d2) Per-Kristian Nordnes | fix(form/inputs): ensure same empty presence object for PT-input components | [`6c7c4e4`](https://togithub.com/sanity-io/sanity/commit/6c7c4e43c) Per-Kristian Nordnes | refactor(form/inputs): simplify tenary statement | [`828e2da`](https://togithub.com/sanity-io/sanity/commit/828e2dace) Per-Kristian Nordnes | fix(form/inputs): fix re-rendering issue with PT-input block object | [`75dfb9c`](https://togithub.com/sanity-io/sanity/commit/75dfb9ca1) Per-Kristian Nordnes | refactor(form/inputs): improve value ref update for ArrayOfObjectsFiled | [`ff435ed`](https://togithub.com/sanity-io/sanity/commit/ff435ede6) Per-Kristian Nordnes | refactor(core/form): make sure empty presence arrays are same object | [`1299d60`](https://togithub.com/sanity-io/sanity/commit/1299d6079) Per-Kristian Nordnes | refactor(form/inputs): use stable empty presence from memberItem | [`a7ddef9`](https://togithub.com/sanity-io/sanity/commit/a7ddef953) Binoy Patel | fix(core): editing reference input in PTE does not show value ([#4499](https://togithub.com/sanity-io/sanity/issues/4499)) | [`7a4275e`](https://togithub.com/sanity-io/sanity/commit/7a4275e2b) ### [`v3.11.1`](https://togithub.com/sanity-io/sanity/releases/tag/v3.11.1) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.11.0...v3.11.1) ##### Installation and upgrading **To initiate a new Studio without installing the CLI globally:** npx create-sanity@latest **To upgrade a v3 Studio:** npm install sanity@latest ##### 🐛 Notable bugfixes - Fixes an issue causing field groups to be hidden if they only contain fieldsets ##### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Bjørge Næss | refactor(form): fix issue with hiding a field group that only have fieldsets ([#4477](https://togithub.com/sanity-io/sanity/issues/4477)) | [`906a6fe`](https://togithub.com/sanity-io/sanity/commit/906a6fe063) ### [`v3.11.0`](https://togithub.com/sanity-io/sanity/releases/tag/v3.11.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.10.3...v3.11.0) #### Installation and upgrading **To initiate a new Studio without installing the CLI globally:** npx create-sanity@latest **To upgrade a v3 Studio:** npm install sanity@latest ### ✨ Highlights #### Document list search It's now possible to search within document lists. We've also improved keyboard accessibility, making it much easier to navigate between lists and the document form editor itself. ![](https://hackmd.io/\_uploads/H1zPS9yHh.png) ### 🐛 Notable bugfixes - Fixes issue where **Edit** intent links that opens the on-screen keyboard in iOS/android while also opening dialogs would break the layout - Improves linking to single spans of text in the Portable Text Input - Fixes a bug that made fields without a group appear in all groups - Fixes a bug with the Portable Text Editor where single span texts could become out of sync with the server value - Fixes an issue where an object field’s value is not unset when all object field values are empty ### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Cody Olsen | fix: avoid scroll on `overflow: hidden` ([#4458](https://togithub.com/sanity-io/sanity/issues/4458)) | [`47302b5`](https://togithub.com/sanity-io/sanity/commit/47302b5fa) Espen Hovlandsdal | test(cli): reduce dangling entity cleanup threhold to 16 hours ([#4431](https://togithub.com/sanity-io/sanity/issues/4431)) | [`5780487`](https://togithub.com/sanity-io/sanity/commit/5780487c8) Per-Kristian Nordnes | fix(form/inputs): improve tracking of formState focusPath for PT-input ([#4466](https://togithub.com/sanity-io/sanity/issues/4466)) | [`bdcea25`](https://togithub.com/sanity-io/sanity/commit/bdcea252f) Bjørge Næss | fix(form): show fields without groups only when 'All fields' is selected ([#4472](https://togithub.com/sanity-io/sanity/issues/4472)) | [`b246b81`](https://togithub.com/sanity-io/sanity/commit/b246b818d) Herman Wikner | feat: document list search ([#4436](https://togithub.com/sanity-io/sanity/issues/4436)) | [`c6a729f`](https://togithub.com/sanity-io/sanity/commit/c6a729fbf) Bjørge Næss | fix(desk): remove path param from url after initially read ([#4469](https://togithub.com/sanity-io/sanity/issues/4469)) | [`eee026d`](https://togithub.com/sanity-io/sanity/commit/eee026d43) Cody Olsen | chore: delete junk files ([#4476](https://togithub.com/sanity-io/sanity/issues/4476)) | [`6b78d7e`](https://togithub.com/sanity-io/sanity/commit/6b78d7e7d) Robin Pyon | chore(test-studio): add an author references block to simpleBlock | [`8e83e86`](https://togithub.com/sanity-io/sanity/commit/8e83e8695) renovate\[bot] | fix(deps): update dependency [@vercel/fs-detectors](https://togithub.com/vercel/fs-detectors) to v3.9.2 | [`56c81ff`](https://togithub.com/sanity-io/sanity/commit/56c81ff3e) renovate\[bot] | fix(deps): update dependency framer-motion to v10.12.10 | [`9602964`](https://togithub.com/sanity-io/sanity/commit/96029646e) renovate\[bot] | fix(deps): update dependency [@vercel/frameworks](https://togithub.com/vercel/frameworks) to v1.4.2 | [`97b923e`](https://togithub.com/sanity-io/sanity/commit/97b923ec4) Per-Kristian Nordnes | fix(portable-text-editor): fix sync issue with text spans ([#4467](https://togithub.com/sanity-io/sanity/issues/4467)) | [`036e68a`](https://togithub.com/sanity-io/sanity/commit/036e68ab7) RitaDias | fix(core): unset objects when no values in patch when empty value ([#4495](https://togithub.com/sanity-io/sanity/issues/4495)) | [`ba760f3`](https://togithub.com/sanity-io/sanity/commit/ba760f3c9) renovate\[bot] | fix(deps): update dependency [@sanity/client](https://togithub.com/sanity/client) to v6 ([#4454](https://togithub.com/sanity-io/sanity/issues/4454)) | [`e092721`](https://togithub.com/sanity-io/sanity/commit/e092721ff) ### [`v3.10.3`](https://togithub.com/sanity-io/sanity/releases/tag/v3.10.3) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.10.2...v3.10.3) ##### Installation and upgrading **To initiate a new Studio without installing the CLI globally:** npx create-sanity@latest **To upgrade a v3 Studio:** npm install sanity@latest ##### 🐛 Notable bugfixes - Fixes an issue where array inputs inside Portable Text dialogs would not properly render ##### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Per-Kristian Nordnes | Add boundary provider for nested content inside PT-input dialogs ([#4486](https://togithub.com/sanity-io/sanity/issues/4486)) | [`4f961e9`](https://togithub.com/sanity-io/sanity/commit/4f961e9a8) ### [`v3.10.2`](https://togithub.com/sanity-io/sanity/compare/v3.10.1...v3.10.2) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.10.1...v3.10.2) ### [`v3.10.1`](https://togithub.com/sanity-io/sanity/releases/tag/v3.10.1) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.10.0...v3.10.1) ##### Installation and upgrading **To initiate a new Studio without installing the CLI globally:** npx create-sanity@latest **To upgrade a v3 Studio:** npm install sanity@latest ##### 🐛 Notable bugfixes - Fixes issue where the **Create new document** dialog didn't work on smaller screens - Fixes issue where out of range integers in number fields could crash the studio ##### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Robin Pyon | fix(core): ensure the create new button dialog is functional on smaller breakpoints ([#4450](https://togithub.com/sanity-io/sanity/issues/4450)) | [`f1dc5ec`](https://togithub.com/sanity-io/sanity/commit/f1dc5ec2e) Robin Pyon | fix(core): prevent number primitive fields from triggering change callbacks when numbers are out of range ([#4456](https://togithub.com/sanity-io/sanity/issues/4456)) | [`aa2dd6e`](https://togithub.com/sanity-io/sanity/commit/aa2dd6eff) Bjørge Næss | chore(test-studio): add a second field to simpleBlock's block type | [`82f6ee1`](https://togithub.com/sanity-io/sanity/commit/82f6ee1eb) ecospark\[bot] | chore(prettier): fix unformatted files 🤖 ✨ ([#4453](https://togithub.com/sanity-io/sanity/issues/4453)) | [`f395629`](https://togithub.com/sanity-io/sanity/commit/f39562962) ### [`v3.10.0`](https://togithub.com/sanity-io/sanity/releases/tag/v3.10.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.9.1...v3.10.0) ##### Installation and upgrading **Initiate a new Sanity Studio without installing the CLI globally:** npm create sanity@latest **To upgrade Sanity Studio, update its dependency:** npm install sanity@latest ##### ✨ Highlights ##### Visual Editing (Enterprise Only) > **Note** > > Visual Editing is available for select [Sanity enterprise customers](https://www.sanity.io/enterprise?utm_source=github.com\&utm_medium=referral\&utm_campaign=may-vercel-launch). If you would like to use Visual Editing with Vercel, you will also need to contact Vercel to enable this feature for your Vercel team. [You may contact our sales team for more information.](https://www.sanity.io/contact/sales?utm_source=github.com\&utm_medium=referral\&utm_campaign=may-vercel-launch) ![Screenshot of a front end with visual editing](https://i.imgur.com/s2OMiiS.jpg) This release includes support for Visual Editing and Content Source Maps. This feature enables you to make deep edit links from components in a front end that takes you to respective fields in the Studio. This enables a new workflow that substantially reduces the time it takes to make changes by bringing you directly to the relevant field where you can make edits reliably in its appropriate context. For more information on Visual Editing, [check out the documentation here](https://www.sanity.io/docs/vercel-visual-editing?utm_source=github.com\&utm_medium=referral\&utm_campaign=may-vercel-launch). Visual Editing is available for mutual Sanity and Vercel Enterprise customers. Existing Sanity enterprise customers can contact their dedicated customer success manager to enable this feature. [Customers interested in upgrading to an enterprise plan can contact our sales team for more information](https://www.sanity.io/contact/sales?utm_source=github.com\&utm_medium=referral\&utm_campaign=may-vercel-launch). You will also need to [contact Vercel sales](https://vercel.com/contact/sales) to enable this feature for your Vercel team. Sanity enterprise customers can also use the Content Source Maps with GROQ to build custom Visual Editing capabilities. For more information, [check out the Content Source Maps documentation here](https://www.sanity.io/docs/content-source-maps?utm_source=github.com\&utm_medium=referral\&utm_campaign=may-vercel-launch). ##### Quickly add Sanity Studio to Next.js ![Command Line showing sanity init within a Next.js app](https://i.imgur.com/eGYpcpT.jpg) The `sanity init` command now recognizes if you are in a Next.js project, and will ask: • What Sanity project you want to use (use existing or create new) • Whether you want to place an embedded Studio using pages or app routes • Whether you want to use TypeScript for your Studio • What template you want to use (clean or blog) • Whether you want to append the project ID and dataset to your .env file (you can also specify a custom env file with the --env flag) If you have a Next.js project and want to quickly deploy an embedded Sanity Studio, you can run `npx sanity init` within your application's directory to get started. ###### Minimum version when using pnpm required: 8.x ##### Additional notable features - Enables fully unattended `studio init` with CLI when `projectId`, `dataset` and `--y` flags are set - `sanity init` will now determine default package manager choice based on currently running package manager ##### 🐛 Notable bugfixes - Updates the Shopify Studio template with various fixes - Fixes an issue that caused field group buttons to steal focus when deep linking into a Studio value - Fixes an issue causing focus to be set on wrong element when deep linking to a field inside an array - Fixes an issue so deep linking to a field/input expands the right fieldsets/collapsed objects along the way - Fixes an issue where validation errors would not focus on collapsed fieldset - Fixes an issue where using `pnpm` to install dependencies would not install the latest available versions when creating a new project - Resolves issue where unattended mode (`--yes` flag) for `sanity init` would still show a confirmation prompt about running a v2-like CLI command - Fixes a bug with reference fields not receiving focus when clicking a validation error or following a link to the field - Fixes intent links to focus on the correct location - Fixes issue with pasting a file from clipboard into a file field that already has a value - Fixes support for deep linking in image and file fields - Fixes a bug that broke pasting a file into a file field when a value is already present ##### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Bjørge Næss | fix(form): fix focus issue with reference fields ([#4429](https://togithub.com/sanity-io/sanity/issues/4429)) | [`912ce0d`](https://togithub.com/sanity-io/sanity/commit/912ce0d40) Espen Hovlandsdal | fix(cli): prefer package manager that is currently executing ([#4426](https://togithub.com/sanity-io/sanity/issues/4426)) | [`4523046`](https://togithub.com/sanity-io/sanity/commit/4523046ef) Espen Hovlandsdal | fix(cli): skip v3 init prompt in unattended mode ([#4425](https://togithub.com/sanity-io/sanity/issues/4425)) | [`7c17124`](https://togithub.com/sanity-io/sanity/commit/7c17124e1) Rune Botten | feat(cli): skip dataset name validation in unattended mode when provided through options ([#4422](https://togithub.com/sanity-io/sanity/issues/4422)) | [`605d62b`](https://togithub.com/sanity-io/sanity/commit/605d62bc7) Espen Hovlandsdal | fix(cli): resolve and install latest sanity+vision dependencies ([#4424](https://togithub.com/sanity-io/sanity/issues/4424)) | [`25303f9`](https://togithub.com/sanity-io/sanity/commit/25303f970) renovate\[bot] | fix(deps): update codemirror ([#4377](https://togithub.com/sanity-io/sanity/issues/4377)) | [`989dd81`](https://togithub.com/sanity-io/sanity/commit/989dd812a) Cody Olsen | chore(test-studio): use the `@sanity/ui` provided hook for 3d reduced motion | [`0f01713`](https://togithub.com/sanity-io/sanity/commit/0f01713c1) Nina Andal Aarvik | fix(core): add fieldset within field to expandOperation | [`488676a`](https://togithub.com/sanity-io/sanity/commit/488676a0c) Bjørge Næss | fix(form): make sure getExpandOperations recursively expands objects and fieldsets | [`8d50b9e`](https://togithub.com/sanity-io/sanity/commit/8d50b9ea1) Robin Pyon | chore(test-studio): add fieldgroup with fieldset + validation debug case | [`349e65f`](https://togithub.com/sanity-io/sanity/commit/349e65f38) Tom Smith | fix(cli): sync shopify template updates | [`8047e5d`](https://togithub.com/sanity-io/sanity/commit/8047e5de9) Tom Smith | fix(cli): shopify template docs typos | [`46bcf81`](https://togithub.com/sanity-io/sanity/commit/46bcf812c) Espen Hovlandsdal | fix(cli): update shopify template dependency ranges | [`d159107`](https://togithub.com/sanity-io/sanity/commit/d159107ef) Espen Hovlandsdal | fix(cli): add missing dependencies for shopify template | [`8af0512`](https://togithub.com/sanity-io/sanity/commit/8af0512a2) Espen Hovlandsdal | chore: add Tom as codeowner of shopify templates | [`48738ef`](https://togithub.com/sanity-io/sanity/commit/48738ef40) renovate\[bot] | chore(deps): update peter-evans/create-pull-request action to v5 ([#4448](https://togithub.com/sanity-io/sanity/issues/4448)) | [`cfe0b6f`](https://togithub.com/sanity-io/sanity/commit/cfe0b6f10) Bjørge Næss | chore: add codeowners to preview + file & image input | [`01eb6b0`](https://togithub.com/sanity-io/sanity/commit/01eb6b012) Bjørge Næss | fix(desk): set collapsed/fieldgroup/open path based on router path | [`b1f1eb4`](https://togithub.com/sanity-io/sanity/commit/b1f1eb4b7) Bjørge Næss | fix(form): prevent autofocus on array dialogs where focus is on a deeper value | [`8cb0642`](https://togithub.com/sanity-io/sanity/commit/8cb064261) Binoy Patel | fix(core): scroll PTE input into view when receiving focus | [`627640d`](https://togithub.com/sanity-io/sanity/commit/627640df4) Bjørge Næss | fix(form): skip autofocus on field groups as it's handled by either focusPath or focusFirstDescendant | [`51c9483`](https://togithub.com/sanity-io/sanity/commit/51c94836a) Bjørge Næss | feat(util): add resolveKeyedPath | [`ec31040`](https://togithub.com/sanity-io/sanity/commit/ec310409d) Binoy Patel | fix(core): focus first descendant in FormView when empty initial focus path is given | [`350b567`](https://togithub.com/sanity-io/sanity/commit/350b56780) Binoy Patel | fix(desk): use resolveKeyedPath to set initial open/focus path from url | [`dc04b49`](https://togithub.com/sanity-io/sanity/commit/dc04b4988) Binoy Patel | fix(form): sync local focus state when focused/focusPath props change | [`89adbd8`](https://togithub.com/sanity-io/sanity/commit/89adbd86c) Bjørge Næss | fix(form): improve focus handling for image and file inputs ([#4451](https://togithub.com/sanity-io/sanity/issues/4451)) | [`dd8e424`](https://togithub.com/sanity-io/sanity/commit/dd8e424c0) Benjamin Akar | feat(cli): `sanity init` for Next.js apps ([#4439](https://togithub.com/sanity-io/sanity/issues/4439)) | [`6effcfe`](https://togithub.com/sanity-io/sanity/commit/6effcfec7) Bjørge Næss | ci(github): drop node 14 from test matrix ([#4452](https://togithub.com/sanity-io/sanity/issues/4452)) | [`6fe2b9f`](https://togithub.com/sanity-io/sanity/commit/6fe2b9f7b) ### [`v3.9.1`](https://togithub.com/sanity-io/sanity/releases/tag/v3.9.1) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.9.0...v3.9.1) ##### Installation and upgrading **To initiate a new Studio without installing the CLI globally:** npm create sanity@latest **To upgrade a Sanity Studio:** npm install sanity@latest ##### Improvements - Add ability to use custom favicons - see https://www.sanity.io/docs/favicons for more information - Improves document history performance - Enables passing `skipVisibilityCheck` prop to preview components to avoid flickering when already in the viewport ##### 🐛 Notable bugfixes - Fixes virtualized list (arrays) not rendering properly when inside a modal - Fixes bug where validation messages on Portable Text annotations were shown twice - Improves wording on message shown after successfully deleting a document - Fixes issue where unused references are cleared on clicking outside - Resolves issue where validation errors are not focused when clicking on an error in the panel - Fixes issue where annotation popovers were not scrollable in the Portable Text Editor - Fixes a bug in the Portable Text Editor, which could lead to duplicating single sentence content with mixed marks in the editor when overwritten by another text - Fixes an issue where creating a portable text annotation and inserting a value inside it would make a listening text editor crash - Fixes an issue where documents would sometimes automatically scroll without user actually performing a scroll ##### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Binoy Patel | chore(test-studio): enable source-maps ([#4392](https://togithub.com/sanity-io/sanity/issues/4392)) | [`c3669f2`](https://togithub.com/sanity-io/sanity/commit/c3669f2a5) Espen Hovlandsdal | fix(cli): use more recent version ranges for new projects ([#4393](https://togithub.com/sanity-io/sanity/issues/4393)) | [`b382120`](https://togithub.com/sanity-io/sanity/commit/b3821203d) Robin Pyon | fix(desk): document timeline performance improvements ([#4347](https://togithub.com/sanity-io/sanity/issues/4347)) | [`4d56352`](https://togithub.com/sanity-io/sanity/commit/4d56352eb) Espen Hovlandsdal | fix(cli): remove broken custom document component link | [`71f0d45`](https://togithub.com/sanity-io/sanity/commit/71f0d4566) Per-Kristian Nordnes | dev(test-studio): add validation to recursive blocks test | [`2d3b0cf`](https://togithub.com/sanity-io/sanity/commit/2d3b0cfb3) Geoff Ball | Update README.md | [`b55bca8`](https://togithub.com/sanity-io/sanity/commit/b55bca85f) Nina Andal Aarvik | fix(validation): remove recursive validation check for annotations in pte ([#4397](https://togithub.com/sanity-io/sanity/issues/4397)) | [`5e47c39`](https://togithub.com/sanity-io/sanity/commit/5e47c398d) Nina Andal Aarvik | fix(desk): change message shown after successfully deleting document ([#4398](https://togithub.com/sanity-io/sanity/issues/4398)) | [`14f7f6d`](https://togithub.com/sanity-io/sanity/commit/14f7f6dcf) Nina Andal Aarvik | refactor(schema): add fields causing form to render empty | [`bc2ff46`](https://togithub.com/sanity-io/sanity/commit/bc2ff4662) Bjørge Næss | fix(form): wrap members in an intermediate structure and hide field groups with no fields | [`e6bafe0`](https://togithub.com/sanity-io/sanity/commit/e6bafe00e) Bjørge Næss | fix(form): force-select "all fields" group and disable all others when changes panel is open | [`755c337`](https://togithub.com/sanity-io/sanity/commit/755c337ee) Bjørge Næss | fix(form): hide field groups where all fields are hidden | [`fcfe3a8`](https://togithub.com/sanity-io/sanity/commit/fcfe3a8e6) ecospark\[bot] | chore(prettier): fix unformatted files 🤖 ✨ ([#4401](https://togithub.com/sanity-io/sanity/issues/4401)) | [`148f4eb`](https://togithub.com/sanity-io/sanity/commit/148f4ebec) renovate\[bot] | chore(deps): update linters to v5.59.0 ([#4376](https://togithub.com/sanity-io/sanity/issues/4376)) | [`c646440`](https://togithub.com/sanity-io/sanity/commit/c6464400f) RitaDias | chore(.github): add code owners ([#4403](https://togithub.com/sanity-io/sanity/issues/4403)) | [`1be86d7`](https://togithub.com/sanity-io/sanity/commit/1be86d7c2) Per-Kristian Nordnes | fix(portable-text-editor): keep selection when emtied remotely | [`d30d93c`](https://togithub.com/sanity-io/sanity/commit/d30d93cd4) Per-Kristian Nordnes | test(portable-text-editor): update test snapshot according to placeholder change | [`4d57da1`](https://togithub.com/sanity-io/sanity/commit/4d57da1da) Binoy Patel | fix(core): fix focus issues when a new reference field is added ([#4400](https://togithub.com/sanity-io/sanity/issues/4400)) | [`c575bcb`](https://togithub.com/sanity-io/sanity/commit/c575bcb6f) Espen Hovlandsdal | fix: exhaustive dependency arrays ([#4368](https://togithub.com/sanity-io/sanity/issues/4368)) | [`2d7fe78`](https://togithub.com/sanity-io/sanity/commit/2d7fe784c) Cody Olsen | chore(desk-tool): fix sort order dependency | [`9f6f4e8`](https://togithub.com/sanity-io/sanity/commit/9f6f4e8f3) Cody Olsen | chore: fix artifact from merge conflict in [#4368](https://togithub.com/sanity-io/sanity/issues/4368) | [`5e1cb7b`](https://togithub.com/sanity-io/sanity/commit/5e1cb7b51) Per-Kristian Nordnes | test(portable-text-editor): skip native pasting tests for MacOS | [`f703848`](https://togithub.com/sanity-io/sanity/commit/f70384803) Espen Hovlandsdal | test(e2e): use reduced motion selector for tests | [`968d723`](https://togithub.com/sanity-io/sanity/commit/968d72315) Espen Hovlandsdal | test(e2e): fix incorrect boolean flag parsing | [`da6f875`](https://togithub.com/sanity-io/sanity/commit/da6f87588) Espen Hovlandsdal | test(e2e): add SANITY_E2E_DEBUG flag for testing headful chrome | [`5fb28f8`](https://togithub.com/sanity-io/sanity/commit/5fb28f8d9) Espen Hovlandsdal | test(e2e): simplify authentication setup | [`c242e7c`](https://togithub.com/sanity-io/sanity/commit/c242e7cbe) Per-Kristian Nordnes | fix(portable-text-editor): fix issue with PTE merge operation not producing unset patch ([#4416](https://togithub.com/sanity-io/sanity/issues/4416)) | [`3f2b278`](https://togithub.com/sanity-io/sanity/commit/3f2b278bb) RitaDias | fix(core): allow for skipping visibility in preview element (fix flickering issue) ([#4408](https://togithub.com/sanity-io/sanity/issues/4408)) | [`2aa071b`](https://togithub.com/sanity-io/sanity/commit/2aa071b5f) Bjørge Næss | chore(renovate): open individual PRs for individual packages | [`3689ccf`](https://togithub.com/sanity-io/sanity/commit/3689ccf88) Cody Olsen | refactor(timeline): use official external store with selector API ([#4413](https://togithub.com/sanity-io/sanity/issues/4413)) | [`e1f2b7e`](https://togithub.com/sanity-io/sanity/commit/e1f2b7e2f) renovate\[bot] | fix(deps): update dependency framer-motion to v10 ([#4380](https://togithub.com/sanity-io/sanity/issues/4380)) | [`09d7f7c`](https://togithub.com/sanity-io/sanity/commit/09d7f7c30) Bjørge Næss | chore(renovate): autorebase dependency PRs when behind base branch | [`e47ab0d`](https://togithub.com/sanity-io/sanity/commit/e47ab0dd9) Nina Andal Aarvik | fix(core): add max height to popover ([#4414](https://togithub.com/sanity-io/sanity/issues/4414)) | [`6742eda`](https://togithub.com/sanity-io/sanity/commit/6742eda1f) Binoy Patel | fix(core): list virtualization is broken inside modals ([#4410](https://togithub.com/sanity-io/sanity/issues/4410)) | [`a00f0b9`](https://togithub.com/sanity-io/sanity/commit/a00f0b97e) Per-Kristian Nordnes | fix(portable-text-editor): ignore void edits inside markDefs ([#4419](https://togithub.com/sanity-io/sanity/issues/4419)) | [`1800fe5`](https://togithub.com/sanity-io/sanity/commit/1800fe5cf) Per-Kristian Nordnes | feature(core): show to-blockstyle in pt-diff ([#4321](https://togithub.com/sanity-io/sanity/issues/4321)) | [`38bc5d8`](https://togithub.com/sanity-io/sanity/commit/38bc5d8e6) Bjørge Næss | chore(test-studio): add repro schema for scroll bug | [`050164c`](https://togithub.com/sanity-io/sanity/commit/050164c39) Binoy Patel | fix(core): fix scrolling issue with documents | [`35c0ba9`](https://togithub.com/sanity-io/sanity/commit/35c0ba90b) Espen Hovlandsdal | feat(cli): support serving custom favicons ([#4394](https://togithub.com/sanity-io/sanity/issues/4394)) | [`14be444`](https://togithub.com/sanity-io/sanity/commit/14be44487) Espen Hovlandsdal | test(e2e): wait for JS bundles to be ready in global setup | [`46c9a0b`](https://togithub.com/sanity-io/sanity/commit/46c9a0b67) Espen Hovlandsdal | test(e2e): bring back html reports for CI | [`8ec5f5d`](https://togithub.com/sanity-io/sanity/commit/8ec5f5d52) Binoy Patel | fix(core): array item not showing when using `modal: 'popover'` ([#4423](https://togithub.com/sanity-io/sanity/issues/4423)) | [`8106688`](https://togithub.com/sanity-io/sanity/commit/8106688dd) ### [`v3.9.0`](https://togithub.com/sanity-io/sanity/releases/tag/v3.9.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.8.3...v3.9.0) ##### Installation and upgrading To initiate a new Studio without installing the CLI globally: npx create-sanity@latest To upgrade an existing Studio (v3): npm install sanity@latest ##### ✨ Highlights ##### New init flags: `--bare`, `--env` The `npm create sanity` and `sanity init` CLI commands now have two new flags available: - `--bare` - skips the installation of a Sanity Studio. Instead, it takes you through the project and dataset creation process and prints the project ID and dataset names to the console. - `--env [path]` - detects the framework used in the current directory and creates a `.env` file with the correct prefix for environment variables. The `path` is optional; the default value is `.env`, but you can change it to anything beginning with `.env`, for example, `.env.local.example`. These flags are useful when you want to integrate an application with a new or existing project, when you have some existing Studio code you want to set up, or when you only need the Content Lake capabilities. ##### Improved performance on large arrays Lists of objects and references are now [virtualized](https://www.patterns.dev/posts/virtual-lists) in the Sanity Studio UI. This should significantly improve performance in documents with large arrays. ##### Improvements for custom Vite configuration Any custom [Vite](https://vitejs.dev/) configuration defined in `sanity.cli.ts` will now be merged with the default configuration using Vite’s merge logic. This improvement will make it easier [customize the Vite configuration](https://www.sanity.io/docs/development#9c7158c423fb) without having to deeply understand the defaults. The configuration now also has improved TypeScript types. ##### Other features - The schema validator now checks for fields that use the `block` type outside of an array, which is not currently supported (thanks [@pauloborges](https://togithub.com/pauloborges)!) ##### 🐛 Notable bugfixes - Resolves an error that occurred when attempting to create a document of a certain type with an empty object as the initial value, resulting in a permission error - Addresses an issue where CSS files were not properly updated with a configured Studio base path - Fixes a bug that caused the Studio to crash when trying to fetch user data without proper permissions - Resolves a problem where multiple sorting options could be selected at the same time in a dropdown menu - Addresses an issue where long filenames/MIME types were not truncated in the file picker list - Resolves a bug that caused the Portable Text Editor to crash when encountering an invalid value. ##### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Espen Hovlandsdal | test(cli): resolve user email for configured test token ([#4353](https://togithub.com/sanity-io/sanity/issues/4353)) | [`868fc61`](https://togithub.com/sanity-io/sanity/commit/868fc614f) Espen Hovlandsdal | test(cli): use `--detach` for dataset copy for faster runs ([#4357](https://togithub.com/sanity-io/sanity/issues/4357)) | [`d085af0`](https://togithub.com/sanity-io/sanity/commit/d085af04a) Binoy Patel | chore(perf): add perf test for large document ([#4356](https://togithub.com/sanity-io/sanity/issues/4356)) | [`5c319e9`](https://togithub.com/sanity-io/sanity/commit/5c319e9e1) renovate\[bot] | fix(deps): update dependency scroll-into-view-if-needed to v3.0.10 ([#4328](https://togithub.com/sanity-io/sanity/issues/4328)) | [`0e598ba`](https://togithub.com/sanity-io/sanity/commit/0e598baae) Binoy Patel | fix(core): fix permissions when initialValue is empty object ([#4360](https://togithub.com/sanity-io/sanity/issues/4360)) | [`937421a`](https://togithub.com/sanity-io/sanity/commit/937421a0a) Binoy Patel | fix(cli): fix basePath not assigned to css files ([#4354](https://togithub.com/sanity-io/sanity/issues/4354)) | [`7126000`](https://togithub.com/sanity-io/sanity/commit/71260003e) Noah Gentile | fix(cli): apply user vite config in `preview` | [`9432959`](https://togithub.com/sanity-io/sanity/commit/94329592b) Noah Gentile | feat(cli): merge user vite config object | [`53f7808`](https://togithub.com/sanity-io/sanity/commit/53f780826) Noah Gentile | feat(cli): align with vite config fn behavior | [`437a1b4`](https://togithub.com/sanity-io/sanity/commit/437a1b458) Noah Gentile | refactor(cli): mock vite typings | [`b43b69a`](https://togithub.com/sanity-io/sanity/commit/b43b69a31) Paulo Borges | fix(schema): validate that object has no standalone block fields ([#4199](https://togithub.com/sanity-io/sanity/issues/4199)) | [`c131116`](https://togithub.com/sanity-io/sanity/commit/c1311164a) Espen Hovlandsdal | test(e2e): bump initial setup timeout to 120s | [`11c5efb`](https://togithub.com/sanity-io/sanity/commit/11c5efb04) Espen Hovlandsdal | chore: fix prettify script not specifying path | [`538d31c`](https://togithub.com/sanity-io/sanity/commit/538d31c54) Per-Kristian Nordnes | refactor(portable-text-editor): ignore operations or patches targeting inside non-editable objects of the editor ([#4334](https://togithub.com/sanity-io/sanity/issues/4334)) | [`8e7a323`](https://togithub.com/sanity-io/sanity/commit/8e7a323e6) Binoy Patel | fix(core): clear unused references in an array when clicked outside ([#4361](https://togithub.com/sanity-io/sanity/issues/4361)) | [`cb9ef3a`](https://togithub.com/sanity-io/sanity/commit/cb9ef3ab3) Binoy Patel | chore(cli): fix basePath test flakiness ([#4366](https://togithub.com/sanity-io/sanity/issues/4366)) | [`0cd32eb`](https://togithub.com/sanity-io/sanity/commit/0cd32eb8f) shur | fix: log inability to fetch user for avatars, prevent studio crash ([#4367](https://togithub.com/sanity-io/sanity/issues/4367)) | [`bcc240d`](https://togithub.com/sanity-io/sanity/commit/bcc240dee) renovate\[bot] | chore(deps): update devdependencies (non-major) ([#4329](https://togithub.com/sanity-io/sanity/issues/4329)) | [`3cd83d4`](https://togithub.com/sanity-io/sanity/commit/3cd83d4ab) Nina Andal Aarvik | fix(core): add ellipsis textOverflow to type in file picker list ([#4348](https://togithub.com/sanity-io/sanity/issues/4348)) | [`fcbea4b`](https://togithub.com/sanity-io/sanity/commit/fcbea4b63) Nina Andal Aarvik | fix(desk): compare selected on sortOrderRaw instead of sortOrder ([#4345](https://togithub.com/sanity-io/sanity/issues/4345)) | [`16cf235`](https://togithub.com/sanity-io/sanity/commit/16cf23550) Benjamin Akar | feat(cli): add `--bare` and `--env` flags to `sanity init` ([#4290](https://togithub.com/sanity-io/sanity/issues/4290)) | [`345d319`](https://togithub.com/sanity-io/sanity/commit/345d319ee) Cody Olsen | chore(CI): create yarn lockfile maintenance action ([#4370](https://togithub.com/sanity-io/sanity/issues/4370)) | [`f7fd7a1`](https://togithub.com/sanity-io/sanity/commit/f7fd7a100) ecospark\[bot] | chore(deps): lock file maintenance ([#4371](https://togithub.com/sanity-io/sanity/issues/4371)) | [`2657ad0`](https://togithub.com/sanity-io/sanity/commit/2657ad075) Cody Olsen | chore(renovatebot): ignore the v2 text fixture deps | [`bbb3a41`](https://togithub.com/sanity-io/sanity/commit/bbb3a413e) renovate\[bot] | chore(deps): lock file maintenance ([#4372](https://togithub.com/sanity-io/sanity/issues/4372)) | [`0270793`](https://togithub.com/sanity-io/sanity/commit/0270793d0) renovate\[bot] | fix(deps): update dependency [@types/three](https://togithub.com/types/three) to ^0.150.0 ([#4382](https://togithub.com/sanity-io/sanity/issues/4382)) | [`629acf4`](https://togithub.com/sanity-io/sanity/commit/629acf4a5) renovate\[bot] | fix(deps): update dependency three to ^0.151.0 ([#4383](https://togithub.com/sanity-io/sanity/issues/4383)) | [`f6f9b8c`](https://togithub.com/sanity-io/sanity/commit/f6f9b8ced) Per-Kristian Nordnes | fix(portable-text-editor): invalid Portable Text value causing crash ([#4364](https://togithub.com/sanity-io/sanity/issues/4364)) | [`2a15433`](https://togithub.com/sanity-io/sanity/commit/2a154336f) Marius Lundgård | fix(core): fix typos in config reducer error messages | [`72b37a5`](https://togithub.com/sanity-io/sanity/commit/72b37a5ef) Cody Olsen | fix: refactor desk tool intent resolver to reduce remounts ([#4363](https://togithub.com/sanity-io/sanity/issues/4363)) | [`e888f51`](https://togithub.com/sanity-io/sanity/commit/e888f513b) Marius Lundgård | fix(deps): update `@sanity/icons` | [`2f0ec12`](https://togithub.com/sanity-io/sanity/commit/2f0ec122a) renovate\[bot] | chore(deps): lock file maintenance ([#4387](https://togithub.com/sanity-io/sanity/issues/4387)) | [`9e9d286`](https://togithub.com/sanity-io/sanity/commit/9e9d28634) Bjørge Næss | fix(perf-runner): add support for running tests against recent tags only ([#4386](https://togithub.com/sanity-io/sanity/issues/4386)) | [`036c029`](https://togithub.com/sanity-io/sanity/commit/036c02983) Nina Andal Aarvik | fix(core): capitalize type name if item type lacks title in pte ([#4385](https://togithub.com/sanity-io/sanity/issues/4385)) | [`df16d46`](https://togithub.com/sanity-io/sanity/commit/df16d464c) Binoy Patel | fix(core): add virtualization to array of objects and references ([#4299](https://togithub.com/sanity-io/sanity/issues/4299)) | [`09afa59`](https://togithub.com/sanity-io/sanity/commit/09afa59ad) ### [`v3.8.3`](https://togithub.com/sanity-io/sanity/releases/tag/v3.8.3) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.8.2...v3.8.3) ##### Installation and upgrading **To initiate a new Studio without installing the CLI globally:** npx create-sanity@latest **To upgrade a v3 Studio:** npm install sanity@latest ##### 🐛 Notable bugfixes - Improves performance when inputing text in large documents - Fixes the issue where the document pane title, as defined in the desk structure, was not being utilized properly - Fixes a problem where intent route would not open the correct desk structure ##### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Cody Olsen | chore(typings): remove `get-it` overrides ([#4319](https://togithub.com/sanity-io/sanity/issues/4319)) | [`de48e28`](https://togithub.com/sanity-io/sanity/commit/de48e2853) Robin Pyon | chore(test-studio): filter out unavailable document types in recently edited documents | [`b0c92bc`](https://togithub.com/sanity-io/sanity/commit/b0c92bc2e) Binoy Patel | chore(perf-test): Fix test id ([#4324](https://togithub.com/sanity-io/sanity/issues/4324)) | [`05aa9af`](https://togithub.com/sanity-io/sanity/commit/05aa9af91) Bjørge Næss | fix(perf-runner): handle test errors and store on performanceTestRun documents ([#4332](https://togithub.com/sanity-io/sanity/issues/4332)) | [`0e1e717`](https://togithub.com/sanity-io/sanity/commit/0e1e71798) renovate\[bot] | chore(deps): update typescript packages ([#4330](https://togithub.com/sanity-io/sanity/issues/4330)) | [`9427dc6`](https://togithub.com/sanity-io/sanity/commit/9427dc632) Bjørge Næss | fix(perf): memoize list of ids passed to Sortable | [`81d6551`](https://togithub.com/sanity-io/sanity/commit/81d655112) Bjørge Næss | fix(perf): make sure form callbacks are stable | [`9a03202`](https://togithub.com/sanity-io/sanity/commit/9a03202c9) Bjørge Næss | test(form): improve immutableReconcile tests for circular structures | [`e3e6938`](https://togithub.com/sanity-io/sanity/commit/e3e69385c) Bjørge Næss | fix(form): fix issue with immutableReconcile producing new identities for siblings of changed items | [`19e2a13`](https://togithub.com/sanity-io/sanity/commit/19e2a1387) Cody Olsen | chore(CI): add prettier-if-needed action ([#4294](https://togithub.com/sanity-io/sanity/issues/4294)) | [`aa76d94`](https://togithub.com/sanity-io/sanity/commit/aa76d9403) ecospark\[bot] | chore(prettier): fix unformatted files 🤖 ✨ ([#4340](https://togithub.com/sanity-io/sanity/issues/4340)) | [`f33e673`](https://togithub.com/sanity-io/sanity/commit/f33e6735f) Binoy Patel | fix(core): fix document title not working ([#4325](https://togithub.com/sanity-io/sanity/issues/4325)) | [`76992d6`](https://togithub.com/sanity-io/sanity/commit/76992d69e) Cody Olsen | fix(router): resolve intent resolver regression since `v3.7.1` ([#4344](https://togithub.com/sanity-io/sanity/issues/4344)) | [`8a2a52d`](https://togithub.com/sanity-io/sanity/commit/8a2a52d32) ### [`v3.8.2`](https://togithub.com/sanity-io/sanity/releases/tag/v3.8.2) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.8.1...v3.8.2) ##### Installation and upgrading **To initiate a new Studio without installing the CLI globally:** npx create-sanity@latest **To upgrade a v3 Studio:** npm install sanity@latest ##### 🐛 Notable bugfixes - Fixes a recent regression where Portable Text annotations within nested content could not be properly edited ##### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Per-Kristian Nordnes | fix(portable-text-editor): fix wrong path being created for markDefs ([#4341](https://togithub.com/sanity-io/sanity/issues/4341)) | [`d438f0d`](https://togithub.com/sanity-io/sanity/commit/d438f0da1) ### [`v3.8.1`](https://togithub.com/sanity-io/sanity/releases/tag/v3.8.1) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.8.0...v3.8.1) ##### Installation and upgrading **To initiate a new Studio without installing the CLI globally:** npx create-sanity@latest **To upgrade a v3 Studio:** npm install sanity@latest ##### 🐛 Notable bugfixes - Fixes a regression from `v3.8.0` where annotations could not be edited in Safari - Fixes an issue with duplicate keys when pasting empty lines into an empty Portable Text input ##### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Binoy Patel | chore(deployment-sync): sync branch information on push webhook ([#4318](https://togithub.com/sanity-io/sanity/issues/4318)) | [`5f0b393`](https://togithub.com/sanity-io/sanity/commit/5f0b39391) Bjørge Næss | refactor(perf): remove deployment-sync | [`b659f1f`](https://togithub.com/sanity-io/sanity/commit/b659f1fe7) Per-Kristian Nordnes | chore(portable-text-editor): loosen peer dep. requirement for rxjs | [`9c2181f`](https://togithub.com/sanity-io/sanity/commit/9c2181f2d) Per-Kristian Nordnes | fix(portable-text-editor): fix issue when pasting mulitple empty blocks | [`469a262`](https://togithub.com/sanity-io/sanity/commit/469a26217) Per-Kristian Nordnes | test(portable-text-editor): add support for testing pasting html | [`a9b6b68`](https://togithub.com/sanity-io/sanity/commit/a9b6b6890) Per-Kristian Nordnes | test(portable-text-editor): add paste test for multiple empty blocks | [`d12a46d`](https://togithub.com/sanity-io/sanity/commit/d12a46d16) Per-Kristian Nordnes | refactor(portable-text-editor): rename param to align with usage elsewhere | [`33771b5`](https://togithub.com/sanity-io/sanity/commit/33771b56d) Per-Kristian Nordnes | refactor(portable-text-editor): clean up createWithInsertData plugin | [`054108b`](https://togithub.com/sanity-io/sanity/commit/054108b60) Per-Kristian Nordnes | test(portable-text-editor): await clipboard write functions | [`ec2678a`](https://togithub.com/sanity-io/sanity/commit/ec2678ad2) Per-Kristian Nordnes | fix(form/inputs): fix Safari issue with annotation edit popovers being hidden | [`6d2a7b3`](https://togithub.com/sanity-io/sanity/commit/6d2a7b3a2) ### [`v3.8.0`](https://togithub.com/sanity-io/sanity/releases/tag/v3.8.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.7.1...v3.8.0) ##### Installation and upgrading **To initiate a new Studio without installing the CLI globally:** npx create-sanity@latest **To upgrade a v3 Studio:** npm install sanity@latest ##### ✨ Highlights ##### Improved global create menu The global create menu has been updated with alphabetically sorted options and a search field, providing a more convenient way to find a desired document. The menu has also been redesigned to appear in a popover instead of a full screen dialog for improved UX and less context switching. ##### 🐛 Notable bugfixes - Fixes a recent regression in the Portable Text Editor where pasting content into an empty editor would cause an error - Fixes content overflow bug for query results in Vision and adds scroll bars to the result pane - Fixes issue where focus was not being returned to the editor after changing the style of a Portable Text block - Improves performance and issues related to validation in the Portable Text Editor ##### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Bjørge Næss | refactor(perf-runner): convert perf runner to a cli + various improvements ([#4298](https://togithub.com/sanity-io/sanity/issues/4298)) | [`bb9bcb9`](https://togithub.com/sanity-io/sanity/commit/bb9bcb972) Bjørge Næss | chore(perf): add test for large array | [`b454c8c`](https://togithub.com/sanity-io/sanity/commit/b454c8c18) Binoy Patel | chore(perf): add test for editing another field in large doc | [`1985a55`](https://togithub.com/sanity-io/sanity/commit/1985a55e7) Herman Wikner | feat(core): improve global create menu ([#4288](https://togithub.com/sanity-io/sanity/issues/4288)) | [`ea69cf4`](https://togithub.com/sanity-io/sanity/commit/ea69cf4c8) Per-Kristian Nordnes | test(test-studio): rename schema file .ts > .tsx | [`cc1937d`](https://togithub.com/sanity-io/sanity/commit/cc1937d99) Per-Kristian Nordnes | fix(portable-text-editor): remove unused props left behind | [`fc6326f`](https://togithub.com/sanity-io/sanity/commit/fc6326ff6) Per-Kristian Nordnes | refactor(portable-text-editor): rename type > schemaType + add schemaType to all rendercallbacks | [`2024861`](https://togithub.com/sanity-io/sanity/commit/20248617a) Per-Kristian Nordnes | refactor(form/imputs): fix issues and improve PT-input custom rendring | [`fdec8fc`](https://togithub.com/sanity-io/sanity/commit/fdec8fcee) Per-Kristian Nordnes | test(portable-text-editor): fix changed prop name | [`72746b2`](https://togithub.com/sanity-io/sanity/commit/72746b220) Per-Kristian Nordnes | refactor(form/inputs): improve BlockObject code | [`30fd991`](https://togithub.com/sanity-io/sanity/commit/30fd99156) Per-Kristian Nordnes | refactor(form/inputs): refactor PT-input inlineObject code | [`01b4377`](https://togithub.com/sanity-io/sanity/commit/01b4377ce) Per-Kristian Nordnes | refactor(form/inputs): address minor code style improvements from PR review | [`b447bb6`](https://togithub.com/sanity-io/sanity/commit/b447bb6e3) Per-Kristian Nordnes | refactor(portable-text-editor): remove legacy code no longer needed | [`f3b6c97`](https://togithub.com/sanity-io/sanity/commit/f3b6c970f) Per-Kristian Nordnes | fix(form/inputs): fix popover open/close state issue with PT-input | [`921319c`](https://togithub.com/sanity-io/sanity/commit/921319ccc) Per-Kristian Nordnes | test(portable-text-editor): update snapshot | [`ed3eb32`](https://togithub.com/sanity-io/sanity/commit/ed3eb32bb) Per-Kristian Nordnes | refactor(form/inputs): remove unnecessary div | [`aa381a7`](https://togithub.com/sanity-io/sanity/commit/aa381a7e4) Per-Kristian Nordnes | refactor(form/inputs): improve block/inline-block actions handling | [`e040c42`](https://togithub.com/sanity-io/sanity/commit/e040c42d3) Per-Kristian Nordnes | refactor(form/inputs): streamline Annotation custom rendering | [`9264d31`](https://togithub.com/sanity-io/sanity/commit/9264d31f6) Per-Kristian Nordnes | fix(form/inputs): fix wrong mode for delete inline object call | [`c92586f`](https://togithub.com/sanity-io/sanity/commit/c92586f18) Per-Kristian Nordnes | fix(form/inputs): mark as not contentEditable | [`0d79679`](https://togithub.com/sanity-io/sanity/commit/0d796790c) Per-Kristian Nordnes | fix(portable-text-editor): remove redundant and incorrect hook | [`485e18b`](https://togithub.com/sanity-io/sanity/commit/485e18b68) Per-Kristian Nordnes | fix(portable-text-editor): fix issue with focused and selected prop for leaves | [`1766c63`](https://togithub.com/sanity-io/sanity/commit/1766c63c2) Per-Kristian Nordnes | refactor(portable-text-editor): optimize performance for path conversions | [`f3eaf40`](https://togithub.com/sanity-io/sanity/commit/f3eaf4012) Per-Kristian Nordnes | fix(form/inputs): test for length of focusPath before creating initial selection | [`c571694`](https://togithub.com/sanity-io/sanity/commit/c5716949c) Per-Kristian Nordnes | refactor(form/inputs): refactor PT-input customization props | [`e9f496f`](https://togithub.com/sanity-io/sanity/commit/e9f496f7e) Per-Kristian Nordnes | fix(portable-text-editor): fix incorrect path matching with diffMatchPatches | [`3e121d4`](https://togithub.com/sanity-io/sanity/commit/3e121d4fb) Per-Kristian Nordnes | refactor(portable-text-editor): sync value more delicately | [`1c22357`](https://togithub.com/sanity-io/sanity/commit/1c2235754) Per-Kristian Nordnes | chore(form/inputs): remove unused legacy code | [`eec695a`](https://togithub.com/sanity-io/sanity/commit/eec695a18) Per-Kristian Nordnes | fix(form/inputs): fix invalid CSS value | [`0f42777`](https://togithub.com/sanity-io/sanity/commit/0f42777bb) Per-Kristian Nordnes | fix(portable-text-editor): ensure that changed inlineBlocks gets correct \_key | [`aea3b23`](https://togithub.com/sanity-io/sanity/commit/aea3b23bc) Per-Kristian Nordnes | refactor(form/inputs): complete block customization support and refactor code | [`4cc3b59`](https://togithub.com/sanity-io/sanity/commit/4cc3b5995) Per-Kristian Nordnes | dev(test-studio): restore simpleBlock schema | [`01e39af`](https://togithub.com/sanity-io/sanity/commit/01e39afc0) Per-Kristian Nordnes | refactor(portable-text-editor): make useSyncValue more readable | [`b253bbc`](https://togithub.com/sanity-io/sanity/commit/b253bbc7e) Per-Kristian Nordnes | refactor(portable-text-editor): add backwards comp. for renamed prop. | [`0392d13`](https://togithub.com/sanity-io/sanity/commit/0392d13d0) Per-Kristian Nordnes | fix(portable-text-editor): fix useMemo deps gone wrong | [`2b3004b`](https://togithub.com/sanity-io/sanity/commit/2b3004bef) Espen Hovlandsdal | chore: drop unused smoke test ([#4280](https://togithub.com/sanity-io/sanity/issues/4280)) | [`53e5498`](https://togithub.com/sanity-io/sanity/commit/53e549862) Espen Hovlandsdal | chore: drop unused mock files ([#4279](https://togithub.com/sanity-io/sanity/issues/4279)) | [`01a3cda`](https://togithub.com/sanity-io/sanity/commit/01a3cda85) Espen Hovlandsdal | chore: refactor e2e test setup | [`d92a606`](https://togithub.com/sanity-io/sanity/commit/d92a606ea) Espen Hovlandsdal | ci: add e2e test workflow | [`61c73a9`](https://togithub.com/sanity-io/sanity/commit/61c73a9fe) Binoy Patel | fix(vision): fix results getting cut off in vision ([#4287](https://togithub.com/sanity-io/sanity/issues/4287)) | [`63753c2`](https://togithub.com/sanity-io/sanity/commit/63753c242) Per-Kristian Nordnes | fix(portable-text-editor): make deprecated property non-enumerable | [`b9f0b5f`](https://togithub.com/sanity-io/sanity/commit/b9f0b5fad) Cody Olsen | fix: upgrade `@sanity/eventsource` ([#4303](https://togithub.com/sanity-io/sanity/issues/4303)) | [`55c4f31`](https://togithub.com/sanity-io/sanity/commit/55c4f31b6) Per-Kristian Nordnes | (form/inputs): PT: fix various path and selection issues ([#4310](https://togithub.com/sanity-io/sanity/issues/4310)) | [`1690bee`](https://togithub.com/sanity-io/sanity/commit/1690bee2c) Per-Kristian Nordnes | PTE: Improve validation and value propagation ([#4307](https://togithub.com/sanity-io/sanity/issues/4307)) | [`57ac64e`](https://togithub.com/sanity-io/sanity/commit/57ac64e25) Binoy Patel | chore(perf): add perf tests for different array items ([#4306](https://togithub.com/sanity-io/sanity/issues/4306)) | [`137c701`](https://togithub.com/sanity-io/sanity/commit/137c70146) Per-Kristian Nordnes | fix(portable-text-editor): fix issue with setIfMissing and insert patches on empty editor | [`3aee080`](https://togithub.com/sanity-io/sanity/commit/3aee08070) Per-Kristian Nordnes | test(portable-text-editor): update test to reflect recent changes to empty value handling | [`6d8e5b4`](https://togithub.com/sanity-io/sanity/commit/6d8e5b469) Per-Kristian Nordnes | test(portable-text-editor): support pasting in collab test env. | [`cec4b3b`](https://togithub.com/sanity-io/sanity/commit/cec4b3b2c) Per-Kristian Nordnes | test(portable-text-editor): test pasting into the editor | [`bbb6a2b`](https://togithub.com/sanity-io/sanity/commit/bbb6a2b1d) Per-Kristian Nordnes | refactor(portable-text-editor): improve selection management | [`8155969`](https://togithub.com/sanity-io/sanity/commit/8155969e8) Per-Kristian Nordnes | test(portable-text-editor): temp. disable flakey expectation on CI | [`a85b98d`](https://togithub.com/sanity-io/sanity/commit/a85b98da6) ### [`v3.7.1`](https://togithub.com/sanity-io/sanity/releases/tag/v3.7.1) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.7.0...v3.7.1) ##### Installation and upgrading **To initiate a new Studio without installing the CLI globally:** npx create-sanity@latest **To upgrade a v3 Studio:** npm install sanity@latest ##### 🐛 Notable bugfixes - Fixes an issue where an array field’s value is not set to undefined when the last item is removed - Fixes hydration mismatch issues - Fixes an issue where preview panes are not preserved on smaller screens - Fixes an issue where the studio may crash when accessing history changes with reduced permissions ##### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Robin Pyon | refactor(core): initial generalised command list ([#4251](https://togithub.com/sanity-io/sanity/issues/4251)) | [`ea0211b`](https://togithub.com/sanity-io/sanity/commit/ea0211b12) Geoff Ball | fix(core): typo | [`2155050`](https://togithub.com/sanity-io/sanity/commit/2155050b3) Robin Pyon | fix(core): handle 403 responses when calling `userStore.getUser()` ([#4281](https://togithub.com/sanity-io/sanity/issues/4281)) | [`06fc26e`](https://togithub.com/sanity-io/sanity/commit/06fc26e12) Cody Olsen | fix: preserve preview panes on small screens ([#4276](https://togithub.com/sanity-io/sanity/issues/4276)) | [`c5ca9b6`](https://togithub.com/sanity-io/sanity/commit/c5ca9b6b7) Cody Olsen | fix: upgrade `history` to v5 ([#4282](https://togithub.com/sanity-io/sanity/issues/4282)) | [`1adf7f9`](https://togithub.com/sanity-io/sanity/commit/1adf7f909) Cody Olsen | fix(SSR):Configuration
📅 Schedule: Branch creation - "before 3am 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.