v0.122.0
Upgrade with:
sanity upgrade
And install the latest Command Line Interface (CLI) with:
npm install --global @sanity/cli
✨ Highlights
Faster CLI installation
This release changes the way the CLI is distributed - bundling all dependencies in order to create a very fast installation.
Weak references
You can now flag references as weak
in your schema, in the rare case where you want referenced documents to be deletable without first unsetting the reference. Should be used with caution!
📓 Full changelog
Author | Message | Commit ------------ | ------------- | ------------- Thomas Drevon | [client] Use correct URL for observable source code | 337537a Espen Hovlandsdal | [base] Fix outdated modules message (#363) | 63efb77 Espen Hovlandsdal | [test-studio] Add staging project id | 35368cc Bjørge Næss | Add support for weak references (#366) | ac13d15 Espen Hovlandsdal | [cli] Improve help text on init command | e578163 Espen Hovlandsdal | [cli] Show more useful next steps after initializing project | 536eb13 Bjørge Næss | [form-builder] Move item remove logic to ConfirmButton (#368) | 10a0245 Espen Hovlandsdal | [cli] Use webpack to bundle all code to a single file | 64b1418 Espen Hovlandsdal | [cli] Code style fixes | 7329229 Espen Hovlandsdal | [cli] Copy xdg-open binary to bin directory on pack | 78ddc6e Espen Hovlandsdal | [client] Fix incorrect link and query examples in readme | 9124e24 Espen Hovlandsdal | [cli] CommonJSify debug module | a72d909 Espen Hovlandsdal | [cli] Ensure template manifest is not inside node_modules | bdd4aa3 Espen Hovlandsdal | [cli] Support specifying dependencies in plugin templates | 529868b Espen Hovlandsdal | [cli] Allow specifying a minimum CLI version for templates | 467f955 Espen Hovlandsdal | [chore] Fix missing @sanity prefix | 03780ff Espen Hovlandsdal | [cli] Ban node versions 8.1.0 and 8.1.1 due to input issues | 97d52b5 Espen Hovlandsdal | [cli] Add more commands to list of core cmds | d8b0fc7