Open rewind-backups-for-github-restore[bot] opened 2 years ago
Comment by netlify[bot]:
❌ Deploy Preview for distracted-edison-97708a failed.
🔨 Explore the source changes: 0b100c97b5fa66b43ba8681245275670babb368c
🔍 Inspect the deploy log: https://app.netlify.com/sites/distracted-edison-97708a/deploys/61cf9b7244e88600071d4f86
33 pull request by renovate[bot],
This PR contains the following updates:
^2.2.6
->2.23.2
Release Notes
sanity-io/sanity
### [`v2.23.2`](https://togithub.com/sanity-io/sanity/releases/v2.23.2) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.23.1...v2.23.2) Upgrade the Command Line Interface (CLI) with: npm install --global @sanity/cli Upgrade Sanity Studio with: sanity upgrade ### 🐛 Notable bugfixes - Fixes a bug that caused focus loss on an array item after closing the edit dialog - Fixes a bug that caused popovers from closing when clicking outside of the current pane content - Fixes an issue that could cause a max request size exceeded error for documents that had many references. - Fixes a bug that could sometimes cause document preview for object fields with name "title" to crash on reload - Added more details in docs for the `client.delete()` API ### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Marius Lundgård | fix(form-builder): wrap `editObjectNode` with the correct boundary element | [`22aa2f0`](https://togithub.com/sanity-io/sanity/commit/22aa2f043e) Marius Lundgård | fix(form-builder): do not close edit dialogs on click-outside (PTE) | [`139aabf`](https://togithub.com/sanity-io/sanity/commit/139aabf8df) Marius Lundgård | fix(form-builder): pass boundary element to `useClickOutside` in popovers (PTE) | [`6abecc7`](https://togithub.com/sanity-io/sanity/commit/6abecc74e4) Geoff Ball | docs(client): update client.delete API | [`99e82df`](https://togithub.com/sanity-io/sanity/commit/99e82df8c2) Bjørge Næss | fix(form-builder): don't fallback to raw value in preview subscriber | [`985a5ee`](https://togithub.com/sanity-io/sanity/commit/985a5eee4a) Bjørge Næss | chore(form-builder): add ts support for FormBuilderInput | [`351251f`](https://togithub.com/sanity-io/sanity/commit/351251fc4a) Bjørge Næss | chore(form-builder): keep array item focus in sync with focusPath | [`4f1cf8c`](https://togithub.com/sanity-io/sanity/commit/4f1cf8cc26) Bjørge Næss | fix(base): uniq and chunk availability requests | [`9b3f6fc`](https://togithub.com/sanity-io/sanity/commit/9b3f6fc19e) ### [`v2.23.1`](https://togithub.com/sanity-io/sanity/releases/v2.23.1) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.23.0...v2.23.1) Upgrade the Command Line Interface (CLI) with: npm install --global @sanity/cli Upgrade Sanity Studio with: sanity upgrade ### 🐛 Notable bugfixes - Fixes an issue where previews of a reference to a document with a field named `'title'` did not display correctly - Fixes a visual error where popover dialogs were appearing beneath other panes ([#2970](https://togithub.com/sanity-io/sanity/issues/2970)) - Fixes an issue where `'create'` intents set in custom structures would not appear in pane headers ([#3007](https://togithub.com/sanity-io/sanity/issues/3007)) - Fixes `sanity dataset import` when targeting an `ndjson` file with relative file URLs ([#2998](https://togithub.com/sanity-io/sanity/issues/2998)) - Fixes a bug preventing `sanity logout` from working in the case of expired sessions ([#3001](https://togithub.com/sanity-io/sanity/issues/3001)) - Fixes a bug where the CLI would not be able to log a user in if an existing invalid/expired session was present ([#3002](https://togithub.com/sanity-io/sanity/issues/3002)) #### Other features - Added support for HTTP proxies when using dataset `import`/`export` commands ([#2999](https://togithub.com/sanity-io/sanity/issues/2999)) - Validation menu button now reflects the highest level of validation ([#3005](https://togithub.com/sanity-io/sanity/issues/3005)) ### 📓 Full changelog | Author | Message | Commit | | ----------------- | --------------------------------------------------------------------------------------------------- | ---------- | | Espen Hovlandsdal | fix(cli): clear auth token on 401 on logout | [`a659e26`](https://togithub.com/sanity-io/sanity/commit/a659e26e13) | | Espen Hovlandsdal | fix(cli): use authless requests when logging in | [`1c3c406`](https://togithub.com/sanity-io/sanity/commit/1c3c40659a) | | Espen Hovlandsdal | fix(cli): attempt to clear previous session on successful re-authentication | [`f95cbbc`](https://togithub.com/sanity-io/sanity/commit/f95cbbc3bf) | | Espen Hovlandsdal | fix(cli): use stable API version for SAML providers endpoint | [`3aa2893`](https://togithub.com/sanity-io/sanity/commit/3aa289393b) | | Espen Hovlandsdal | feat(cli): use non-legacy yarn v1.22.17 under the hood | [`46ecc53`](https://togithub.com/sanity-io/sanity/commit/46ecc53bb3) | | Espen Hovlandsdal | chore(cli): bump yarn network timeout to 1m | [`21363e2`](https://togithub.com/sanity-io/sanity/commit/21363e2264) | | RitaDias | fix(form-builder, base): fix popper position on popoverDialog ([#2970](https://togithub.com/sanity-io/sanity/issues/2970)) | [`7fce8cb`](https://togithub.com/sanity-io/sanity/commit/7fce8cb3e7) | | Herman Wikner | test: add `validationCI` schema | [`ac291c8`](https://togithub.com/sanity-io/sanity/commit/ac291c8946) | | Herman Wikner | test(base): add test id:s to `FormFieldValidationStatus` icons | [`6d36590`](https://togithub.com/sanity-io/sanity/commit/6d3659084b) | | Herman Wikner | test(form-builder): add validation test | [`f7515c5`](https://togithub.com/sanity-io/sanity/commit/f7515c514f) | | Bjørge Næss | fix(form-builder): don't pass already "prepared" preview value to preview component | [`6a555a5`](https://togithub.com/sanity-io/sanity/commit/6a555a532a) | | Espen Hovlandsdal | feat(import-cli): switch to get-it for requesting streams | [`99e7afd`](https://togithub.com/sanity-io/sanity/commit/99e7afd94d) | | Espen Hovlandsdal | chore(deps): upgrade get-it to v5.2.1 | [`5226ea8`](https://togithub.com/sanity-io/sanity/commit/5226ea8edc) | | Espen Hovlandsdal | feat(import): use get-it from downloading assets | [`352cfff`](https://togithub.com/sanity-io/sanity/commit/352cfff9ea) | | Espen Hovlandsdal | feat(export): use get-it for requests | [`e420ce7`](https://togithub.com/sanity-io/sanity/commit/e420ce7a18) | | Espen Hovlandsdal | feat(core): use get-it instead of simple-get | [`3bbfaf3`](https://togithub.com/sanity-io/sanity/commit/3bbfaf3a6b) | | Espen Hovlandsdal | feat(cli): use get-it instead of simple-get for plugin init | [`4ad84b0`](https://togithub.com/sanity-io/sanity/commit/4ad84b0d29) | | Espen Hovlandsdal | feat(cli): use get-it for downloading yarn | [`eddb8d3`](https://togithub.com/sanity-io/sanity/commit/eddb8d34c8) | | Espen Hovlandsdal | fix(core): fix file asset urls not working with ndjson target | [`4908874`](https://togithub.com/sanity-io/sanity/commit/4908874ac0) | | Espen Hovlandsdal | fix(import-cli): fix file asset urls not working with ndjson target | [`561daac`](https://togithub.com/sanity-io/sanity/commit/561daac611) | | Rico Kahler | fix(desk-tool): fix create intents not appearing in pane headers ([#3007](https://togithub.com/sanity-io/sanity/issues/3007)) | [`71db19e`](https://togithub.com/sanity-io/sanity/commit/71db19e1ec) | | Bjørge Næss | fix: pin version of [@babel/parser](https://togithub.com/babel/parser) due to recent release causing issues with depcheck | [`4bdbc33`](https://togithub.com/sanity-io/sanity/commit/4bdbc33459) | | Herman Wikner | fix(desk-tool): fix issue with overflow tabs indicators in `PaneHeader` | [`f96ba7b`](https://togithub.com/sanity-io/sanity/commit/f96ba7bd9b) | | Herman Wikner | feat(desk-tool): update `ValidationMenu` button so that it reflects the highest level of validation | [`f463885`](https://togithub.com/sanity-io/sanity/commit/f4638853be) | ### [`v2.23.0`](https://togithub.com/sanity-io/sanity/releases/v2.23.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.22.3...v2.23.0) Upgrade the Command Line Interface (CLI) with: npm install --global @sanity/cli Upgrade Sanity Studio with: sanity upgrade ##### ✨ Highlights ##### References in place Users can now create a reference to a draft within the context of the referring document. This allows for a smoother workflow where having to leave the document you are working on in order to create and publish the document you wish to refer to is no longer necessary, This new behavior of the reference input can be disabled by setting the property `disableNew: true`. ![](https://i.imgur.com/xRoWQUE.gif) More: - [Reference schema type documentation](https://www.sanity.io/docs/reference-type) - [Connected Content – Introduction to references in Sanity](https://www.sanity.io/docs/connected-content) ##### Conditional `readOnly` fields and fieldsets The ability to define if a field is editable based on conditions defined in a schema. ##### Info-level validation In addition to being able to provide validation errors, developers can also provide guidance with ℹ️ -symbols to give in-line help to editors. ##### New `modal` options in Portable Text editor The Portable Text editor now supports a new `modal` option with a `type` and `width` property. This means you can customize the size of annotation popovers (a much requested feature). ```ts type: 'block', marks: { annotations: [ { type: 'object', name: 'link', title: 'Link', options: { // 👇👇👇 modal: { type: 'popover', width: 'medium' // the default is "small" }, // 👆👆👆 }, }, ], }, // ... ``` ##### 🐛 Notable bugfixes - Fixes a case where the `sanity graphql deploy` command would not exit after a successful deploy. - Fixes a bug where importing the `@sanity/eventsource` module in non-browser, non-node.js environments could potentially crash because of a window reference. ##### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Bjørge Næss | chore(test-studio): add example of nested array with a reference | [`66266cc`](https://togithub.com/sanity-io/sanity/commit/66266cc83b) Bjørge Næss | fix(base): don't reexport types as values | [`f7a77b3`](https://togithub.com/sanity-io/sanity/commit/f7a77b3cd4) Rico Kahler | test(desk-tool): proxy module instead of spread | [`3790775`](https://togithub.com/sanity-io/sanity/commit/3790775b91) Fred Carlsen | feat(base,form-builder): support callback for readOnly property on field type | [`945bb0f`](https://togithub.com/sanity-io/sanity/commit/945bb0fb76) vicbergquist | feat(form-builder): resolve readOnly for types in arrays | [`07e77f9`](https://togithub.com/sanity-io/sanity/commit/07e77f9b85) vicbergquist | feat(form-builder): resolve readonly callbacks in file and image input fields | [`5f85c74`](https://togithub.com/sanity-io/sanity/commit/5f85c74bcf) vicbergquist | fix(conditional-fields): resolve readOnly in changes panel | [`a90e057`](https://togithub.com/sanity-io/sanity/commit/a90e057df8) vicbergquist | test(conditional-fields): add tests for useConditionalProperty hook and formbuilder | [`c05d673`](https://togithub.com/sanity-io/sanity/commit/c05d6739c2) RitaDias | feat(form-builder, field, cypress): add conditional (readOnly and hidden) properties to FieldSets ([#2959](https://togithub.com/sanity-io/sanity/issues/2959)) | [`ba3dfc1`](https://togithub.com/sanity-io/sanity/commit/ba3dfc1240) Marius Lundgård | fix(desk-tool): use `Tooltip` from `@sanity/ui` | [`2078e0d`](https://togithub.com/sanity-io/sanity/commit/2078e0db37) Marius Lundgård | feat(form-builder): support new `modal` option with `width` property (PTE) | [`e16fa33`](https://togithub.com/sanity-io/sanity/commit/e16fa3359d) Marius Lundgård | test(form-builder): test custom modal size in PTE | [`5f1135d`](https://togithub.com/sanity-io/sanity/commit/5f1135dd79) Marius Lundgård | test(test-studio): test modal width option in PTE | [`0201006`](https://togithub.com/sanity-io/sanity/commit/0201006b47) Rico Kahler | test: update document creation and navigation ([#2972](https://togithub.com/sanity-io/sanity/issues/2972)) | [`adc65f7`](https://togithub.com/sanity-io/sanity/commit/adc65f7416) RitaDias | fix(desk-tool): fix width issues when publish & changes buttons were small ([#2976](https://togithub.com/sanity-io/sanity/issues/2976)) | [`9f478af`](https://togithub.com/sanity-io/sanity/commit/9f478af289) Per-Kristian Nordnes | fix(form-builder): fix missing hook dep. issue | [`436c3ec`](https://togithub.com/sanity-io/sanity/commit/436c3ecbbc) Per-Kristian Nordnes | test(workshop): fix missing commonjs support for [@sanity/structure](https://togithub.com/sanity/structure) | [`d1e1804`](https://togithub.com/sanity-io/sanity/commit/d1e1804661) Bjørge Næss | chore: upgrade Sanity UI | [`15b35e6`](https://togithub.com/sanity-io/sanity/commit/15b35e648b) Bjørge Næss | chore(eslint): allow unstable\_ prefixes | [`bd8f645`](https://togithub.com/sanity-io/sanity/commit/bd8f6454d3) Bjørge Næss | fix(desk-tool): add missing type import | [`21df0c8`](https://togithub.com/sanity-io/sanity/commit/21df0c834f) Bjørge Næss | fix(base): show text skeleton only when loading preview | [`1269582`](https://togithub.com/sanity-io/sanity/commit/1269582207) Bjørge Næss | fix(base): show schema type icon as default media preview | [`fe3cc55`](https://togithub.com/sanity-io/sanity/commit/fe3cc55fb2) Bjørge Næss | feat(form-builder): add package exports | [`b990851`](https://togithub.com/sanity-io/sanity/commit/b9908512be) Bjørge Næss | feat(preview): add building blocks for drafts model aware preview values | [`92dd785`](https://togithub.com/sanity-io/sanity/commit/92dd7856a8) Bjørge Næss | chore(base): convert draftUtils to ts | [`3ea2139`](https://togithub.com/sanity-io/sanity/commit/3ea2139ed2) Bjørge Næss | refactor(base): add draftId/publishedId helper function + opaque id types | [`7aed6cd`](https://togithub.com/sanity-io/sanity/commit/7aed6cd793) Bjørge Næss | chore(base): remove soon to be obsolete \_internalMeta property for ref type previews | [`a663369`](https://togithub.com/sanity-io/sanity/commit/a663369549) Rico Kahler | feat(validation,base): add validation for referencing non-existent documents | [`644591c`](https://togithub.com/sanity-io/sanity/commit/644591cbb0) Bjørge Næss | feat(structure): support parent ref path | [`edb196f`](https://togithub.com/sanity-io/sanity/commit/edb196f4cc) Rico Kahler | feat(base): remove \_weak if \_strengthenOnPublish | [`dc67de4`](https://togithub.com/sanity-io/sanity/commit/dc67de4a9f) Rico Kahler | feat(desk-tool): provide reference input with necessary plumbing for opening referenced docs in next pane | [`50f8630`](https://togithub.com/sanity-io/sanity/commit/50f863058d) Bjørge Næss | feat(desk-tool): add reference changed banner | [`630cd0e`](https://togithub.com/sanity-io/sanity/commit/630cd0efd2) Bjørge Næss | fix(desk-tool): serialize path before navigating | [`88ea9a5`](https://togithub.com/sanity-io/sanity/commit/88ea9a5b65) Bjørge Næss | refactor(form-builder): implement new reference input | [`9bc4622`](https://togithub.com/sanity-io/sanity/commit/9bc462231f) Mikolaj Dobrucki | fix(form-builder): fix border on reference input | [`451acd7`](https://togithub.com/sanity-io/sanity/commit/451acd7d24) Mikolaj Dobrucki | fix(form-builder): add space between buttons in reference input | [`7a0ef2a`](https://togithub.com/sanity-io/sanity/commit/7a0ef2a5da) Bjørge Næss | chore(test-studio): add a liveEdit'ed document to references test | [`129e569`](https://togithub.com/sanity-io/sanity/commit/129e5690f4) Rico Kahler | fix(desk-tool): use getDefaultDocumentNode to enable views in nested references | [`13a19b6`](https://togithub.com/sanity-io/sanity/commit/13a19b6922) Rico Kahler | fix(desk-tool): fix styles of ReferenceChangedBanner | [`1393c68`](https://togithub.com/sanity-io/sanity/commit/1393c68cd1) Rico Kahler | fix(form-builder): fix false warning in annotation | [`e6d2a58`](https://togithub.com/sanity-io/sanity/commit/e6d2a58c7d) Rico Kahler | fix(desk-tool): hide reference changed banner if viewing history | [`e8cd68f`](https://togithub.com/sanity-io/sanity/commit/e8cd68fa6e) Bjørge Næss | chore(test-studio): add an image to species type | [`e7f6ff5`](https://togithub.com/sanity-io/sanity/commit/e7f6ff5a8e) Bjørge Næss | chore(test-studio): add an example of an array of objects + references | [`b85da18`](https://togithub.com/sanity-io/sanity/commit/b85da184e7) Bjørge Næss | feat(form-builder) support inline editing of reference items | [`320ba36`](https://togithub.com/sanity-io/sanity/commit/320ba36d27) Bjørge Næss | feat: store weak flag on \_strengthenOnPublish | [`bf76a99`](https://togithub.com/sanity-io/sanity/commit/bf76a99549) Bjørge Næss | test(form-builder): Fix failing tests | [`6b7bbdc`](https://togithub.com/sanity-io/sanity/commit/6b7bbdca31) Bjørge Næss | fix(form-builder): use border instead of shadow around array items | [`8bab404`](https://togithub.com/sanity-io/sanity/commit/8bab404387) Mikolaj Dobrucki | fix(form-builder): make status icons more muted | [`7cd672a`](https://togithub.com/sanity-io/sanity/commit/7cd672a374) Bjørge Næss | feat: pass initial value templates as create menu items to reference input | [`61b7c85`](https://togithub.com/sanity-io/sanity/commit/61b7c85a28) Bjørge Næss | fix(base): improve InsufficientPermissionsMessage wording when no roles passed | [`52fc0ab`](https://togithub.com/sanity-io/sanity/commit/52fc0ab491) Bjørge Næss | chore(test-studio): add referenceTest as editable type for the restricted role | [`f92ca39`](https://togithub.com/sanity-io/sanity/commit/f92ca39f74) Bjørge Næss | refactor(form-builder): extract CreateButton + display permission denied tooltip | [`310939f`](https://togithub.com/sanity-io/sanity/commit/310939fe18) Bjørge Næss | feat: pass template + template params when navigating from a reference | [`7e4843a`](https://togithub.com/sanity-io/sanity/commit/7e4843aabd) Bjørge Næss | feat(form-builder): support disableNew option | [`1e8a4d8`](https://togithub.com/sanity-io/sanity/commit/1e8a4d81c5) Bjørge Næss | chore(desk-tool): remove disabling of camelcase eslint rules | [`4055f44`](https://togithub.com/sanity-io/sanity/commit/4055f441fc) Bjørge Næss | refactor(form-builder): create a shared reference autocomplete | [`75de8db`](https://togithub.com/sanity-io/sanity/commit/75de8db546) Bjørge Næss | feat(form-builder): make reference input responsive | [`9110be0`](https://togithub.com/sanity-io/sanity/commit/9110be0fd0) Bjørge Næss | fix(form-builder): close "edit mode" on click outside | [`26a9eb9`](https://togithub.com/sanity-io/sanity/commit/26a9eb9247) Bjørge Næss | fix(form-builder) render reference input popover in a portal with container as referenceElement | [`9487f30`](https://togithub.com/sanity-io/sanity/commit/9487f30f37) Bjørge Næss | fix(form-builder): make sure to forward given ref to popover | [`422b94e`](https://togithub.com/sanity-io/sanity/commit/422b94e5d0) Bjørge Næss | refactor(form-builder): clean up typings | [`817fa57`](https://togithub.com/sanity-io/sanity/commit/817fa57fc0) hermanwikner | feat(base): add `TextWithTone` component | [`6bdfd53`](https://togithub.com/sanity-io/sanity/commit/6bdfd530c6) hermanwikner | test(base): add `TextWithToneStory` to workshop | [`75b20e2`](https://togithub.com/sanity-io/sanity/commit/75b20e200b) hermanwikner | feat(desk-tool): update `DraftStatus` with `TextWithTone` and `Tooltip` | [`6d42dd6`](https://togithub.com/sanity-io/sanity/commit/6d42dd646d) hermanwikner | feat(desk-tool): update `PublishedStatus` with `TextWithTone` and `Tooltip` | [`2465159`](https://togithub.com/sanity-io/sanity/commit/2465159a82) hermanwikner | feat(desk-tool): update `PaneItem` so that `TextWithTone` inherits correct color | [`3b19df6`](https://togithub.com/sanity-io/sanity/commit/3b19df6052) hermanwikner | refactor(form-builder): remove `__workaround_selected` in `PreviewReferenceValue` since it is not needed anymore | [`fc43952`](https://togithub.com/sanity-io/sanity/commit/fc43952cbf) hermanwikner | feat(form-builder): update `ReferenceInput` so that `TextWithTone` inherits correct color | [`c3c5d0a`](https://togithub.com/sanity-io/sanity/commit/c3c5d0ad77) hermanwikner | refactor(form-builder): use updated `TextWithTone` component in `ReferencePreview` | [`ab26ead`](https://togithub.com/sanity-io/sanity/commit/ab26ead652) hermanwikner | refactor(form-builder): remove old `TextWithTone` component | [`92c7cb4`](https://togithub.com/sanity-io/sanity/commit/92c7cb4748) hermanwikner | feat(desk-tool): update pane item `getStatusIndicator` helper | [`24e18d4`](https://togithub.com/sanity-io/sanity/commit/24e18d4f87) hermanwikner | feat(form-builder): update `ArrayItemReferenceInput` so that `TextWithTone` inherits correct color | [`d632261`](https://togithub.com/sanity-io/sanity/commit/d63226117d) Bjørge Næss | refactor(form-builder): extract a shared PreviewCard component | [`ea1496f`](https://togithub.com/sanity-io/sanity/commit/ea1496f194) Bjørge Næss | feat(form-builder): add ability to remove \_strengthenOnPublish in liveEdited documents | [`3c52e07`](https://togithub.com/sanity-io/sanity/commit/3c52e0729c) Bjørge Næss | fix(form-builder): open references in grid arrays in a dialog | [`3b4dfe2`](https://togithub.com/sanity-io/sanity/commit/3b4dfe2a7a) Rico Kahler | fix(desk-tool): fix flashing reference changed banner; update copy ([#2968](https://togithub.com/sanity-io/sanity/issues/2968)) | [`684c495`](https://togithub.com/sanity-io/sanity/commit/684c495ee5) Bjørge Næss | fix(default-layout): wrap the search term in “no results”-message in smart quotes | [`dec3112`](https://togithub.com/sanity-io/sanity/commit/dec311265c) Bjørge Næss | fix(form-builder): display a 'no results' message in reference autocomplete | [`eaac8e7`](https://togithub.com/sanity-io/sanity/commit/eaac8e7a2d) hermanwikner | feat(form-builder): update array `ListItem` design | [`489ea02`](https://togithub.com/sanity-io/sanity/commit/489ea02b0d) hermanwikner | feat(form-builder): add `data-ui` property and update props typing in array `DragHandle` | [`be23c4e`](https://togithub.com/sanity-io/sanity/commit/be23c4eec3) hermanwikner | feat(form-builder): update `ArrayOfPrimitivesInput` / `ItemRow` design | [`48f17f1`](https://togithub.com/sanity-io/sanity/commit/48f17f1811) hermanwikner | feat(form-builder): update array `ConfirmDeleteButton` design | [`7ab0e72`](https://togithub.com/sanity-io/sanity/commit/7ab0e72ed1) hermanwikner | refactor(form-builder): update `ArrayOfPrimitivesInput` design | [`cca2cfa`](https://togithub.com/sanity-io/sanity/commit/cca2cfa043) hermanwikner | feat(form-builder): update `ItemWithMissingType` design | [`e1b752a`](https://togithub.com/sanity-io/sanity/commit/e1b752a60a) hermanwikner | feat(form-builder): update `CellItem` design | [`e2ca0a1`](https://togithub.com/sanity-io/sanity/commit/e2ca0a1ce6) hermanwikner | feat(form-builder): add missing useMemo dependency in `ArrayOfObjectsInput` / `ArrayItem` | [`137c4c5`](https://togithub.com/sanity-io/sanity/commit/137c4c53fb) hermanwikner | feat(form-builder): update `ArrayOfObjectsInput` / `ArrayInput` design | [`5454b0d`](https://togithub.com/sanity-io/sanity/commit/5454b0d85a) hermanwikner | feat(form-builder): add `withRadius` and `withBorder` props to `Preview` | [`48ea0b3`](https://togithub.com/sanity-io/sanity/commit/48ea0b3216) hermanwikner | feat(base): add `withRadius` and `withBorder` props to `MediaPreview` | [`3310626`](https://togithub.com/sanity-io/sanity/commit/331062652a) hermanwikner | feat(base): add `portal` prop to `FormFieldValidationStatus` | [`9803a96`](https://togithub.com/sanity-io/sanity/commit/9803a96e63) Bjørge Næss | chore(test-studio): add a portable text field to reference test | [`4e1f940`](https://togithub.com/sanity-io/sanity/commit/4e1f94049e) Rico Kahler | fix(validation): skip validation error for missing \_ref | [`e31d0c2`](https://togithub.com/sanity-io/sanity/commit/e31d0c2324) Rico Kahler | fix: PR feedback | [`f089fca`](https://togithub.com/sanity-io/sanity/commit/f089fca15f) Bjørge Næss | fix(form-builder): switch to useMemoObservable for fetching reference metadata | [`efef87e`](https://togithub.com/sanity-io/sanity/commit/efef87e960) Bjørge Næss | fix(form-builder): display error + retry button if fetching reference metadata fails | [`b0d2af0`](https://togithub.com/sanity-io/sanity/commit/b0d2af0452) Bjørge Næss | fix(base): remove duplicate hits from global search | [`8b89b49`](https://togithub.com/sanity-io/sanity/commit/8b89b49eb1) Bjørge Næss | feat(form-builder): limit search results to 50 | [`762098e`](https://togithub.com/sanity-io/sanity/commit/762098efbe) Bjørge Næss | fix(form-builder): fix bug causing scrolling in reference autocomplete close the popover | [`dc93363`](https://togithub.com/sanity-io/sanity/commit/dc93363074) Per-Kristian Nordnes | fix(base): fix type exports/imports | [`7a58705`](https://togithub.com/sanity-io/sanity/commit/7a58705576) Espen Hovlandsdal | fix(eventsource): check for window before using it ([#2982](https://togithub.com/sanity-io/sanity/issues/2982)) | [`2f08939`](https://togithub.com/sanity-io/sanity/commit/2f089395af) Bjørge Næss | refactor(form-builder): make reference input responsive based on available width | [`2d097f7`](https://togithub.com/sanity-io/sanity/commit/2d097f7fe7) Espen Hovlandsdal | fix(core): explicitly exit on successful graphql deploy ([#2987](https://togithub.com/sanity-io/sanity/issues/2987)) | [`ea9cb64`](https://togithub.com/sanity-io/sanity/commit/ea9cb641ca) RitaDias | test(cypress, default-layout): add smoke test for initial value templates ([#2983](https://togithub.com/sanity-io/sanity/issues/2983)) | [`cc44c96`](https://togithub.com/sanity-io/sanity/commit/cc44c96b0f) Bjørge Næss | chore(test-studio): add some more inline and annotation reference examples | [`4fcb654`](https://togithub.com/sanity-io/sanity/commit/4fcb654fa1) Bjørge Næss | fix(form-builder): don't clear previous search results when re-opening the autocomplete | [`b40e38a`](https://togithub.com/sanity-io/sanity/commit/b40e38a96f) Bjørge Næss | chore: rimraf root node_modules when running clean script | [`45b1720`](https://togithub.com/sanity-io/sanity/commit/45b17203a5) hermanwikner | feat(validation): update `convertToValidationMarker` to support info level | [`0182a4e`](https://togithub.com/sanity-io/sanity/commit/0182a4e3fe) hermanwikner | feat(validation): update `Rule` to support info level | [`d3e6236`](https://togithub.com/sanity-io/sanity/commit/d3e6236501) hermanwikner | chore(validation): add info level to `Rule` type | [`d044fa8`](https://togithub.com/sanity-io/sanity/commit/d044fa8540) hermanwikner | chore(markers): add info level to `ValidationMarker` type | [`cb70506`](https://togithub.com/sanity-io/sanity/commit/cb70506b73) hermanwikner | feat(desk-tool): check if info validation markers exists in `ValidationMenu` | [`389a186`](https://togithub.com/sanity-io/sanity/commit/389a1862c0) hermanwikner | chore(types): add `isValidationInfoMarker` function | [`6a9cf41`](https://togithub.com/sanity-io/sanity/commit/6a9cf4136c) hermanwikner | feat(base): add info validation support in `ValidationList` | [`bd89a09`](https://togithub.com/sanity-io/sanity/commit/bd89a093f6) hermanwikner | feat(base): add info validation design `ListItem` | [`38d8085`](https://togithub.com/sanity-io/sanity/commit/38d808555b) hermanwikner | chore(base): add `FormFieldValidationInfo` type | [`409a86c`](https://togithub.com/sanity-io/sanity/commit/409a86c2b0) hermanwikner | feat(base): return marker level as type in `markersToValidationList` | [`ebc7db5`](https://togithub.com/sanity-io/sanity/commit/ebc7db5d4b) hermanwikner | feat(base): add info validation support in `FormFieldValidationStatus` | [`ee7d02d`](https://togithub.com/sanity-io/sanity/commit/ee7d02d6ef) hermanwikner | feat(form-builder): add info validation support in `BlockObject` | [`a7c38dc`](https://togithub.com/sanity-io/sanity/commit/a7c38dc2d9) hermanwikner | feat(form-builder): add info validation support in `Markers` | [`cafeb55`](https://togithub.com/sanity-io/sanity/commit/cafeb5511f) hermanwikner | test: add info validation in test-studio schema | [`df403ea`](https://togithub.com/sanity-io/sanity/commit/df403ea672) Rico Kahler | test(validation): add info messages test | [`35b5b59`](https://togithub.com/sanity-io/sanity/commit/35b5b59460) Bjørge Næss | fix(form-builder): use simpler ref bookeeping for better interplay between mutable and callback refs | [`f4b307b`](https://togithub.com/sanity-io/sanity/commit/f4b307b30b) Espen Hovlandsdal | chore(client): upgrade get-it to latest version | [`42134a0`](https://togithub.com/sanity-io/sanity/commit/42134a09e0) ### [`v2.22.3`](https://togithub.com/sanity-io/sanity/releases/v2.22.3) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.21.10...v2.22.3) Upgrade the Command Line Interface (CLI) with: npm install --global @sanity/cli Upgrade Sanity Studio with: sanity upgrade ### 🐛 Notable bugfixes - Introduces a larger initial `min-width` for the `DocumentPane`. - Huge GROQ queries will now use the API-CDN when `useCdn: true`. Previously these would go to the regular API endpoint. - Fixes typo in `deferred`-visibility for mutations - Added schema option to configure spell-checking for Portable Text via `options.spellCheck` on the `block` type. ### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Rico Kahler | fix(state-router): prevent ID flashing when resolving intents ([#2950](https://togithub.com/sanity-io/sanity/issues/2950)) | [`2ebd6e8`](https://togithub.com/sanity-io/sanity/commit/2ebd6e8b4) Rico Kahler | fix: update permissions w/ template + precondition support ([#2939](https://togithub.com/sanity-io/sanity/issues/2939)) | [`49a07c8`](https://togithub.com/sanity-io/sanity/commit/49a07c89e) Fred Carlsen | fix(form-builder): fix clearing invalid date values ([#2952](https://togithub.com/sanity-io/sanity/issues/2952)) | [`5d96160`](https://togithub.com/sanity-io/sanity/commit/5d961602e) Marius Lundgård | refactor(base): pass rest props on to `ScrollContainer` | [`a155c92`](https://togithub.com/sanity-io/sanity/commit/a155c926c) Marius Lundgård | fix(desk-tool): fix typo in layout wrapper | [`163bb66`](https://togithub.com/sanity-io/sanity/commit/163bb66b9) Magnus Holm | feat(client): respect useCdn when queries are sent with POST ([#2958](https://togithub.com/sanity-io/sanity/issues/2958)) | [`2137cd3`](https://togithub.com/sanity-io/sanity/commit/2137cd392) Marius Lundgård | test(desk-tool): rename pane workshop files | [`ae0d737`](https://togithub.com/sanity-io/sanity/commit/ae0d73732) Marius Lundgård | test(desk-tool): rename test file | [`0365f35`](https://togithub.com/sanity-io/sanity/commit/0365f3545) Marius Lundgård | refactor(desk-tool): refactor pane helpers | [`f4ebfa3`](https://togithub.com/sanity-io/sanity/commit/f4ebfa3cf) Marius Lundgård | refactor(desk-tool): add `currentMinWidth` property | [`6972ac2`](https://togithub.com/sanity-io/sanity/commit/6972ac232) Marius Lundgård | test(desk-tool): update pane workshop | [`37a08b3`](https://togithub.com/sanity-io/sanity/commit/37a08b332) Marius Lundgård | refactor(desk-tool): implement `debug` and `currentMinWidth` in panes | [`f3bfd83`](https://togithub.com/sanity-io/sanity/commit/f3bfd83f6) Marius Lundgård | refactor(test-studio): improve JSON preview | [`8e92331`](https://togithub.com/sanity-io/sanity/commit/8e92331a7) Marius Lundgård | refactor(desk-tool): refactor pane layout to controller and improve | [`d3fb25d`](https://togithub.com/sanity-io/sanity/commit/d3fb25da5) Marius Lundgård | refactor(desk-tool): remove pane title rotate transition | [`460bbdb`](https://togithub.com/sanity-io/sanity/commit/460bbdbdc) Marius Lundgård | test(desk-tool): update pane workshop | [`3e4ebdf`](https://togithub.com/sanity-io/sanity/commit/3e4ebdf5c) Marius Lundgård | refactor(desk-tool): pass `id` and `paneKey` and remove unused `data-*` attributes | [`d055458`](https://togithub.com/sanity-io/sanity/commit/d055458a8) Marius Lundgård | refactor(desk-tool): sort prop keys | [`0100c63`](https://togithub.com/sanity-io/sanity/commit/0100c6387) Mikolaj Dobrucki | feat(base): improve change indicators ([#2867](https://togithub.com/sanity-io/sanity/issues/2867)) | [`799fdb3`](https://togithub.com/sanity-io/sanity/commit/799fdb3a5) Marius Lundgård | chore(test-studio): add custom link component in PTE example | [`4b03413`](https://togithub.com/sanity-io/sanity/commit/4b034139a) Sindre Gulseth | fix(client): remove invalid defer and add correct deferred visibility ([#2954](https://togithub.com/sanity-io/sanity/issues/2954)) | [`8a039b4`](https://togithub.com/sanity-io/sanity/commit/8a039b4e9) Marius Lundgård | refactor(desk-tool): increase touch area of scrollable tabs | [`41e5c72`](https://togithub.com/sanity-io/sanity/commit/41e5c728c) Per-Kristian Nordnes | refactor(schema): allow options for block type | [`62b1026`](https://togithub.com/sanity-io/sanity/commit/62b102641) Per-Kristian Nordnes | test(test-studio): add spellcheck on block type example | [`f999cd0`](https://togithub.com/sanity-io/sanity/commit/f999cd0e3) Per-Kristian Nordnes | refactor(form-builder): toggle spellcheck locally on block type | [`adb2ae2`](https://togithub.com/sanity-io/sanity/commit/adb2ae284) ### [`v2.21.10`](https://togithub.com/sanity-io/sanity/releases/v2.21.10) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.21.7...v2.21.10) Upgrade the Command Line Interface (CLI) with: npm install --global @sanity/cli Upgrade Sanity Studio with: sanity upgrade ### 🐛 Notable bugfixes This release includes a new implementation of our pane and intent resolver that resolves intents deeper in your structure and provides more consistency with [`getDefaultDocumentNode`](https://www.sanity.io/docs/structure-builder-reference#97e44ce262c9). - Fixes an issue where creating a new document would open in the fallback editor instead of as a child to the current pane. - Fixes an issue where opening a search item from the top search would result in the fallback editor instead of user-defined structure. - Fixes inconsistencies with [`getDefaultDocumentNode`](https://www.sanity.io/docs/structure-builder-reference#97e44ce262c9) where configured [`views`](https://www.sanity.io/docs/structure-builder-reference#7df4469465c4) would not appear in the fallback editor. - Fixes an issue with GraphQL deploy causing `"Error: Cannot find module '@sanity/core/_internal'` #### Other features - Support for GROQ query params in `patch` and `delete` methods in the client ([#1826](https://togithub.com/sanity-io/sanity/issues/1826)). Thanks [@KarlGe](https://togithub.com/KarlGe)! ### 📓 Full changelog | Author | Message | Commit | | ----------------- | -------------------------------------------------------------------------------- | --------- | | Marius Lundgård | build(studio-hints): update `@sanity/ui` | [`5be3728`](https://togithub.com/sanity-io/sanity/commit/5be372826) | | Karl Georgsen | feat(client): add support for patch/delete with query and params ([#1826](https://togithub.com/sanity-io/sanity/issues/1826)) | [`d9386ca`](https://togithub.com/sanity-io/sanity/commit/d9386caa3) | | Daniel Winsvold | docs(code-input): example usage in react frontend ([#2233](https://togithub.com/sanity-io/sanity/issues/2233)) | [`8472e5b`](https://togithub.com/sanity-io/sanity/commit/8472e5bcd) | | Alexis Hope | refactor(base): ButtonGrid to functional component ([#2776](https://togithub.com/sanity-io/sanity/issues/2776)) | [`fcea41f`](https://togithub.com/sanity-io/sanity/commit/fcea41fed) | | Espen Hovlandsdal | chore(deps): upgrade ora to the latest non-esm version | [`98e09ba`](https://togithub.com/sanity-io/sanity/commit/98e09bac9) | | Espen Hovlandsdal | chore(server): upgrade strip-ansi to latest non-esm version | [`1a242d3`](https://togithub.com/sanity-io/sanity/commit/1a242d3d8) | | Rico Kahler | fix(core): resolve `createRequireContext` relative to core ([#2906](https://togithub.com/sanity-io/sanity/issues/2906)) | [`7edd021`](https://togithub.com/sanity-io/sanity/commit/7edd02173) | | Simeon Griggs | docs(language-filter): clarify plugin needed to be listed in sanity.json ([#2910](https://togithub.com/sanity-io/sanity/issues/2910)) | [`330a325`](https://togithub.com/sanity-io/sanity/commit/330a3252e) | | Marius Lundgård | build: update `@sanity/ui` dependency | [`68c31d6`](https://togithub.com/sanity-io/sanity/commit/68c31d6b4) | | hermanwikner | build: update `@sanity/ui` dependency | [`2f08620`](https://togithub.com/sanity-io/sanity/commit/2f08620e6) | | Rico Kahler | fix(form-builder): update tests for DST ([#2918](https://togithub.com/sanity-io/sanity/issues/2918)) | [`7814dec`](https://togithub.com/sanity-io/sanity/commit/7814dec78) | | Rico Kahler | fix(desk-tool): use getDefaultDocumentNode in fallback editor ([#2917](https://togithub.com/sanity-io/sanity/issues/2917)) | [`2a0d0d0`](https://togithub.com/sanity-io/sanity/commit/2a0d0d0c4) | | Rico Kahler | refactor(desk-tool): new pane and intent resolution mechanism ([#2886](https://togithub.com/sanity-io/sanity/issues/2886)) | [`27bcdad`](https://togithub.com/sanity-io/sanity/commit/27bcdad9b) | | Rico Kahler | fix: intent resolver follow up ([#2914](https://togithub.com/sanity-io/sanity/issues/2914)) | [`e5a84d6`](https://togithub.com/sanity-io/sanity/commit/e5a84d679) | | Rico Kahler | fix(core): remove support for `require.context` ([#2921](https://togithub.com/sanity-io/sanity/issues/2921)) | [`180f25e`](https://togithub.com/sanity-io/sanity/commit/180f25e2c) | ### [`v2.21.7`](https://togithub.com/sanity-io/sanity/releases/v2.21.7) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.21.3...v2.21.7) Upgrade the Command Line Interface (CLI) with: npm install --global @sanity/cli Upgrade Sanity Studio with: sanity upgrade ### 🐛 Notable bugfixes - Fixes a bug where removing an annotation from text would interfere with other annotations within that same block - Fixes a bug where the correct version of a document did not appear when selected in the select revision menu - CLI now supports an increased maximum dataset name length of up to 64 characters ### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Per-Kristian Nordnes | fix(portable-text-editor): removing marks must be done without normalization | [`573b5bd`](https://togithub.com/sanity-io/sanity/commit/573b5bd0c) Per-Kristian Nordnes | test(portable-text-editor): test remove annotations and resulting normalization | [`65d37a6`](https://togithub.com/sanity-io/sanity/commit/65d37a6d2) Marius Lundgård | fix(desk-tool): display older version when selected | [`b83b5d3`](https://togithub.com/sanity-io/sanity/commit/b83b5d3a2) Marius Lundgård | refactor(test-studio): improve user component pane test | [`976f656`](https://togithub.com/sanity-io/sanity/commit/976f656bd) Espen Hovlandsdal | chore(vision): upgrade react-json-view | [`189c885`](https://togithub.com/sanity-io/sanity/commit/189c88566) Marius Lundgård | fix(base): fix radius for visual consistency | [`9315f08`](https://togithub.com/sanity-io/sanity/commit/9315f088e) Espen Hovlandsdal | fix(client): bump max dataset length to 64 characters ([#2888](https://togithub.com/sanity-io/sanity/issues/2888)) | [`59faadc`](https://togithub.com/sanity-io/sanity/commit/59faadc7f) Marius Lundgård | refactor(test-studio): use calendar icon from `@sanity/icons` | [`0c0ffef`](https://togithub.com/sanity-io/sanity/commit/0c0ffefc8) ### [`v2.21.3`](https://togithub.com/sanity-io/sanity/releases/v2.21.3) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.21.0...v2.21.3) Upgrade the Command Line Interface (CLI) with: npm install --global @sanity/cli Upgrade Sanity Studio with: sanity upgrade ### 🐛 Notable bugfixes - Fixes an issue that caused the GraphQL schema deployment to either be slow or hang on schemas with many references - Fixes an error where the image and file inputs might throw an error about unsetting deep values on a primitive value - Fixes glitches in logo animation when the studio is loading - Fixes an issue where the desk tool would in certain cases give an error message saying `Unknown document type *` - Fixes an issue where document list items inside of non-document lists would be rendered with "Untitled" as the title, instead of the full document preview - Fixes an issue where the schema error summary would not be displayed because the studio would crash before being able to display it - Fixes a regression that caused the `withDocument` higher-order component to get stuck on an initial `null` value - Fixes an error where the client would fail to set up a listener when sending huge queries, without giving a developer-friendly error message ### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Espen Hovlandsdal | chore(examples): add default mux input config | [`10560aa`](https://togithub.com/sanity-io/sanity/commit/10560aa86) Espen Hovlandsdal | refactor(base): use typescript for core schema types | [`56a2cb4`](https://togithub.com/sanity-io/sanity/commit/56a2cb4e5) Espen Hovlandsdal | feat(types): introduce blurhash as metadata on image assets | [`03368a6`](https://togithub.com/sanity-io/sanity/commit/03368a671) Espen Hovlandsdal | feat(client): allow specifying blurhash as metadata to extract | [`4ec50cc`](https://togithub.com/sanity-io/sanity/commit/4ec50cc73) Espen Hovlandsdal | feat(base): add blurHash field to image asset metadata type | [`ea731fa`](https://togithub.com/sanity-io/sanity/commit/ea731fa55) Espen Hovlandsdal | fix(base): add hidden uploadId field to image asset schema type | [`825ebd4`](https://togithub.com/sanity-io/sanity/commit/825ebd4f6) Marius Lundgård | chore(test-studio): restructure files | [`a8739be`](https://togithub.com/sanity-io/sanity/commit/a8739be96) Marius Lundgård | chore(test-studio): restructure schemas and structure configuration | [`17c80e4`](https://togithub.com/sanity-io/sanity/commit/17c80e462) Marius Lundgård | test(form-builder): update tests after restructure | [`84eca1c`](https://togithub.com/sanity-io/sanity/commit/84eca1c13) Marius Lundgård | chore(test-studio): install markdown plugin | [`6d4310d`](https://togithub.com/sanity-io/sanity/commit/6d4310d5b) Marius Lundgård | chore(test-studio): configure `canHandleIntent` | [`27a1bd6`](https://togithub.com/sanity-io/sanity/commit/27a1bd6dd) Marius Lundgård | docs(test-studio): update description and README | [`a85eb6a`](https://togithub.com/sanity-io/sanity/commit/a85eb6aa6) Marius Lundgård | chore(test-studio): add markdown field to root-level document | [`1e78337`](https://togithub.com/sanity-io/sanity/commit/1e783374c) Marius Lundgård | build(test-studio): update `sanity-plugin-markdown` | [`5dbc0f7`](https://togithub.com/sanity-io/sanity/commit/5dbc0f7ef) Sindre Gulseth | test(core): add assertion tests for graphql schema generation | [`154cfa8`](https://togithub.com/sanity-io/sanity/commit/154cfa860) Sindre Gulseth | fix(core): fixes slow graphql schema generation. | [`4bea2d7`](https://togithub.com/sanity-io/sanity/commit/4bea2d769) Espen Hovlandsdal | fix(structure): require schema type to be specified for documents | [`019614a`](https://togithub.com/sanity-io/sanity/commit/019614ac4) Espen Hovlandsdal | fix(structure): optimize useDocumentType | [`ed53eaa`](https://togithub.com/sanity-io/sanity/commit/ed53eaa82) Espen Hovlandsdal | test(core): update snapshot to include blurHash, uploadId fields | [`f38901c`](https://togithub.com/sanity-io/sanity/commit/f38901cfd) Rico Kahler | refactor(desk-tool): remove closable prop ([#2846](https://togithub.com/sanity-io/sanity/issues/2846)) | [`cbf9a2e`](https://togithub.com/sanity-io/sanity/commit/cbf9a2e68) Sindre Gulseth | fix(core): update graphql tests to be self isolated | [`c66d133`](https://togithub.com/sanity-io/sanity/commit/c66d1337d) Espen Hovlandsdal | fix(form-builder): guard unset operation with value check | [`287d308`](https://togithub.com/sanity-io/sanity/commit/287d30844) Marius Lundgård | chore(test-studio): add test case for `withDocument` | [`e0f8b34`](https://togithub.com/sanity-io/sanity/commit/e0f8b3424) Bjørge Næss | fix(base): show change indicator pencil on hover only ([#2851](https://togithub.com/sanity-io/sanity/issues/2851)) | [`90da719`](https://togithub.com/sanity-io/sanity/commit/90da719ee) Mikolaj Dobrucki | fix(default-layout): improve app loading screen ([#2850](https://togithub.com/sanity-io/sanity/issues/2850)) | [`3e6ff25`](https://togithub.com/sanity-io/sanity/commit/3e6ff25b9) Rico Kahler | chore: use [@typescript-eslint/no-shadow](https://togithub.com/typescript-eslint/no-shadow) ([#2852](https://togithub.com/sanity-io/sanity/issues/2852)) | [`79f2424`](https://togithub.com/sanity-io/sanity/commit/79f242477) Bjørge Næss | fix(desk-tool): fix issue with withDocument HOC not receiving initial document | [`5645d70`](https://togithub.com/sanity-io/sanity/commit/5645d708b) Bjørge Næss | test(cypress): add some waiting in date input tests to allow for the form to become enabled | [`5be7793`](https://togithub.com/sanity-io/sanity/commit/5be7793e3) Espen Hovlandsdal | feat(test-studio): add reproduction of editor without schema type | [`cf09dfb`](https://togithub.com/sanity-io/sanity/commit/cf09dfbba) Espen Hovlandsdal | feat(base): add resoleTypeForDocument method to document store | [`ba80b97`](https://togithub.com/sanity-io/sanity/commit/ba80b9749) Espen Hovlandsdal | refactor(desk-tool): move document type resolving out of intentResolver | [`f2f65d0`](https://togithub.com/sanity-io/sanity/commit/f2f65d040) Espen Hovlandsdal | fix(desk-tool): add document type resolve step if not defined for pane | [`9cdd586`](https://togithub.com/sanity-io/sanity/commit/9cdd586e9) Espen Hovlandsdal | fix(structure): make schemaType check a warning instead of error | [`e0d82f0`](https://togithub.com/sanity-io/sanity/commit/e0d82f06f) Marius Lundgård | fix(desk-tool): add UI for error and loading states | [`53c7602`](https://togithub.com/sanity-io/sanity/commit/53c76020a) Espen Hovlandsdal | fix(default-layout): prevent crash on invalid schema | [`cef2300`](https://togithub.com/sanity-io/sanity/commit/cef2300a6) Espen Hovlandsdal | fix(client): emit error if query is too large for listener ([#2857](https://togithub.com/sanity-io/sanity/issues/2857)) | [`1af7049`](https://togithub.com/sanity-io/sanity/commit/1af704910) Bjørge Næss | chore: add verify monorepo dependency script + run on postinstall | [`5231c40`](https://togithub.com/sanity-io/sanity/commit/5231c4049) Marius Lundgård | fix(desk-tool): attempt to find document type in template | [`8230301`](https://togithub.com/sanity-io/sanity/commit/823030153) Espen Hovlandsdal | fix(desk-tool): documentListItem appearing as untitled inside regular list | [`cfc17f3`](https://togithub.com/sanity-io/sanity/commit/cfc17f3a3) Bjørge Næss | chore(test-studio): add cases for documentListItem inside of list | [`f63d2e8`](https://togithub.com/sanity-io/sanity/commit/f63d2e812) Mikolaj Dobrucki | fix(desk-tool): hide version dropdown on mobile | [`12000a8`](https://togithub.com/sanity-io/sanity/commit/12000a81d) ### [`v2.21.0`](https://togithub.com/sanity-io/sanity/releases/v2.21.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.19.0...v2.21.0) Upgrade the Command Line Interface (CLI) with: npm install --global @sanity/cli Upgrade Sanity Studio with: sanity upgrade ### ✨ Highlights #### Fully migrated `@sanity/default-layout` to Sanity UI The navbar and all of its elements have been migrated with `@sanity/ui`. The migration fixes a long-standing issue with responsiveness of the navbar, especially when it comes to the tool menu. #### Fully migrated `@sanity/desk-tool` to Sanity UI The pane system has been rewritten from scratch, and the UI of Desk Tool is completely refactored to using `@sanity/ui`. Panes now support dynamic minimum and maximum widths, to provide a more responsive behavior. #### Other features - Newly initialized studios will now include a `.gitignore` - Speed of dataset imports improved when assets already exists - `sanity hook` commands updated to be forwards-compatible with upcoming webhook changes ### 🐛 Notable bugfixes - fix(language-filter): fixes popover placement issue when language list is long ([#2801](https://togithub.com/sanity-io/sanity/issues/2801)) ### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Espen Hovlandsdal | ci(github): add experimental run for tests on windows | [`181506b`](https://togithub.com/sanity-io/sanity/commit/181506b3df) Espen Hovlandsdal | ci(github): improve workflow names | [`cd6f2c4`](https://togithub.com/sanity-io/sanity/commit/cd6f2c4691) Espen Hovlandsdal | test(form-builder): set timezone in cross-platform way | [`bb0b409`](https://togithub.com/sanity-io/sanity/commit/bb0b409d10) Espen Hovlandsdal | test(resolver): normalize paths before asserting | [`907b677`](https://togithub.com/sanity-io/sanity/commit/907b6779ae) Henrique Doro | fix(resolver): replace fs-extra w/ fs.promises | [`3c35eb9`](https://togithub.com/sanity-io/sanity/commit/3c35eb93be) Henrique Doro | test(resolver): provide correct paths on Windows | [`2720883`](https://togithub.com/sanity-io/sanity/commit/2720883c4e) Espen Hovlandsdal | test(client): drop unnecessary environment variable | [`86ca7f5`](https://togithub.com/sanity-io/sanity/commit/86ca7f566e) Espen Hovlandsdal | test(plugin-loader): use simple cross-platform css class name generation | [`85746c7`](https://togithub.com/sanity-io/sanity/commit/85746c77b1) Espen Hovlandsdal | ci(github): attempt using bash shell for cli build | [`a61d4e4`](https://togithub.com/sanity-io/sanity/commit/a61d4e4bb3) Espen Hovlandsdal | chore(server): use monorepo aliases if applicable for all webpack configs | [`3eb14bb`](https://togithub.com/sanity-io/sanity/commit/3eb14bb378) Espen Hovlandsdal | ci(github): use node script for abstracting os-specifics | [`c2d98c0`](https://togithub.com/sanity-io/sanity/commit/c2d98c0947) Espen Hovlandsdal | ci(github): handle async errors in cli test script | [`307dea8`](https://togithub.com/sanity-io/sanity/commit/307dea8f58) Espen Hovlandsdal | ci(github): spawn node instead of cli directly | [`f0a1f4b`](https://togithub.com/sanity-io/sanity/commit/f0a1f4baa9) Fred Carlsen | refactor(base): move logos to \__legacy directory ([#2793](https://togithub.com/sanity-io/sanity/issues/2793)) | [`6086e0e`](https://togithub.com/sanity-io/sanity/commit/6086e0e991) Marius Lundgård | build: update dependencies | [`2f23060`](https://togithub.com/sanity-io/sanity/commit/2f23060129) Marius Lundgård | refactor(workshop): improve workshop | [`30d6aa7`](https://togithub.com/sanity-io/sanity/commit/30d6aa73cf) Per-Kristian Nordnes | refactor(base): export types as Type | [`3454cc3`](https://togithub.com/sanity-io/sanity/commit/3454cc358b) Per-Kristian Nordnes | refactor(form-builder): rename PTE css files to module.css | [`4f13af1`](https://togithub.com/sanity-io/sanity/commit/4f13af19ea) Per-Kristian Nordnes | refactor(form-builder): export type as Type | [`9935f62`](https://togithub.com/sanity-io/sanity/commit/9935f62ecd) Per-Kristian Nordnes | test(form-builder): add workshop for the PTE | [`68b972b`](https://togithub.com/sanity-io/sanity/commit/68b972b706) Per-Kristian Nordnes | test(portable-text-editor): fix broken / commented out unit tests | [`599a971`](https://togithub.com/sanity-io/sanity/commit/599a971785) Marius Lundgård | build(form-builder): add `@sanity/ui-workshop` as dependency | [`28ef97f`](https://togithub.com/sanity-io/sanity/commit/28ef97fa5b) Per-Kristian Nordnes | refactor(form-builder): remove unused props in PTE components | [`0602203`](https://togithub.com/sanity-io/sanity/commit/0602203a9a) hermanwikner | chore(default-layout): update dependencies | [`975bb1e`](https://togithub.com/sanity-io/sanity/commit/975bb1e96f) hermanwikner | refactor(default-layout): migrate `SideMenu` to `@sanity/ui` | [`c7b73f9`](https://togithub.com/sanity-io/sanity/commit/c7b73f9d92) hermanwikner | refactor(default-layout): migrate `DatasetSelect` to `@sanity/ui` | [`4194469`](https://togithub.com/sanity-io/sanity/commit/41944695e3) hermanwikner | refactor(default-layout): migrate `LoginStatus` to `@sanity/ui` | [`45fa763`](https://togithub.com/sanity-io/sanity/commit/45fa763898) hermanwikner | refactor(default-layout): migrate `PresenceMenu` + `PresenceMenuItem` to `@sanity/ui` | [`c282db1`](https://togithub.com/sanity-io/sanity/commit/c282db166e) hermanwikner | refactor(default-layout): migrate `ToolMenu` to `@sanity/ui` | [`3cd105a`](https://togithub.com/sanity-io/sanity/commit/3cd105ab0f) hermanwikner | refactor(default-layout): migrate `Navbar` to `@sanity/ui` | [`5f1d3f5`](https://togithub.com/sanity-io/sanity/commit/5f1d3f5fec) hermanwikner | refactor(default-layout): migrate `DefaultLayout` to `@sanity/ui` | [`aeabde4`](https://togithub.com/sanity-io/sanity/commit/aeabde48f9) hermanwikner | refactor(default-layout): migrate search to `@sanity/ui` | [`0423836`](https://togithub.com/sanity-io/sanity/commit/0423836820) hermanwikner | fix(default-layout): update file casing | [`723cb78`](https://togithub.com/sanity-io/sanity/commit/723cb78bfd) hermanwikner | refactor(default-layout): migrate `Sidecar` to `@sanity/ui` | [`0e0be29`](https://togithub.com/sanity-io/sanity/commit/0e0be2955e) hermanwikner | refactor(default-layout): migrate `CreateDocumentDialog` (previous name `ActionDialog`) to `@sanity/ui` | [`a0541f7`](https://togithub.com/sanity-io/sanity/commit/a0541f7918) hermanwikner | refactor(default-layout): ui updates and code clean up in `Navbar` | [`23a2ec7`](https://togithub.com/sanity-io/sanity/commit/23a2ec765e) Marius Lundgård | fix(default-layout): add equality check to prevent render loop | [`ecc6409`](https://togithub.com/sanity-io/sanity/commit/ecc6409abf) Marius Lundgård | fix(state-router): fix equality check | [`9003d21`](https://togithub.com/sanity-io/sanity/commit/9003d21864) hermanwikner | refactor(default-layout): add `ToolCollapseMenu` component with updated `CollapseMenu` + `StatusButton` | [`a977971`](https://togithub.com/sanity-io/sanity/commit/a9779713d2) hermanwikner | refactor(default-layout): migrate `studioStatus` to `@sanity/ui` | [`652f90b`](https://togithub.com/sanity-io/sanity/commit/652f90be8d) hermanwikner | refactor(default-layout): migrate `SchemaErrors` to `@sanity/ui` | [`2520126`](https://togithub.com/sanity-io/sanity/commit/25201260ac) hermanwikner | refactor(default-layout): migrate `InitialValueTemplateError` to `@sanity/ui` | [`0c35486`](https://togithub.com/sanity-io/sanity/commit/0c35486063) hermanwikner | refactor(default-layout): migrate `NotFound` to `@sanity/ui` | [`c9335c8`](https://togithub.com/sanity-io/sanity/commit/c9335c8c7f) hermanwikner | refactor(default-layout): migrate `RenderTool` to `@sanity/ui` | [`f21df7a`](https://togithub.com/sanity-io/sanity/commit/f21df7a64a) hermanwikner | test(default-layout): update `navbar` test | [`68e6756`](https://togithub.com/sanity-io/sanity/commit/68e675646c) hermanwikner | fix(default-layout): update `DefaultLayout` import in `Root` | [`1ced488`](https://togithub.com/sanity-io/sanity/commit/1ced488330) hermanwikner | refactor(default-layout): migrate `ErrorScreen` to `@sanity/ui` | [`5bd737c`](https://togithub.com/sanity-io/sanity/commit/5bd737c9b0) hermanwikner | fix(default-layout): update `main` exports and imports | [`8d403a7`](https://togithub.com/sanity-io/sanity/commit/8d403a7d15) hermanwikner | fix(defaulConfiguration
📅 Schedule: 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 WhiteSource Renovate. View repository job log here.