Closed renovate[bot] closed 2 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/ricokahler/sanity-super-pane/uLZHx1pJdV5sQeCSjHV3M28UfGbp
✅ Preview: https://sanity-super-pane-git-renovate-sanity-monorepo-ricokahler.vercel.app
This PR contains the following updates:
2.21.9
->2.23.2
2.21.7
->2.23.2
2.21.7
->2.23.2
2.21.8
->2.23.2
2.21.9
->2.23.2
2.21.9
->2.23.2
2.21.9
->2.23.2
2.21.9
->2.23.2
2.21.9
->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.22.0...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.22.0`](https://togithub.com/sanity-io/sanity/releases/v2.22.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.21.10...v2.22.0) Upgrade the Command Line Interface (CLI) with: npm install --global @sanity/cli Upgrade Sanity Studio with: sanity upgrade ##### ✨ Highlights ##### Portable Text Editor Input migrated to Sanity UI We have now migrated the [Portable Text (PT)](https://togithub.com/portabletext/portabletext) editor in the Sanity Studio to use [Sanity UI](https://www.sanity.io/ui). This marks the completion of the migration of the entire Studio to `@sanity/ui`. In addition to the migration: - Generally improved stability and performance of the PT editor. - Added a new affordance for editing/removing text annotations. This will make it easier to e.g. edit link details. - Fixed a bug where undo/redo history was not maintained in memory when collapsing/expanding the editor. ##### Other features - Allows plan selection with `sanity init --project-planConfiguration
📅 Schedule: "before 3am on the first day of the month" (UTC).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by WhiteSource Renovate. View repository job log here.