github sanity-io/sanity v0.139.0

latest releases: v3.64.1, v3.64.0, v2.36.6...
5 years ago

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 3d1eb3f
Per-Kristian Nordnes [form-builder] Remove old block editor folder 2a76099
Per-Kristian Nordnes [form-builder] New realtime based and customizable block editor 4a35a09
Kristoffer J. Sivertsen [form-builder] New block editor CSS 45cbb2e
Per-Kristian Nordnes [form-builder] Support diffMatchPatch and handle rebase events from BufferedDocument 1410a4e
Per-Kristian Nordnes [form-builder] Part definitions and resolvement for the new block editor 7357f8c
Per-Kristian Nordnes [form-builder] Updated package.json and .babelrc for the new block editor d5346dc
Kristoffer J. Sivertsen [base] Icons, part definitions CSS for the new block editor 4cbf4ea
Kristoffer J. Sivertsen [code-input] Various adjustment of code input 330c2a4
Kristoffer J. Sivertsen [components] Previews for the block editor 7b8bc16
Per-Kristian Nordnes [validation] Validation for blocks 7f18a07
Per-Kristian Nordnes [schema] Tweak block schemas for the new block editor fa7a346
Per-Kristian Nordnes [test-studio] Update schema for new block editor aa85c7b
Per-Kristian Nordnes [example-studio] Show customization example for block editor 8dcf7ba
Per-Kristian Nordnes [chore] Set testURL for Jest to avoid issue with jsdom and localstorage bafb410
Per-Kristian Nordnes [base] Mock 'part:@sanity/base/schema?' to pass test f812d40
Per-Kristian Nordnes [default-layout] Upgrade is-hotkey to match other packages 67fd383
Per-Kristian Nordnes [form-builder] Block editor: fix scrollcontainer width issues (scroll-y: overlay) 258dd3a
Espen Hovlandsdal [cli] Use proxy entrypoint for CLI to give proper errors on node < 8 (#1118) 208f4bd
Espen Hovlandsdal [code-input] Fix incorrect parts implemented (#1119) 534aaa8

Don't miss a new sanity release

NewReleases is sending notifications on new releases.