# Listener counts in Studio diagnostics, a sanity/i18n entry point, and sign-out and release permission fixes

**Version:** v6.25.0

**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](https://www.sanity.io/docs/studio/internationalizing-plugins-ui).

## 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.release` and `sanity.releaseMetadata` as schema types, so they appear in TypeGen output, `sanity schema extract`, and deployed schemas. `releases.metadata` also accepts `fieldsets` and object-level `validation`.
- Updates `@sanity/cli` to 8.34.0. TypeGen now types `select()` at the query root and treats `select()` without a fallback as nullable. The `sanity workflows set-stage` command is removed; workflow instances move between stages through their actions. For the full list of CLI changes, see the [@sanity/cli changelog](https://github.com/sanity-io/cli/blob/main/packages/@sanity/cli/CHANGELOG.md).

## 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.

