sanity-io / sanity-template-nextjs-landing-pages

A Sanity powered landing page builder in Next.js for https://sanity.io/create
https://www.sanity.io/create/?template=sanity-io%2Fsanity-template-nextjs-landing-pages
158 stars 54 forks source link

Update Sanity packages to ^0.144 #5

Closed renovate[bot] closed 5 years ago

renovate[bot] commented 5 years ago

This PR contains the following updates:

Package Type Update Change
@sanity/base (source) dependencies minor ^0.142 -> ^0.144
@sanity/cli (source) dependencies minor ^0.142 -> ^0.144
@sanity/cli (source) devDependencies minor ^0.142.9 -> ^0.144.0
@sanity/client (source) dependencies minor ^0.142.6 -> ^0.144.0
@sanity/components (source) dependencies minor ^0.142 -> ^0.144
@sanity/core (source) dependencies minor ^0.142 -> ^0.144
@sanity/dashboard (source) dependencies minor ^0.142 -> ^0.144
@sanity/default-layout (source) dependencies minor ^0.142 -> ^0.144
@sanity/default-login (source) dependencies minor ^0.142 -> ^0.144
@sanity/desk-tool (source) dependencies minor ^0.142 -> ^0.144

Release Notes

sanity-io/sanity ### [`v0.144.0`](https://togithub.com/sanity-io/sanity/releases/v0.144.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v0.142.10...v0.144.0) Upgrade the Command Line Interface (CLI) with npm install --global @​sanity/cli Upgrade the Content Studio with: sanity upgrade ### ✨ Highlights #### Introducing: Initial Value Templates ```javascript export default { name: 'post', type: 'document', title: 'Blog post', initialValue: () => ({ publishedAt: new Date().toISOString() }), fields: [ // ... all the fields ] } ``` With the newest version of Sanity Studio, you can now set initial values for all your document types. It’s a great way to save your editors time and effort spent on repetitive tasks. - Prefill fields with minimal configuration. - Fetch content from APIs for new documents. - Add multiple templates for quick document creation. [Read the blog post!](https://www.sanity.io/blog/initial-values-for-sanity-studio) ### 📓 Full changelog | Author | Message | Commit | | -------------------- | ------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------- | | Espen Hovlandsdal | [structure] Expose initial template building functions | [`16abeef`](https://togithub.com/sanity-io/sanity/commit/16abeefe4) | | Espen Hovlandsdal | [desk-tool] Pass loading message as props, making pane more reusable | [`5eec395`](https://togithub.com/sanity-io/sanity/commit/5eec395d1) | | Espen Hovlandsdal | [desk-tool] Remove unused props from withDocumentType HOC | [`7485d40`](https://togithub.com/sanity-io/sanity/commit/7485d40c0) | | Espen Hovlandsdal | [base] Expose initial values utilities | [`51ef96c`](https://togithub.com/sanity-io/sanity/commit/51ef96ca6) | | Kristoffer Sivertsen | [components, desk-tool] CreateDocumentPreview and list | [`8ece00e`](https://togithub.com/sanity-io/sanity/commit/8ece00ea2) | | Kristoffer Sivertsen | [default-layout] Use createDocument list on actionModal | [`c168958`](https://togithub.com/sanity-io/sanity/commit/c1689588e) | | Kristoffer Sivertsen | [desk-tool] LoadingPane to take title as prop | [`f806ca7`](https://togithub.com/sanity-io/sanity/commit/f806ca7eb) | | Kristoffer Sivertsen | [all] Initial values view cleanup | [`724a1fc`](https://togithub.com/sanity-io/sanity/commit/724a1fc31) | | Espen Hovlandsdal | [initial-value-templates] Move initial value logic to separate module | [`d63181f`](https://togithub.com/sanity-io/sanity/commit/d63181fa0) | | Espen Hovlandsdal | [default-layout] Use templates for global action modal | [`ece7f38`](https://togithub.com/sanity-io/sanity/commit/ece7f380f) | | Kristoffer Sivertsen | [initial-value] Minor visual tweaks | [`61ff6a0`](https://togithub.com/sanity-io/sanity/commit/61ff6a0d2) | | Kristoffer Sivertsen | [desk-tool] Mobile pane working on initial value | [`cbdf23a`](https://togithub.com/sanity-io/sanity/commit/cbdf23a0b) | | Kristoffer Sivertsen | [initial-value-templates] Display correct names & visual fix | [`e465f27`](https://togithub.com/sanity-io/sanity/commit/e465f279b) | | Kristoffer Sivertsen | [initial-value-templates] Add support for description | [`d29fc3c`](https://togithub.com/sanity-io/sanity/commit/d29fc3c20) | | Kristoffer Sivertsen | [components] Fullscreen dialog tweaks | [`a28e7a7`](https://togithub.com/sanity-io/sanity/commit/a28e7a7a6) | | Espen Hovlandsdal | [desk-tool] Fix itemIsSelection check not checking ID of selected item | [`7e59f49`](https://togithub.com/sanity-io/sanity/commit/7e59f499a) | | Espen Hovlandsdal | [desk-tool] Center content of error pane | [`c37b3ac`](https://togithub.com/sanity-io/sanity/commit/c37b3ac73) | | Espen Hovlandsdal | [initial-value-templates] Allow templates to specify parameters schema | [`6d5d4af`](https://togithub.com/sanity-io/sanity/commit/6d5d4af86) | | Espen Hovlandsdal | [structure] Make document list editor slightly more readable | [`0bf527b`](https://togithub.com/sanity-io/sanity/commit/0bf527b26) | | Espen Hovlandsdal | [structure] Add initial value templates to editor spec | [`c1c0c61`](https://togithub.com/sanity-io/sanity/commit/c1c0c6149) | | Espen Hovlandsdal | [structure] Simplify default editor for document type lists | [`b9501cf`](https://togithub.com/sanity-io/sanity/commit/b9501cf3a) | | Espen Hovlandsdal | [structure] Remove template() in favor of initialValueTemplates() | [`a136f41`](https://togithub.com/sanity-io/sanity/commit/a136f417b) | | Espen Hovlandsdal | [desk-tool] Always pass urlParameters to pane | [`74c3ce9`](https://togithub.com/sanity-io/sanity/commit/74c3ce960) | | Espen Hovlandsdal | [structure] Introduce editorWithInitialValueTemplate(), initialValueTemplateById() | [`a10c2d7`](https://togithub.com/sanity-io/sanity/commit/a10c2d794) | | Espen Hovlandsdal | [desk-tool] Only show initial value templates without parameters | [`078869b`](https://togithub.com/sanity-io/sanity/commit/078869b2b) | | Espen Hovlandsdal | [test-studio] Add example of deep pane using initial value template | [`51c7e76`](https://togithub.com/sanity-io/sanity/commit/51c7e7605) | | Espen Hovlandsdal | [structure] Update tests to reflect new editor behavior | [`fdb8b9d`](https://togithub.com/sanity-io/sanity/commit/fdb8b9dc5) | | Espen Hovlandsdal | [initial-value-templates] Use new JSON parameters for intents | [`cb53716`](https://togithub.com/sanity-io/sanity/commit/cb53716f3) | | Espen Hovlandsdal | [initial-value-templates] Refactor to define templates on lists | [`78c10c4`](https://togithub.com/sanity-io/sanity/commit/78c10c428) | | Espen Hovlandsdal | [storybook] Hack around build issues | [`df44f63`](https://togithub.com/sanity-io/sanity/commit/df44f63a0) | | Espen Hovlandsdal | [desk-tool] Make "new document" button use initial value templates | [`4e99a5d`](https://togithub.com/sanity-io/sanity/commit/4e99a5d00) | | Victoria Bergquist | [desk-tool] Style broken references errors and warnings ([#​1525](https://togithub.com/sanity-io/sanity/issues/1525)) | [`a0599fa`](https://togithub.com/sanity-io/sanity/commit/a0599fa2a) | | Victoria Bergquist | [components] style dropdown menu for templates | [`47d79fb`](https://togithub.com/sanity-io/sanity/commit/47d79fbea) | | Victoria Bergquist | [initial-value-templates] fix template icons and refactor | [`0844611`](https://togithub.com/sanity-io/sanity/commit/08446117d) | | Espen Hovlandsdal | [chore] Bring version numbers in line with next | [`b9c5c12`](https://togithub.com/sanity-io/sanity/commit/b9c5c1240) | | Victoria Bergquist | [initial-values] add schema type icon fallback | [`efa783e`](https://togithub.com/sanity-io/sanity/commit/efa783eb1) | | Bjørge Næss | [structure] Guard against possible undefined value | [`4665033`](https://togithub.com/sanity-io/sanity/commit/466503310) | | Espen Hovlandsdal | [desk-tool] Prevent initial value re-render transition | [`ce24303`](https://togithub.com/sanity-io/sanity/commit/ce24303e8) | | Espen Hovlandsdal | [desk-tool] Use observable pattern for withInitialValue | [`456b4c8`](https://togithub.com/sanity-io/sanity/commit/456b4c81a) | | Espen Hovlandsdal | [base] Fix incorrect filename for initial value template builder | [`09c2f0f`](https://togithub.com/sanity-io/sanity/commit/09c2f0f45) | | Espen Hovlandsdal | [initial-value-templates] Remove templates for asset types | [`f6853c9`](https://togithub.com/sanity-io/sanity/commit/f6853c9f2) | | Espen Hovlandsdal | [default-layout] Add validation of new document structure items | [`7de1663`](https://togithub.com/sanity-io/sanity/commit/7de166356) | | Espen Hovlandsdal | [default-layout] Prefer template item title over template title | [`7f5c2d3`](https://togithub.com/sanity-io/sanity/commit/7f5c2d3b6) | | Espen Hovlandsdal | [desk-tool] Provide fallback for missing urlParameters | [`835f1a8`](https://togithub.com/sanity-io/sanity/commit/835f1a83f) | | Espen Hovlandsdal | [structure] Add setter/getters for template item descriptions | [`46e13ba`](https://togithub.com/sanity-io/sanity/commit/46e13ba7e) | | Espen Hovlandsdal | [default-layout] Fix parameterized items not appearing in "new document" menu | [`85795f6`](https://togithub.com/sanity-io/sanity/commit/85795f6e8) | | Espen Hovlandsdal | [test-studio] Add new document structure fixture | [`5ca7191`](https://togithub.com/sanity-io/sanity/commit/5ca719116) | | Espen Hovlandsdal | [initial-value-templates] Add validation for references, multidimensional arrays | [`edd6f63`](https://togithub.com/sanity-io/sanity/commit/edd6f6384) | | Espen Hovlandsdal | [chore] Rename initialValue property to initialValues | [`10c35c1`](https://togithub.com/sanity-io/sanity/commit/10c35c147) | | Espen Hovlandsdal | [form-builder] Fix tsconfig causing output to root directory | [`baf5990`](https://togithub.com/sanity-io/sanity/commit/baf59908f) | | Espen Hovlandsdal | [desk-tool] Fix "published"-snackbar disappearing immediately | [`1799c28`](https://togithub.com/sanity-io/sanity/commit/1799c28f1) | | Espen Hovlandsdal | [base] Add missing dependency | [`d7c5ebb`](https://togithub.com/sanity-io/sanity/commit/d7c5ebb07) | | Espen Hovlandsdal | [initial-value-templates] Fix type declaration for value property | [`af3dbd2`](https://togithub.com/sanity-io/sanity/commit/af3dbd2b8) | | Espen Hovlandsdal | [initial-value-templates] Add validation for plural values mismatch | [`b9398ff`](https://togithub.com/sanity-io/sanity/commit/b9398ffb3) | | Espen Hovlandsdal | [all] Revert to singular initialValue | [`600d524`](https://togithub.com/sanity-io/sanity/commit/600d5247e) | | Espen Hovlandsdal | [schema] Fix wording for initial value validation | [`9fad225`](https://togithub.com/sanity-io/sanity/commit/9fad225b4) | | Espen Hovlandsdal | [mutator] Add type definitions for diff-match-patch ([#​1561](https://togithub.com/sanity-io/sanity/issues/1561)) | [`aa8f70e`](https://togithub.com/sanity-io/sanity/commit/aa8f70eb2) | ### [`v0.142.10`](https://togithub.com/sanity-io/sanity/releases/v0.142.10) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v0.142.9...v0.142.10) Upgrade the Command Line Interface (CLI) with npm install --global @​sanity/cli Upgrade Sanity Studio by running this command in your project folder: sanity upgrade ### ✨ Highlights This reverts a change introduced in the previous release which could potentially make some custom branded studio's logos take up too much space. ### 📓 Full changelog | Author | Message | Commit | | -------------------- | ---------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- | | Per-Kristian Nordnes | Revert "[default-layout] fix brand logo sizing ([#​1544](https://togithub.com/sanity-io/sanity/issues/1544))" | [`0abb610`](https://togithub.com/sanity-io/sanity/commit/0abb61043) | ### [`v0.142.9`](https://togithub.com/sanity-io/sanity/releases/v0.142.9) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v0.142.6...v0.142.9) Upgrade the Command Line Interface (CLI) with npm install --global @​sanity/cli Upgrade Sanity Studio by running this command in your project folder: sanity upgrade ### ✨ Highlights This release contains a bunch of small fixes to improve UI, developer experience, documentation, and for Studio customization. _Thanks to [@​boyum](https://togithub.com/boyum) and [@​fishintaiwan](https://togithub.com/fishintaiwan) for their community contributions!_ ### 📓 Full changelog | Author | Message | Commit | | ----------------------- | --------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- | | Victoria Bergquist | Add a Pull Request Template | [`ea35a77`](https://togithub.com/sanity-io/sanity/commit/ea35a777d) | | Espen Hovlandsdal | [schema] Provide fallback for preview select if none is given ([#​1310](https://togithub.com/sanity-io/sanity/issues/1310)) | [`0d38892`](https://togithub.com/sanity-io/sanity/commit/0d388921d) | | Victoria Bergquist | [components] fix icon alignment issues in menu items ([#​1526](https://togithub.com/sanity-io/sanity/issues/1526)) | [`989bba4`](https://togithub.com/sanity-io/sanity/commit/989bba46e) | | Espen Hovlandsdal | [test-studio] Add mux input for easier testing | [`8cc0984`](https://togithub.com/sanity-io/sanity/commit/8cc098443) | | fishintaiwan | [code input] Readme: Fix typo, add withFilename option ([#​1529](https://togithub.com/sanity-io/sanity/issues/1529)) | [`381bfcb`](https://togithub.com/sanity-io/sanity/commit/381bfcbac) | | Victoria Bergquist | [cli] Add spinner for dataset creation ([#​1531](https://togithub.com/sanity-io/sanity/issues/1531)) | [`b8c0e63`](https://togithub.com/sanity-io/sanity/commit/b8c0e63a9) | | Kristoffer J. Sivertsen | [code-input] Add support for GROQ ([#​1533](https://togithub.com/sanity-io/sanity/issues/1533)) | [`bfbf9ee`](https://togithub.com/sanity-io/sanity/commit/bfbf9eed7) | | Victoria Bergquist | [cli] install vision in CLI templates by default in dev ([#​1532](https://togithub.com/sanity-io/sanity/issues/1532)) | [`03112ba`](https://togithub.com/sanity-io/sanity/commit/03112ba70) | | Espen Hovlandsdal | [chore] Gulp: Only recompile changed files ([#​1541](https://togithub.com/sanity-io/sanity/issues/1541)) | [`57ae0fc`](https://togithub.com/sanity-io/sanity/commit/57ae0fc0b) | | Espen Hovlandsdal | [validation] Fix "unable to resolve type" for array items ([#​1540](https://togithub.com/sanity-io/sanity/issues/1540)) | [`37146ba`](https://togithub.com/sanity-io/sanity/commit/37146badc) | | Kristoffer J. Sivertsen | [code-input] Fixes a regex issue making safari catch error ([#​1545](https://togithub.com/sanity-io/sanity/issues/1545)) | [`1bd4d7d`](https://togithub.com/sanity-io/sanity/commit/1bd4d7d73) | | Jørn Knutsen | Update README.md | [`69af6da`](https://togithub.com/sanity-io/sanity/commit/69af6daa2) | | Jørn Knutsen | Update README.md | [`d3f7752`](https://togithub.com/sanity-io/sanity/commit/d3f775215) | | Sindre Bøyum | Fix typos in md files ([#​1551](https://togithub.com/sanity-io/sanity/issues/1551)) | [`c697823`](https://togithub.com/sanity-io/sanity/commit/c697823d9) | | Marius Lundgård | [form-builder] Adjust styling of lists in block editor ([#​1421](https://togithub.com/sanity-io/sanity/issues/1421)) | [`df89129`](https://togithub.com/sanity-io/sanity/commit/df89129ea) | | Kristoffer J. Sivertsen | [code-input] Support groq and fallback in preview ([#​1556](https://togithub.com/sanity-io/sanity/issues/1556)) | [`42d4544`](https://togithub.com/sanity-io/sanity/commit/42d4544c1) | | Victoria Bergquist | [default-layout] fix status styling and sizing ([#​1554](https://togithub.com/sanity-io/sanity/issues/1554)) | [`d81561d`](https://togithub.com/sanity-io/sanity/commit/d81561d7a) | | Victoria Bergquist | [default-layout] fix brand logo sizing ([#​1544](https://togithub.com/sanity-io/sanity/issues/1544)) | [`60c6b10`](https://togithub.com/sanity-io/sanity/commit/60c6b1046) | | Bjørge Næss | [chore] Hide verbose gulp output behind env flag ([#​1539](https://togithub.com/sanity-io/sanity/issues/1539)) | [`e882e72`](https://togithub.com/sanity-io/sanity/commit/e882e7285) | | Per-Kristian Nordnes | Normalize decorators ([#​1553](https://togithub.com/sanity-io/sanity/issues/1553)) | [`3c2231e`](https://togithub.com/sanity-io/sanity/commit/3c2231e07) | | Victoria Bergquist | [components] add dev server status snackbar ([#​1543](https://togithub.com/sanity-io/sanity/issues/1543)) | [`ae3cf26`](https://togithub.com/sanity-io/sanity/commit/ae3cf262b) | | Per-Kristian Nordnes | [block-tools] Deserialize text nodes directly on the body better ([#​1560](https://togithub.com/sanity-io/sanity/issues/1560)) | [`57ed1f1`](https://togithub.com/sanity-io/sanity/commit/57ed1f101) | | Per-Kristian Nordnes | [form-builder] Fix ts lint errors | [`28ca25c`](https://togithub.com/sanity-io/sanity/commit/28ca25c33) | | Victoria Bergquist | [cli] Add default dataset config ([#​1530](https://togithub.com/sanity-io/sanity/issues/1530)) | [`44617d2`](https://togithub.com/sanity-io/sanity/commit/44617d26d) | ### [`v0.142.6`](https://togithub.com/sanity-io/sanity/releases/v0.142.6) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v0.142.2...v0.142.6) Upgrade the Command Line Interface (CLI) with npm install --global @​sanity/cli Upgrade the Content Studio with: sanity upgrade ### ✨ Highlights #### Flow => TypeScript Although this should not be noticable for end users yet, we have now converted all the packages that were using [Flow](https://flow.org/) to use [TypeScript](https://www.typescriptlang.org/) instead. Check out our [blog post](https://www.sanity.io/blog/from-flow-to-typescript) for more details. #### GraphQL schema fixes Two long-standing bugs in the GraphQL schema generating code has now been fixed: circular references in types should no longer give stack overflow errors, and subtyped scalars should now work as expected. Huge thanks to Richard Sewell for taking the time to look at these! #### Other features - Added the [`getDocuments()`](https://togithub.com/sanity-io/sanity/tree/next/packages/%40sanity/client#fetch-multiple-documents-in-one-go) method to `@sanity/client` for fetching multiple documents in one go. **Note**: this method should be used sparingly and performing a [GROQ query](https://www.sanity.io/docs/how-queries-work) is usually a better option. ### 🐛 Notable bugfixes - Inform users about sanity.io/create when running `sanity init` - Fixed a bug where slugs would always be required after writing it once and then deleted it - Fixed history pane background color for better Studio customization experience - Fixed a bug where adding geopoints to arrays through `@sanity/google-maps-input` would break - Fixed a bug where drag-and-drop of files to an array would crash - Fixed a bug where changing the crop area of an image would crash when not first setting a hotspot - Fixed a bug where any configured `accept` parameter would not be passed down to the underlying input. Also changed the default accepted file types for images to `image/*`, which should provide a more user-friendly way to select images ### 📓 Full changelog | Author | Message | Commit | | -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- | | Bjørge Næss | [chore] Upgrade dev tooling (babel + eslint, etc) | [`85c8553`](https://togithub.com/sanity-io/sanity/commit/85c855335) | | Bjørge Næss | [chore] Upgrade lerna | [`d49c1df`](https://togithub.com/sanity-io/sanity/commit/d49c1df83) | | Bjørge Næss | [chore] Upgrade prettier | [`3e20541`](https://togithub.com/sanity-io/sanity/commit/3e20541e7) | | Bjørge Næss | [chore] Upgrade TypeScript + misc gulp pkgs | [`3971b24`](https://togithub.com/sanity-io/sanity/commit/3971b2403) | | Bjørge Næss | [chore] Remove Flow config and cruft | [`d51b129`](https://togithub.com/sanity-io/sanity/commit/d51b12933) | | Bjørge Næss | [chore] Add TypeScript specific eslint config | [`a1f2731`](https://togithub.com/sanity-io/sanity/commit/a1f2731d2) | | Bjørge Næss | [chore] Tweak TypeScript config and gulpfile | [`b6d9590`](https://togithub.com/sanity-io/sanity/commit/b6d959005) | | Bjørge Næss | [chore] Harmonize config between existing TypeScript projects | [`bb96416`](https://togithub.com/sanity-io/sanity/commit/bb96416b9) | | Bjørge Næss | [state-router] Migrate from Flow to TypeScript | [`76b5bd1`](https://togithub.com/sanity-io/sanity/commit/76b5bd110) | | Bjørge Næss | [block-tools] Migrate from Flow to TypeScript | [`66d78f4`](https://togithub.com/sanity-io/sanity/commit/66d78f4da) | | Bjørge Næss | [schema] Migrate from Flow to TypeScript | [`a4d6d72`](https://togithub.com/sanity-io/sanity/commit/a4d6d7297) | | Bjørge Næss | [util] Migrate from Flow to TypeScript | [`c833982`](https://togithub.com/sanity-io/sanity/commit/c8339820c) | | Bjørge Næss | [mutator] Migrate from Flow to TypeScript | [`ca5047e`](https://togithub.com/sanity-io/sanity/commit/ca5047e20) | | Bjørge Næss | [components] Remove Flow annotations | [`5e1d5b0`](https://togithub.com/sanity-io/sanity/commit/5e1d5b0fb) | | Bjørge Næss | [preview] Migrate from Flow to TypeScript | [`15a70d9`](https://togithub.com/sanity-io/sanity/commit/15a70d92f) | | Bjørge Næss | [form-builder] Migrate from Flow to TypeScript | [`4d15779`](https://togithub.com/sanity-io/sanity/commit/4d1577905) | | Espen Hovlandsdal | [google-maps-input] Merge value with defaults before setting lat/lng ([#​1500](https://togithub.com/sanity-io/sanity/issues/1500)) | [`3a1fe14`](https://togithub.com/sanity-io/sanity/commit/3a1fe1477) | | Richard Sewell | [core] fix API generation fails if schema has self-referencing types ([#​1497](https://togithub.com/sanity-io/sanity/issues/1497)) | [`6e6122f`](https://togithub.com/sanity-io/sanity/commit/6e6122f16) | | Richard Sewell | [core] Fix subtyped scalars used in array definitions ([#​1496](https://togithub.com/sanity-io/sanity/issues/1496)) | [`ebf3744`](https://togithub.com/sanity-io/sanity/commit/ebf3744a4) | | Victoria Bergquist | [cli] inform about /create when init new project ([#​1490](https://togithub.com/sanity-io/sanity/issues/1490)) | [`a8afc59`](https://togithub.com/sanity-io/sanity/commit/a8afc599b) | | Per-Kristian Nordnes | [test-studio] Make test with custom markers ([#​1505](https://togithub.com/sanity-io/sanity/issues/1505)) | [`8fb44d9`](https://togithub.com/sanity-io/sanity/commit/8fb44d961) | | Victoria Bergquist | [validation] fix slug always required after being set once | [`5d96c9f`](https://togithub.com/sanity-io/sanity/commit/5d96c9faf) | | Bjørge Næss | [client] Add client.getDocuments ([#​1507](https://togithub.com/sanity-io/sanity/issues/1507)) | [`e33c44b`](https://togithub.com/sanity-io/sanity/commit/e33c44ba2) | | Bjørge Næss | [base] Use doc endpoint when fetching documents for editing ([#​1508](https://togithub.com/sanity-io/sanity/issues/1508)) | [`44a18f4`](https://togithub.com/sanity-io/sanity/commit/44a18f457) | | Espen Hovlandsdal | [form-builder] Make asset upload options optional ([#​1512](https://togithub.com/sanity-io/sanity/issues/1512)) | [`e6c7a96`](https://togithub.com/sanity-io/sanity/commit/e6c7a9628) | | Espen Hovlandsdal | [imagetool] When limiting, use default crop if none specified ([#​1514](https://togithub.com/sanity-io/sanity/issues/1514)) | [`8ff80d0`](https://togithub.com/sanity-io/sanity/commit/8ff80d096) | | Espen Hovlandsdal | [test-studio] Add nested two-column blocks test case | [`0ca4de2`](https://togithub.com/sanity-io/sanity/commit/0ca4de2cb) | | Victoria Bergquist | [desk-tool] fix history pane background ([#​1499](https://togithub.com/sanity-io/sanity/issues/1499)) | [`0dcd724`](https://togithub.com/sanity-io/sanity/commit/0dcd72420) | | Per-Kristian Nordnes | [form-builder] Block editor: fix design regressions from [#​1492](https://togithub.com/sanity-io/sanity/issues/1492) ([#​1516](https://togithub.com/sanity-io/sanity/issues/1516)) | [`6a8d1c4`](https://togithub.com/sanity-io/sanity/commit/6a8d1c44a) | | Espen Hovlandsdal | [form-builder] Pass accepted mime types to input ([#​1517](https://togithub.com/sanity-io/sanity/issues/1517)) | [`551a208`](https://togithub.com/sanity-io/sanity/commit/551a2083c) | | Bjørge Næss | [chore] Add postcss config for typescript-plugin-css-modules | [`7ea7af5`](https://togithub.com/sanity-io/sanity/commit/7ea7af5f0) | ### [`v0.142.2`](https://togithub.com/sanity-io/sanity/releases/v0.142.2) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v0.142.1...v0.142.2) Upgrade the Command Line Interface (CLI) with npm install --global @​sanity/cli Upgrade the Content Studio with: sanity upgrade ### 🐛 Notable bugfixes - Increased timeouts for snackbars ([#​1457](https://togithub.com/sanity-io/sanity/issues/1457)) - Fixed an issue where `sanity init` would crash when choosing to import sample data for a new project ([#​1459](https://togithub.com/sanity-io/sanity/issues/1459)) - Fixed an issue causing a studio error when a sanity studio was in a subfolder in a create-react-app project – big thanks to [@​scottandrews98](https://togithub.com/scottandrews98) for helping us investigate the issue! ([#​1462](https://togithub.com/sanity-io/sanity/issues/1462), [#​1463](https://togithub.com/sanity-io/sanity/issues/1463)) - Fixed an issue that caused an error when editing portable text inside an array or when the first field of a document was a block array ([#​1464](https://togithub.com/sanity-io/sanity/issues/1464)) - Fixed link color in selected history view item ([#​1429](https://togithub.com/sanity-io/sanity/issues/1429)) - Made the root container use the base font-family for easier Studio customization ([#​1460](https://togithub.com/sanity-io/sanity/issues/1460)) ### 📓 Full changelog | Author | Message | Commit | | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------- | | Victoria Bergquist | [components] fix errors disappearing too fast ([#​1457](https://togithub.com/sanity-io/sanity/issues/1457)) | [`5664709`](https://togithub.com/sanity-io/sanity/commit/566470998) | | Bjørge Næss | [chore] Remove the backstop test folder as well | [`6f7a791`](https://togithub.com/sanity-io/sanity/commit/6f7a79109) | | Bjørge Næss | [components] Make sure color hashing doesn't fail on non-transpiled var() css properties ([#​1462](https://togithub.com/sanity-io/sanity/issues/1462)) | [`24728f8`](https://togithub.com/sanity-io/sanity/commit/24728f86f) | | Espen Hovlandsdal | [cli] Fix coreCommands not being available after project init ([#​1459](https://togithub.com/sanity-io/sanity/issues/1459)) | [`174b2fb`](https://togithub.com/sanity-io/sanity/commit/174b2fb3e) | | Bjørge Næss | [server] Force transpiling of customProperties/css-variables syntax ([#​1463](https://togithub.com/sanity-io/sanity/issues/1463)) | [`60da08a`](https://togithub.com/sanity-io/sanity/commit/60da08aa9) | | Bjørge Næss | [form-builder] Wrap BlockEditor in forwardRef ([#​1464](https://togithub.com/sanity-io/sanity/issues/1464)) | [`aff5e5c`](https://togithub.com/sanity-io/sanity/commit/aff5e5c4d) | | Victoria Bergquist | [components] fix link color in selected item ([#​1429](https://togithub.com/sanity-io/sanity/issues/1429)) ([#​1461](https://togithub.com/sanity-io/sanity/issues/1461)) | [`0938d45`](https://togithub.com/sanity-io/sanity/commit/0938d45bb) | | Victoria Bergquist | [base] use base font-family as default ([#​1460](https://togithub.com/sanity-io/sanity/issues/1460)) | [`39f6793`](https://togithub.com/sanity-io/sanity/commit/39f6793db) | ### [`v0.142.1`](https://togithub.com/sanity-io/sanity/releases/v0.142.1) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v0.142.0...v0.142.1) Upgrade the Command Line Interface (CLI) with npm install --global @​sanity/cli Upgrade the Content Studio with: sanity upgrade ### ✨ Highlights #### Safari login improvements We've had several people report issues with logging in to the Sanity studio using Safari. This release contains a fix that should resolve this issue. #### CLI: Multi-document delete You can now delete multiple documents at once with `sanity documents delete`. Just pass a list of document IDs to delete: sanity documents delete doc1 doc2 doc3 ### 🐛 Notable bugfixes - Fixed a bug where restoring an old version would lose the content of array fields ### 📓 Full changelog | Author | Message | Commit | | -------------------- | -------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- | | Per-Kristian Nordnes | Update cookie test view ([#​1448](https://togithub.com/sanity-io/sanity/issues/1448)) | [`e9fad68`](https://togithub.com/sanity-io/sanity/commit/e9fad686d) | | Espen Hovlandsdal | [form-builder] Add error boundary around portable text editor ([#​1450](https://togithub.com/sanity-io/sanity/issues/1450)) | [`6b6860e`](https://togithub.com/sanity-io/sanity/commit/6b6860ef3) | | Espen Hovlandsdal | [base] Fix array items being nulled when restoring historic documents ([#​1449](https://togithub.com/sanity-io/sanity/issues/1449)) | [`3daba52`](https://togithub.com/sanity-io/sanity/commit/3daba5234) | | Espen Hovlandsdal | [core] Allow specifying multiple document IDs to delete ([#​1415](https://togithub.com/sanity-io/sanity/issues/1415)) | [`6bce381`](https://togithub.com/sanity-io/sanity/commit/6bce3811d) |

Renovate configuration

:date: Schedule: At any time (no schedule defined).

:vertical_traffic_light: Automerge: Enabled.

:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

:no_bell: Ignore: Close this PR and you won't be reminded about these updates again.



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