v5.7.0
📦 sanityView on GitHub →
✨ 5 features🐛 9 fixes🔧 3 symbols
Summary
Sanity Studio v5.7.0 introduces new features like a clear button for radio selects and document divergence tooling, alongside numerous bug fixes, particularly around Portable Text editing and object handling.
Migration Steps
- Run `npm install sanity@latest` to upgrade Sanity Studio.
✨ New Features
- Added clear button to radio select inputs in the form layer.
- Added utilities for flattening Sanity data.
- Added tooling to find divergences between versions of a document.
- Added support for collating all divergences in a subject-upstream pair.
- Added support for the `time` parameter to `getDocumentAtRevision`.
🐛 Bug Fixes
- Ensured dedicated `SlugFieldDiff` is used when diffing slugs.
- Combined multiple annotation popovers into a single popover for Portable Text.
- Added early validation for missing dataset in the migration command.
- Used `EditorProvider` in the comment input component.
- Fixed support for copy pasting anonymous objects in core.
- Preserved marks and markdefs when pasting Portable Text fields.
- Validation inspector now displays path titles for anonymous objects.
- Fixed build range decorations when comments change.
- Improved Portable Text copy/paste clipboard formats in the studio.