ricokahler / sanity-super-pane

The Sanity Desk Tool Pane with Super Powers
sanity-super-pane.vercel.app
MIT License
101 stars 12 forks source link

chore(deps): update sanity monorepo #43

Closed renovate[bot] closed 3 years ago

renovate[bot] commented 3 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sanity/base (source) 2.17.2 -> 2.20.0 age adoption passing confidence
@sanity/cli (source) 2.17.1 -> 2.20.0 age adoption passing confidence
@sanity/client (source) 2.16.0 -> 2.19.0 age adoption passing confidence
@sanity/core (source) 2.17.2 -> 2.20.0 age adoption passing confidence
@sanity/default-layout (source) 2.17.2 -> 2.20.0 age adoption passing confidence
@sanity/default-login (source) 2.17.2 -> 2.19.0 age adoption passing confidence
@sanity/desk-tool (source) 2.17.2 -> 2.20.0 age adoption passing confidence
@sanity/google-maps-input (source) 2.17.2 -> 2.20.0 age adoption passing confidence
@sanity/vision (source) 2.17.2 -> 2.20.0 age adoption passing confidence

Release Notes

sanity-io/sanity ### [`v2.20.0`](https://togithub.com/sanity-io/sanity/releases/v2.20.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.19.4...v2.20.0) Upgrade the Command Line Interface (CLI) with: npm install --global @​sanity/cli Upgrade Sanity Studio with: sanity upgrade ##### ✨ Highlights ##### Specify API version for document lists When declaring a [custom structure](https://www.sanity.io/docs/structure-builder-introduction) for your desk tool navigation that includes document lists with custom filters, you can now specify which API version the filters use. This can be helpful for utilizing newer GROQ features such as [geospatial queries](https://www.sanity.io/docs/groq-functions#​138f4451c0aa), or in some cases for speeding up queries. To use this feature, you can call the `apiVersion()` method: ```ts // Restaurants in Oslo! S.documentList() .title('Oslo restaurants') .apiVersion('v2021-06-07') .filter(` _type == $type && geo::distance( location, // Location field geo::latLng($osloLat, $osloLng) ) < $threshold `) .params({ type: 'restaurant', osloLat: 59.913, osloLng: 10.7522, threshold: 10000 // Meters }) ``` ##### More `@sanity/ui` migrations The migration to our new [UI framework](https://www.sanity.io/blog/streamline-your-studio-development-with-sanity-ui) continues, bringing improved visual consistency. In this release, the presence indicators and dashboard document previews are two of the pieces that is now fully migrated. ##### 🐛 Notable bugfixes - Fixes a deprecation warning being printed when running sanity start on node.js 16 or higher ##### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Marius Lundgård | build: remove unused dependency | [`999452d`](https://togithub.com/sanity-io/sanity/commit/999452d73) Marius Lundgård | chore(workshop): improve client mock | [`1b2634e`](https://togithub.com/sanity-io/sanity/commit/1b2634e3b) Marius Lundgård | test(base): add `UserAvatar` workshop | [`7ba459e`](https://togithub.com/sanity-io/sanity/commit/7ba459e37) Marius Lundgård | test(base): update `UserAvatar` workshop | [`5c53951`](https://togithub.com/sanity-io/sanity/commit/5c5395134) Marius Lundgård | chore: upgrade `@sanity/ui-workshop` | [`723b281`](https://togithub.com/sanity-io/sanity/commit/723b28111) Espen Hovlandsdal | chore: require node 12 ([#​2770](https://togithub.com/sanity-io/sanity/issues/2770)) | [`bb5a733`](https://togithub.com/sanity-io/sanity/commit/bb5a73387) Marius Lundgård | chore(workshop): improve client mock | [`e78d9ea`](https://togithub.com/sanity-io/sanity/commit/e78d9eaa1) Marius Lundgård | refactor(studio-hints): improve toggle button | [`00f6665`](https://togithub.com/sanity-io/sanity/commit/00f66654e) Marius Lundgård | fix(imagetool): add guard | [`6c4dc57`](https://togithub.com/sanity-io/sanity/commit/6c4dc57fb) Marius Lundgård | fix(base): export all names | [`e82d14f`](https://togithub.com/sanity-io/sanity/commit/e82d14f58) Marius Lundgård | feat(base): support `shortcut` property on legacy menu items | [`d6cf8eb`](https://togithub.com/sanity-io/sanity/commit/d6cf8ebf4) Marius Lundgård | refactor(base): improve `MenuItem` typing | [`511556b`](https://togithub.com/sanity-io/sanity/commit/511556b48) Marius Lundgård | chore(base): add release tag | [`e27777d`](https://togithub.com/sanity-io/sanity/commit/e27777d9c) Marius Lundgård | refactor(base): improve types of presence components | [`84948a3`](https://togithub.com/sanity-io/sanity/commit/84948a375) Marius Lundgård | test(base): add workshop for `FormField` | [`5b27541`](https://togithub.com/sanity-io/sanity/commit/5b2754152) Marius Lundgård | refactor(base): improve types for legacy `DefaultButton` | [`a3bd583`](https://togithub.com/sanity-io/sanity/commit/a3bd5833d) Marius Lundgård | fix(base): fix type export | [`d3e062e`](https://togithub.com/sanity-io/sanity/commit/d3e062ed2) Marius Lundgård | test(base): add workshop for change indicators | [`3360520`](https://togithub.com/sanity-io/sanity/commit/3360520df) Marius Lundgård | test(base): add workshop for preview components | [`864b6fd`](https://togithub.com/sanity-io/sanity/commit/864b6fd72) Marius Lundgård | refactor(base): improve scroll container | [`f662382`](https://togithub.com/sanity-io/sanity/commit/f66238275) Marius Lundgård | fix(base): add reset css | [`4775f24`](https://togithub.com/sanity-io/sanity/commit/4775f240e) Marius Lundgård | refactor(base): refresh unhandled error screen | [`d6889cd`](https://togithub.com/sanity-io/sanity/commit/d6889cd88) Marius Lundgård | refactor(base): use standard theme when possible | [`96f245a`](https://togithub.com/sanity-io/sanity/commit/96f245ad0) Marius Lundgård | refactor(base): remove unnecessary `scheme` property | [`c6e5e9f`](https://togithub.com/sanity-io/sanity/commit/c6e5e9f49) Marius Lundgård | refactor(test-studio): prettify | [`07d8417`](https://togithub.com/sanity-io/sanity/commit/07d8417cd) Marius Lundgård | chore(design-studio): improve preview configuration in schema | [`b81a674`](https://togithub.com/sanity-io/sanity/commit/b81a674fd) Marius Lundgård | chore(test-studio): host dev server on local network | [`a6ffe2c`](https://togithub.com/sanity-io/sanity/commit/a6ffe2caf) Marius Lundgård | feat(design-studio): add document view with styled component | [`2f3aba1`](https://togithub.com/sanity-io/sanity/commit/2f3aba174) Marius Lundgård | feat(design-studio): add many tabs to test rendering | [`be38e53`](https://togithub.com/sanity-io/sanity/commit/be38e535d) Marius Lundgård | feat(design-studio): add iframe example | [`a931102`](https://togithub.com/sanity-io/sanity/commit/a93110232) Marius Lundgård | fix(react-hooks): set initial stream value | [`09db72c`](https://togithub.com/sanity-io/sanity/commit/09db72cbb) Marius Lundgård | refactor(form-builder): improve types of FormBuilderInput | [`c31ec8a`](https://togithub.com/sanity-io/sanity/commit/c31ec8a7e) Marius Lundgård | refactor(form-builder): remove unused property in `ReferenceInput` | [`88ee0ee`](https://togithub.com/sanity-io/sanity/commit/88ee0ee63) Marius Lundgård | refactor(form-builder): remove unused property in `FileInput` | [`f3d8319`](https://togithub.com/sanity-io/sanity/commit/f3d831955) Marius Lundgård | refactor(base): clean up change indicators | [`3627369`](https://togithub.com/sanity-io/sanity/commit/362736920) Marius Lundgård | test(base): improve change connector workshop | [`d9b7f0f`](https://togithub.com/sanity-io/sanity/commit/d9b7f0f8a) Fred Carlsen | refactor(cli): migrate `BarcodeInput` to Sanity UI/part-less setup ([#​2773](https://togithub.com/sanity-io/sanity/issues/2773)) | [`d24b657`](https://togithub.com/sanity-io/sanity/commit/d24b6576e) Fred Carlsen | refactor(dashboard): update `DefaultPreview` in `ProjectUsers` widget ([#​2785](https://togithub.com/sanity-io/sanity/issues/2785)) | [`93e13ed`](https://togithub.com/sanity-io/sanity/commit/93e13ed29) Marius Lundgård | refactor(state-router): move hooks to separate files and simplify | [`1d8bee4`](https://togithub.com/sanity-io/sanity/commit/1d8bee4a2) Marius Lundgård | refactor(state-router): improve hook dependencies | [`73725d5`](https://togithub.com/sanity-io/sanity/commit/73725d5f4) RitaDias | refactor(base): migrate Presence to `@sanity/ui` and styled components ([#​2772](https://togithub.com/sanity-io/sanity/issues/2772)) | [`6f10ed9`](https://togithub.com/sanity-io/sanity/commit/6f10ed991) Espen Hovlandsdal | chore(base): remove unused preview component ([#​2786](https://togithub.com/sanity-io/sanity/issues/2786)) | [`a6c3a56`](https://togithub.com/sanity-io/sanity/commit/a6c3a5650) Espen Hovlandsdal | chore(structure): fix lint errors | [`c47b3c4`](https://togithub.com/sanity-io/sanity/commit/c47b3c4ec) Espen Hovlandsdal | feat(structure): specify tag for document type resolve query | [`14cb2b9`](https://togithub.com/sanity-io/sanity/commit/14cb2b973) Espen Hovlandsdal | feat(structure): use modern api version for document type lookup | [`e289c27`](https://togithub.com/sanity-io/sanity/commit/e289c27b7) Espen Hovlandsdal | feat(base): allow specifying API version for listenQuery | [`3f48c99`](https://togithub.com/sanity-io/sanity/commit/3f48c9963) Espen Hovlandsdal | feat(structure): add methods for setting/getting api version on document lists | [`041a136`](https://togithub.com/sanity-io/sanity/commit/041a136b9) Espen Hovlandsdal | feat(desk-tool): pass on api version from structure in document lists | [`27318a3`](https://togithub.com/sanity-io/sanity/commit/27318a3ba) Espen Hovlandsdal | feat(structure): use modern api version for document type lists | [`f42a470`](https://togithub.com/sanity-io/sanity/commit/f42a4704f) Marius Lundgård | build(ecommerce-studio): fix dependency version | [`01defde`](https://togithub.com/sanity-io/sanity/commit/01defde9c) Bjørge Næss | refactor(state-router): add exports directory | [`a92eac9`](https://togithub.com/sanity-io/sanity/commit/a92eac9e9) Bjørge Næss | refactor: replace router part import with package import | [`86975d9`](https://togithub.com/sanity-io/sanity/commit/86975d9e3) Fred Carlsen | refactor(code-input): migrate icon to `@sanity/icons` | [`5644bff`](https://togithub.com/sanity-io/sanity/commit/5644bff56) Espen Hovlandsdal | chore(server): use forked webpack-dev-middleware ([#​2792](https://togithub.com/sanity-io/sanity/issues/2792)) | [`b27c76b`](https://togithub.com/sanity-io/sanity/commit/b27c76b55) Rico Kahler | chore: global eslint jest config ([#​2787](https://togithub.com/sanity-io/sanity/issues/2787)) | [`3e4f2b9`](https://togithub.com/sanity-io/sanity/commit/3e4f2b96c) Marius Lundgård | build(vision): update dependencies | [`4a98e8c`](https://togithub.com/sanity-io/sanity/commit/4a98e8cff) Marius Lundgård | chore(base): remove dev comments | [`2046c17`](https://togithub.com/sanity-io/sanity/commit/2046c17a5) Marius Lundgård | fix(form-builder): enable scrolling in value preview box | [`8c8dd3a`](https://togithub.com/sanity-io/sanity/commit/8c8dd3a65) Geoff Ball | fix(cli): correct double init in usage | [`85b7dca`](https://togithub.com/sanity-io/sanity/commit/85b7dcab7) RitaDias | refactor(LoadError): replace all components with sanity/ui alternatives ([#​2791](https://togithub.com/sanity-io/sanity/issues/2791)) | [`2e029ba`](https://togithub.com/sanity-io/sanity/commit/2e029ba55) Fred Carlsen | refactor(cli): migrate schema icon to `@sanity/icons` ([#​2789](https://togithub.com/sanity-io/sanity/issues/2789)) | [`fdceaf6`](https://togithub.com/sanity-io/sanity/commit/fdceaf674) ### [`v2.19.4`](https://togithub.com/sanity-io/sanity/releases/v2.19.4) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.19.0...v2.19.4) Upgrade Sanity Studio with: sanity upgrade ##### 🐛 Notable bugfixes - Fixes a bug where the preview image for a document might overflow its container ##### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Fred Carlsen | fix(base): fix image overflowing container in default preview | [`f9caf98`](https://togithub.com/sanity-io/sanity/commit/f9caf98ed) ### [`v2.19.0`](https://togithub.com/sanity-io/sanity/releases/v2.19.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.18.0...v2.19.0) Upgrade the Command Line Interface (CLI) with: npm install --global @​sanity/cli Upgrade Sanity Studio with: sanity upgrade ##### ✨ Highlights ##### `styled-components` as first-level dependency We've been hard at work migrating the internals of Sanity Studio from CSS modules [Sanity UI](https://www.sanity.io/blog/streamline-your-studio-development-with-sanity-ui), which is based on [styled-components](https://styled-components.com/). Over the past releases, we've seen a few reported issues where multiple versions of the `styled-components` dependency could end up in the same studio, causing issues that were hard to understand (`sanity is undefined`) and would require a full dependency tree reinstall to resolve (`rm -rf node_modules && sanity install`). In this version, we're introducing `styled-components` as a first-level dependency in the studio, in the same way that `react` and `react-dom` is. The first time you run `sanity start`, `sanity build` or `sanity upgrade` after the upgrade, you will be asked to install the dependency - and in non-interactive it will install automatically. This migration should be seamless for most studios. We anticipate that in certain cases (custom monorepo setups, for instance) it *might* require manual changes, like adding `styled-components` as a dependency of the studio. For a more in-depth look at the rationale behind this change, see the [pull request](https://togithub.com/sanity-io/sanity/pull/2742) for this change. ##### Specify API version for CLI query command The `sanity documents query` CLI command now has a new flag: `--api-version`. This is useful for testing how queries behave in different API versions. For now, the command will still use `v1` as the default. ##### 🐛 Notable bugfixes - Fixes a rare case where an error could be thrown during the React render lifecycle without being an `Error` instance, which would crash the error boundary ##### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Espen Hovlandsdal | chore(deps): move styled-component from deps to peerDeps | [`b2e0d92`](https://togithub.com/sanity-io/sanity/commit/b2e0d92de) Espen Hovlandsdal | chore(core): allow typescript in [@​sanity/core](https://togithub.com/sanity/core) | [`0450f0a`](https://togithub.com/sanity-io/sanity/commit/0450f0af3) Espen Hovlandsdal | chore(deps): upgrade fs-extra, semver dependencies | [`73e46b3`](https://togithub.com/sanity-io/sanity/commit/73e46b3c3) Espen Hovlandsdal | feat(core): verify/prompt for styled-components dependency | [`417c783`](https://togithub.com/sanity-io/sanity/commit/417c783d5) Espen Hovlandsdal | fix(cli): add styled-components as dependency for new studios | [`d06bbfe`](https://togithub.com/sanity-io/sanity/commit/d06bbfe74) Espen Hovlandsdal | chore(examples): add styled-components to dependencies | [`da87a87`](https://togithub.com/sanity-io/sanity/commit/da87a8791) Espen Hovlandsdal | chore(core): temporarily add inquirer as dev dependency | [`9bda8b2`](https://togithub.com/sanity-io/sanity/commit/9bda8b2dc) Espen Hovlandsdal | fix(core): skip package-manager prompt if non-interactive | [`8d9af82`](https://togithub.com/sanity-io/sanity/commit/8d9af8299) Espen Hovlandsdal | refactor(core): use semver.minVersion over custom function | [`1728000`](https://togithub.com/sanity-io/sanity/commit/1728000aa) Espen Hovlandsdal | chore(storybook): remove unmaintained storybook integration ([#​2750](https://togithub.com/sanity-io/sanity/issues/2750)) | [`85f1d42`](https://togithub.com/sanity-io/sanity/commit/85f1d4265) Espen Hovlandsdal | fix(core): allow studio manifest without name & version props | [`8e6d736`](https://togithub.com/sanity-io/sanity/commit/8e6d73612) Dain Cilke | feat(default-login): add support for sso login providers | [`af9423c`](https://togithub.com/sanity-io/sanity/commit/af9423ca4) RitaDias | refactor(base): move style folder to \__legacy and update paths in sanity.json ([#​2745](https://togithub.com/sanity-io/sanity/issues/2745)) | [`d837868`](https://togithub.com/sanity-io/sanity/commit/d837868e8) Marius Lundgård | build: update dependencies | [`62d2417`](https://togithub.com/sanity-io/sanity/commit/62d24172c) Per-Kristian Nordnes | test(portable-text-editor): add real life collaboration tests | [`9ae43a8`](https://togithub.com/sanity-io/sanity/commit/9ae43a8a3) Per-Kristian Nordnes | refactor(portable-text-editor): memo editor instance spesific placeholder block | [`25585b9`](https://togithub.com/sanity-io/sanity/commit/25585b900) Per-Kristian Nordnes | refactor(portable-text-editor): rename prop | [`97ba516`](https://togithub.com/sanity-io/sanity/commit/97ba516d8) Per-Kristian Nordnes | fix(form-builder): update prop name changed in PTE | [`e415e0a`](https://togithub.com/sanity-io/sanity/commit/e415e0a74) Per-Kristian Nordnes | fix(portable-text-editor): remove uneccesary 'any' typing | [`a17d84e`](https://togithub.com/sanity-io/sanity/commit/a17d84e13) Per-Kristian Nordnes | fix(portable-text-editor): don't return empty diffmatch patch | [`6531f15`](https://togithub.com/sanity-io/sanity/commit/6531f15fa) Per-Kristian Nordnes | refactor(portable-text-editor): remove uneccesary string usage | [`d66b7c2`](https://togithub.com/sanity-io/sanity/commit/d66b7c261) Per-Kristian Nordnes | fix(portable-text-editor): previousChildren must be stored sperately for incoming patch adjustments | [`53d5ff6`](https://togithub.com/sanity-io/sanity/commit/53d5ff666) Per-Kristian Nordnes | fix(portable-text-editor): use < and not <= for determining correct offset | [`aab163d`](https://togithub.com/sanity-io/sanity/commit/aab163dc7) Per-Kristian Nordnes | fix(portable-text-editor): fix incorrectness in line merging operation | [`6a7a625`](https://togithub.com/sanity-io/sanity/commit/6a7a62554) Per-Kristian Nordnes | test(portable-text-editor): use revId to measure change propagation in the browsers | [`983f6c1`](https://togithub.com/sanity-io/sanity/commit/983f6c1e9) Per-Kristian Nordnes | test(portable-text-editor): selection event delay must be much less | [`09ecadc`](https://togithub.com/sanity-io/sanity/commit/09ecadcbc) Per-Kristian Nordnes | test(portable-text-editor): refactor collab test to reliably wait for selection changes | [`56cc8a4`](https://togithub.com/sanity-io/sanity/commit/56cc8a447) Per-Kristian Nordnes | test(portable-text-editor): wait for exact selection where we can test for that | [`8821c60`](https://togithub.com/sanity-io/sanity/commit/8821c60dd) Espen Hovlandsdal | chore(import-cli): upgrade meow dependency ([#​2755](https://togithub.com/sanity-io/sanity/issues/2755)) | [`03781c9`](https://togithub.com/sanity-io/sanity/commit/03781c9f4) Marius Lundgård | build: update dependencies | [`c4b3653`](https://togithub.com/sanity-io/sanity/commit/c4b36532b) Espen Hovlandsdal | fix(default-layout): handle render errors with no Error instance in boundary ([#​2754](https://togithub.com/sanity-io/sanity/issues/2754)) | [`22c123f`](https://togithub.com/sanity-io/sanity/commit/22c123f7f) Espen Hovlandsdal | fix(server): alias styled-components in webpack config ([#​2752](https://togithub.com/sanity-io/sanity/issues/2752)) | [`99a7dcf`](https://togithub.com/sanity-io/sanity/commit/99a7dcfd9) Per-Kristian Nordnes | refactor(portabletext-editor): split util fn out in more spesific files | [`f124c6f`](https://togithub.com/sanity-io/sanity/commit/f124c6f19) Geoff Ball | docs(client): add detail to create drafts | [`aa964e7`](https://togithub.com/sanity-io/sanity/commit/aa964e7c4) Espen Hovlandsdal | feat(core): add --api-version flag for documents query command ([#​2759](https://togithub.com/sanity-io/sanity/issues/2759)) | [`955c704`](https://togithub.com/sanity-io/sanity/commit/955c70435) Espen Hovlandsdal | chore(components): remove deprecated [@​sanity/components](https://togithub.com/sanity/components) module | [`ea460b7`](https://togithub.com/sanity-io/sanity/commit/ea460b7a0) Espen Hovlandsdal | fix(cli): drop [@​sanity/components](https://togithub.com/sanity/components) from bootstrapped dependencies | [`e45afc4`](https://togithub.com/sanity-io/sanity/commit/e45afc470) Espen Hovlandsdal | refactor(plugin-loader): remove references to [@​sanity/components](https://togithub.com/sanity/components) | [`e6781d1`](https://togithub.com/sanity-io/sanity/commit/e6781d1ce) Espen Hovlandsdal | refactor(util): remove references to [@​sanity/components](https://togithub.com/sanity/components) | [`a634a89`](https://togithub.com/sanity-io/sanity/commit/a634a89ba) Espen Hovlandsdal | refactor(base): migrate search utils to typescript | [`0ff4330`](https://togithub.com/sanity-io/sanity/commit/0ff433071) Espen Hovlandsdal | refactor(base): use plain import for search utils instead of part | [`819334c`](https://togithub.com/sanity-io/sanity/commit/819334c77) Espen Hovlandsdal | fix(types): experimental search paths are compiled to string arrays | [`be20701`](https://togithub.com/sanity-io/sanity/commit/be207010d) Fred Carlsen | feat(base): new preview components using Sanity UI ([#​2749](https://togithub.com/sanity-io/sanity/issues/2749)) | [`3696728`](https://togithub.com/sanity-io/sanity/commit/369672890) Espen Hovlandsdal | refactor(base): import preview-resolver part from central location | [`5791530`](https://togithub.com/sanity-io/sanity/commit/5791530f3) Espen Hovlandsdal | refactor(base): migrate asset url builder to typescript | [`b69ad4e`](https://togithub.com/sanity-io/sanity/commit/b69ad4e19) Espen Hovlandsdal | refactor(base): drop usage of parts from default preview | [`e279bcf`](https://togithub.com/sanity-io/sanity/commit/e279bcf49) Espen Hovlandsdal | refactor(base): remove unused upload progress bar | [`1974cea`](https://togithub.com/sanity-io/sanity/commit/1974cea15) Bjørge Næss | refactor(base): rename css file | [`9ba888c`](https://togithub.com/sanity-io/sanity/commit/9ba888ca5) Fred Carlsen | fix(base): fix usage of inset property ([#​2769](https://togithub.com/sanity-io/sanity/issues/2769)) | [`3448ee7`](https://togithub.com/sanity-io/sanity/commit/3448ee77c) Dain Cilke | feat(cli): increase max dataset name length ([#​2768](https://togithub.com/sanity-io/sanity/issues/2768)) | [`b1937c3`](https://togithub.com/sanity-io/sanity/commit/b1937c312) ### [`v2.18.0`](https://togithub.com/sanity-io/sanity/releases/v2.18.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v2.17.2...v2.18.0) Upgrade the Command Line Interface (CLI) with: npm install --global @​sanity/cli Upgrade Sanity Studio with: sanity upgrade ##### ✨ Highlights - Makes preview images clearer, especially on high-DPI devices - Migrates [@​sanity/language-filter](https://www.npmjs.com/package/@​sanity/language-filter) to [Sanity UI](https://www.sanity.io/ui) - Objects and arrays are now unset if they are empty - Adds Java, Go, XML, C#, TSX, Ruby, and Yaml support to [code input](https://www.sanity.io/plugins/code-input) - Migrates validation list to [Sanity UI](https://www.sanity.io/ui) ##### 🐛 Notable bugfixes - Fixes bug introduced in v2.16.0 where inline Sanity references in Portable Text would not be saved properly. - Fixes regression in portable text editor since 2.16.0 where blocks are re-rendered when they should not be. - Validation markers will appear on nested fields if the containing field is marked as `Rule.required()`. - Fixes an issue causing object fields to not correctly run validation until dirtied [#​1713](https://togithub.com/sanity-io/sanity/issues/1713) - Fixes an issue with optional object fields with required subfields (nested objects, validation) [#​2630](https://togithub.com/sanity-io/sanity/issues/2630) ##### 📓 Full changelog Author | Message | Commit \------------ | ------------- | ------------- Fred Carlsen | refactor(language-filter): migrate to sanity ui and typescript ([#​2723](https://togithub.com/sanity-io/sanity/issues/2723)) | [`8c83e3d`](https://togithub.com/sanity-io/sanity/commit/8c83e3dbf) Bjørge Næss | chore(util): add support for package export entries | [`286589c`](https://togithub.com/sanity-io/sanity/commit/286589c07) Per-Kristian Nordnes | feat(code-input): add java, go, xml, c#, tsx, ruby, yaml support to code input ([#​2676](https://togithub.com/sanity-io/sanity/issues/2676)) | [`9fa0cfc`](https://togithub.com/sanity-io/sanity/commit/9fa0cfcad) Bjørge Næss | test(util): replace tap with jest | [`76d3542`](https://togithub.com/sanity-io/sanity/commit/76d354235) Bjørge Næss | test(resolver): replace mocha with jest | [`04bb8f3`](https://togithub.com/sanity-io/sanity/commit/04bb8f3a8) Bjørge Næss | test(mutator): replace tap with jest | [`d67cc73`](https://togithub.com/sanity-io/sanity/commit/d67cc7358) Bjørge Næss | test: consolidate jest configuration across packages | [`00d6e35`](https://togithub.com/sanity-io/sanity/commit/00d6e35f3) Bjørge Næss | chore: hoist jest et al. to monorepo root and upgrade to latest | [`8a6057f`](https://togithub.com/sanity-io/sanity/commit/8a6057f5f) Bjørge Næss | test: update npm test script + workflow action | [`4e64760`](https://togithub.com/sanity-io/sanity/commit/4e6476095) Bjørge Næss | chore: use gulp for building cli + deps | [`a31072f`](https://togithub.com/sanity-io/sanity/commit/a31072fee) Bjørge Næss | chore: upgrade typescript-eslint plugin+parser | [`e7a8351`](https://togithub.com/sanity-io/sanity/commit/e7a83519b) Bjørge Næss | chore: normalize dependencies | [`df416ff`](https://togithub.com/sanity-io/sanity/commit/df416ff00) Bjørge Næss | test: make 'npm test' run all tests | [`afad304`](https://togithub.com/sanity-io/sanity/commit/afad30454) Per-Kristian Nordnes | fix(portable-text-editor): fix re-render regression from v2.16.0 | [`0a58ed6`](https://togithub.com/sanity-io/sanity/commit/0a58ed6e1) Espen Hovlandsdal | chore: upgrade image-url library ([#​2729](https://togithub.com/sanity-io/sanity/issues/2729)) | [`02895c8`](https://togithub.com/sanity-io/sanity/commit/02895c849) Rico Kahler | chore: upgrade terser ([#​2731](https://togithub.com/sanity-io/sanity/issues/2731)) | [`d2ec960`](https://togithub.com/sanity-io/sanity/commit/d2ec9607d) Marius Lundgård | test(depcheck): ignore `@types/webpack-env` | [`2a57469`](https://togithub.com/sanity-io/sanity/commit/2a5746998) Marius Lundgård | refactor(test-studio): improve author preview | [`0c4c234`](https://togithub.com/sanity-io/sanity/commit/0c4c234f3) Marius Lundgård | refactor(dev): restructure design-studio | [`4c3fb65`](https://togithub.com/sanity-io/sanity/commit/4c3fb65a0) Marius Lundgård | build(workshop): add `@sanity/types` dependency | [`f7a0c2a`](https://togithub.com/sanity-io/sanity/commit/f7a0c2a3a) Marius Lundgård | build(workshop): add `chalk` dependency | [`10a688c`](https://togithub.com/sanity-io/sanity/commit/10a688c5c) Marius Lundgård | refactor(workshop): improve collection names | [`eecb81b`](https://togithub.com/sanity-io/sanity/commit/eecb81ba8) Marius Lundgård | fix(workshop): fix aliases | [`be2942d`](https://togithub.com/sanity-io/sanity/commit/be2942d4e) Marius Lundgård | refactor(workshop): pretty print part console messages | [`3df7ce1`](https://togithub.com/sanity-io/sanity/commit/3df7ce132) Marius Lundgård | refactor(workshop): improve workshop | [`7ed8b65`](https://togithub.com/sanity-io/sanity/commit/7ed8b65ee) Marius Lundgård | refactor(design-studio): add list pane example with menu items | [`93af7db`](https://togithub.com/sanity-io/sanity/commit/93af7db3d) Marius Lundgård | feat(types): add `collate` type | [`5bc05a1`](https://togithub.com/sanity-io/sanity/commit/5bc05a16d) Marius Lundgård | fix(types): add missing typing for `PreviewFields` | [`4c2169e`](https://togithub.com/sanity-io/sanity/commit/4c2169e71) Marius Lundgård | refactor(studio-hints): adjust ui | [`683ba76`](https://togithub.com/sanity-io/sanity/commit/683ba7653) Marius Lundgård | refactor(schema): improve types | [`c16a990`](https://togithub.com/sanity-io/sanity/commit/c16a990b9) Marius Lundgård | fix(state-router): fix TS errors | [`1382461`](https://togithub.com/sanity-io/sanity/commit/13824618b) Marius Lundgård | refactor(state-router): improve types | [`7e97833`](https://togithub.com/sanity-io/sanity/commit/7e9783385) Rico Kahler | build: run build before publish-tag ([#​2737](https://togithub.com/sanity-io/sanity/issues/2737)) | [`458b3c5`](https://togithub.com/sanity-io/sanity/commit/458b3c545) Rico Kahler | build: ignore test files in src folder | [`8fc50c5`](https://togithub.com/sanity-io/sanity/commit/8fc50c546) Rico Kahler | fix(validation): run nested validation in nested fields if required | [`41e516d`](https://togithub.com/sanity-io/sanity/commit/41e516da1) Rico Kahler | fix(validation): remove throw for undefined parent w/ valueOfField | [`cbcbcfe`](https://togithub.com/sanity-io/sanity/commit/cbcbcfe8a) Rico Kahler | refactor(validation): unify code paths | [`8dbba8f`](https://togithub.com/sanity-io/sanity/commit/8dbba8fb2) Rico Kahler | fix(form-builder): unset objects and arrays if empty | [`8639707`](https://togithub.com/sanity-io/sanity/commit/86397075c) Marius Lundgård | feat(design-studio): add custom pane example | [`28565f9`](https://togithub.com/sanity-io/sanity/commit/28565f93f) Espen Hovlandsdal | fix: use correct width/height for preview images, scale by dpr ([#​2728](https://togithub.com/sanity-io/sanity/issues/2728)) | [`4de82b3`](https://togithub.com/sanity-io/sanity/commit/4de82b34c) Espen Hovlandsdal | chore(generate-help-url): add typings for module | [`a2ce8c7`](https://togithub.com/sanity-io/sanity/commit/a2ce8c7b5) Rico Kahler | chore: fix gulpfile test file ignore pattern | [`7454021`](https://togithub.com/sanity-io/sanity/commit/7454021a3) Rico Kahler | chore: prefer [@​typescript-eslint/no-unused-vars](https://togithub.com/typescript-eslint/no-unused-vars) in ts files | [`f33df77`](https://togithub.com/sanity-io/sanity/commit/f33df776b) Rico Kahler | chore: update test match patterns | [`f332f2a`](https://togithub.com/sanity-io/sanity/commit/f332f2a4c) Rico Kahler | chore: add [@​deprecated](https://togithub.com/deprecated) tsdoc for better DX | [`dc7b643`](https://togithub.com/sanity-io/sanity/commit/dc7b6432c) Rico Kahler | refactor(validation): hoist validation to BaseSchemaType | [`1cc4548`](https://togithub.com/sanity-io/sanity/commit/1cc45484c) Rico Kahler | fix(validation): pass path and parent correctly to validateItem | [`ac546ec`](https://togithub.com/sanity-io/sanity/commit/ac546ec16) Victoria Bergquist | refactor(base): create new validationList components and migrate to [@​sanity/ui](https://togithub.com/sanity/ui) ([#​2610](https://togithub.com/sanity-io/sanity/issues/2610)) | [`1d9054e`](https://togithub.com/sanity-io/sanity/commit/1d9054e0d)

Configuration

📅 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR has been generated by WhiteSource Renovate. View repository job log here.

vercel[bot] commented 3 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/5iqnwyeEqbvFUo5UA5M6btBcmbSS
✅ Preview: https://sanity-super-pane-git-renovate-sanity-monorepo-ricokahler.vercel.app

github-actions[bot] commented 3 years ago

:tada: This PR is included in version 1.0.0-alpha.9 :tada:

The release is available on:

Your semantic-release bot :package::rocket: