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
Author | Message | Commit |
---|---|---|
Bjørge Næss | [chore] Upgrade to babel v7 (#946) | f435200 |
Bjørge Næss | [schema] Improve text search within arrays (#947) | b52f064 |
Bjørge Næss | [chore] Rename Javascript => JavaScript (#949) | 92f27aa |
Kristoffer J. Sivertsen | [all] Cleanup stylelint (#952) | 841fd92 |
Bjørge Næss | [chore] Remove more editorconfig files (#950) | ae8c55e |
Bjørge Næss | [default-layout] Pass search terms as params (#948) | a9e7c4a |
Bjørge Næss | [mutator] Use exponential backoff with hard limit when retrying commits (#954) | 625478e |
Bjørge Næss | [default-layout] Use onChange instead of onInput on search input | 22d0514 |
Espen Hovlandsdal | [image-url] Use object rest spread instead of Object.assign (#958) | 215012e |
Bjørge Næss | [form-builder] Make sure we pass down onFocus to wrapped input components (#960) | d54a6b7 |
Bjørge Næss | [example-studio] Remove type annotation from protein input | 6f2ed64 |
Bjørge Næss | [desk-tool] Support order by reference fields on level > 1 (#962) | 5e2f6eb |
Espen Hovlandsdal | [reflector-client] Use IE9 as babel target (#964) | 5b6d473 |
Espen Hovlandsdal | [image-url] Use global form of isFinite (#965) | 916c9fb |
Thomas Drevon | [core] Honor --dataset option on get/query/create/delete CLI commands (#955) | 82e84ae |