ehowey / gatsby-theme-catalyst

An opinionated set of integrated themes and starters as a boilerplate to accelerate development with GatsbyJS
MIT License
163 stars 15 forks source link

Bump @sanity/client from 2.18.0 to 2.19.0 #1387

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Bumps @sanity/client from 2.18.0 to 2.19.0.

Release notes

Sourced from @​sanity/client's releases.

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, which is based on styled-components.

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 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 b2e0d92de
Espen Hovlandsdal chore(core): allow typescript in @​sanity/core 0450f0af3
Espen Hovlandsdal chore(deps): upgrade fs-extra, semver dependencies 73e46b3c3
Espen Hovlandsdal feat(core): verify/prompt for styled-components dependency 417c783d5
Espen Hovlandsdal fix(cli): add styled-components as dependency for new studios d06bbfe74
Espen Hovlandsdal chore(examples): add styled-components to dependencies da87a8791
Espen Hovlandsdal chore(core): temporarily add inquirer as dev dependency 9bda8b2dc
Espen Hovlandsdal fix(core): skip package-manager prompt if non-interactive 8d9af8299
Espen Hovlandsdal refactor(core): use semver.minVersion over custom function 1728000aa
Espen Hovlandsdal chore(storybook): remove unmaintained storybook integration (#2750) 85f1d4265
Espen Hovlandsdal fix(core): allow studio manifest without name & version props 8e6d73612
Dain Cilke feat(default-login): add support for sso login providers af9423ca4
RitaDias refactor(base): move style folder to __legacy and update paths in sanity.json (#2745) d837868e8

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
changeset-bot[bot] commented 3 years ago

⚠️ No Changeset found

Latest commit: 638d29cd948e5f575b2e0890b980a2532582a256

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

dependabot[bot] commented 3 years ago

Superseded by #1407.