Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
✨ Highlights
- Adds
--mock-browser-env
flag to sanity exec command, for cases where imported files reference browser-like APIs (window
,requestAnimationFrame
etc) .env
files will now be loaded before running any Sanity CLI command
🐛 Notable bugfixes
- Fixes a bug where storybook would crash on startup.
📓 Full changelog
Author | Message | Commit |
---|---|---|
Espen Hovlandsdal | feat(core): add --mock-browser-env flag to sanity exec command (#2319)
| 3493590 |
Espen Hovlandsdal | feat(cli): load .env files before running any command (#2320)
| aa20579 |
Bjørge Næss | chore: change bug list in release notes template to start with Fixes instead of Fixed
| bedc9cc |
Marius Lundgård | fix(base): export theme so Storybook can import it and run (#2335)
| 4d36d99 |
Bjørge Næss | fix(test-studio): add repro case for fieldset validation issue | 094bd63 |
Bjørge Næss | fix(form-builder): fix issue that caused validation markers from other fields to appear on collapsed fieldsets | 8922936 |
Bjørge Næss | chore: move dependency to @types/react and @types/styled-components to root package.json | 9f931f8 |
Bjørge Næss | chore: upgrade pretty-ms | 2e2088b |
Marius Lundgård | chore(desk-tool): improve copy for document operation results | 91ab5df |
Bjørge Næss | chore(imagetool): emit typescript declarations from js source | f8314bd |