Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
🐛 Notable bugfixes
- Fixes a number of issues with the
sanity upgrade
command when using--tag
and/or--range
- Fixes a bug in the Portable Text editor where selecting all the content and overwriting it by inserting text would cause an error
📓 Full changelog
Author | Message | Commit |
---|---|---|
Per-Kristian Nordnes | chore(portable-text-editor): pin slate version | 672bd5e |
Espen Hovlandsdal | fix(cli): use current version if failing to find upgradable version | eeab603 |
Espen Hovlandsdal | fix(cli): skip caret prefix when upgrading to tag | 33a0219 |
Espen Hovlandsdal | fix(cli): prevent crashing on upgrade if package does not exist locally | dfe1334 |
Espen Hovlandsdal | fix(cli): normalize hashed module version numbers when comparing | f8d3529 |
Espen Hovlandsdal | refactor(cli): move removal of modules until after manifest write | c64319e |
Espen Hovlandsdal | fix(cli): disallow specifying specific modules to upgrade | d8673d6 |
Espen Hovlandsdal | fix(cli): improve help text for upgrade command | 0892cc3 |