v5.22.0
📦 sanityView on GitHub →
✨ 3 features🐛 11 fixes🔧 4 symbols
Summary
Sanity Studio v5.22.0 introduces telemetry improvements and configuration options, alongside numerous bug fixes related to positioning, GROQ handling, and form state management.
Migration Steps
- Run 'npm install sanity@latest' to upgrade Sanity Studio.
✨ New Features
- Added Studio Auth Ready and Studio Ready timing events for telemetry.
- Added persistence key support for the Media Library plugin.
- Added 'hidden' property to workspace configuration.
🐛 Bug Fixes
- Fixed positioning of reference input lists within documents, modals, dialogs, and popovers.
- Handled GROQ 2024 searches that sort on child paths and complex GROQ expressions.
- Supported programmatic focus when inline changes are enabled in the form.
- Stopped eagerly fetching auth for all workspaces at the start.
- Made the logout method return a promise in auth store types.
- Corrected BlockRule value type from any[] to PortableTextBlock.
- Cancelled fetch response bodies to prevent connection blocking.
- Used `@sanity/uuid` to produce feedback session IDs.
- Reduced redundant fetches in document preview observers.
- Fixed stale form context after switching document versions.
- Fixed published ID incorrectly supplied to DivergencesProvider as subject ID.