sanity-io/sanity
### [`v2.35.2`](https://togithub.com/sanity-io/sanity/releases/tag/v2.35.2)
[Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.35.0...v2.35.2)
Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
##### 🐛 Notable bugfixes
- Fixes an edge case where a cross dataset reference to a deleted document would prevent you from changing the referring document
##### 📓 Full changelog
Author | Message | Commit
\------------ | ------------- | -------------
Fred Carlsen | fix(base): skip cross dataset validation on mutations ([#3856](https://togithub.com/sanity-io/sanity/issues/3856)) | [`d746aae`](https://togithub.com/sanity-io/sanity/commit/d746aaec49)
### [`v2.35.0`](https://togithub.com/sanity-io/sanity/releases/tag/v2.35.0)
[Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.34.0...v2.35.0)
Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
##### ✨ Highlights
##### Shared Content
This release introduces support for shared content through cross-dataset references. Read more in the announcement: https://www.sanity.io/blog/shared-content-introduction
![Shared Content: Eliminate Content Debt](https://user-images.githubusercontent.com/48200/197024015-3e52bd75-8e95-4047-8d1d-b50540b345e9.png)
##### Improved search
Order search results by relevance, created and last updated date.
![Ordering search results](https://user-images.githubusercontent.com/48200/197023943-0502f488-0506-4e9d-af5f-e320ffc9d599.png)
##### 🐛 Notable bugfixes
- Fixes an issue where split panes might not persist after reloading the studio
- Fixes a bug causing revision history selector to always display the current version instead of the selected revision
##### 📓 Full changelog
Author | Message | Commit
\------------ | ------------- | -------------
Cody Olsen | fix: persist split panes on reload | [`797315a`](https://togithub.com/sanity-io/sanity/commit/797315a060)
Bjørge Næss | fix(desk-tool): fix issue with history pane not showing the earlier version ([#3759](https://togithub.com/sanity-io/sanity/issues/3759)) | [`3ab221a`](https://togithub.com/sanity-io/sanity/commit/3ab221a987)
Robin Pyon | chore(default-layout): re-enable search sorting ([#3765](https://togithub.com/sanity-io/sanity/issues/3765)) | [`3a2fc45`](https://togithub.com/sanity-io/sanity/commit/3a2fc45d94)
Espen Hovlandsdal | fix(schema): include `_dataset` field for cross-dataset references | [`9c6dd6b`](https://togithub.com/sanity-io/sanity/commit/9c6dd6bfe9)
Espen Hovlandsdal | feat(core): include (non-materialized) cross-dataset references in GraphQL schemas | [`5d1e161`](https://togithub.com/sanity-io/sanity/commit/5d1e16182f)
Fred Carlsen | refactor(form-builder): simplify cross dataset reference config ([#3670](https://togithub.com/sanity-io/sanity/issues/3670)) | [`6b0afbd`](https://togithub.com/sanity-io/sanity/commit/6b0afbd5e8)
### [`v2.34.0`](https://togithub.com/sanity-io/sanity/releases/tag/v2.34.0)
[Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.33.3...v2.34.0)
Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
##### ✨ Highlights
##### Performance improvements
This release includes several performance fixes that should now make the Studio more responsive while editing documents. (See more details in individual PRs [#3668](https://togithub.com/sanity-io/sanity/issues/3668), [#3662](https://togithub.com/sanity-io/sanity/issues/3662), [#3660](https://togithub.com/sanity-io/sanity/issues/3660))
##### Improved search
Search for documents containing an exact phrase by wrapping text inside double quotes.
##### Other features
- Upgrade `@sanity/ui` to `v.0.37.22`
##### 🐛 Notable bugfixes
- Fixes an issue where the scroll position in global search wasn’t being correctly retained in some instances.
- Fixes an issue in global search that would cause the studio to crash if Local Storage is unavailable.
##### 📓 Full changelog
Author | Message | Commit
\------------ | ------------- | -------------
Per-Kristian Nordnes | feature(form-builder): throttle onChange form text inputs | [`c8c1ab9`](https://togithub.com/sanity-io/sanity/commit/c8c1ab9565)
Per-Kristian Nordnes | feature(react-hooks): add low priority modality to useEditState hook | [`c81a611`](https://togithub.com/sanity-io/sanity/commit/c81a61105c)
Per-Kristian Nordnes | refactor(desk-tool): optimize DocumentPaneProvider | [`6a53cfb`](https://togithub.com/sanity-io/sanity/commit/6a53cfbcc3)
Bjørge Næss | feat(form-builder): add withParent higher order component | [`0cc0a38`](https://togithub.com/sanity-io/sanity/commit/0cc0a3829f)
Robin Pyon | fix(default-layout): apply offset on search spinner wrapping element | [`b36cc94`](https://togithub.com/sanity-io/sanity/commit/b36cc9406b)
Bjørge Næss | test(validation): drop test asserting eager execution of nested validation checks | [`b877b6d`](https://togithub.com/sanity-io/sanity/commit/b877b6dcfb)
Bjørge Næss | fix(validation): add requestIdleCallback shim for Safari | [`bf2eb5b`](https://togithub.com/sanity-io/sanity/commit/bf2eb5b8b8)
Bjørge Næss | perf(validation): refactor validation to be based on observables instead of promises, run in idle callback | [`6d2e9b7`](https://togithub.com/sanity-io/sanity/commit/6d2e9b7115)
Bjørge Næss | lint(validation): rename reduce accumulator | [`ecfddc8`](https://togithub.com/sanity-io/sanity/commit/ecfddc8e98)
Bjørge Næss | deps(base): upgrade to latest rxjs-exhaustmap-with-trailing | [`9df5705`](https://togithub.com/sanity-io/sanity/commit/9df5705378)
Bjørge Næss | refactor(base): optimize validation scheduling | [`7998aed`](https://togithub.com/sanity-io/sanity/commit/7998aed71e)
Bjørge Næss | test(base): tweak tests after validation schedule optimizations | [`5539bcf`](https://togithub.com/sanity-io/sanity/commit/5539bcfbc3)
Bjørge Næss | fix(base): keep reference existence listener alive between document versions | [`80a6b19`](https://togithub.com/sanity-io/sanity/commit/80a6b1976d)
Bjørge Næss | fix(base): inline getDocumentExists and make it look up already existing info | [`834c298`](https://togithub.com/sanity-io/sanity/commit/834c298e78)
Bjørge Næss | fix(desk-tool): make sure validation result is about current revision before publishing | [`e8db04f`](https://togithub.com/sanity-io/sanity/commit/e8db04f91c)
Robin Pyon | feat(default-layout): sortable search results, search phrases, experimental config ([#3652](https://togithub.com/sanity-io/sanity/issues/3652)) | [`d60e29e`](https://togithub.com/sanity-io/sanity/commit/d60e29e070)
Per-Kristian Nordnes | fix(react-hooks): reuse already setup observable | [`159cee9`](https://togithub.com/sanity-io/sanity/commit/159cee90a7)
Per-Kristian Nordnes | fix(desk-tool): don't render title until the editState is ready | [`4237e3b`](https://togithub.com/sanity-io/sanity/commit/4237e3b26e)
Per-Kristian Nordnes | refactor(dashboard): streamline user widget loading spinner with other plugins | [`c14679d`](https://togithub.com/sanity-io/sanity/commit/c14679da6b)
Per-Kristian Nordnes | chore(default-layout): disable search sort for now | [`ec293d3`](https://togithub.com/sanity-io/sanity/commit/ec293d3722)
Per-Kristian Nordnes | chore: upgrade [@sanity/ui](https://togithub.com/sanity/ui) to ^0.37.22 | [`adf025a`](https://togithub.com/sanity-io/sanity/commit/adf025a98d)
Per-Kristian Nordnes | fix(default-layout): fix issue with SearchHeader spinner icon not being correctly aligned | [`a1d9f5f`](https://togithub.com/sanity-io/sanity/commit/a1d9f5f5da)
Per-Kristian Nordnes | fix(default-login): fix issue with CORS check Spinner misaligning | [`4c51e19`](https://togithub.com/sanity-io/sanity/commit/4c51e19c2b)
Per-Kristian Nordnes | fix(studio-hints): fix issue with Spinner misaligning | [`7ba632a`](https://togithub.com/sanity-io/sanity/commit/7ba632a85c)
### [`v2.33.3`](https://togithub.com/sanity-io/sanity/releases/tag/v2.33.3)
[Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.33.2...v2.33.3)
Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
##### ✨ Highlights
##### New CLI flags!
We've added a few new flags to make automation easier!
The `--force` flag was added to a few already existing commands and will skip the confirmation prompt and proceed with the command:
`sanity dataset alias unlink --force`
`sanity dataset alias delete --force`
`sanity dataset delete --force`
`sanity graphql undeploy --dataset --force`
When added, the `--no-open` flag prevents the login page from automatically opening in the browser.
`sanity login --provider --no-open`
##### 📓 Full changelog
Author | Message | Commit
\------------ | ------------- | -------------
Per-Kristian Nordnes | fix(form-builder): fix dialog issue with toplayer caused by omnipresent layer | [`0d87380`](https://togithub.com/sanity-io/sanity/commit/0d873807f2)
Per-Kristian Nordnes | fix(form-builder): workaround weird Chrome bug related to flex and spellchecking | [`a8713a8`](https://togithub.com/sanity-io/sanity/commit/a8713a8643)
Espen Hovlandsdal | feat(cli): add `--no-open` flag to login command | [`4c38a3d`](https://togithub.com/sanity-io/sanity/commit/4c38a3d842)
Espen Hovlandsdal | feat(cli): add `--force` flag to `sanity dataset delete` command | [`bb08c41`](https://togithub.com/sanity-io/sanity/commit/bb08c41c02)
Espen Hovlandsdal | feat(cli): add `--force` flag for dataset alias unlink command | [`bc012e5`](https://togithub.com/sanity-io/sanity/commit/bc012e507a)
Espen Hovlandsdal | feat(core): add `--force` flag to dataset alias delete command | [`6d2a077`](https://togithub.com/sanity-io/sanity/commit/6d2a077de8)
Fred Carlsen | fix(desk-tool): silence warning about animating stroke dash offset | [`2b9fb7d`](https://togithub.com/sanity-io/sanity/commit/2b9fb7d03b)
Fred Carlsen | fix(base): tag bifur requests | [`ae7e560`](https://togithub.com/sanity-io/sanity/commit/ae7e5603df)
Espen Hovlandsdal | feat(core): add `--force` flag to graphql undeploy command | [`eb9684e`](https://togithub.com/sanity-io/sanity/commit/eb9684e066)
Bjørge Næss | perf(desk-tool): optimize useTimeAgo | [`7a44a7d`](https://togithub.com/sanity-io/sanity/commit/7a44a7dec7)
### [`v2.33.2`](https://togithub.com/sanity-io/sanity/releases/tag/v2.33.2)
[Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.33.0...v2.33.2)
Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
##### 🐛 Notable bugfixes
- Fixes styling of a columnar fieldsets
- Fixes an issue where older versions of Safari might crash when opening a referenced document
- Fixes an issue with the cursor disappearing when arrowing down to the bottom of a collapsed Portable Text Input field
- Fixes a Safari issue where the Portable Text editor's selection is reset when returning from an object edit modal of an embedded Portable Text object
- Improved read only mode for the Portable Text Input
##### 📓 Full changelog
Author | Message | Commit
\------------ | ------------- | -------------
Nina Andal Aarvik | fix(base): add alignment styling to a columnar fieldset ([#3279](https://togithub.com/sanity-io/sanity/issues/3279)) | [`3f450c6`](https://togithub.com/sanity-io/sanity/commit/3f450c6d2a)
Espen Hovlandsdal | fix(desk-tool): check for valid resize observer entry before use ([#3615](https://togithub.com/sanity-io/sanity/issues/3615)) | [`5d42458`](https://togithub.com/sanity-io/sanity/commit/5d424588ab)
Per-Kristian Nordnes | fix(form-builder): wrap non contentEditable in basic div | [`7f8c231`](https://togithub.com/sanity-io/sanity/commit/7f8c23185e)
Per-Kristian Nordnes | fix(form-builder): fix issue where Safari wasn't keeping the editor selection when editing objects | [`7d1cdbd`](https://togithub.com/sanity-io/sanity/commit/7d1cdbdc66)
Espen Hovlandsdal | fix(field): use correct type constraint for `useRefValue` | [`0377429`](https://togithub.com/sanity-io/sanity/commit/03774298b2)
Per-Kristian Nordnes | refactor(form-builder): improve PT-input readOnly mode | [`49b0aae`](https://togithub.com/sanity-io/sanity/commit/49b0aaea37)
Per-Kristian Nordnes | chore: update to latest v3 PTE | [`f732858`](https://togithub.com/sanity-io/sanity/commit/f732858f7e)
Per-Kristian Nordnes | refactor(form-builder): simplify readOnly PT-input colors | [`75af89d`](https://togithub.com/sanity-io/sanity/commit/75af89d94c)
Per-Kristian Nordnes | refactor(form-builder): remove redundant key handler | [`6202c39`](https://togithub.com/sanity-io/sanity/commit/6202c398ba)
### [`v2.33.0`](https://togithub.com/sanity-io/sanity/releases/tag/v2.33.0)
[Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.32.0...v2.33.0)
Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
##### ✨ Highlights
##### Performance improvements
This release brings a number of performance improvements, mostly related to excessive re-rendering of components that do not change. Notable improvements are:
- Better performance for presence indicators when many users are logged in at the same time
- The Portable Text Editor should be faster and re-render less often
##### 🐛 Notable bugfixes
- Mitigated an issue that could cause a draft document to be overwritten by an earlier version after publish
- The Presence list in the toolbar will now only show users who are working in the same dataset
##### 📓 Full changelog
Author | Message | Commit
\------------ | ------------- | -------------
Bjørge Næss | fix(mutator): minor typing fix | [`792af47`](https://togithub.com/sanity-io/sanity/commit/792af474e2)
Per-Kristian Nordnes | fix(base): fix lint issues with defaultProps | [`37bafc8`](https://togithub.com/sanity-io/sanity/commit/37bafc8778)
Per-Kristian Nordnes | fix(base): remove inline function passed as prop | [`a8674ee`](https://togithub.com/sanity-io/sanity/commit/a8674eef64)
Per-Kristian Nordnes | fix(dev): fix some issues in example studio custom PT input | [`fe92842`](https://togithub.com/sanity-io/sanity/commit/fe928429a3)
Espen Hovlandsdal | fix(hooks): short-circuit invalid dates in `useTimeAgo` hook | [`4dac112`](https://togithub.com/sanity-io/sanity/commit/4dac11227c)
Per-Kristian Nordnes | chore(gulpfile): fix issue with watch command | [`48d791d`](https://togithub.com/sanity-io/sanity/commit/48d791d7cd)
RitaDias | fix(base): defer connection to presence client ([#3590](https://togithub.com/sanity-io/sanity/issues/3590)) | [`76176b1`](https://togithub.com/sanity-io/sanity/commit/76176b1fe4)
Bjørge Næss | perf(form-builder): skip passing parent for schema types with no conditional fields | [`24baddc`](https://togithub.com/sanity-io/sanity/commit/24baddc0a8)
Bjørge Næss | fix(react-hooks): fix useDocumentOperation typing | [`76bfd06`](https://togithub.com/sanity-io/sanity/commit/76bfd06a56)
Bjørge Næss | refactor(base): clean up document operation typings | [`f65743a`](https://togithub.com/sanity-io/sanity/commit/f65743a370)
Bjørge Næss | refactor(base): replace commit handler with stream of commit requests | [`4d44543`](https://togithub.com/sanity-io/sanity/commit/4d4454334e)
Bjørge Næss | refactor: handle latency better during document publish | [`c961ce4`](https://togithub.com/sanity-io/sanity/commit/c961ce4e81)
Bjørge Næss | fix(desk-tool): add useCondionalToast hook as workaround for missing [@sanity/ui](https://togithub.com/sanity/ui) feature | [`5efb741`](https://togithub.com/sanity-io/sanity/commit/5efb741753)
Bjørge Næss | fix(base): improve correctness of error check | [`8e8e33a`](https://togithub.com/sanity-io/sanity/commit/8e8e33ac63)
Espen Hovlandsdal | refactor: optimize global/document presence | [`090e0a9`](https://togithub.com/sanity-io/sanity/commit/090e0a9ac2)
Espen Hovlandsdal | refactor: optimize document form presence | [`e7a4f14`](https://togithub.com/sanity-io/sanity/commit/e7a4f14911)
Espen Hovlandsdal | refactor: only subscribe to full presence info when menu is open | [`024e5c4`](https://togithub.com/sanity-io/sanity/commit/024e5c4442)
Per-Kristian Nordnes | chore: remove [@sanity/portable-text-editor](https://togithub.com/sanity/portable-text-editor) | [`8644e11`](https://togithub.com/sanity-io/sanity/commit/8644e1156c)
Per-Kristian Nordnes | refactor(form-builder): update PT-input to work with v3 version of the PTE | [`ba1b8a5`](https://togithub.com/sanity-io/sanity/commit/ba1b8a53f8)
Per-Kristian Nordnes | chore(language-filter): ignore ts-error due to incorrect Lerna hoisting of [@sanity/types](https://togithub.com/sanity/types) | [`e8c9933`](https://togithub.com/sanity-io/sanity/commit/e8c993334a)
Per-Kristian Nordnes | chore(form-builder): update to latest v3 PTE version | [`f6978b8`](https://togithub.com/sanity-io/sanity/commit/f6978b878d)
Bjørge Næss | perf: split change indicator context into frequent/less frequent updating values | [`e6a4b40`](https://togithub.com/sanity-io/sanity/commit/e6a4b4085a)
### [`v2.32.0`](https://togithub.com/sanity-io/sanity/releases/tag/v2.32.0)
[Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.31.1...v2.32.0)
Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
##### ✨ Highlights
##### Accessibility improvements
- Screen readers will now identify that the main language in the Studio is English
- Various accessibility improvements
##### 📓 Full changelog
Author | Message | Commit
\------------ | ------------- | -------------
Bjørge Næss | fix(desk-tool): fix publish button tooltip displaying 'now ago' | [`89c2ed0`](https://togithub.com/sanity-io/sanity/commit/89c2ed0e7)
Fred Carlsen | feat(cli): prefix commands if using npx ([#3602](https://togithub.com/sanity-io/sanity/issues/3602)) | [`c4a87c7`](https://togithub.com/sanity-io/sanity/commit/c4a87c755)
Kitty Giraudel | refactor(desk-tool): remove unnecessary tabindex attribute ([#3570](https://togithub.com/sanity-io/sanity/issues/3570)) | [`14ec874`](https://togithub.com/sanity-io/sanity/commit/14ec874f3)
Kitty Giraudel | refactor(default-layout): Add an accessible name to the presence menu button ([#3569](https://togithub.com/sanity-io/sanity/issues/3569)) | [`cb2b05c`](https://togithub.com/sanity-io/sanity/commit/cb2b05ca6)
Kitty Giraudel | refactor(desk-tool): Connect the review changes button and its tooltip ([#3567](https://togithub.com/sanity-io/sanity/issues/3567)) | [`85717f6`](https://togithub.com/sanity-io/sanity/commit/85717f64b)
Kitty Giraudel | refactor(base): Ensure image previews in PT have an `alt` attribute ([#3566](https://togithub.com/sanity-io/sanity/issues/3566)) | [`1940377`](https://togithub.com/sanity-io/sanity/commit/19403771f)
Kitty Giraudel | refactor(base, server): Add missing document language to Sanity Studio ([#3307](https://togithub.com/sanity-io/sanity/issues/3307)) | [`60d973f`](https://togithub.com/sanity-io/sanity/commit/60d973f3f)
RitaDias | fix(default-layout): fix type missing in presence menu ([#3605](https://togithub.com/sanity-io/sanity/issues/3605)) | [`5ee4f20`](https://togithub.com/sanity-io/sanity/commit/5ee4f20e5)
### [`v2.31.1`](https://togithub.com/sanity-io/sanity/releases/tag/v2.31.1)
[Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.31.0...v2.31.1)
Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
### 🐛 Notable bugfixes
- Fixed an issue where incorrect references to image and file assets would crash the studio and display invalid diffs
### 📓 Full changelog
Author | Message | Commit
\------------ | ------------- | -------------
Nina Andal Aarvik | fix: remove muted prop from text inside every tooltip in the studio ([#3559](https://togithub.com/sanity-io/sanity/issues/3559)) | [`b91c0b9`](https://togithub.com/sanity-io/sanity/commit/b91c0b9ea)
Marius Lundgård | build: update design system | [`86d9dc3`](https://togithub.com/sanity-io/sanity/commit/86d9dc3ad)
Marius Lundgård | build: align `react-refractor` version | [`490d8a3`](https://togithub.com/sanity-io/sanity/commit/490d8a34f)
Fred Carlsen | fix(form-builder): check for invalid image/file values, provide reset option ([#3560](https://togithub.com/sanity-io/sanity/issues/3560)) | [`e160d06`](https://togithub.com/sanity-io/sanity/commit/e160d06fd)
### [`v2.31.0`](https://togithub.com/sanity-io/sanity/releases/tag/v2.31.0)
[Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.30.5...v2.31.0)
Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
### ✨ Highlights
#### Improved search 🕵️
![Improved search](https://user-images.githubusercontent.com/209129/185373448-2fb1fb3f-24f3-4d8e-94b6-d795a02b430e.png)
- Adds support for filtering search results by any number of document types. You can also browse documents from any number of types without entering a search query.
- Search is now toggleable with a hotkey (Command/Control-K) and fully navigable by keyboard.
- Recent searches (including selected document types) are stored for later use
- Search terms and results are retained upon close: handy if you want to quickly revisit or amend your last search
- Improves performance when rendering and scrolling through large result sets
- The search dialog is wider, giving you more space for the search result listing
NOTE: Documents listed in search results will no longer resolve [custom components for block content and array views](https://www.sanity.io/docs/previews-list-views#d82fd035385f)
### 🐛 Notable bugfixes
- Fixes a case where sanity init would fail if ran inside of a yarn workspaces/monorepo setup in certain cases
- Fixes a case where sanity init would fail if ran inside of a yarn workspaces/monorepo setup in certain cases
- Fixes an issue with initialValueTemplates() being overridden if you called other methods after it
- Fixes an issue potentially causing npm to go into an infinite loop when installing [@sanity/core](https://togithub.com/sanity/core)
### 📓 Full changelog
Author | Message | Commit
\------------ | ------------- | -------------
Fred Carlsen | fix(form-builder): make sure to forward ref for object input with tabs ([#3522](https://togithub.com/sanity-io/sanity/issues/3522)) | [`900419a`](https://togithub.com/sanity-io/sanity/commit/900419aed9)
Espen Hovlandsdal | fix(server): work around npm peer dependency issue | [`7ab7b4d`](https://togithub.com/sanity-io/sanity/commit/7ab7b4de3a)
Espen Hovlandsdal | fix(form-builder): remove unnecessary popover dialog placement prop | [`d1e8951`](https://togithub.com/sanity-io/sanity/commit/d1e8951994)
Fred Carlsen | fix(structure): fix regression with initialValueTemplates being overridden ([#3540](https://togithub.com/sanity-io/sanity/issues/3540)) | [`d76570d`](https://togithub.com/sanity-io/sanity/commit/d76570d8d5)
Espen Hovlandsdal | fix(cli): work around edge-case when unable to resolve [@sanity/core](https://togithub.com/sanity/core) | [`3824db4`](https://togithub.com/sanity-io/sanity/commit/3824db4ce0)
Robin Pyon | feat(default-layout): search improvements ([#3525](https://togithub.com/sanity-io/sanity/issues/3525)) | [`52eb236`](https://togithub.com/sanity-io/sanity/commit/52eb23609d)
### [`v2.30.5`](https://togithub.com/sanity-io/sanity/releases/tag/v2.30.5)
[Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.30.4...v2.30.5)
Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
##### 🐛 Notable bugfixes
- Improved the UX of the new reference indicator in document pane.
##### 📓 Full changelog
Author | Message | Commit
\------------ | ------------- | -------------
Nina Andal Aarvik | fix(dashboard): fix typo in banner, open link in new pane ([#3486](https://togithub.com/sanity-io/sanity/issues/3486)) | [`84ae343`](https://togithub.com/sanity-io/sanity/commit/84ae3437b)
Nina Andal Aarvik | feat(desk): add reference count and learn more link to references indication ([#3484](https://togithub.com/sanity-io/sanity/issues/3484)) | [`d3c5a81`](https://togithub.com/sanity-io/sanity/commit/d3c5a81e6)
Espen Hovlandsdal | chore: remove last remnants of perf workflow | [`0064689`](https://togithub.com/sanity-io/sanity/commit/00646897b)
Dan Michael O. Heggø | fix(types): add `params` to `MutationSelection` type | [`e45efb2`](https://togithub.com/sanity-io/sanity/commit/e45efb20f)
Espen Hovlandsdal | refactor(types): format with prettier | [`ca567a4`](https://togithub.com/sanity-io/sanity/commit/ca567a4a9)
Nina Andal Aarvik | fix(desk): document title ellipsis ([#3504](https://togithub.com/sanity-io/sanity/issues/3504)) | [`20e26d8`](https://togithub.com/sanity-io/sanity/commit/20e26d82c)
RitaDias | feat(cli): add new dashboard template ([#3430](https://togithub.com/sanity-io/sanity/issues/3430)) | [`09f10a9`](https://togithub.com/sanity-io/sanity/commit/09f10a967)
Snorre Eskeland Brekke | fix(block-tools): ignore blocks inside list items ([#3492](https://togithub.com/sanity-io/sanity/issues/3492)) | [`73c0da8`](https://togithub.com/sanity-io/sanity/commit/73c0da8a0)
### [`v2.30.4`](https://togithub.com/sanity-io/sanity/releases/tag/v2.30.4)
[Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.30.3...v2.30.4)
Upgrade Sanity Studio with:
sanity upgrade
##### 🐛 Notable bugfixes
- Fixes a bug where desk tool document lists would sometimes fail to resolve a schema type for new documents when pane supports multiple types
- Reduces amount of requests triggered by new reference indication
- Fixes 404-errors being printed in developer console when checking references for unpublished documents
##### 📓 Full changelog
Author | Message | Commit
\------------ | ------------- | -------------
Espen Hovlandsdal | fix(structure): resolve schema type from template if possible | [`0113fae`](https://togithub.com/sanity-io/sanity/commit/0113faec83)
Nina Andal Aarvik | feat(desk-tool): add `pollInterval` option on `useReferringDocuments` hook ([#3478](https://togithub.com/sanity-io/sanity/issues/3478)) | [`98b16df`](https://togithub.com/sanity-io/sanity/commit/98b16dfaae)
Espen Hovlandsdal | feat(base): allow listenQuery to have separate listen and fetch queries | [`022969b`](https://togithub.com/sanity-io/sanity/commit/022969b134)
Espen Hovlandsdal | feat(base): allow listenQuery to specify relevant transitions | [`a5e9193`](https://togithub.com/sanity-io/sanity/commit/a5e91938b4)
Espen Hovlandsdal | feat(base): allow listenQuery to specify custom throttle time | [`f33bf0e`](https://togithub.com/sanity-io/sanity/commit/f33bf0ebd9)
Espen Hovlandsdal | fix(desk-tool): only refetch references on appear/disappear | [`9f10e86`](https://togithub.com/sanity-io/sanity/commit/9f10e86c6e)
Espen Hovlandsdal | fix(desk-tool): use longer throttle time when refetching references | [`37fed13`](https://togithub.com/sanity-io/sanity/commit/37fed13d47)
Espen Hovlandsdal | refactor(desk-tool): prefer options object over numeric arg | [`d26d759`](https://togithub.com/sanity-io/sanity/commit/d26d7597e1)
Espen Hovlandsdal | refactor(desk-tool): check for document existence before checking ref count | [`d9d23df`](https://togithub.com/sanity-io/sanity/commit/d9d23dfa53)
Espen Hovlandsdal | refactor(desk-tool): add request tag to external refs check | [`a39d8db`](https://togithub.com/sanity-io/sanity/commit/a39d8db65b)
Espen Hovlandsdal | chore: fix tests by using `combineLatest` instead of `forkJoin` | [`6a5ded0`](https://togithub.com/sanity-io/sanity/commit/6a5ded02a5)
Espen Hovlandsdal | chore: drop unused perf-studio | [`46cc392`](https://togithub.com/sanity-io/sanity/commit/46cc392723)
Espen Hovlandsdal | ci: drop unused perf tests | [`f153a7c`](https://togithub.com/sanity-io/sanity/commit/f153a7c382)
### [`v2.30.3`](https://togithub.com/sanity-io/sanity/releases/tag/v2.30.3)
[Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.30.1...v2.30.3)
Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
##### ✨ Notable changes
- A document that has references to it will now clearly indicate this with a differently colored header/footer, as well as with a link symbol. Additionally, prior to publishing a referenced document, a confirmation dialog will indicate that the change might affect referencing documents
- Added support for the presence feature when not using cookies for authentication
- Dependencies upgraded for the Portable Text Editor, fixing issues where Chrome would be reported as missing beforeInput- support after Chrome went above version 100. This broke spellchecking in Chrome and degraded performance
- Updated UI of dashboard feeds
##### 🐛 Notable bugfixes
- Fixes rare occurring bug in the Portable Text Editor where it would stop producing patches due to non-updated instance props
- Fixes issue where the newest `get-started` templates did not include a gitignore file
- Fixes a potential error when trying to access a file that does not exist
- Fixes issue where field validation tooltips would sometimes be cut off when inside of modals
- Fixes an issue where exporting certain old assets would fail because of an md5 mismatch
- Fixes an issue where the unpublish dialog would use the term "delete" instead of "unpublish" in the confirm dialog
- Fixes a few warnings from being printed when navigating the dashboard
- Fixes an issue where documents with a large amount of references would sometimes fail to be published because of a failing request
- Fixes an issue where a stray `margins` property would be passed to a div-element (thanks [@KittyGiraudel](https://togithub.com/KittyGiraudel)!)
- Fixes a few typos in the pets project template (thanks [@nick-krantz](https://togithub.com/nick-krantz)!)
##### 📓 Full changelog
Author | Message | Commit
\------------ | ------------- | -------------
Espen Hovlandsdal | fix(cli): include gitignore in get-started templates | [`c582201`](https://togithub.com/sanity-io/sanity/commit/c582201a6a)
RitaDias | refactor(cli): update field descriptions ([#3386](https://togithub.com/sanity-io/sanity/issues/3386)) | [`6503c3a`](https://togithub.com/sanity-io/sanity/commit/6503c3a224)
RitaDias | refactor(form-builder): add condition for name in upload progress ([#3387](https://togithub.com/sanity-io/sanity/issues/3387)) | [`317b4bd`](https://togithub.com/sanity-io/sanity/commit/317b4bd4d1)
Espen Hovlandsdal | feat(base): support presence for cookieless auth users ([#3400](https://togithub.com/sanity-io/sanity/issues/3400)) | [`46133a9`](https://togithub.com/sanity-io/sanity/commit/46133a9ce6)
Per-Kristian Nordnes | chore(portable-text-editor): upgrade to latest slate and slate-react ([#3395](https://togithub.com/sanity-io/sanity/issues/3395)) | [`6cb6a80`](https://togithub.com/sanity-io/sanity/commit/6cb6a80f94)
Per-Kristian Nordnes | fix(portable-text-editor): support dynamic instance props for readOnly and maxBlocks ([#3295](https://togithub.com/sanity-io/sanity/issues/3295)) | [`71416d3`](https://togithub.com/sanity-io/sanity/commit/71416d34e9)
Victoria Bergquist | feat(dashboard): add feed sections to dashboard feed ([#3429](https://togithub.com/sanity-io/sanity/issues/3429)) | [`a02320d`](https://togithub.com/sanity-io/sanity/commit/a02320d1f5)
Nina Andal Aarvik | fix(base): add `portal` prop to the formfield ([#3432](https://togithub.com/sanity-io/sanity/issues/3432)) | [`509c455`](https://togithub.com/sanity-io/sanity/commit/509c45527e)
Dain Cilke | feat(export): check sha1 hash first | [`ca188d3`](https://togithub.com/sanity-io/sanity/commit/ca188d34bf)
Dain Cilke | fix(export): allow either hash check | [`c67241b`](https://togithub.com/sanity-io/sanity/commit/c67241bab1)
Espen Hovlandsdal | chore(vision): drop unused moment dependency | [`16c4cd5`](https://togithub.com/sanity-io/sanity/commit/16c4cd5225)
Espen Hovlandsdal | chore: normalize [@sanity/client](https://togithub.com/sanity/client) dependency version | [`6879b27`](https://togithub.com/sanity-io/sanity/commit/6879b27406)
Espen Hovlandsdal | chore(util): upgrade moment to latest version | [`ef10e2b`](https://togithub.com/sanity-io/sanity/commit/ef10e2b8fa)
Espen Hovlandsdal | chore(core): upgrade terser | [`a5a6a4c`](https://togithub.com/sanity-io/sanity/commit/a5a6a4cd2b)
Fred Carlsen | fix(desk-tool): show correct action message in unpublish dialog ([#3461](https://togithub.com/sanity-io/sanity/issues/3461)) | [`36feddb`](https://togithub.com/sanity-io/sanity/commit/36feddb39f)
Victoria Bergquist | feat(dashboard): add docs banner to sanity tutorials widget ([#3446](https://togithub.com/sanity-io/sanity/issues/3446)) | [`9103669`](https://togithub.com/sanity-io/sanity/commit/9103669370)
Nick Krantz | fix(cli): spelling corrections in `getting-started-pets` template ([#3468](https://togithub.com/sanity-io/sanity/issues/3468)) | [`9dcb8b2`](https://togithub.com/sanity-io/sanity/commit/9dcb8b2d7a)
Espen Hovlandsdal | chore(resolver): pin mock-fs to 5.1.2 | [`2f9f03e`](https://togithub.com/sanity-io/sanity/commit/2f9f03e23d)
Espen Hovlandsdal | fix(dashboard): use correct property for feed item keys | [`a0faa37`](https://togithub.com/sanity-io/sanity/commit/a0faa37e52)
Espen Hovlandsdal | chore(dashboard): drop usage of prop-types package | [`d11f6e1`](https://togithub.com/sanity-io/sanity/commit/d11f6e12f0)
Nina Andal Aarvik | feat(base): clearly indicate a referenced document | [`e0d6a1c`](https://togithub.com/sanity-io/sanity/commit/e0d6a1c7b4)
Nina Andal Aarvik | fix(base): add popover for referenced document | [`edd569c`](https://togithub.com/sanity-io/sanity/commit/edd569cb61)
Nina Andal Aarvik | fix(base): Fixes after QA and PR review | [`123e2d3`](https://togithub.com/sanity-io/sanity/commit/123e2d3730)
Espen Hovlandsdal | fix(base): reposition referenced doc popover on resize | [`476cc89`](https://togithub.com/sanity-io/sanity/commit/476cc89063)
Nina Andal Aarvik | fix(base): add tooltip to referencedDocHeading | [`19be6a0`](https://togithub.com/sanity-io/sanity/commit/19be6a085c)
Nina Andal Aarvik | fix(base): add empty div as referenceElement for popover | [`6951a4a`](https://togithub.com/sanity-io/sanity/commit/6951a4ad4d)
Nina Andal Aarvik | fix(base): add autoFocus to popover | [`41096c1`](https://togithub.com/sanity-io/sanity/commit/41096c1ddf)
Nina Andal Aarvik | fix(base): add reference tooltip to title when popover is closed | [`fd2b177`](https://togithub.com/sanity-io/sanity/commit/fd2b1771e4)
Espen Hovlandsdal | fix(language-filter): use default tone for tooltip | [`b5ca6b8`](https://togithub.com/sanity-io/sanity/commit/b5ca6b8899)
Espen Hovlandsdal | fix(desk-tool): use default tone for header/foot popovers/menus | [`a770834`](https://togithub.com/sanity-io/sanity/commit/a7708344f8)
Espen Hovlandsdal | chore(desk-tool): fix lint issues caused by memoized component | [`ed8de89`](https://togithub.com/sanity-io/sanity/commit/ed8de89d80)
Espen Hovlandsdal | refactor(desk-tool): use `tone` instead of `ThemeColorProvider` | [`cf5dfcf`](https://togithub.com/sanity-io/sanity/commit/cf5dfcf348)
Espen Hovlandsdal | refactor(desk-tool): use useEffect instead of useCallback for side effect | [`7015351`](https://togithub.com/sanity-io/sanity/commit/701535108b)
Espen Hovlandsdal | fix(test): pass mock observable fetch method | [`c3489fc`](https://togithub.com/sanity-io/sanity/commit/c3489fc3f5)
Espen Hovlandsdal | fix(base): chunk document availability ids on id length | [`217c558`](https://togithub.com/sanity-io/sanity/commit/217c558685)
Espen Hovlandsdal | fix(base): prevent RegionsWithIntersections `margins` prop from reaching the DOM | [`3ff4182`](https://togithub.com/sanity-io/sanity/commit/3ff4182166)
Espen Hovlandsdal | chore: upgrade `@sanity/client` to v3.3.3 | [`c40c434`](https://togithub.com/sanity-io/sanity/commit/c40c434c41)
### [`v2.30.1`](https://togithub.com/sanity-io/sanity/releases/tag/v2.30.1)
[Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.30.0...v2.30.1)
Upgrade Sanity Studio with:
sanity upgrade
##### 🐛 Notable bugfixes
- Fixes hovering issue in array input with portable text block
- Fixes issue where selected list ordering in desk structure would not be respected
- Fixes issue where document list appeared to be loading forever when changing the ordering
- Fixes issue where the the code input file name field would disappear when the `language` option was set
- Improves error message when copying a dataset and the target dataset already exists, but a copy operation is already in progress
##### 📓 Full changelog
Author | Message | Commit
\------------ | ------------- | -------------
RitaDias | fix(form-builder): add safe-guard to only trigger the handle drag enter when the "drop offs" are the same as the target ([#3282](https://togithub.com/sanity-io/sanity/issues/3282)) | [`cb80129`](https://togithub.com/sanity-io/sanity/commit/cb801291c)
RitaDias | fix(desk-tool): prevent sortBy from overtaking the defaultOrdering ([#3296](https://togithub.com/sanity-io/sanity/issues/3296)) | [`b9dda8a`](https://togithub.com/sanity-io/sanity/commit/b9dda8ac8)
Nina Andal Aarvik | fix(base): keep filename field and languageAlternatives when language is provided in codesnippet ([#3288](https://togithub.com/sanity-io/sanity/issues/3288)) | [`11df11a`](https://togithub.com/sanity-io/sanity/commit/11df11ae7)
Vincent Quigley | feat(cli): allow dataset copying to determine if target dataset exists ([#3289](https://togithub.com/sanity-io/sanity/issues/3289)) | [`49208ac`](https://togithub.com/sanity-io/sanity/commit/49208ac4f)
### [`v2.30.0`](https://togithub.com/sanity-io/sanity/releases/tag/v2.30.0)
[Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.29.8...v2.30.0)
Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
##### ✨ Highlights
- CLI `copy dataset` command now always prints a job id to make it easier to resume watching running jobs
- It is now possible to navigate to a referring document from the 'delete document' dialog
##### 🐛 Notable bugfixes
- Fixed an issue where `sanity deploy` would return "Hostname already taken" for all errors
- Added explanation in `sanity exec --help` on how to add arbitrary arguments to the script
- Fixed date formatting issue in validation tooltip
- Added scroll to the types dropdown menu when creating a new reference
##### 📓 Full changelog
Author | Message | Commit
\------------ | ------------- | -------------
Nina Andal Aarvik | fix(cli): show correct error msg for sanity deploy errors ([#3269](https://togithub.com/sanity-io/sanity/issues/3269)) | [`d430381`](https://togithub.com/sanity-io/sanity/commit/d430381e5)
Geoff Ball | fix(desk-tool): restore S.documentList().defaultOrdering() functionality ([#3245](https://togithub.com/sanity-io/sanity/issues/3245)) | [`65c773a`](https://togithub.com/sanity-io/sanity/commit/65c773abf)
Espen Hovlandsdal | fix(cli): correct checks for cli auth token | [`f7a7c35`](https://togithub.com/sanity-io/sanity/commit/f7a7c3584)
Nina Andal Aarvik | fix(cli): include explanation in exec helptext of how to pass arbitrary arguments ([#3270](https://togithub.com/sanity-io/sanity/issues/3270)) | [`7f8a042`](https://togithub.com/sanity-io/sanity/commit/7f8a042a1)
Herman Wikner | feat(desk-tool): pass `documentScrollElement` as portal element to `PortalProvider` in `DocumentPanel` | [`0b70237`](https://togithub.com/sanity-io/sanity/commit/0b70237ec)
Herman Wikner | fix(base): fix field presence tooltip z-index issues | [`e4ef2a1`](https://togithub.com/sanity-io/sanity/commit/e4ef2a14f)
Herman Wikner | fix(default-layout): restore focus on buttons when closing dialogs in navbar | [`c4f8f82`](https://togithub.com/sanity-io/sanity/commit/c4f8f8217)
Per-Kristian Nordnes | fix(desk-tool): open documentation link in new window | [`c9976f7`](https://togithub.com/sanity-io/sanity/commit/c9976f7c0)
Dain Cilke | feat(cli): print copy dataset job id | [`5a41d1c`](https://togithub.com/sanity-io/sanity/commit/5a41d1c76)
Herman Wikner | feat(desk-tool): add `portal` to `DraftStatus` and `PublishedStatus` | [`b1021c3`](https://togithub.com/sanity-io/sanity/commit/b1021c327)
Herman Wikner | feat(desk-tool): add `ReferencePreviewLink` to `ConfirmDeleteDialogBody` + update UI | [`179f0d9`](https://togithub.com/sanity-io/sanity/commit/179f0d9ed)
Herman Wikner | feat(desk-tool): pass `onReferenceLinkClick` to `ConfirmDeleteDialog` | [`9f7b134`](https://togithub.com/sanity-io/sanity/commit/9f7b1349e)
Rico Kahler | test(desk-tool): mock usePaneRouter | [`86b7458`](https://togithub.com/sanity-io/sanity/commit/86b7458a4)
Martin Jacobsen | feat: changes links for Hello Sanity ([#3241](https://togithub.com/sanity-io/sanity/issues/3241)) | [`5ea477a`](https://togithub.com/sanity-io/sanity/commit/5ea477a25)
Nina Andal Aarvik | fix(base): add scrolling to dropdown when adding new reference ([#3281](https://togithub.com/sanity-io/sanity/issues/3281)) | [`788a541`](https://togithub.com/sanity-io/sanity/commit/788a54161)
Herman Wikner | fix(validation): fix broken date validation message | [`ce58d83`](https://togithub.com/sanity-io/sanity/commit/ce58d8337)
Espen Hovlandsdal | refactor(validation): correct typings on date formatter | [`c35e63d`](https://togithub.com/sanity-io/sanity/commit/c35e63da6)
Espen Hovlandsdal | chore(test-studio): add schema example for minimum date value | [`02c5a42`](https://togithub.com/sanity-io/sanity/commit/02c5a4202)
### [`v2.29.8`](https://togithub.com/sanity-io/sanity/releases/tag/v2.29.8)
[Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.29.5...v2.29.8)
Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
##### 🐛 Notable bugfixes
- Fixes an issue where the studio might crash when publishing due to a change in a third party dependency
- Fixes an issue where user avatar from Google would sometimes not appear
- Fixes a typo in the studio update dialog
- Fixes a bug where initializing new projects with a dash in its name would not include it in the suggested output path
##### 📓 Full changelog
Author | Message | Commit
\------------ | ------------- | -------------
Espen Hovlandsdal | fix(base): use same-origin referrer policy | [`6571340`](https://togithub.com/sanity-io/sanity/commit/6571340751)
Rune Botten | fix(default-layout): add a missing word to the current version text | [`5d3e515`](https://togithub.com/sanity-io/sanity/commit/5d3e515c77)
Nina Andal Aarvik | fix(cli): don't remove dash from output path ([#3265](https://togithub.com/sanity-io/sanity/issues/3265)) | [`b0c8767`](https://togithub.com/sanity-io/sanity/commit/b0c8767b23)
Espen Hovlandsdal | chore(deps): upgrade [@sanity/ui](https://togithub.com/sanity/ui) | [`7c186ad`](https://togithub.com/sanity-io/sanity/commit/7c186ad594)
### [`v2.29.5`](https://togithub.com/sanity-io/sanity/releases/tag/v2.29.5)
[Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.29.3...v2.29.5)
Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
##### ✨ Highlights
##### Dry run mode for `sanity graphql deploy`
You can now preview GraphQL deployments and check for breaking changes without deploying.
##### 📓 Full changelog
Author | Message | Commit
\------------ | ------------- | -------------
Marius Lundgård | fix(base): guard against missing `module` global | [`d152588`](https://togithub.com/sanity-io/sanity/commit/d152588be)
Marius Lundgård | build: update dependencies | [`9f636e7`](https://togithub.com/sanity-io/sanity/commit/9f636e7b6)
Marius Lundgård | build: upgrade `@sanity/ui-workshop` to v0.4 | [`a85cb26`](https://togithub.com/sanity-io/sanity/commit/a85cb26e5)
Marius Lundgård | test(default-layout): fix story path | [`32bb1de`](https://togithub.com/sanity-io/sanity/commit/32bb1ded1)
Herman Wikner | refactor(default-layout): add `data-ui` attributes to elements in `Navbar` | [`264e91b`](https://togithub.com/sanity-io/sanity/commit/264e91bc6)
Rune Botten | Chore: Refresh README ([#3224](https://togithub.com/sanity-io/sanity/issues/3224)) | [`44d924d`](https://togithub.com/sanity-io/sanity/commit/44d924d74)
RitaDias | feat(core): add `dry-run` flag ([#3226](https://togithub.com/sanity-io/sanity/issues/3226)) | [`d42ef78`](https://togithub.com/sanity-io/sanity/commit/d42ef78ca)
RitaDias | fix(form-builder): allow for upload of items when dropping over text ([#3234](https://togithub.com/sanity-io/sanity/issues/3234)) | [`b5f4b49`](https://togithub.com/sanity-io/sanity/commit/b5f4b49a7)
### [`v2.29.3`](https://togithub.com/sanity-io/sanity/releases/tag/v2.29.3)
[Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.29.2...v2.29.3)
Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
##### ✨ Highlights
##### Select organization with the CLI
Allow selecting an organization to attach new projects to during `sanity init`.
##### Other features
- Update image input height based on image size.
- Adds support for [@sanity/language-filter](https://togithub.com/sanity/language-filter) to fallback to a different language select implementation when the current one is not relevant. (thank you [@LiamMartens](https://togithub.com/LiamMartens))
##### 🐛 Notable bugfixes
- Improves how patches are sent to the server in the Portable Text editor, potentially fixing a very rare heisenbug where the latest change in the editor would not be persisted.
- Fixes a regression in the Portable Text editor's custom paste handler support.
- Fixes issues in the Portable Text editor when merging two paragraphs with text annotations in some circumstances.
- Fixes an issue where the number input wasn't allowing for decimal numbers (when the input is active).
- Fixes an issue with the changelog when filtering out entries without data to display.
##### 📓 Full changelog
Author | Message | Commit
\------------ | ------------- | -------------
Espen Hovlandsdal | fix(types): use type-only imports, drop react dependency | [`e01014a`](https://togithub.com/sanity-io/sanity/commit/e01014abe)
Espen Hovlandsdal | chore(deps): upgrade react types | [`ec97f05`](https://togithub.com/sanity-io/sanity/commit/ec97f05e1)
Per-Kristian Nordnes | test(portable-text-editor): update refactored prop | [`a4941ea`](https://togithub.com/sanity-io/sanity/commit/a4941ea67)
Per-Kristian Nordnes | refactor(portable-text-editor): change plugin callstack | [`304964b`](https://togithub.com/sanity-io/sanity/commit/304964bdd)
Knut Melvær | refactor(import): improve error message on duplicate IDs | [`d6d4351`](https://togithub.com/sanity-io/sanity/commit/d6d4351f0)
Liam Martens | feat(language-filter): implement fallback component for language-filter ([#3204](https://togithub.com/sanity-io/sanity/issues/3204)) | [`75e75c5`](https://togithub.com/sanity-io/sanity/commit/75e75c5cd)
RitaDias | fix(form-builder): fix the number input to accept decimal values when default ([#3219](https://togithub.com/sanity-io/sanity/issues/3219)) | [`31af95f`](https://togithub.com/sanity-io/sanity/commit/31af95f51)
Rune Botten | chore: update license files ([#3201](https://togithub.com/sanity-io/sanity/issues/3201)) | [`ecb0444`](https://togithub.com/sanity-io/sanity/commit/ecb04440a)
Herman Wikner | fix(default-layout): prevent changelog crash by filtering out entries without data to display | [`b53b3e2`](https://togithub.com/sanity-io/sanity/commit/b53b3e206)
Herman Wikner | fix(default-layout): add missing link to changelog in github | [`517648e`](https://togithub.com/sanity-io/sanity/commit/517648e8f)
Per-Kristian Nordnes | refactor(
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
2.0.7
->2.35.2
2.0.5
->2.35.0
2.0.1
->2.23.2
2.0.7
->2.14.0
2.0.5
->2.35.0
2.0.5
->2.35.2
2.0.7
->2.35.2
2.0.5
->2.35.2
2.0.8
->2.35.2
0.140.19
->0.140.22
^0.0.11
->^0.0.13
1.0.1
->1.3.1
Release Notes
sanity-io/sanity
### [`v2.35.2`](https://togithub.com/sanity-io/sanity/releases/tag/v2.35.2) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.35.0...v2.35.2) Upgrade the Command Line Interface (CLI) with: npm install --global @sanity/cli Upgrade Sanity Studio with: sanity upgrade ##### 🐛 Notable bugfixes - Fixes an edge case where a cross dataset reference to a deleted document would prevent you from changing the referring document ##### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Fred Carlsen | fix(base): skip cross dataset validation on mutations ([#3856](https://togithub.com/sanity-io/sanity/issues/3856)) | [`d746aae`](https://togithub.com/sanity-io/sanity/commit/d746aaec49) ### [`v2.35.0`](https://togithub.com/sanity-io/sanity/releases/tag/v2.35.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.34.0...v2.35.0) Upgrade the Command Line Interface (CLI) with: npm install --global @sanity/cli Upgrade Sanity Studio with: sanity upgrade ##### ✨ Highlights ##### Shared Content This release introduces support for shared content through cross-dataset references. Read more in the announcement: https://www.sanity.io/blog/shared-content-introduction ![Shared Content: Eliminate Content Debt](https://user-images.githubusercontent.com/48200/197024015-3e52bd75-8e95-4047-8d1d-b50540b345e9.png) ##### Improved search Order search results by relevance, created and last updated date. ![Ordering search results](https://user-images.githubusercontent.com/48200/197023943-0502f488-0506-4e9d-af5f-e320ffc9d599.png) ##### 🐛 Notable bugfixes - Fixes an issue where split panes might not persist after reloading the studio - Fixes a bug causing revision history selector to always display the current version instead of the selected revision ##### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Cody Olsen | fix: persist split panes on reload | [`797315a`](https://togithub.com/sanity-io/sanity/commit/797315a060) Bjørge Næss | fix(desk-tool): fix issue with history pane not showing the earlier version ([#3759](https://togithub.com/sanity-io/sanity/issues/3759)) | [`3ab221a`](https://togithub.com/sanity-io/sanity/commit/3ab221a987) Robin Pyon | chore(default-layout): re-enable search sorting ([#3765](https://togithub.com/sanity-io/sanity/issues/3765)) | [`3a2fc45`](https://togithub.com/sanity-io/sanity/commit/3a2fc45d94) Espen Hovlandsdal | fix(schema): include `_dataset` field for cross-dataset references | [`9c6dd6b`](https://togithub.com/sanity-io/sanity/commit/9c6dd6bfe9) Espen Hovlandsdal | feat(core): include (non-materialized) cross-dataset references in GraphQL schemas | [`5d1e161`](https://togithub.com/sanity-io/sanity/commit/5d1e16182f) Fred Carlsen | refactor(form-builder): simplify cross dataset reference config ([#3670](https://togithub.com/sanity-io/sanity/issues/3670)) | [`6b0afbd`](https://togithub.com/sanity-io/sanity/commit/6b0afbd5e8) ### [`v2.34.0`](https://togithub.com/sanity-io/sanity/releases/tag/v2.34.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.33.3...v2.34.0) Upgrade the Command Line Interface (CLI) with: npm install --global @sanity/cli Upgrade Sanity Studio with: sanity upgrade ##### ✨ Highlights ##### Performance improvements This release includes several performance fixes that should now make the Studio more responsive while editing documents. (See more details in individual PRs [#3668](https://togithub.com/sanity-io/sanity/issues/3668), [#3662](https://togithub.com/sanity-io/sanity/issues/3662), [#3660](https://togithub.com/sanity-io/sanity/issues/3660)) ##### Improved search Search for documents containing an exact phrase by wrapping text inside double quotes. ##### Other features - Upgrade `@sanity/ui` to `v.0.37.22` ##### 🐛 Notable bugfixes - Fixes an issue where the scroll position in global search wasn’t being correctly retained in some instances. - Fixes an issue in global search that would cause the studio to crash if Local Storage is unavailable. ##### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Per-Kristian Nordnes | feature(form-builder): throttle onChange form text inputs | [`c8c1ab9`](https://togithub.com/sanity-io/sanity/commit/c8c1ab9565) Per-Kristian Nordnes | feature(react-hooks): add low priority modality to useEditState hook | [`c81a611`](https://togithub.com/sanity-io/sanity/commit/c81a61105c) Per-Kristian Nordnes | refactor(desk-tool): optimize DocumentPaneProvider | [`6a53cfb`](https://togithub.com/sanity-io/sanity/commit/6a53cfbcc3) Bjørge Næss | feat(form-builder): add withParent higher order component | [`0cc0a38`](https://togithub.com/sanity-io/sanity/commit/0cc0a3829f) Robin Pyon | fix(default-layout): apply offset on search spinner wrapping element | [`b36cc94`](https://togithub.com/sanity-io/sanity/commit/b36cc9406b) Bjørge Næss | test(validation): drop test asserting eager execution of nested validation checks | [`b877b6d`](https://togithub.com/sanity-io/sanity/commit/b877b6dcfb) Bjørge Næss | fix(validation): add requestIdleCallback shim for Safari | [`bf2eb5b`](https://togithub.com/sanity-io/sanity/commit/bf2eb5b8b8) Bjørge Næss | perf(validation): refactor validation to be based on observables instead of promises, run in idle callback | [`6d2e9b7`](https://togithub.com/sanity-io/sanity/commit/6d2e9b7115) Bjørge Næss | lint(validation): rename reduce accumulator | [`ecfddc8`](https://togithub.com/sanity-io/sanity/commit/ecfddc8e98) Bjørge Næss | deps(base): upgrade to latest rxjs-exhaustmap-with-trailing | [`9df5705`](https://togithub.com/sanity-io/sanity/commit/9df5705378) Bjørge Næss | refactor(base): optimize validation scheduling | [`7998aed`](https://togithub.com/sanity-io/sanity/commit/7998aed71e) Bjørge Næss | test(base): tweak tests after validation schedule optimizations | [`5539bcf`](https://togithub.com/sanity-io/sanity/commit/5539bcfbc3) Bjørge Næss | fix(base): keep reference existence listener alive between document versions | [`80a6b19`](https://togithub.com/sanity-io/sanity/commit/80a6b1976d) Bjørge Næss | fix(base): inline getDocumentExists and make it look up already existing info | [`834c298`](https://togithub.com/sanity-io/sanity/commit/834c298e78) Bjørge Næss | fix(desk-tool): make sure validation result is about current revision before publishing | [`e8db04f`](https://togithub.com/sanity-io/sanity/commit/e8db04f91c) Robin Pyon | feat(default-layout): sortable search results, search phrases, experimental config ([#3652](https://togithub.com/sanity-io/sanity/issues/3652)) | [`d60e29e`](https://togithub.com/sanity-io/sanity/commit/d60e29e070) Per-Kristian Nordnes | fix(react-hooks): reuse already setup observable | [`159cee9`](https://togithub.com/sanity-io/sanity/commit/159cee90a7) Per-Kristian Nordnes | fix(desk-tool): don't render title until the editState is ready | [`4237e3b`](https://togithub.com/sanity-io/sanity/commit/4237e3b26e) Per-Kristian Nordnes | refactor(dashboard): streamline user widget loading spinner with other plugins | [`c14679d`](https://togithub.com/sanity-io/sanity/commit/c14679da6b) Per-Kristian Nordnes | chore(default-layout): disable search sort for now | [`ec293d3`](https://togithub.com/sanity-io/sanity/commit/ec293d3722) Per-Kristian Nordnes | chore: upgrade [@sanity/ui](https://togithub.com/sanity/ui) to ^0.37.22 | [`adf025a`](https://togithub.com/sanity-io/sanity/commit/adf025a98d) Per-Kristian Nordnes | fix(default-layout): fix issue with SearchHeader spinner icon not being correctly aligned | [`a1d9f5f`](https://togithub.com/sanity-io/sanity/commit/a1d9f5f5da) Per-Kristian Nordnes | fix(default-login): fix issue with CORS check Spinner misaligning | [`4c51e19`](https://togithub.com/sanity-io/sanity/commit/4c51e19c2b) Per-Kristian Nordnes | fix(studio-hints): fix issue with Spinner misaligning | [`7ba632a`](https://togithub.com/sanity-io/sanity/commit/7ba632a85c) ### [`v2.33.3`](https://togithub.com/sanity-io/sanity/releases/tag/v2.33.3) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.33.2...v2.33.3) Upgrade the Command Line Interface (CLI) with: npm install --global @sanity/cli Upgrade Sanity Studio with: sanity upgrade ##### ✨ Highlights ##### New CLI flags! We've added a few new flags to make automation easier! The `--force` flag was added to a few already existing commands and will skip the confirmation prompt and proceed with the command: `sanity dataset alias unlinkConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.