v2.27.0
Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
✨ Highlights
More Presence
Presence, the ability to see where your collaborators are, is now visible in document lists, search results, and reference previews.
Other features
- You can now configure the default API version for Vision (#3127)
🐛 Notable bugfixes
- Removes a false positive validation error with some nested image and file fields (#3119)
- Fixes a bug where adding marks to a Portable Text block would remove some existing marks (#3124)
- Fixes a bug where list items in Portable Text without a level would cause an error (#3129)
- Fixes a bug where read-only arrays showed an empty actions menu (#3130)
- Improves empty read-only state for arrays (#3131)
- Adds validation warnings on incorrectly implemented asset sources (#3135)
📓 Full changelog
Author | Message | Commit |
---|---|---|
Espen Hovlandsdal | chore: externalize + upgrade generate-help-url | 4e6b57d |
Espen Hovlandsdal | fix(cypress): use uuid instead of nanoid for document ids | e8d0d6a |
Marius Lundgård | chore: render path to package.json when running npm run versions |
e961b84 |
Espen Hovlandsdal | fix(form-builder): unset image/file field when last subfield is cleared | 5cce39d |
Simeon Griggs | fix(cli): change upgrade text depending on number of modules | ea454e4 |
Bjørge Næss | fix(default-layout): fix bug that required two clicks to close studio hints sidecar | a528b83 |
Per-Kristian Nordnes | fix(portable-text-editor): fix normalization bug in adding marks + test | edef424 |
Herman Wikner | feat(base): add DocumentPreviewPresence component |
27d15d6 |
Herman Wikner | refactor(desk-tool): remove getStatusIndicator PaneItem helper (replaced) |
f29dc36 |
Herman Wikner | feat(desk-tool): add presence to PaneItem |
b96d13f |
Herman Wikner | refactor(desk-tool): update DocumentListPaneContent |
ebabebc |
Herman Wikner | feat(form-builder): add presence in ReferencePreview |
6c33f3f |
Herman Wikner | feat(form-builder): pass document presence data to ReferencePreview from PreviewReferenceValue |
455aa09 |
Herman Wikner | feat(form-builder): pass document presence data to PreviewReferenceValue in ArrayItemReferenceInput |
d6e2313 |
Herman Wikner | feat(form-builder): pass document presence data to PreviewReferenceValue in ReferenceInput |
9c513c8 |
Herman Wikner | feat(default-layout): add presence in search | 1105943 |
Herman Wikner | refactor(form-builder): update presence in OptionPreview |
507ee80 |
Herman Wikner | feat(base): add PreviewCard component |
4852bd8 |
Herman Wikner | refactor(form-builder): remove PreviewCard component, replaced by a new component located in base |
9254717 |
Herman Wikner | test(base): add PreviewCard workshop story |
9318d82 |
Bjørge Næss | refactor(form-builder): update document presence from sanity/studio input wrappers | 6eaf8fb |
Herman Wikner | refactor(form-builder): update presence in PreviewReferenceValue |
2dacc3b |
Herman Wikner | chore: export DocumentPresence interface |
0e3522c |
Fred Carlsen | fix(form-builder): improve empty read-only array state (#3131) | d390091 |
Fred Carlsen | fix(form-builder): hide array actions if read-only (#3130) | 4d21c9f |
Fred Carlsen | feat(vision): make default api version configurable (#3127) | 892e1d5 |
Simeon Griggs | fix(default-layout): remove null/undefined tools | c5545f6 |
Marius Lundgård | fix(base): remove debug style | c548fbe |
Espen Hovlandsdal | fix(form-builder): ensure asset sources is array before usage | 7aefcd9 |
Espen Hovlandsdal | fix(form-builder): forward ref in default asset source | cd1f7e8 |
Espen Hovlandsdal | refactor(test-studio): forward ref in noop asset source | bb558d1 |
Per-Kristian Nordnes | fix(portable-text-editor): add render defaults for list blocks levels when missing | bde7abd |
Rico Kahler | fix(form-builder): remove rogue text 😄 | 53e302c |