npm @sanity/core 2.17.2
v2.17.2

latest releases: 2.36.2, 2.36.2-weighted-search.16, 2.36.2-weighted-search.10...
2 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

✨ Highlights

Removing warning for new fields in GraphQL schemas

If you add schema fields and run sanity graphql deploy you will no longer be warned about “dangerous changes.” Previously we followed the behavior of graphql.js, which treats added fields as “dangerous.” We have had a lot of feedback that in practice, this has been more bothersome than useful.

🐛 Notable bugfixes

  • Since v2.16.0, (inline) references in Portable Text would not be saved properly and left an arbritrary attribute. This version fixes that.

📓 Full changelog

Author Message Commit
Bjørge Næss chore(schema): warn if inputComponent is set on type but doesn't look like a react component 2fa301f
Bjørge Næss refactor(state-router): use vite as demo server faa3437
Bjørge Næss refactor(state-router): refactor Link, IntentLink and StateLink to functional/forwardRef components b588ae9
Bjørge Næss chore(state-router): cleanup wonky typings in withRouter HOC ac8d1fe
Bjørge Næss refactor(base): export IntentLink directly from @sanity/state-router 1567225
RitaDias refactor(imagetool): use styled-components instead of css modules (#2695) b1d3465
Marius Lundgård build: update @sanity/ui ad30a7c
Marius Lundgård fix(form-builder): add minor ui adjustments to ActivateOnFocus f7e6943
Bjørge Næss chore: fix bad npmignore pattern 4dfb7b8
Bjørge Næss chore(schema): add support for package export entries ee86865
Bjørge Næss refactor(base): import from @sanity/schema's internal package exports instead of lib 9da0aa8
Marius Lundgård fix(form-builder): pass inputId to FormField 08e81c9
Marius Lundgård build: depend on locked versions of monorepo dependencies 7422350
Bjørge Næss chore: use correct webpack alias for schema 0a47058
Per-Kristian Nordnes fix(portable-text-editor): fix bug in value conversion f512a73
RitaDias refactor(form-builder): remove old ActivateOnFocus usage (#2708) 7d51d52
RitaDias fix(activateonfocus): Fix ActivateOnFocus overlay when used with change indicator (#2721) 7a6ba05
Espen Hovlandsdal feat(core): GraphQL: treat added optional input fields as non-dangerous d59dc0c
Rico Kahler chore: upgrade lerna c02198e
hermanwikner fix(default-login): remove temporary fix to hide the close button in dialogs f23aa0f

Don't miss a new core release

NewReleases is sending notifications on new releases.