Released Dec 19th 2018


Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

✨ Highlights

Realtime and customizable editor for Portable Text

The editor for Portable Text now supports real-time collaborative editing. Changes will be sent as small patches like everything else in the Sanity Studio. It is now also possible to customize the editor with your own styles, decorators and annotations, and make your own toolbar buttons and previews for it. It also features better paste handling, block markers and actions.

Better tools for Portable Text

@sanity/block-tools have been updated to do a better job at converting HTML into portable text (blocks). There are some breaking changes in this (mostly internal) package, so if you are using this module externally, have a look at the readme/changelog there.

🐛 Notable bugfixes

  • Running the sanity command on Node v6 or earlier now gives a meaningful error instead of crashing
  • Code input plugin now correctly registers its schema type once installed

📓 Full changelog

Per-Kristian Nordnesblock-tools Maintainance, deserialization enhancements (breaking, see, tests3d1eb3fe3
Per-Kristian Nordnesform-builder Remove old block editor folder2a76099e5
Per-Kristian Nordnesform-builder New realtime based and customizable block editor4a35a09dc
Kristoffer J. Sivertsenform-builder New block editor CSS45cbb2ee1
Per-Kristian Nordnesform-builder Support diffMatchPatch and handle rebase events from BufferedDocument1410a4e28
Per-Kristian Nordnesform-builder Part definitions and resolvement for the new block editor7357f8cd4
Per-Kristian Nordnesform-builder Updated package.json and .babelrc for the new block editord5346dce7
Kristoffer J. Sivertsenbase Icons, part definitions CSS for the new block editor4cbf4ea0a
Kristoffer J. Sivertsencode-input Various adjustment of code input330c2a490
Kristoffer J. Sivertsencomponents Previews for the block editor7b8bc1624
Per-Kristian Nordnesvalidation Validation for blocks7f18a07c8
Per-Kristian Nordnesschema Tweak block schemas for the new block editorfa7a3461a
Per-Kristian Nordnestest-studio Update schema for new block editoraa85c7b80
Per-Kristian Nordnesexample-studio Show customization example for block editor8dcf7bae3
Per-Kristian Nordneschore Set testURL for Jest to avoid issue with jsdom and localstoragebafb41075
Per-Kristian Nordnesbase Mock 'part:@sanity/base/schema?' to pass testf812d4069
Per-Kristian Nordnesdefault-layout Upgrade is-hotkey to match other packages67fd383ac
Per-Kristian Nordnesform-builder Block editor: fix scrollcontainer width issues (scroll-y: overlay)258dd3a3b
Espen Hovlandsdalcli Use proxy entrypoint for CLI to give proper errors on node < 8 (#1118)208f4bde3
Espen Hovlandsdalcode-input Fix incorrect parts implemented (#1119)534aaa8f1