npm @sanity/desk-tool 1.150.5
v1.150.5

latest releases: 2.36.6, 2.36.4, 2.36.2...
4 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

✨ Highlights

It's now possible to strip formatting from multiple blocks of the editor for portable text, by selecting content and clicking off the active formatting buttons in the toolbar.

🐛 Notable bugfixes

  • Fixed a bug where clicking items in the root validation list would not focus on the validated item properly.
  • Optimized the editor to not re-render block object previews unless they are actually changed. This will increase performance on load heavy previews like video and code blocks.

📓 Full changelog

Author Message Commit
Bjørge Næss [chore] Improve handling of TypeScript compile errors during dev (#1982) b6abd41
Bjørge Næss [react-hooks] Make sure useObservable re-subscribes when the passed observable changes ef312d2
Bjørge Næss [react-hooks] Memoize observables in different hooks to avoid re-subscribing on every render 1631041
Per-Kristian Nordnes [components] Make sure ValidationList doesn't clear timeout on onClose 2e3f644
Per-Kristian Nordnes [form-builder] PTE: set object edit deferred, let take focus first 4cd4fed
Per-Kristian Nordnes [test-studio] Put som validation rules on simpleBlock 4080991
Per-Kristian Nordnes [form-builder] PTE: memo block object render which is now possible 2f3be36
Per-Kristian Nordnes [form-builder] PTE: use new test for setting list item active a20b761
Per-Kristian Nordnes [form-builder] Update @sanity/portable-text-editor 13c14e2

Don't miss a new desk-tool release

NewReleases is sending notifications on new releases.