github sanity-io/sanity v2.12.2

latest releases: v2.36.6, v2.36.5, v2.36.4...
3 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

🐛 Notable bugfixes

  • Fixes a bug introduced in v2.12.0 that made hidden fields visible
  • Fixes an issue that caused some plugins to error with the message "Cannot read property 'from' of undefined".
  • Fixes a bug where review changes might crash when showing change in a reference that could target more than one schema type
  • Fixes a bug which caused the create menu to be disabled in cases where the current user actually had access to create the type of document
  • Fixes an issue that caused field validations on object types to be written on individual field types, causing unintentional re-use of validation rules.
  • Migrates components in @sanity/field to Sanity UI and styled-components

📓 Full changelog

Author Message Commit
vicbergquist refactor(field): migrate no changes component to sanity ui c1a2401
vicbergquist refactor(field): migrate ChangeList to sanity ui 0db2989
vicbergquist refactor(field): migrate diff tooltip to sanity ui 500184a
vicbergquist refactor(field): migrate differrorboundary to sanity ui c64f739
vicbergquist refactor(field): migrate breadcrumbs to sanity ui b114b39
vicbergquist refactor(field): migrate fallback diff to sanity ui 99eab5a
vicbergquist refactor(field): migrate fromto to sanity ui 028308d
Bjørge Næss fix(base): guard against missing user roles in InsufficientPermissionsMessage 41f63a3
Bjørge Næss fix(form-builder): reexport PatchEvent default export 2cdc645
Bjørge Næss Revert "feat(base): add basic permission check to default pane menu" 02ded86
Espen Hovlandsdal fix(cli): add missing undeclared dependency d7bc2cf
Espen Hovlandsdal fix(field): prevent crash when unable to resolve reference type 09a9c4b
Bjørge Næss fix(types): allow 'hidden' property on object field types 0288602
Bjørge Næss test(form-builder): add test case for hidden and filtered fields 2787300
Bjørge Næss fix(form-builder): make sure hidden/filtered fields are actually hidden 964d65b
Bjørge Næss chore(test-studio): add repro case for field validation issue bef4da6
Bjørge Næss test(validation): add a failing test case for leaky field validation rules issue efe8315
Bjørge Næss fix(validation): fix issue where object field validation were written on individual fields, causing unintended validation rule leakage 934bdf6

Don't miss a new sanity release

NewReleases is sending notifications on new releases.