v0.140.12

Released Mar 27th 2019

Upgrade the Command Line Interface (CLI) with

npm install --global @sanity/cli

Upgrade the Content Studio with:

sanity upgrade

Highlights ✨

WebP all the things!

When using @sanity/image-url to generate image URLs, you can now automatically get WebP images if the browser supports it. Use auto(format) to make this happen.

Deleting assets in the asset browser

You can now delete assets in the asset browser. If an asset is used in other documents, we list them with a link to make it easy to remove the reference.

Features

Notable bugfixes 🐛

  • Fixed a bug in the editor for Portable Text that threw an error when you had another editor inside a inline object type.
  • Fixed a focus bug in the editor for Portable Text that would scroll to top trying to set focus further down in the document after going directly into fullscreen mode.

📓 Full changelog

AuthorMessageCommit
Per-Kristian Nordnesform-builder Block editor: fix bug in editor inside inline object patch to operations (#1243)c504b05c8
Per-Kristian Nordnesform-builer Block editor - fix focus bug when toggling fullscreen mode (#1240)a2891f69e
Kristoffer J. Sivertsenblock-editor Picking icons from schema or type in insert menu (#1217)ea771847f
Knut Melværcli Remove from variants (#1241)ce858fab2
Marius Lundgårddashboard Fix @sanity/base version91486da00
Espen Hovlandsdalimage-url Add auto('format') support for automatic WebP switching (#1242)50d4bd6d9
Knut Melværblock-tools Fix typo5457544e2
Marius Lundgårddashboard Dashboard updates (#1248)fa89e1726
Marius Lundgårddashboard Fix minor CSS issue4ae3a28c8
Per-Kristian Nordnesform-builder Block editor: hide 'More' button if empty (#1247)0e63be079
Kristoffer J. Sivertsendashboard Getting tutorials feed from proxy (#1251)95380a52e
David Longocode-input Adding Python language compatibility (#1249)1f71275a9
Martin Jacobsencode-input Adds support for .sass and .scss (#1252)744280005
Thomas Drevontest-studio Add new code input languagesae65e1bb0
Per-Kristian Nordnesserver Upgrade @sanity/css-loader (#1256)5ba8f6a89
Kristoffer J. Sivertsenform-builder Asset delete button (#1191)86668f955