KenEucker / biketag-website

A website for biketag.org
https://www.biketag.org
GNU Affero General Public License v3.0
32 stars 15 forks source link

Bump @sanity/client from 2.11.0 to 2.19.0 #208

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Bumps @sanity/client from 2.11.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)
dependabot[bot] commented 3 years ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.