Unlock seamless workflows and faster delivery with our latest releases - Join the deep dive
Back to changelog

Bugfixes and changes to the Sanity CLI upgrade command

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)

Published January 04, 2022