npm @sanity/cli 0.140.12
v0.140.12

latest releases: 3.42.2-canary.38, 3.42.1, 3.41.3-before-pane-break.11...
5 years ago

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

Author Message Commit
Per-Kristian Nordnes [form-builder] Block editor: fix bug in editor inside inline object patch to operations (#1243) c504b05
Per-Kristian Nordnes [form-builer] Block editor - fix focus bug when toggling fullscreen mode (#1240) a2891f6
Kristoffer J. Sivertsen [block-editor] Picking icons from schema or type in insert menu (#1217) ea77184
Knut Melvær [cli] Remove from variants (#1241) ce858fa
Marius Lundgård [dashboard] Fix @sanity/base version 91486da
Espen Hovlandsdal [image-url] Add auto('format') support for automatic WebP switching (#1242) 50d4bd6
Knut Melvær [block-tools] Fix typo 5457544
Marius Lundgård [dashboard] Dashboard updates (#1248) fa89e17
Marius Lundgård [dashboard] Fix minor CSS issue 4ae3a28
Per-Kristian Nordnes [form-builder] Block editor: hide 'More' button if empty (#1247) 0e63be0
Kristoffer J. Sivertsen [dashboard] Getting tutorials feed from proxy (#1251) 95380a5
David Longo [code-input] Adding Python language compatibility (#1249) 1f71275
Martin Jacobsen [code-input] Adds support for .sass and .scss (#1252) 7442800
Thomas Drevon [test-studio] Add new code input languages ae65e1b
Per-Kristian Nordnes [server] Upgrade @sanity/css-loader (#1256) 5ba8f6a
Kristoffer J. Sivertsen [form-builder] Asset delete button (#1191) 86668f9

Don't miss a new cli release

NewReleases is sending notifications on new releases.