Released Sep 18th 2018

Release notes

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

✨ Highlights

Babel 7

We have upgraded to Babel 7, which means you now can use Fragments short syntax <> for custom components, and use babel to compile TypeScript.

Note: if you have a custom .babelrc setup in your content studio project, you will have to migrate to v7 following this guide: https://babeljs.io/docs/en/v7-migration

Sanity CLI honors dataset parameter

  • You can now specify the target dataset when you run sanity get/query/create/delete with --dataset=<dataset name>

🐛 Notable bugfixes

  • Improved studio search so it also looks for string content within arrays
  • When searching for references the result set is now narrowed by adding more words/search terms.
  • Better browser support for the @sanity/image-url module

📓 Full changelog

Bjørge Næsschore Upgrade to babel v7 (#946)f4352004f
Bjørge Næssschema Improve text search within arrays (#947)b52f0641f
Bjørge Næsschore Rename Javascript => JavaScript (#949)92f27aa41
Kristoffer J. Sivertsenall Cleanup stylelint (#952)841fd92ae
Bjørge Næsschore Remove more editorconfig files (#950)ae8c55e7e
Bjørge Næssdefault-layout Pass search terms as params (#948)a9e7c4a43
Bjørge Næssmutator Use exponential backoff with hard limit when retrying commits (#954)625478ed3
Bjørge Næssdefault-layout Use onChange instead of onInput on search input22d0514c7
Espen Hovlandsdalimage-url Use object rest spread instead of Object.assign (#958)215012eb9
Bjørge Næssform-builder Make sure we pass down onFocus to wrapped input components (#960)d54a6b7f3
Bjørge Næssexample-studio Remove type annotation from protein input6f2ed6478
Bjørge Næssdesk-tool Support order by reference fields on level > 1 (#962)5e2f6eb0c
Espen Hovlandsdalreflector-client Use IE9 as babel target (#964)5b6d4734a
Espen Hovlandsdalimage-url Use global form of isFinite (#965)916c9fbe3
Thomas Drevoncore Honor --dataset option on get/query/create/delete CLI commands (#955)82e84ae4f