Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
✨ Highlights
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
🐛 Notable 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)
📓 Full changelog
Author | Message | Commit |
---|---|---|
Rico Kahler | fix(base): prevent crash if type * is provided to structure (#3022)
| 976e622 |
Fred Carlsen | fix(cypress): fix flaky e2e test for review changes (#3021) | 75fbfc1 |
Fred Carlsen | fix(cypress): improve e2e test speed (#3027) | 3b3dc27 |
Fred Carlsen | feat(form-builder): add workshop for FormBuilderInput (#3012) | 490258d |
Bjørge Næss | build(gulpfile): add jsx pattern | a5f4410 |
Espen Hovlandsdal | fix: monorepo validator crashing on no dev dependencies | bb99977 |
Espen Hovlandsdal | chore(cli): upgrade get-latest-version to v3.0.1 | 1ce1bdc |
Espen Hovlandsdal | feat(cli): respect specified ranges when upgrading | 86a285d |
Bjørge Næss | fix(form-builder): add prop for passing item component to array of objects input | abcde02 |
Rico Kahler | feat(desk-tool): experimental __preserveInstance prop (#3042)
| e92d804 |
Rico Kahler | fix(desk-tool): fix issue with singletons with no type not loading (#3043) | 2915cfa |