v0.139.0
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
Author | Message | Commit ------------ | ------------- | ------------- Per-Kristian Nordnes | [block-tools] Maintainance, deserialization enhancements (breaking, see changlog.md), tests | 3d1eb3fe3 Per-Kristian Nordnes | [form-builder] Remove old block editor folder | 2a76099e5 Per-Kristian Nordnes | [form-builder] New realtime based and customizable block editor | 4a35a09dc Kristoffer J. Sivertsen | [form-builder] New block editor CSS | 45cbb2ee1 Per-Kristian Nordnes | [form-builder] Support diffMatchPatch and handle rebase events from BufferedDocument | 1410a4e28 Per-Kristian Nordnes | [form-builder] Part definitions and resolvement for the new block editor | 7357f8cd4 Per-Kristian Nordnes | [form-builder] Updated package.json and .babelrc for the new block editor | d5346dce7 Kristoffer J. Sivertsen | [base] Icons, part definitions CSS for the new block editor | 4cbf4ea0a Kristoffer J. Sivertsen | [code-input] Various adjustment of code input | 330c2a490 Kristoffer J. Sivertsen | [components] Previews for the block editor | 7b8bc1624 Per-Kristian Nordnes | [validation] Validation for blocks | 7f18a07c8 Per-Kristian Nordnes | [schema] Tweak block schemas for the new block editor | fa7a3461a Per-Kristian Nordnes | [test-studio] Update schema for new block editor | aa85c7b80 Per-Kristian Nordnes | [example-studio] Show customization example for block editor | 8dcf7bae3 Per-Kristian Nordnes | [chore] Set testURL for Jest to avoid issue with jsdom and localstorage | bafb41075 Per-Kristian Nordnes | [base] Mock 'part:@sanity/base/schema?' to pass test | f812d4069 Per-Kristian Nordnes | [default-layout] Upgrade is-hotkey to match other packages | 67fd383ac Per-Kristian Nordnes | [form-builder] Block editor: fix scrollcontainer width issues (scroll-y: overlay) | 258dd3a3b Espen Hovlandsdal | [cli] Use proxy entrypoint for CLI to give proper errors on node < 8 (#1118) | 208f4bde3 Espen Hovlandsdal | [code-input] Fix incorrect parts implemented (#1119) | 534aaa8f1