Listener counts in Studio diagnostics, a sanity/i18n entry point, and sign-out and release permission fixes
Published: November 24, 2026
This release adds listener counts to Studio diagnostics and a sanity/i18n entry point for plugins. It also fixes signing out across workspaces, release permission checks, and copying from Media Library inside Studio, and Studio now recovers from failed real-time connections instead of showing stale data.
New features
Listener counts in Studio diagnostics
The Studio diagnostics report now shows how many listeners (real-time connections) the browser tab has open, and the peak count. The Network card lists them as "Open listeners" and "Peak listeners", marked "(high)" above 30, and a copied report includes them as network.listeners. This helps when you debug connection limits with many Studio tabs open.
sanity/i18n entry point
Plugins can import the localization APIs, including useTranslation, useCurrentLocale, defineLocale, and defineLocaleResourceBundle, from sanity/i18n. The next major version of Sanity Studio uses the same path, so one import works on both. The root sanity exports are unchanged. For usage, see Internationalizing plugins.
Improvements
- When a real-time listener fails, Studio retries with backoff and fetches data in the meantime, so document lists, previews, and open documents stay current. Failures Studio can't recover from now show the connection error dialog.
- A new beta option,
beta.releaseBackgroundListeners.enabled, closes Studio's real-time connections after a tab has been hidden for 30 seconds and reconnects when you return to it. Tabs opened in the background don't connect until you first view them. Turn it on if you often have many Studio tabs open in one browser. - Studios with Content Releases enabled now include
system.releaseandsanity.releaseMetadataas schema types, so they appear in TypeGen output,sanity schema extract, and deployed schemas.releases.metadataalso acceptsfieldsetsand object-levelvalidation. - Updates
@sanity/clito 8.34.0. TypeGen now typesselect()at the query root and treatsselect()without a fallback as nullable. Thesanity workflows set-stagecommand is removed; workflow instances move between stages through their actions. For the full list of CLI changes, see the @sanity/cli changelog.
Fixes
- Signing out from the user menu now signs you out of every workspace in the Studio, including workspaces on other projects.
- Review changes and History show the login screen when a request fails because you're signed out, instead of an error or empty values.
- Fixes copying links and values to the clipboard from Media Library when it's opened inside Studio.
- Hovering a document in the document list, a reference input, search results, or scheduled publishing shows the document status tooltip from before v6.23.0 again: one row per version, opening from the row. The compact popover with one line per variant now only shows in studios with variants enabled (
beta.variants.enabled). - Fixes "Compare versions" being disabled when a document has variants or other versions outside the current release layering, such as a published document with no draft.
- Fixes the separator below the Studio navbar not showing above panes in workspaces with variants disabled.
- Fixes release permission checks reusing the result from a different release, which could hide the "Limited access" warning or leave release actions enabled.
- Fixes the page scrolling when opening a document in a Studio embedded in an iframe.
- Fixes the breadcrumb overflow (
…) menu in nested-object dialogs not appearing when clicked. It now lists the collapsed levels, and choosing one navigates to it. - Singleton list items created with
S.listItem().singleton()show their draft/published status in the structure pane and keep their title and compact layout. - Comments that failed to load show up again after Studio reconnects, instead of staying hidden behind the error.
Related documentation
Internationalizing plugins
This article provides a guide for plugin authors to add localization capabilities to their Sanity Studio plugins.
Localizing Sanity Studio
Sanity Studio supports UI localization via plugins. Users can install languages, override translations, and contribute to localization.
Sanity TypeGen
How to use Sanity TypeGen tooling to generate TypeScript definitions from Sanity Studio schemas and GROQ queries.
Common Sanity document types
Reference documentation for common Sanity document shapes.
Compare document versions
The document comparison view in Sanity Studio provides a side-by-side view of different document versions.
Structure Builder cheat sheet
The Structure Builder is a powerful (but complex) set of methods. There are a few commonly used methods which you are likely to need in your projects, and they are presented here in quick, copy-and-paste-friendly form.