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

Bump @sanity/core from 2.7.4 to 2.10.0 #108

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

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps @sanity/core from 2.7.4 to 2.10.0.

Release notes

Sourced from @​sanity/core's releases.

v2.10.0

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

✨ Highlights

Initial values for any type

This upgrade extends support for initial values to any field, not just the document type. You can now set initial values on a field that's shared between schema types. It also allows for initial values for fields inside of arrays and the Portable Text editor, which has been a frequent request. Initial values still supports promises if you need to set values from external data sources.

Go to the docs to learn how you can configure initial values.

initial-values-2021-04-28

🐛 Notable bugfixes

  • Fixes a few performance regressions in the array input
  • Fixes an issue where the "revert changes"-dialog confirmation would sometimes be hidden behind the form dialog

📓 Full changelog

Author Message Commit
Marius Lundgård fix(field): fix z-index issues of tooltip and revert dialog (#2449) ba32ea113
Marius Lundgård build(examples): update @sanity/ui abf64172d
Bjørge Næss perf(form-builder): move array presence and markers filtering to array item component and memoize 2b63c91f8
Bjørge Næss perf(base): memoize change indicator paths 7a2ffa668
Bjørge Næss perf(form-builder): memoize fileTarget event handlers bc7d1228f
Marius Lundgård build: update @sanity/color dependency (#2452) 5f8977d99
Bjørge Næss refactor: move a few shared utilities form form-builder to util package a391a1c13
Bjørge Næss refactor(form-builder): inject ArrayFunctions as prop instead of importing 828fc4587
Bjørge Næss chore(desk-tool): fix lint errors 7bce53c81
Bjørge Næss feat(types): add isArraySchemaType asserter ea7446ac7
Bjørge Næss feat(types): add initialValue type property 539496197
Bjørge Næss fix(types): add options property to BaseSchemaType 7978946a5
Bjørge Næss chore(eslint): add .snap files to eslintignore 57b4ed8a3
Bjørge Næss chore(test-studio): add a document type for testing initial values 95a122bf1
Espen Hovlandsdal feat(schema): add initialValue as overridable schema property 63d090e30
Rex Isaac Raphael feat(schema): allow objects with initial values 041913b54
Rex Isaac Raphael fix(schema): fix lint errors 0717b5838
Bjørge Næss feat: add support for defining initial values for all schema types 28593a003
Bjørge Næss fix(initial-value-templates): comment out check for _type 96416ded6
Bjørge Næss feat(form-builder): add support for resolving initial values in array input 959bdb414
Bjørge Næss feat(form-builder): add support for initial values in portable text editor 1bd633283
Bjørge Næss chore(test-studio): add an example of initial value on type referenced by name b0e9aa2ef

... (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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label May 1, 2021
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