v6.4.0
📦 sanityView on GitHub →
✨ 4 features🐛 14 fixes⚡ 1 deprecations🔧 14 symbols
Summary
Sanity Studio v6.4.0 brings numerous bug fixes, particularly around portable text handling, request error delegation, and UI stability. It also includes dependency updates and refactors related to document variants and agent bundles.
Migration Steps
- Run 'npm install sanity@latest' to upgrade Sanity Studio.
✨ New Features
- Added user attribute types to CurrentUser.
- Improved request error handling.
- Refactored document queries to use sanity::partOfVariant for variants.
- Added agent bundle data to document group inventory machine, including filtering and including the user's most recent agent bundle.
🐛 Bug Fixes
- Fixed issue where pasting references to documents only existing in a release was disallowed.
- Delegated document pair snapshot fetch failures to the request error handler.
- Delegated grants request errors to the request error handler.
- Fixed flaky test by mocking timers in observeVersionDocumentIds.
- Fixed drawing of change connectors when hovering image and file diffs.
- Cleared change connectors when the review changes panel closes.
- Made virtualized table rows visible in Safari (releases view).
- Only cancelled commits for known-terminal client errors.
- Forced logout only on 401s tagged as session expiry.
- Fixed portable text rendering by resolving render-callback schema types by path.
- Fixed portable text to collect form members at any depth.
- Fixed portable text focus tracking into nested-container blocks.
- Fixed portable text element-ref registry keying by full path.
- Fixed document group inventory border clipping.
Affected Symbols
⚡ Deprecations
- The useDocumentVersionInfo hook has been restored after being accidentally removed in a previous commit.