Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
New features
- Allow loading more syntaxes for the
@sanity/code-input
programmatically, see the code input README for more details - You can now specify coupon codes when creating a new project using the CLI, by using the
--coupon
flag, egsanity init --coupon <code>
🐛 Notable bugfixes
- Fixes bug where initial values would no longer work when inserting in arrays
- Fixes a bug that caused some false warnings with duplicate and update permissions
📓 Full changelog
Author | Message | Commit |
---|---|---|
Fred Carlsen | fix(form-builder): fix dark mode in FormBuilder workshop | 0238189 |
Bjørge Næss | feat(code-input): upgrade ace and add support for custom modes | 6121832 |
Bjørge Næss | chore(code-input): add example of custom rust language support | 625c06a |
Bjørge Næss | chore(code-input): remove lodash | 5caea42 |
Marius Lundgård | build: update @sanity/ui
| 0d000dc |
Marius Lundgård | build: update @sanity/ui-workshop
| 81a3b37 |
shur | feat(cli): allow --coupon for sanity init (#3061)
| 22aca18 |
Bjørge Næss | fix(form-builder): fix initial value not resolved when adding array items | 6c88963 |
Rico Kahler | fix(base): fix permissions bugs by fallbacking back to published variant | 8fbf2e5 |
Espen Hovlandsdal | fix(cli): disallow --project and --coupon both being used | a99ad97 |
Espen Hovlandsdal | fix(cli): give more descriptive error when coupon check fails | 79d72ce |
Espen Hovlandsdal | fix(cli): skip project selection when using a coupon | b50db53 |
Espen Hovlandsdal | fix(cli): dont require a user to validate coupon | e72bf3e |