Released Oct 25th 2017

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

Bjørge Næssform-builder Support readOnly on datetime fields. Fixes #291 (#294)8fc538da3
Bjørge NæssAdd toplevel document type (#293)a723ac26a
Kristoffer J. Sivertsencomponents Automatic Top/bottom position on dropdown on SearchableS… (#296)1b399f78c
Bjørge Næsscore Remove checksum warning until we can provide a way of fixing (#298)7c1091fbd
Bjørge NæssSchema validation (#299)dcc39fd77
Bjørge Næssform-builder Fix issue with recursive string field lookup for reference searchcc359d823