Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
✨ Highlights
React 17 support
- React 17 is now supported as a peer dependency.
🐛 Notable bugfixes
- Fixed issues in the editor for Portable Text related to marks when splitting lines at start/end offsets.
- Fixed a bug where clicking on a collapsed field inside a modal would close it.
- Some smaller visual improvements
Other features
- Added Github actions for enforcing consistent code style with Prettier and Eslint
📓 Full changelog
Author | Message | Commit |
---|---|---|
vicbergquist | [base, components] fix wrong focus outline in firefox | 32a3754 |
Benedicte Emilie Brækken | [chore] Add Github action for running prettier (#2069) | a3f7158 |
Benedicte Emilie Brækken | Add eslint action (#2068) | afa690c |
Per-Kristian Nordnes | [components] Fix bug where clicking a collapsed field inside a modal will close it | 636bb79 |
Marius Lundgård | [components] Improve styling of icon container in DefaultButton | b270fef |
Espen Hovlandsdal | [chore] Remove unnecessary internal dependency (#2104) | 3b06b64 |
Espen Hovlandsdal | [core] Fix missing eventsource dependency (#2103) | b686904 |
Espen Hovlandsdal | [chore] Support React 17 as peer dependency | f095b69 |
Espen Hovlandsdal | [core] Allow using newer React versions, warn about untested versions | bea9965 |
Espen Hovlandsdal | [form-builder] Handle focus when passed a path instead of an event (#2107) | 9b13f2a |
Knut Melvær | [cli] Add build script to template package.json (#2013) | 1421586 |
Per-Kristian Nordnes | [form-builder] PTE: upgrade module | 4b910e1 |