Bugfixes and changes to the Sanity CLI upgrade command
Published: January 4, 2022
v2.23.3
Changes to sanity upgrade
sanity upgrade now behaves slightly different:
- It now respects the version ranges and pinned versions declared in your
package.json - Tries not to upgrade non-studio modules such as
@sanity/block-content-to-html - Shows a more prominent message if there are major updates available with a link to the changelog
Bugfixes
- Fixes an issue that caused a crash instead of a warning screen when omitting schemaType from
S.documentList()(#3022) - Fixes an issue that caused singleton documents to never load if no schemaType was provided (#3043)