sanity-io / sanity-template-gatsby-portfolio

A Gatsby portfolio site powered by Sanity for https://www.sanity.io/create
https://www.sanity.io/create/?template=sanity-io%2Fsanity-template-gatsby-portfolio
69 stars 18 forks source link

Update Sanity packages #28

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.x -> ^0.142
@sanity/block-content-to-react dependencies patch ^2.0.6 -> ^2.0.7
@sanity/cli (source) dependencies minor ^0.x -> ^0.142
@sanity/components (source) dependencies minor ^0.x -> ^0.142
@sanity/core (source) dependencies minor ^0.x -> ^0.142
@sanity/dashboard (source) dependencies minor ^0.x -> ^0.142
@sanity/default-layout (source) dependencies minor ^0.x -> ^0.142
@sanity/default-login (source) dependencies minor ^0.x -> ^0.142
@sanity/desk-tool (source) dependencies minor ^0.x -> ^0.142
@sanity/image-url (source) dependencies patch ^0.140.12 -> ^0.140.15

Release Notes

sanity-io/sanity ### [`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) | ### [`v0.142.0`](https://togithub.com/sanity-io/sanity/releases/v0.142.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v0.141.6...v0.142.0) Upgrade the Command Line Interface (CLI) with npm install --global @​sanity/cli Upgrade the Content Studio with: sanity upgrade ### ✨ Highlights #### New notification snackbars! :chocolate_bar: This release introduces new stackable notification “snackbars” that stacks, are closable, can have actions in them, and can be used by plugin authors with lots of configuration options (custom icons, etc.). ![GIF demoing the snackbars](https://i.imgur.com/89BKAEf.gif) #### React Hooks support :fishing_pole_and_fish: The content studio now works with custom components and plugins that's using [React hooks](https://reactjs.org/docs/hooks-intro.html). Note: In order to use React hooks with your Sanity Studio, make sure to upgrade `react` and `react-dom` in your studio to version `16.8` (or later). [Read more about how to upgrade React in your studio here](https://www.sanity.io/help/upgrade-react). ### 🐛 Notable bugfixes and optimizations - Slugs inside of arrays can't be automatically checked for uniqueness. Previously, they triggered a number of requests when the document changed content, without actually performing a valid check. Users are now required to provide their own `isUnique` check should they want to ensure uniqueness. - Fixed a bug that would cause an error when restoring old versions of a document that has references to now deleted documents. If you restore a version that has a reference to a nonexisting document, that reference field will now be removed upon restore. - Missing avatar does not break mobile view. - Optimized studio list views which now should load significantly faster. ### 📓 Full changelog | Author | Message | Commit | | ----------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- | | Kristoffer J. Sivertsen | [form-builder] Icons in blockeditor ([#​1416](https://togithub.com/sanity-io/sanity/issues/1416)) | [`5d1a90b`](https://togithub.com/sanity-io/sanity/commit/5d1a90b39) | | Marius Lundgård | [storybook] Adjust base styles | [`82f3b18`](https://togithub.com/sanity-io/sanity/commit/82f3b1835) | | Thomas Drevon | [client] Fix typo opereration --> operation | [`e004b06`](https://togithub.com/sanity-io/sanity/commit/e004b0697) | | Bjørge Næss | [base] Optimize and move collate function to draft-utils ([#​1422](https://togithub.com/sanity-io/sanity/issues/1422)) | [`4bf926e`](https://togithub.com/sanity-io/sanity/commit/4bf926e02) | | Bjørge Næss | [desk-tool] Fix typo/potential listener leak | [`3470bd4`](https://togithub.com/sanity-io/sanity/commit/3470bd485) | | Bjørge Næss | [base] Move listenQuery | [`9a1879c`](https://togithub.com/sanity-io/sanity/commit/9a1879cc9) | | Bjørge Næss | [base] Remove reference to nonexistent document upon restore to previous revision ([#​1423](https://togithub.com/sanity-io/sanity/issues/1423)) | [`921e954`](https://togithub.com/sanity-io/sanity/commit/921e9544a) | | Kristoffer J. Sivertsen | [default-layout] Prettier styling of broken avatar image ([#​1419](https://togithub.com/sanity-io/sanity/issues/1419)) | [`ef9443c`](https://togithub.com/sanity-io/sanity/commit/ef9443cf0) | | Kristoffer J. Sivertsen | [desk-tool] Mobile full width publish button ([#​1417](https://togithub.com/sanity-io/sanity/issues/1417)) | [`9e613da`](https://togithub.com/sanity-io/sanity/commit/9e613da1b) | | Kristoffer J. Sivertsen | [desk-tool] Publish badge in document list ([#​1407](https://togithub.com/sanity-io/sanity/issues/1407)) | [`0de35e2`](https://togithub.com/sanity-io/sanity/commit/0de35e290) | | Kristoffer Sivertsen | [desk-tool] Autoprefixer changes | [`5f94f54`](https://togithub.com/sanity-io/sanity/commit/5f94f5405) | | Kristoffer Sivertsen | [desk-tool] Minor bug fix to editor | [`bef69dc`](https://togithub.com/sanity-io/sanity/commit/bef69dc47) | | Kristoffer J. Sivertsen | [desk-tool] Moving spinners to staticContent ([#​1424](https://togithub.com/sanity-io/sanity/issues/1424)) | [`b55701f`](https://togithub.com/sanity-io/sanity/commit/b55701fd0) | | Victoria Bergquist | [components] Add new snackbars ([#​1426](https://togithub.com/sanity-io/sanity/issues/1426)) | [`8464b68`](https://togithub.com/sanity-io/sanity/commit/8464b68bb) | | Bjørge Næss | Bump the React version required by Sanity Studio to v16.3 ([#​1433](https://togithub.com/sanity-io/sanity/issues/1433)) | [`352e9cb`](https://togithub.com/sanity-io/sanity/commit/352e9cbf3) | | Espen Hovlandsdal | [validation] Disable uniqueness check for fields in arrays ([#​1434](https://togithub.com/sanity-io/sanity/issues/1434)) | [`c83964f`](https://togithub.com/sanity-io/sanity/commit/c83964f83) | | Bjørge Næss | [server] Upgrade React Hot Loader ([#​1435](https://togithub.com/sanity-io/sanity/issues/1435)) | [`b18b103`](https://togithub.com/sanity-io/sanity/commit/b18b10363) | | Bjørge Næss | [test-studio] Add example of custom input that uses hooks | [`77cd20a`](https://togithub.com/sanity-io/sanity/commit/77cd20af9) | | Espen Hovlandsdal | [server] Only alias react-dom in development ([#​1436](https://togithub.com/sanity-io/sanity/issues/1436)) | [`add49d7`](https://togithub.com/sanity-io/sanity/commit/add49d7e4) | | Bjørge Næss | [chore] Run rename-unsafe-lifecycles codemod on all source files ([#​1439](https://togithub.com/sanity-io/sanity/issues/1439)) | [`baef47c`](https://togithub.com/sanity-io/sanity/commit/baef47cc3) | | Victoria Bergquist | Fix issues with the snacker ([#​1440](https://togithub.com/sanity-io/sanity/issues/1440)) | [`f285758`](https://togithub.com/sanity-io/sanity/commit/f285758a8) | | Kristoffer J. Sivertsen | [components] NoResultText causing scrollbars ([#​1442](https://togithub.com/sanity-io/sanity/issues/1442)) | [`fe5cee4`](https://togithub.com/sanity-io/sanity/commit/fe5cee44b) | | Bjørge Næss | [chore] Remove visual regression testing for now ([#​1443](https://togithub.com/sanity-io/sanity/issues/1443)) | [`23f4e08`](https://togithub.com/sanity-io/sanity/commit/23f4e089d) | | Victoria Bergquist | [base] make base font size overrideable ([#​1441](https://togithub.com/sanity-io/sanity/issues/1441)) | [`0ed5f9f`](https://togithub.com/sanity-io/sanity/commit/0ed5f9fbf) | ### [`v0.141.6`](https://togithub.com/sanity-io/sanity/releases/v0.141.6) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v0.141.5...v0.141.6) Upgrade the Command Line Interface (CLI) with npm install --global @​sanity/cli Upgrade Sanity Studio with: sanity upgrade in the studio folder. ### ✨ Highlights #### Invite collaborators from the command line You can now use the Sanity CLI tool to invite people to your project. From your studio folder, run `sanity users invite` and you'll be prompted for the email and role of the user. You can also use flags (`--role`) if you want to automate it. In addition, you can list the members of a project by running `sanity users list`. You'll get the user IDs, names and roles of all users in the project. In a future release, we'll be sure to add more commands, such as removing a user from the project, or modifying their role. ### 🐛 Notable bugfixes - Fixed a bug where unloading previews in the editor for Portable Text led to side effects and jumping. - Fixed a bug in the editor for Portable Text where focus was not restored when toggling fullscreen mode. ### 📓 Full changelog | Author | Message | Commit | | -------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- | | Espen Hovlandsdal | [core] Add CLI commands for listing and inviting users ([#​1408](https://togithub.com/sanity-io/sanity/issues/1408)) | [`e31055b`](https://togithub.com/sanity-io/sanity/commit/e31055b48) | | Per-Kristian Nordnes | [preview] Don't toggle visiblity for 'inline' and 'block' previews ([#​1411](https://togithub.com/sanity-io/sanity/issues/1411)) | [`1960879`](https://togithub.com/sanity-io/sanity/commit/196087962) | | Per-Kristian Nordnes | [form-builder] Block editor: fix focus bug ([#​1412](https://togithub.com/sanity-io/sanity/issues/1412)) | [`75f32ed`](https://togithub.com/sanity-io/sanity/commit/75f32edd3) | ### [`v0.141.5`](https://togithub.com/sanity-io/sanity/releases/v0.141.5) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v0.141.4...v0.141.5) Upgrade the Command Line Interface (CLI) with npm install --global @​sanity/cli Upgrade the Content Studio with: sanity upgrade ### 🐛 Notable bugfixes - Fixed a bug where one could not restore to a previous published version when document history was truncated - Fixed a bug which would occasionally cause the Studio build to fail ### ✨ Enhancements - UX improvements to the newly released history ### 📓 Full changelog | Author | Message | Commit | | ----------------------- | --------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- | | Per-Kristian Nordnes | [transaction-collator] Bugfixes ([#​1395](https://togithub.com/sanity-io/sanity/issues/1395)) | [`c8df3d2`](https://togithub.com/sanity-io/sanity/commit/c8df3d212) | | Kristoffer Sivertsen | [components] Remove unused part | [`1f36f1a`](https://togithub.com/sanity-io/sanity/commit/1f36f1ae2) | | Per-Kristian Nordnes | [transaction-collator] Bugfixes ([#​1397](https://togithub.com/sanity-io/sanity/issues/1397)) | [`5d6bcbd`](https://togithub.com/sanity-io/sanity/commit/5d6bcbdbd) | | Thomas Drevon | [test-studio] Add hotspot to book cover image | [`8dccda9`](https://togithub.com/sanity-io/sanity/commit/8dccda923) | | Espen Hovlandsdal | [chore] Upgrade tap/jest/babel/gulp setup to latest versions ([#​1391](https://togithub.com/sanity-io/sanity/issues/1391)) | [`0332b22`](https://togithub.com/sanity-io/sanity/commit/0332b2291) | | Espen Hovlandsdal | [chore] Set concurrency of test-all to 2, avoiding timeouts | [`adba541`](https://togithub.com/sanity-io/sanity/commit/adba5417f) | | Espen Hovlandsdal | [chore] Fix javascript not being rebuilt after first change | [`d42f36e`](https://togithub.com/sanity-io/sanity/commit/d42f36e79) | | Kristoffer Sivertsen | [base] Correct version on check and plugin-loader | [`77de1b4`](https://togithub.com/sanity-io/sanity/commit/77de1b4db) | | Espen Hovlandsdal | [chore] Fix typescript watch task ([#​1403](https://togithub.com/sanity-io/sanity/issues/1403)) | [`a762045`](https://togithub.com/sanity-io/sanity/commit/a7620454f) | | Per-Kristian Nordnes | History view: make it possible to restore from truncated history ([#​1404](https://togithub.com/sanity-io/sanity/issues/1404)) | [`b0b7f16`](https://togithub.com/sanity-io/sanity/commit/b0b7f16d1) | | Kristoffer J. Sivertsen | [all] History UI fixes ([#​1402](https://togithub.com/sanity-io/sanity/issues/1402)) | [`1765192`](https://togithub.com/sanity-io/sanity/commit/1765192e0) | | Espen Hovlandsdal | [base] Prevent studio from crashing if projectId/dataset is missing | [`16228b5`](https://togithub.com/sanity-io/sanity/commit/16228b5e2) | | Espen Hovlandsdal | [default-login] Fix incorrect proptype declaration | [`33d5e58`](https://togithub.com/sanity-io/sanity/commit/33d5e586c) | | Espen Hovlandsdal | [base] Check for missing projectId/dataset on startup | [`d02b2f6`](https://togithub.com/sanity-io/sanity/commit/d02b2f651) | ### [`v0.141.4`](https://togithub.com/sanity-io/sanity/compare/v0.141.3...v0.141.4) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v0.141.3...v0.141.4) ### [`v0.141.3`](https://togithub.com/sanity-io/sanity/compare/v0.141.1...v0.141.3) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v0.141.1...v0.141.3) ### [`v0.141.1`](https://togithub.com/sanity-io/sanity/releases/v0.141.1) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v0.140.36...v0.141.1) Upgrade the Command Line Interface (CLI) with npm install --global @​sanity/cli Upgrade the Content Studio with: sanity upgrade ### ✨ Highlights #### Introducing History Experience We are very pleased to announce that we just released the document history experience for the Sanity Studio, as well as a new API for querying document revisions. You can now browse document revisions, as well as the ability to restore earlier versions. Document history also shows who contributed to what edits – a semi-huge improvement to collaborative workflows. Standard plans have 3 days of history while advanced plans come with 90. [Check out our blog post to learn more.](https://www.sanity.io/blog/introducing-history-api-and-experience) ### 📓 Full changelog | Author | Message | Commit | | ----------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- | | Bjørge Næss | [base] Fix unexpected first event "mutation" error ([#​1366](https://togithub.com/sanity-io/sanity/issues/1366)) | [`dc3717c`](https://togithub.com/sanity-io/sanity/commit/dc3717c3b) | | Kristoffer Sivertsen | [form-builder] Fix toolbar overflow shadow and z-index | [`5cdf0d8`](https://togithub.com/sanity-io/sanity/commit/5cdf0d8b3) | | Per-Kristian Nordnes | New package [transaction-collator](#​1385) | [`a3a3181`](https://togithub.com/sanity-io/sanity/commit/a3a318105) | | Kristoffer J. Sivertsen | [form-builder] Slug to support readOnly mode ([#​1389](https://togithub.com/sanity-io/sanity/issues/1389)) | [`d701c9f`](https://togithub.com/sanity-io/sanity/commit/d701c9f67) | | Per-Kristian Nordnes | [form-builder] Block editor: make editor controlled component in readOnly mode ([#​1390](https://togithub.com/sanity-io/sanity/issues/1390)) | [`6bcda40`](https://togithub.com/sanity-io/sanity/commit/6bcda40ff) | | Per-Kristian Nordnes | [base] New history store | [`d0501c7`](https://togithub.com/sanity-io/sanity/commit/d0501c7e0) | | Kristoffer Sivertsen | [base] Expose getUsers in userStore | [`36b73d1`](https://togithub.com/sanity-io/sanity/commit/36b73d10f) | | Kristoffer Sivertsen | [base] History icon | [`110c4e5`](https://togithub.com/sanity-io/sanity/commit/110c4e5a7) | | Kristoffer Sivertsen | [base] State color variations | [`a9f301a`](https://togithub.com/sanity-io/sanity/commit/a9f301ac1) | | Kristoffer Sivertsen | [components] Merge presence component from presence-styling branch | [`2c01945`](https://togithub.com/sanity-io/sanity/commit/2c019457d) | | Kristoffer Sivertsen | [components] Add badge component | [`9dbbdcd`](https://togithub.com/sanity-io/sanity/commit/9dbbdcd84) | | Kristoffer Sivertsen | [components] Add history components | [`e2ef091`](https://togithub.com/sanity-io/sanity/commit/e2ef09163) | | Kristoffer Sivertsen | [components] Use global var for pane height | [`0644711`](https://togithub.com/sanity-io/sanity/commit/0644711b9) | | Kristoffer Sivertsen | [components] Add warning color to buttons | [`ea947ca`](https://togithub.com/sanity-io/sanity/commit/ea947ca07) | | Kristoffer Sivertsen | [components] Support onHide callback fn prop in snackbar | [`95564dd`](https://togithub.com/sanity-io/sanity/commit/95564dd7e) | | Bjørge Næss | [desk-tool] Refactor timeAgo component | [`6e9a391`](https://togithub.com/sanity-io/sanity/commit/6e9a391e1) | | Kristoffer Sivertsen | [desk-tool] Add history components | [`8e963d3`](https://togithub.com/sanity-io/sanity/commit/8e963d3bb) | | Kristoffer Sivertsen | [desk-tool] Add Status badge component | [`e02ec59`](https://togithub.com/sanity-io/sanity/commit/e02ec595c) | | Bjørge Næss | [desk-tool] Add Delay util. component | [`5fa6044`](https://togithub.com/sanity-io/sanity/commit/5fa604443) | | Kristoffer Sivertsen | [desk-tool] Tweak discard and unpublish confirmation components | [`53b4c92`](https://togithub.com/sanity-io/sanity/commit/53b4c928f) | | Per-Kristian Nordnes | [desk-tool] Refactor editor to support history mode | [`75ac30f`](https://togithub.com/sanity-io/sanity/commit/75ac30f7f) | | Bjørge Næss | [desk-tool] Handle focus path | [`f546982`](https://togithub.com/sanity-io/sanity/commit/f5469823c) | | Kristoffer Sivertsen | [desk-tool] Add history components | [`4729c9c`](https://togithub.com/sanity-io/sanity/commit/4729c9c0a) | ### [`v0.140.36`](https://togithub.com/sanity-io/sanity/releases/v0.140.36) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v0.140.35...v0.140.36) Upgrade the Command Line Interface (CLI) with npm install --global @​sanity/cli Upgrade the Content Studio with: sanity upgrade ### 🐛 Notable bugfixes - Fixed a bug so that you will now get more helpful errors upon network failures caused by invalid CORS config - Fixed a bug that made list items and previews/search results sometimes appear empty (see [#​1375](https://togithub.com/sanity-io/sanity/issues/1375)) ### 📓 Full changelog | Author | Message | Commit | | ----------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- | | Espen Hovlandsdal | [client] Fix `withCredentials` override not being applied ([#​1373](https://togithub.com/sanity-io/sanity/issues/1373)) | [`3e6ef9d`](https://togithub.com/sanity-io/sanity/commit/3e6ef9ddc) | | Kristoffer J. Sivertsen | [components] Only border when padding in fieldset content ([#​1368](https://togithub.com/sanity-io/sanity/issues/1368)) | [`f2881b1`](https://togithub.com/sanity-io/sanity/commit/f2881b1de) | | Bjørge Næss | [preview] Insert a nonbreaking space initially to workaround intersectionobserver chromium bug ([#​1380](https://togithub.com/sanity-io/sanity/issues/1380)) | [`1895e01`](https://togithub.com/sanity-io/sanity/commit/1895e012e) | ### [`v0.140.35`](https://togithub.com/sanity-io/sanity/releases/v0.140.35) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v0.140.34...v0.140.35) Upgrade the Command Line Interface (CLI) with npm install --global @​sanity/cli Upgrade the Content Studio with: sanity upgrade ### 🐛 Notable bugfixes - Fixed images not displaying because of incorrect URLs generated on certain devices - Fixed global error handler not constraining size of error message ### 📓 Full changelog | Author | Message | Commit | | ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- | | Espen Hovlandsdal | [base] Use ellipsis for long error messages ([#​1369](https://togithub.com/sanity-io/sanity/issues/1369)) | [`4eca74f`](https://togithub.com/sanity-io/sanity/commit/4eca74fc9) | | Espen Hovlandsdal | [form-builder] Round device pixel ratio, avoiding float dimensions for images ([#​1372](https://togithub.com/sanity-io/sanity/issues/1372)) | [`333dd2e`](https://togithub.com/sanity-io/sanity/commit/333dd2e6f) | ### [`v0.140.34`](https://togithub.com/sanity-io/sanity/releases/v0.140.34) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v0.140.33...v0.140.34) Upgrade the Command Line Interface (CLI) with npm install --global @​sanity/cli Upgrade the Content Studio with: sanity upgrade ### 🐛 Notable bugfixes - The global error handler introduced in v0.140.30 was a bit too eager - errors occuring after initial React render are now handled in a slightly more subtle manner - Specifying a `basePath` for studio will no longer cause studio to fail when deployed to `sanity.studio` - Errors inside of the `prepare` method for previews no longer crashes the studio in production - Modules that are linked using `npm link`/`yarn link` will no longer cause a hot module reloading resolve error - Some users were seeing errors after we introduced the v8 compile cache module in our CLI, so it is now removed ### 📓 Full changelog | Author | Message | Commit | | -------------------- | ------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------- | | Espen Hovlandsdal | [core] Deploy to sanity.studio without basePath ([#​1356](https://togithub.com/sanity-io/sanity/issues/1356)) | [`fc6cc63`](https://togithub.com/sanity-io/sanity/commit/fc6cc63b1) | | Kristoffer Sivertsen | [components] Fix overflow on divider | [`a8a17a6`](https://togithub.com/sanity-io/sanity/commit/a8a17a6d3) | | Espen Hovlandsdal | [preview] Always run preview prepare in try/catch ([#​1364](https://togithub.com/sanity-io/sanity/issues/1364)) | [`260db28`](https://togithub.com/sanity-io/sanity/commit/260db28b1) | | Knut Melvær | [base] Fix typo in comment | [`01e8d81`](https://togithub.com/sanity-io/sanity/commit/01e8d81e5) | | Espen Hovlandsdal | [image-url] Move module out of monorepo ([#​1359](https://togithub.com/sanity-io/sanity/issues/1359)) | [`0709371`](https://togithub.com/sanity-io/sanity/commit/07093716b) | | Espen Hovlandsdal | [server] Prevent build error on symlinked modules ([#​1355](https://togithub.com/sanity-io/sanity/issues/1355)) | [`fdab5f3`](https://togithub.com/sanity-io/sanity/commit/fdab5f329) | | Espen Hovlandsdal | [util] Replace jest with tap | [`134480a`](https://togithub.com/sanity-io/sanity/commit/134480aa5) | | Espen Hovlandsdal | [cli] Remove v8-compile-cache because of mixed results | [`93e6db6`](https://togithub.com/sanity-io/sanity/commit/93e6db653) | | Espen Hovlandsdal | [base] Add less intrusive error handler ([#​1367](https://togithub.com/sanity-io/sanity/issues/1367)) | [`c59c62a`](https://togithub.com/sanity-io/sanity/commit/c59c62a68) | | Espen Hovlandsdal | [validation] Upgrade jest to v24 | [`6ddb900`](https://togithub.com/sanity-io/sanity/commit/6ddb900a0) | ### [`v0.140.33`](https://togithub.com/sanity-io/sanity/releases/v0.140.33) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v0.140.32...v0.140.33) Upgrade the Command Line Interface (CLI) with npm install --global @​sanity/cli Upgrade the Content Studio with: sanity upgrade ### ✨ Highlights #### Collapsible button group in portable text editor When there is enough room to show all menu items, they are now lifted out of the "Insert"-menu. ### 🐛 Notable bugfixes - Checkboxes now has font size in line with other components - Fixed bug where search would crash if no document types were present - Fixed issue in code input where the studio would crash if using unsupported languages - Fixed issue where the global error handler would catch non-critical errors ### 📓 Full changelog | Author | Message | Commit | | ----------------------- | ------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------- | | Kristoffer J. Sivertsen | [components] Checkbox font size fix ([#​1336](https://togithub.com/sanity-io/sanity/issues/1336)) | [`a201c96`](https://togithub.com/sanity-io/sanity/commit/a201c9627) | | Kristoffer J. Sivertsen | [form-builder] Collapsible button group in block editor ([#​1332](https://togithub.com/sanity-io/sanity/issues/1332)) | [`c0e217e`](https://togithub.com/sanity-io/sanity/commit/c0e217eb8) | | Espen Hovlandsdal | [default-layout] Fix search crashing when enter is pressed with no results | [`9fe8130`](https://togithub.com/sanity-io/sanity/commit/9fe813053) | | Espen Hovlandsdal | [base] Remove empty query segments causing invalid queries | [`deadc96`](https://togithub.com/sanity-io/sanity/commit/deadc967a) | | krsnaa | [cli] Fix duplicated word in schema file | [`9227ddb`](https://togithub.com/sanity-io/sanity/commit/9227ddb0b) | | Knut Melvær | [cli] Add example plugin for dashboard widgets ([#​1329](https://togithub.com/sanity-io/sanity/issues/1329)) | [`4506b99`](https://togithub.com/sanity-io/sanity/commit/4506b9945) | | Espen Hovlandsdal | [code-input] Only render editor on supported languages | [`cd8619f`](https://togithub.com/sanity-io/sanity/commit/cd8619f39) | | Espen Hovlandsdal | [base] Ignore errors when attempting to load HTML as JS | [`9d68e05`](https://togithub.com/sanity-io/sanity/commit/9d68e059e) | ### [`v0.140.32`](https://togithub.com/sanity-io/sanity/releases/v0.140.32) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v0.140.30...v0.140.32) Upgrade the Command Line Interface (CLI) with npm install --global @​sanity/cli Upgrade the Content Studio with: sanity upgrade ### Notable changes - Fix bug where `sanity dataset export` would not clean up temporary files after failures ### 📓 Full changelog | Author | Message | Commit | | ----------------- | --------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- | | Bjørge Næss | [preview] Use visibility query when setting up listener ([#​1342](https://togithub.com/sanity-io/sanity/issues/1342)) | [`1f5708e`](https://togithub.com/sanity-io/sanity/commit/1f5708e9c) | | Espen Hovlandsdal | [export] Clean up temporary files on failure ([#​1347](https://togithub.com/sanity-io/sanity/issues/1347)) | [`4d032fb`](https://togithub.com/sanity-io/sanity/commit/4d032fb1e) | | Espen Hovlandsdal | [export] Provide better error messages on download failure ([#​1349](https://togithub.com/sanity-io/sanity/issues/1349)) | [`5be08ca`](https://togithub.com/sanity-io/sanity/commit/5be08ca68) | ### [`v0.140.30`](https://togithub.com/sanity-io/sanity/releases/v0.140.30) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v0.140.17...v0.140.30) Upgrade the Command Line Interface (CLI) with npm install --global @​sanity/cli Upgrade the Content Studio with: sanity upgrade ### ✨ Highlights We had ourselves a "bug week"! [Read our blog post](https://www.sanity.io/blog/we-had-ourselves-a-bug-week). This release has a bunch of small and less small fixes. #### (Slightly) smarter image input/selection The "select image" dialog no longer shows "Load more" when there are in fact no more images to load. The images are also scaled to fit the current device pixel ratio, resulting in sharper images on mobile devices and high-density displays. Certain images were also downloaded at full size, while they are now scaled down to fit the screen. #### Divider allowed in desk structure A minor (but much requested) feature; You can now use the `S.divider()` method to add a small divider between list items in the desk tool. In future releases, we will add the ability to group items even further, which will allow "headings", among other features. #### Improved error handling Non-React errors will now be caught and displayed in the browser window, making it easier to debug issues. Opening the browser developer tools will usually give the error with a better stack trace, helping you find the source of the issue more easily. #### `sanity exec` uses same babel config as studio In certain cases, scripts you would want to execute with `sanity exec` would include non-standard features like JSX or class properties. While the babel config used for the studio would allow this, `sanity exec` did not. This is now fixed. #### Faster vision plugin The `@sanity/vision` GROQ playground is now faster and smarter - we've upgraded a bunch of dependencies, fixing a set of scrolling issues and other odd behavior. (Run `sanity install @​sanity/vision` to try it out.) #### More schema validation We've had a few cases reported where an incorrect schema definition would not be picked up by the schema validation, but instead lead to the studio crashing. Validation rules are now in place to make these situations easier to debug. #### Object types no longer listed if no document types found Previously, if your schema did not contain any document types, the desk tool would instead show object types. This functionality is now removed, and will instead show a descriptive error message. ### 🐛 Notable bugfixes - Fixed a focus-ring bug in the editor for Portable Text if it was empty - Fixed bugs with the "invalid type" warning interface inside the editor for Portable Text. - Fixed issue where the reference input would not show a "Loading" state on initial load - Fixed case where patches with a numeric key selection would incorrectly match a string key with the same value - Fixed positioning of the "Publishing" overlay - Fixed default layout not being usable without the desk tool installed - Fixed desk structure resolving not allowing a plain structure node to be used as a child - Fixed "loading" message on desk tool panes being cut off at the top - Fixed issue where `sanity init` would not allow `--visiblity` flag - Fixed `sanity documents` commands not accepting numeric document IDs - Fixed deprecation warning when logging in to the CLI from Node >= 11 ### 📓 Full changelog | Author | Message | Commit | | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- | | Espen Hovlandsdal | [form-builder] Display "no images found" text if no images are found ([#​1306](https://togithub.com/sanity-io/sanity/issues/1306)) | [`cdc30a1`](https://togithub.com/sanity-io/sanity/commit/cdc30a1a8) | | Espen Hovlandsdal | [form-builder] Don't show 'Load more'-button if reached known end ([#​1307](https://togithub.com/sanity-io/sanity/issues/1307)) | [`077172a`](https://togithub.com/sanity-io/sanity/commit/077172ae6) | | Thomas Drevon | [structure] Throw error when configuring documentTypeListItems with an unknown type | [`bbb7b78`](https://togithub.com/sanity-io/sanity/commit/bbb7b78f0) | | Thomas Drevon | [structure] Rename name --> typeName for consistency | [`dbb7866`](https://togithub.com/sanity-io/sanity/commit/dbb7866fe) | | Espen Hovlandsdal | [form-builder] Use loading state for reference input while loading initial value ([#​1309](https://togithub.com/sanity-io/sanity/issues/1309)) | [`3ee528a`](https://togithub.com/sanity-io/sanity/commit/3ee528a7d) | | Espen Hovlandsdal | [form-builder] Use max-fit and and DPR-aware height ([#​1308](https://togithub.com/sanity-io/sanity/issues/1308)) | [`15d146e`](https://togithub.com/sanity-io/sanity/commit/15d146ee0) | | Per-Kristian Nordnes | [validation] Check for type validating arrays and objects in document ([#​1327](https://togithub.com/sanity-io/sanity/issues/1327)) | [`ebb997a`](https://togithub.com/sanity-io/sanity/commit/ebb997afe) | | Espen Hovlandsdal | [mutator] Use strict equals when comparing equality ([#​1326](https://togithub.com/sanity-io/sanity/issues/1326)) | [`82caf34`](https://togithub.com/sanity-io/sanity/commit/82caf34b4) | | Espen Hovlandsdal | [components] Fix propType depending on window global ([#​1321](https://togithub.com/sanity-io/sanity/issues/1321))

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!".

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



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