v0.140.12
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
- Syntax highlighting for Python, SASS and SCSS is now supported by
@sanity/code-input
. Thanks @longodj and @mmgj! - If you have defined an icon for your content types, they will now be reflected in the editor for Portable Text’s Insert Menu.
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) | c504b05c8
Per-Kristian Nordnes | [form-builer] Block editor - fix focus bug when toggling fullscreen mode (#1240) | a2891f69e
Kristoffer J. Sivertsen | [block-editor] Picking icons from schema or type in insert menu (#1217) | ea771847f
Knut Melvær | [cli] Remove from variants (#1241) | ce858fab2
Marius Lundgård | [dashboard] Fix @sanity/base version | 91486da00
Espen Hovlandsdal | [image-url] Add auto('format')
support for automatic WebP switching (#1242) | 50d4bd6d9
Knut Melvær | [block-tools] Fix typo | 5457544e2
Marius Lundgård | [dashboard] Dashboard updates (#1248) | fa89e1726
Marius Lundgård | [dashboard] Fix minor CSS issue | 4ae3a28c8
Per-Kristian Nordnes | [form-builder] Block editor: hide 'More' button if empty (#1247) | 0e63be079
Kristoffer J. Sivertsen | [dashboard] Getting tutorials feed from proxy (#1251) | 95380a52e
David Longo | [code-input] Adding Python language compatibility (#1249) | 1f71275a9
Martin Jacobsen | [code-input] Adds support for .sass and .scss (#1252) | 744280005
Thomas Drevon | [test-studio] Add new code input languages | ae65e1bb0
Per-Kristian Nordnes | [server] Upgrade @sanity/css-loader (#1256) | 5ba8f6a89
Kristoffer J. Sivertsen | [form-builder] Asset delete button (#1191) | 86668f955