Released Dec 7th 2017

Upgrade with:

sanity upgrade

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

npm install --global @sanity/cli

✨ Highlights

New CLI login method

Logging in through the Sanity CLI tool no longer requires you to open a browser from the same machine/terminal. This allows you to run Sanity on a remote server somewhere, but still log in through a local browser.

New plugin template: Chess input

By running sanity init plugin, you will get a list of plugin templates to start from. Included in this release is an example of how to build a chess board input, which highlights how to model a more complex data structure with arrays, and how to write fine-grained patches that will work in a real-time setting.

🐛 Notable bugfixes

  • CLI tool no longer hangs after running sanity docs and sanity manage
  • sanity import now assigns document IDs on the client side if they are missing, which solves problems with asset uploads and creating strong references on documents without an ID
  • Fixed a bug where block quotes containing child blocks would not be deserialized properly when pasting into the block content editor

📓 Full changelog

Espen Hovlandsdalcli Add listener-based login flowe9cddada
Kristoffer J. SivertsenMake the dark theme plugin work (#360)556bff7d
Espen Hovlandsdalcli Restructure and clean up init commandb033986d
Espen Hovlandsdalinfrastructure Package CLI on build9b201e44
Espen Hovlandsdalclient Make npm badge in readme use httpsaf5acf4e
Espen Hovlandsdalcli Add chess board input as plugin templatef65ee0d3
Espen Hovlandsdalcli Don't wait for browser to close before resolving1079edc6
Espen Hovlandsdalcli Whitelist fsevents module when packing20c4d343
Espen Hovlandsdalimport Generate document IDs on client sidedd796bd9
Per-Kristian Nordnesblock-tools Fix deserialization of blockquotes containing block elements (#410)3a7a56aa