github sanity-io/sanity v0.118.0

latest releases: v3.64.1, v3.64.0, v2.36.6...
7 years ago

Upgrade with

sanity upgrade

And install the latest Command Line Interface (CLI) with:

npm install --global @sanity/cli

✨ Highlights

Schema validation!

The Sanity Studio will now refuse to load if the schema contains critical errors, and give helpful hints about how the errors can be fixed. The validation is by no means complete, and we will keep detecting problems and adding helpful warnings/errors in the future.

Schema validation
Any schema problems that are not critical will will appear as warnings in the developer tool console.

Schema type document

We have introduced a new schema type named document. This is the type to use for all the schema types that you want to be able to create documents from. Read more about how to start using this type here.

🐛 Notable bugfixes

  • The input for datetime now supports readOnly.
  • Reference select will now position its dropdown menu above the field if there's not enough space below.
  • Fixed an issue with reference search yielding a query that targeted wrong fields.

📓 Full changelog

Author Message Commit
Bjørge Næss [form-builder] Support readOnly on datetime fields. Fixes #291 (#294) 8fc538d
Bjørge Næss Add toplevel document type (#293) a723ac2
Kristoffer J. Sivertsen [components] Automatic Top/bottom position on dropdown on SearchableS… (#296) 1b399f7
Bjørge Næss [core] Remove checksum warning until we can provide a way of fixing (#298) 7c1091f
Bjørge Næss Schema validation (#299) dcc39fd
Bjørge Næss [form-builder] Fix issue with recursive string field lookup for reference search cc359d8

Don't miss a new sanity release

NewReleases is sending notifications on new releases.