sanity-io / google-maps-input

Sanity plugin providing input handlers for geo-related input types using Google Maps
MIT License
9 stars 4 forks source link

chore(deps): update dependency sanity to v3.10.1 #31

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

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

Release Notes

sanity-io/sanity ### [`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): handle `scheme` & `onSchemeChange` props edge cases ([#​4283](https://togithub.com/sanity-io/sanity/issues/4283)) | [`0082be5`](https://togithub.com/sanity-io/sanity/commit/0082be562) Binoy Patel | fix(core): remove array from document when it's only item is unset ([#​4285](https://togithub.com/sanity-io/sanity/issues/4285)) | [`8a2b8ad`](https://togithub.com/sanity-io/sanity/commit/8a2b8adeb) Chewie | fix(types): add `hidden` to `FieldGroupDefinition` ([#​4208](https://togithub.com/sanity-io/sanity/issues/4208)) | [`0fcb439`](https://togithub.com/sanity-io/sanity/commit/0fcb43956) ### [`v3.7.0`](https://togithub.com/sanity-io/sanity/releases/tag/v3.7.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.6.0...v3.7.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 - Adds getClient() method to reference filter context ### 🐛 Notable bugfixes - Invalid references can now be removed from array inputs - Validation error will now appear when missing a \_ref in array of items - Removes convert to reference button when converting array of references to singular reference - patch.execute() now reflects that the second argument is optional ### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Robin Pyon | chore(test-studio): add debug input containing many fields | [`46f41bd`](https://togithub.com/sanity-io/sanity/commit/46f41bdde) Binoy Patel | fix(core): fix deleting invalid reference items in array ([#​4256](https://togithub.com/sanity-io/sanity/issues/4256)) | [`a81119e`](https://togithub.com/sanity-io/sanity/commit/a81119e2b) Espen Hovlandsdal | feat(core): provide `getClient()` method to reference filter context ([#​4267](https://togithub.com/sanity-io/sanity/issues/4267)) | [`28f2f6a`](https://togithub.com/sanity-io/sanity/commit/28f2f6a31) Espen Hovlandsdal | docs: add docblock for useClient hook ([#​4259](https://togithub.com/sanity-io/sanity/issues/4259)) | [`a432c40`](https://togithub.com/sanity-io/sanity/commit/a432c4069) Binoy Patel | fix(validation): show validation error for missing \_ref ([#​4264](https://togithub.com/sanity-io/sanity/issues/4264)) | [`5634746`](https://togithub.com/sanity-io/sanity/commit/56347466f) Bjørge Næss | fix(core): fix typings to reflect that the second argument to patch.execute is optional ([#​4274](https://togithub.com/sanity-io/sanity/issues/4274)) | [`401192c`](https://togithub.com/sanity-io/sanity/commit/401192ca9) Binoy Patel | fix(core): remove button to convert to reference for arrays ([#​4275](https://togithub.com/sanity-io/sanity/issues/4275)) | [`5d3de49`](https://togithub.com/sanity-io/sanity/commit/5d3de4980) ### [`v3.6.0`](https://togithub.com/sanity-io/sanity/releases/tag/v3.6.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.5.1...v3.6.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 ### 🐛 Notable bugfixes - General search performance improvements on larger studios (containing thousands of fields) - Desk Structure is now able to auto-generate IDs from non-ascii source values (for instance cyrillic characters) - Allows fractional section of a number to have leading zeros (thanks [@​pauloborges](https://togithub.com/pauloborges)!) - Fixes studio authentication when using a custom API hostname - Makes schemas in Shopify online storefront template compatible with GraphQL deployments - Fixes an issue of document type icons not showing up in array fields - Fixes a bug where opening a reference field dropdown would not trigger a defined filtering function - Restores functionality of the "Open in new tab" function for arrays of references - Fixes issue where clicking a document reference while still loading would result in an invalid link and cause the studio to crash - Fixes several issues that might occur when dealing with duplicate document IDs across workspaces - Fixes an issue that might cause the studio to crash when trying to view history in a dataset copied with the `--skip-history` flag ### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Robin Pyon | fix(core): search performance improvements ([#​4216](https://togithub.com/sanity-io/sanity/issues/4216)) | [`824b5fd`](https://togithub.com/sanity-io/sanity/commit/824b5fd03) Espen Hovlandsdal | feat(cli): use local callback server for auth instead of listener ([#​4222](https://togithub.com/sanity-io/sanity/issues/4222)) | [`8ba697c`](https://togithub.com/sanity-io/sanity/commit/8ba697cae) Binoy | fix(desk): cyrillic characters in deskStructure crashing sanity ([#​4224](https://togithub.com/sanity-io/sanity/issues/4224)) | [`98f716b`](https://togithub.com/sanity-io/sanity/commit/98f716bfc) Bjørge Næss | fix(ci): set a 60 minute timeout on the test workflow | [`b9d666f`](https://togithub.com/sanity-io/sanity/commit/b9d666fa3) Herman Wikner | fix(core): focus issue in nav drawer ([#​4232](https://togithub.com/sanity-io/sanity/issues/4232)) | [`2e6e59a`](https://togithub.com/sanity-io/sanity/commit/2e6e59a17) Bjørge Næss | chore(build): remove cypress ([#​4235](https://togithub.com/sanity-io/sanity/issues/4235)) | [`83da7d1`](https://togithub.com/sanity-io/sanity/commit/83da7d1e8) Bjørge Næss | fix(deps): upgrade playwright to latest | [`3926ba3`](https://togithub.com/sanity-io/sanity/commit/3926ba3bb) Paulo Borges | fix(form): allow fractional part of a number to have leading zeros ([#​4206](https://togithub.com/sanity-io/sanity/issues/4206)) | [`1930213`](https://togithub.com/sanity-io/sanity/commit/19302131c) Espen Hovlandsdal | fix(auth): use configured api hostname for auth checks ([#​4234](https://togithub.com/sanity-io/sanity/issues/4234)) | [`5e7faeb`](https://togithub.com/sanity-io/sanity/commit/5e7faeb52) Espen Hovlandsdal | feat(cli): use strict mode schemas for shopify online template ([#​4229](https://togithub.com/sanity-io/sanity/issues/4229)) | [`5edcce8`](https://togithub.com/sanity-io/sanity/commit/5edcce8ea) Bjørge Næss | chore(ci): cleanup workflow files ([#​4236](https://togithub.com/sanity-io/sanity/issues/4236)) | [`af2b57e`](https://togithub.com/sanity-io/sanity/commit/af2b57e76) Binoy | fix(core): icons not showing in array fields ([#​4242](https://togithub.com/sanity-io/sanity/issues/4242)) | [`1465a1a`](https://togithub.com/sanity-io/sanity/commit/1465a1afb) Bjørge Næss | ci: introduce performance test runner and studio | [`c5859d4`](https://togithub.com/sanity-io/sanity/commit/c5859d4ca) Bjørge Næss | ci: add webhook receiver for branch/tags and deployment events | [`a13e4b1`](https://togithub.com/sanity-io/sanity/commit/a13e4b122) Bjørge Næss | test(perf): add test for deeply nested field | [`303e85d`](https://togithub.com/sanity-io/sanity/commit/303e85df4) Bjørge Næss | fix(ci): enable perf test workflow for "next"-branch | [`921a0c6`](https://togithub.com/sanity-io/sanity/commit/921a0c669) Binoy | fix(core): ensure filter function on reference field is always fired when menu is opened ([#​4241](https://togithub.com/sanity-io/sanity/issues/4241)) | [`e32302b`](https://togithub.com/sanity-io/sanity/commit/e32302b6e) Espen Hovlandsdal | fix(core): restore "open in new tab" function for reference arrays ([#​4243](https://togithub.com/sanity-io/sanity/issues/4243)) | [`115dd23`](https://togithub.com/sanity-io/sanity/commit/115dd2347) Espen Hovlandsdal | fix(desk): attempt to resolve missing document type automatically ([#​4244](https://togithub.com/sanity-io/sanity/issues/4244)) | [`a038ecf`](https://togithub.com/sanity-io/sanity/commit/a038ecff7) Binoy | fix(core): changing workspace with same document id causes error ([#​4223](https://togithub.com/sanity-io/sanity/issues/4223)) | [`2db15e9`](https://togithub.com/sanity-io/sanity/commit/2db15e99f) Binoy | fix(core): fix crash when history does not include valid user information ([#​4248](https://togithub.com/sanity-io/sanity/issues/4248)) | [`3825976`](https://togithub.com/sanity-io/sanity/commit/3825976ef) ### [`v3.5.1`](https://togithub.com/sanity-io/sanity/releases/tag/v3.5.1) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.5.0...v3.5.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 the `accept` option for file and image schema types would not be respected by the image and file picker, only new uploads - Fixes dialog closing behavior in the studio to be more consistent - Improves readability of `date` and `datetime` diffs in the review changes panel - Fixes an issue where the first focusable element in a document was not focused when opening the document - Fixes an issue where form dialogs were not closing as esxpected when navigating to a new document - Fixes an issue where the selected sort option in the document list was not highlighted in the UI - Fixes an issue where the correct default fieldgroup was not set in an array of objects - Fixes an issue where opening a browser from the CLI tool on Windows might cause the login process to crash - Adds missing options in mobile sidebar menu - Fixes a regression from `v3.4.0` in the Portable Text Editor that could corrupt text when typing fast and toggling text decorators (I.e. bold or italic) while typing - Fixes a regression from `v3.4.0` in the Portable Text Editor where it sometimes would error when toggling between different versions in the History View ### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- RitaDias | fix(core): non valid file types for image and file inputs will be greyed out ([#​4127](https://togithub.com/sanity-io/sanity/issues/4127)) | [`8ad9eb8`](https://togithub.com/sanity-io/sanity/commit/8ad9eb883) Herman Wikner | fix(core): focus handling and dialog behavior ([#​4139](http

Configuration

📅 Schedule: Branch creation - "before 3am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

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



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

socket-security[bot] commented 1 year ago

New dependency changes detected. Learn more about Socket for GitHub ↗︎


👍 No new dependency issues detected in pull request

Bot Commands

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of package-name@version specifiers. e.g. @SocketSecurity ignore foo@1.0.0 bar@* or ignore all packages with @SocketSecurity ignore-all

Pull request alert summary
Issue Status
Install scripts ✅ 0 issues
Native code ✅ 0 issues
Bin script shell injection ✅ 0 issues
Unresolved require ✅ 0 issues
Invalid package.json ✅ 0 issues
HTTP dependency ✅ 0 issues
Git dependency ✅ 0 issues
Potential typo squat ✅ 0 issues
Known Malware ✅ 0 issues
Telemetry ✅ 0 issues
Protestware/Troll package ✅ 0 issues

📊 Modified Dependency Overview:

⬆️ Updated Package Version Diff Added Capability Access +/- Transitive Count Publisher
@sanity/icons@2.3.1 2.0.0...2.3.1 None +0/-0 sanity-io
sanity@3.10.1 3.0.0...3.10.1 None +97/-66 ritasdias
@sanity/ui@1.3.3 1.0.0...1.3.3 None +13/-18 sanity-io