v4.12.0
📦 sanityView on GitHub →
✨ 11 features🐛 12 fixes⚡ 1 deprecations🔧 4 symbols
Summary
Sanity Studio v4.12.0 introduces significant features around scheduled publishing and inline diffing in the PTE, alongside deprecating theming support and numerous bug fixes.
Migration Steps
- Run `npm install sanity@latest` to upgrade Sanity Studio.
- Refer to the guide on [Installing and Upgrading Sanity Studio](https://www.sanity.io/docs/upgrade) for detailed upgrade instructions.
✨ New Features
- Added initial approach for a nested objects navigation dialog.
- Added `compareValue` to input component props.
- Support custom `anchorPath` and `focusPath` in `computeRangeDecorations`.
- Added inline diff support to Portable Text Editor.
- Allow setting aspect definition to public in media features.
- Added single doc releases plugin.
- Added config flag for nested object dialog (beta).
- Added View scheduled drafts menu action for scheduled drafts.
- Scheduled drafts upsell implemented.
- Schedule dangling active cardinality one releases.
- Showing document validation errors inside scheduled drafts list.
🐛 Bug Fixes
- Fixed scrolling issue in expanded Portable Text Editor.
- Fixed single doc scheduled publishing updates.
- Fixed close icon alignment in studio announcements card.
- Added more detailed version info for deployed test-studios.
- Rescheduling scheduled draft updates metadata.intendedPublishAt too.
- Fixed PTE error upon patch type unexpected by optimistic change handler.
- Fixed authorization issue where having no roles array on user marked them as unauthorized (now includes 'authenticated' in roles check).
- Fixed core issue avoiding workspace dependent hook CorsOriginError view.
- Fixed not opening release create dialog after clicking documentation link.
- Fixed overflow for titles.
- Fixed core issue removing useRawPerspective in favor of perspective.
- Fixed handling processing video assets.
🔧 Affected Symbols
computeRangeDecorationscomputeStringDiffRangeDecorationsPortable Text EditorCorsOriginError⚡ Deprecations
- Theming support is deprecated.