Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
✨ Highlights
Improved studio search
The Sanity Studio search now supports searching Portable Text fields by using the recently introduced pt::text()
GROQ function.
Improved image fields
The image fields has seen a number of bugfixes and now properly display presence and change indicators, including for hotspot/crop fields and other image fields that opens in dialogs.
Sanity UI powered reference input
The default reference input in Sanity Studio has been refactored to use the Autocomplete
component from Sanity UI which improves overall accessibility and fixes keyboard navigation bugs.
Other features
- The language filter can now be configured with an array of document types to control which schemas the filter will appear on (thanks @spacedawwg!).
🐛 Notable bugfixes
- Fixes false positive with image fields in dialogs, indicating that there's a change when there is none
- The code input now wraps text inside the input so that all the code is visible without having to scroll horizontally (thanks @katherinepeterson!)
📓 Full changelog
Author | Message | Commit |
---|---|---|
Bjørge Næss | chore: update pull request template | 53ddb27 |
Espen Hovlandsdal | feat(search): apply pt::text() when searching portable text fields | ba30e92 |
Bjørge Næss | fix(form-builder): skip href for disabled intent buttons | 3f33244 |
Bjørge Næss | fix(form-builder): navigate intentlink / button using router (pushstate) rather than regular page navigation | 716499d |
Bjørge Næss | chore(test-studio): add example of reference fields with async and invalid filters | a4af37a |
Bjørge Næss | chore: upgrade @sanity/ui | 89b0bc9 |
Bjørge Næss | refactor(form-builder): migrate reference input to use Sanity UI | 43a192b |
Bjørge Næss | fix(form-builder): make change indicator for reference input managed | f596e10 |
Marius Lundgård | refactor(form-builder): visually adjust ReferenceInput | 7b052df |
katherinepeterson | fix(code-input): wrap text inside code input | 717becf |
Paul Welsh | feat(language-filter): add documentTypes option | 58df909 |
Bjørge Næss | fix(base): add transaction-collator path reference | 9c9fe9b |
Bjørge Næss | chore(imagetool): partially migrate imagetool to ts | cc05414 |
Bjørge Næss | fix(imagetool): export type definitions for constants | 9dfc1f8 |
Bjørge Næss | fix(types): make _type on hotspot/crop optional | 98e6133 |
Bjørge Næss | refactor(form-builder): hoist checkerboard component | 57a61aa |
Bjørge Næss | refactor(form-builder): move focus ring utils/hoc to components | 796e5f0 |
Bjørge Næss | refactor(form-builder): extract RatioBox to a reusable component | afad1b8 |
Bjørge Næss | feat(base): add a variant of change indicator for relative paths with passed isChanged value | 1d7c1ae |
Bjørge Næss | fix(schema): add custom fields after asset + hotspot crop | 3e450cd |
Bjørge Næss | fix(form-builder): support presence & support deep linking for image tool and pass compareValue to dialog | 81e39e7 |
Bjørge Næss | refactor(form-builder): migrate ImageToolInput to Sanity UI | 3864408 |
Bjørge Næss | fix(form-builder): show presence for users at fields behind dialogs at image field | eeaea31 |
Bjørge Næss | fix(form-builder): show change indicator on image when any of the dialog field has changed | 184eadf |
Bjørge Næss | fix(form-builder): prevent Sanity UI autofocus behavior for image input dialog | 009ce54 |
Bjørge Næss | fix(base): strip semicolon when tokenizing search terms | 1a40da9 |
Marius Lundgård | build(base): add missing @juggle/resize-observer dependency
| a0b17e1 |
Marius Lundgård | fix(form-builder): remove BoundaryElementProvider in dialogs | 8d663a7 |