Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
✨ Highlights
Migrated inputs for primitive field types to Sanity UI
This version of the Sanity Studio introduces the use of our new Sanity UI library (see blog post) for primitive field types: string
, text
, number
, boolean
, and slug
.
🐛 Notable bugfixes
- Fixed bug where importing
react-dom/server
would not work - Fixed bug where the Portable Text Editor didn't respect the
editModal
option from schema - Added check to ensure that the proper value is used when validating arrays of object types
- Fixed a bug where the first search result was hidden behind the search field on narrow screens
📓 Full changelog
Author | Message | Commit |
---|---|---|
Espen Hovlandsdal | [validation] Skip field validation inference if jsonType is not object | 5ddbf24 |
Espen Hovlandsdal | [schema] Ensure "fields" property is not used on non-object types | 70119c8 |
Bjørge Næss | [chore] Add a watchTS task | 4a3946e |
Bjørge Næss | [base] Move connection status store to datastores folder | f4184ed |
Bjørge Næss | [chore] Upgrade @sanity/ui to latest | 15ddacc |
Marius Lundgård | [desk-tool] Wrap document pane with the Card component | e5fcaa2 |
Marius Lundgård | [base] Customize focus ring theming | 15f075b |
Marius Lundgård | [base] Add new FormField components | 3074145 |
Benedicte Emilie Brækken | [chore] Add Slack notifications on build failure | de2437d |
Bjørge Næss | [form-builder] Improve typings | 6ed8356 |
Marius Lundgård | [base] Export types from FormField | c51368c |
Bjørge Næss | [form-builder] Enable opt-in TS strict mode on a directory basis | c73bdab |
Bjørge Næss | [form-builder] Remove unused error boundary component | ca67a0f |
Bjørge Næss | [form-builder] Remove unused files | 114a3ed |
Marius Lundgård | [default-layout] Fix placement of search field | 6623eae |
Espen Hovlandsdal | [server] Make react/react-dom alias to folders, not files (#2234) | 522dacc |
Marius Lundgård | [examples] Add schemas for testing UrlInput and EmailInput | ff128b9 |
Bjørge Næss | [form-builder] Use TextInput from Sanity UI in StringInput | 9893f9b |
Bjørge Næss | [form-builder] Use TextInput from Sanity UI for most primitive input components | ce873d1 |
Bjørge Næss | [form-builder] Migrate BooleanInput to Sanity UI | 5211298 |
Bjørge Næss | [form-builder] Migrate SlugInput to use Sanity UI | 9af4cd3 |
Bjørge Næss | [form-builder] Refactor SelectInput to use Sanity UI | 7f317ba |
Marius Lundgård | [base] Use legacy theming for Sanity UI inputs | f4a9c55 |
Marius Lundgård | [base] Prevent component prop being passed to DOM element | 2942178 |
Per-Kristian Nordnes | [form-builder] PTE: Fix bug where annotation modals could not be set to 'dialog' | a797873 |
Benedicte Emilie Brækken | [form-builder] Fix bug where SelectInput sent the wrong update patch (#2252) | b498a81 |
Marius Lundgård | [examples] Add test schemas for radio and select inputs | 39b41fc |
Benedicte Emilie Brækken | [form-builder] Fix RadioSelect bug missing onChange | a4ce06a |
Benedicte Emilie Brækken | [form-builder] Add inputId as name to RadioSelect | ae1bccc |
Bjørge Næss | [form-builder] Emit onFocus from select + radio select inputs (#2254) | 9c5044d |
Marius Lundgård | [form-builder] Trigger onFocus in SlugInput
| eb43166 |