Sanity Studio v3.68.0: Performance improvements and bug fixes in Sanity Studio

🐛 Notable bugfixes

Improves performance of the presence menu.

Improves scrolling performance of document list pane views.

Improves rendering performance when hovering over fields.

Keeps tab focus inside popover dialogs for the Portable Text Editor when editing links and similar.

Fixes a bug that could cause relative timestamps, such as those shown in the document history inspector, to incorrectly appear to be in the future.

Fixes an issue where WebKit was unable to tab into a form field's action menu.

Large Portable Text fields are now streamed into the editor.

Fixes an issue that could sometimes leave the hotspot and crop icons greyed out after uploading an image.

Unsafe access of current on React refs fixed, allowing React Compiler to auto-memoize more components, and increasing general stability and concurrent mode safety.

Relative time stamps are optimized by React Compiler, reducing memory usage and allowing faster rerenders.

Replaced React.createElement calls in internals with the JSX runtime, unlocking the React 19 performance improvements to JSX, as well as the ability to use ref as a prop instead of React.forwardRef wrappers.

Refactored SanityDefaultPreview to be auto memoized by React Compiler, improving performance on document list previews, and reference selectors.

Other features

Exports useReferringDocuments() hook.

Install or upgrade Sanity Studio

To initiate a new Sanity Studio project or upgrade an existing one, please refer to our comprehensive guide on Installing and Upgrading Sanity Studio.

If you are updating from a version earlier than 3.37.0, you should also check out this article to ensure your