Change8

v3.92.0

📦 sanityView on GitHub →
9 features🐛 13 fixes1 deprecations🔧 8 symbols

Summary

This release of Sanity Studio v3.92.0 brings various improvements, including speedups for `sanity dev`, new features for datetime inputs and PTE configuration, and numerous dependency updates.

Migration Steps

  1. Run `npm install sanity@latest` to upgrade Sanity Studio.
  2. Refer to the comprehensive guide on [Installing and Upgrading Sanity Studio](https://www.sanity.io/docs/upgrade) for new project initiation or upgrade details.

✨ New Features

  • Added display names to middleware components.
  • Added suspense boundaries to middleware components.
  • Added ability to switch workspaces in Dashboard.
  • Added timeZone settings to datetime input.
  • Allow configuring Portable Text Editor (PTE) plugins.
  • Added versions primary action in core.
  • Allow `ReleasesNav` to be rendered without releases tool button.
  • Export `ReleasesNav` component.
  • Allow `ReleasesNav` inner `MenuItem` props to be customised.

🐛 Bug Fixes

  • History cleared event should be the last event in the event stream.
  • Get correct document title when creating comments.
  • Update buildCommentBreadCrumb recursivity.
  • Restore delete document uses `lastRevision`.
  • Resolve `getAttribute` is not a function errors in PTE on next.js.
  • Fixing search for timezones.
  • Do not create projects with undefined organizations via CLI.
  • Skip auto update prompt for non-interactive CLI sessions.
  • Bring back the continue option for auto-update prompts.
  • Resolve `duplicate context` error for media library.
  • Handle imperative focus state in slug input correctly.
  • DevEx improvements when using functions CLI commands.
  • Fix perspective menu vertical alignment.

🔧 Affected Symbols

@sanity/visual-editing-csm@portabletext/editor@sanity/client@portabletext/block-toolssanitydatetime inputPTE pluginsReleasesNav

⚡ Deprecations

  • Support for Portable Text object deprecation is now available.