Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): bump @sanity/vision from 2.11.2 to 2.19.0 #208

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 14, 2021

Bumps @sanity/vision from 2.11.2 to 2.19.0.

Release notes

Sourced from @​sanity/vision'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)

Bumps [@sanity/vision](https://github.com/sanity-io/sanity/tree/HEAD/packages/@sanity/vision) from 2.11.2 to 2.19.0.
- [Release notes](https://github.com/sanity-io/sanity/releases)
- [Commits](https://github.com/sanity-io/sanity/commits/v2.19.0/packages/@sanity/vision)

---
updated-dependencies:
- dependency-name: "@sanity/vision"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 14, 2021
@cloudflare-pages
Copy link

cloudflare-pages bot commented Sep 14, 2021

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: d3c9578
Status: ✅  Deploy successful!
Preview URL: https://e9547df8.heroesgrid.pages.dev

View logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant