S
This release adds beta comment hooks that read and write the same organization-level comments the Studio uses, and keeps OAuth sessions signed in by refreshing the access token before it expires. No code changes are needed. If your OAuth app reads the token from client.config().token, switch to await client.getAuth().Comments backed by the organization Comments API (beta)@sanity/sdk-react/collaboration exports comment hooks backed by the organization Comments API, the store the Studio reads.…
S
This release refines how the comment input sends, cancels and recovers from a failed post. Some of these change the behavior of @beta components.Behavior changesSend shortcut: CommentInput and the other comment inputs send on Cmd+Enter, or Ctrl+Enter outside Apple platforms. Enter starts a new paragraph and Shift+Enter a new line. Neither sends while the mention menu is open or while an input method is composing text.Cancel: CommentInput always shows Cancel beside the submit control. Cancel…
S
This release lets a comment belong to a whole document, groups comments from several documents in one list or panel, and replaces Sanity UI layout props with plain DOM attributes. It also renames the SDK components after their @sanity/collaboration/ui counterparts. Several of these changes break CommentsPanel and styling code written for 0.1.0.New featuresDocument-level comments: a thread can be on a document as a whole, not only on one of its fields, with fieldPath: ''. compose={{fieldPath:…
S
FixesOAuth discovery: Limit documentation redirects to browser navigations and requests for HTML or Markdown.
S
New FeaturesDocument mutations: Creates, patches, and publishes are now validated against an unambiguously identified deployed schema, blocking invalid mutations. If a schema cannot be selected, the mutation continues with a warning; projects without a deployed schema continue without a warning.ImprovementsTool selection: Prefer dedicated MCP tools over equivalent Sanity CLI commands when both are available.Live-edit documents: Create and patch document types with liveEdit enabled directly at…
S
This release moves version management to a document inspector for variants users, improves breadcrumb navigation and field interactions, fixes search functionality issues, and enhances overall stability with better loading states and error handling.Download the schema from the diagnostics dialogThe Studio diagnostics dialog can now download the workspace schema to share with Sanity support.Move version management to document inspectorFor Content Variants beta users, version management now lives…
S
New FeaturesMCP server discovery: Agents and crawlers can now discover the MCP server through its server card at /.well-known/mcp/server-card.json, a landing page at / in HTML or markdown, robots.txt and llms.txt. Opening the server URL in a browser now shows the landing page instead of redirecting to the docs.ImprovementsPerformance: MCP requests use less server CPU and respond faster under load.Tool metadata: Corrected safety annotations for deploy_schema, deploy_studio, update_dataset, and…
S
Version 3.10.0 adds two capabilities you can reach for in your own apps: looking up an application by its slug within an organization and sending project requests to an API host that doesn't use a project subdomain.Look up an application by its sluguseApplication and the application fetcher accept an application's id or its slug. A slug is only unique within an organization, so pass an organizationId alongside it. Results are cached per organization, so the same slug in two organizations…
S
New Featuresundeploy_schema tool: Remove an MCP-managed schema from a workspace.ImprovementsworkspaceName parameter: Now deprecated for schema selection. Existing calls remain supported during migration, with guidance to consolidate competing schemas and omit the parameter when possible.
S
ImprovementsMedia Library uploads: Clearer recovery guidance for rejected options, empty sources, redirect limits, and expiring sessions.FixesDocument validation: Fixed validation against deployed schemas so built-in checks, including slug structure and uniqueness, run correctly.patch_documents tool: Rejects patches that would change or remove a document's _type, which most often happens when an object value is set at the document root instead of under its field name. Nothing is written, and…
S
The first versioned release of @sanity/collaboration: React components for commenting on Sanity content, with threads, replies, mentions, reactions and inline comments on Portable Text. The package is in beta, so a breaking change ships in a minor version and is called out in the changelog. This release also settles the entry points and the component names used by the 0.0.0-canary builds.Entry points@sanity/collaboration: the comment data types and framework-free helpers (toPlainText,…
S
Improvementsdocuments_validate tool: Reports whether all applicable checks ran for each document and warns when validation is incomplete, independently of the findings.Fixesdocuments_validate tool: Skips custom callbacks unavailable in deployed schemas and warns that results cover built-in and declarative checks only. Validator exceptions are reported as tool errors.
S
New Featuresdocuments_validate tool: Now available to all users to check documents against their deployed schema. The tool is in beta and results may be incorrect; report issues using give_sanity_feedback.Improvementspatch_documents tool: Clarified which document revision to use with ifRevisionId and how to recover from a revision mismatch.
S
This release lets you switch workspaces without reloading the page, lets users request project access from studios opened in the Dashboard, and fixes bugs in array scrolling, document publishing and the Studio UI.Switch workspaces without reloading the pageSwitching workspaces from the workspace menu no longer reloads the page. Cmd-click, Ctrl-click or middle-click a workspace to open it in a new tab.Project access prompts in the DashboardOpening a studio in the Dashboard without access to its…
S
Organizations can now set spending alerts in Manage. A spending alert sends an email and a Sanity Dashboard notification when the estimated overage on your organization plan reaches an amount you choose. Alerts never stop usage.To add one, select your organization in Manage, then select Billing › Spending alerts. You can save up to 10 amounts in whole US dollars. An amount of $0 alerts you as soon as any resource goes over its included quota.Alerts go to the organization's administrators and…
S
Improvementsquery_documents tool: The description now states that results larger than 64 KiB are rejected, and suggests narrowing projections, using GROQ slices, or fetching in batches.read_docs tool: When a documentation path does not exist, the error now suggests using search_docs to find the correct path.FixesStudio links: Fixed links that open the wrong workspace. Links are omitted when the target workspace or URL cannot be determined safely. Breaking change dataset_assets_upload tool has…
S
You can now deliver recorded management activity from your Sanity organization and its projects to a Google Cloud Storage bucket you control. Activity Feed Export helps you retain activity history and ingest administrative events into your security and analysis tools.Automated management activity exportsConfigure a destination in your organization's Activity feed export settings in Manage. Sanity generates hourly exports of the previous complete hour, starting at five minutes past each hour in…
S
This release adds a provider middleware for lazy-loading components to improve initial load performance, fixes the navbar and UI elements from flashing or rendering incompletely on load, resolves issues with duplicate React contexts when multiple Studio instances run on the same page, and corrects various display bugs in arrays, lists, and document editing interfaces.Updates to the Components API (beta) and preload lazy default plugin componentsAdds studio.components.provider to the Components…
S
SDK hooks can now infer document, field, query, and projection types for each dataset your app reads, from types generated with typegen.resources in @sanity/cli 8.16.0. This release also explains the error users see when they sign in with an account that has no access to a project, and returns projectId and dataset as required from createDocumentHandle. Most apps need no code changes. Apps that store a created handle in state, a variable, or a context with an inferred type may need a type…
S
🐛 Notable bugfixes and improvementsSchema validation errors now name the workspace, project ID and dataset they came from, on the error screen, in the thrown error message, and in the copied error report.Fixes the misaligned release/draft icon in the navbar perspective pill and the document header version chips.View the full commit history for this release on GitHub.
S
New FeaturesMedia Library tools: Find assets, inspect their schemas and metadata, edit and organize documents, manage drafts, check where assets are used, and link assets to Content Lake datasets.media_library_upload_from_file tool: Upload local images, videos, and files up to 50 MiB to a Media Library, or add a new version to an existing asset.ImprovementsFailed tool results now include a stable error code in _meta["io.sanity/errorCode"], so clients can identify failures without parsing error…
S
New Featuresdataset_assets_upload_from_file tool: Upload local images and files to Content Lake datasets.dataset_assets_upload_from_web_chatgpt tool: Upload attachments and generated files directly from ChatGPT web to Content Lake datasets.Improvementsmedia_library_upload_from_url tool: Renamed from media_assets_upload_from_url. Breaking change The deprecated tool now returns guidance without uploading. Call media_library_upload_from_url with the same arguments instead.
S
@sanity/context now saves agent failures to your conversation transcripts, so they show up in Insights. Failed tool calls are saved with their error. On AI SDK v7, failed turns are saved too, along with the transcript up to the failure. AI SDK v6 has no hook for failed turns, so those aren't saved.Classification sees these errors as well, so a failed turn is no longer treated as an empty reply. No code changes are needed. See Add insights to Sanity Context.
S
ImprovementsProject permissions: Errors now identify the project and explain how to check the MCP connection’s account or API token, with a Sanity Manage link for reviewing membership and role permissions.
S
This release adds a list view for browsing assets, folders, and collections, adds sorting by modified date, and fixes issues with filter menus, signing key errors, and aspect previews.List view for assets, folders, and collections Gradual rollout List view is rolling out to organizations gradually. If you don't see the view toggle yet, it appears once list view is enabled for your organization. You can now switch between the existing grid and a compact list view when browsing the Media Library.…
S
ImprovementsTool input validation: Errors for unexpected keys now name the keys and list the keys the object accepts across tools with strict inputs. Examples include a stray schemaId on create_documents, or ifRevisionID instead of ifRevisionId on patch_documents or publish_documents, so calls can be corrected instead of guessed at.FixesMCP client compatibility: Workflow fields and patch insertion schemas now work with clients that require explicit value types.dataset_assets_upload_from_url and…
S
Until this release, the document store reverted local edits whenever saving them failed, whatever the cause. An expired session, a server error, or a dropped connection discarded what the user had typed, and editors that don't handle the reverted event, such as @portabletext/plugin-sdk-value, lost the text with no error. The store now keeps those edits and resubmits them until they save.The change is in @sanity/sdk and applies to @sanity/sdk-react apps as well. No code changes are needed.Which…
S
This release adds a beta singletons API and live document count badges in structure lists, and collapses long arrays in the form. It also improves tool state persistence when switching between tools, fixes the studio navbar on narrow layouts, and keeps URLs and draft content in Presentation previews.The first-class singletons API is now in betaIt’s always been possible to register singleton documents in Sanity Studio, but until now it’s necessitated tweaking various configuration options or…
S
SanityApp and ResourceProvider no longer dispose their Sanity instance when they unmount. The instance, and the stores it created, now live until the page reloads. This fixes SDK apps crashing when React <Activity> hides and shows them, since React runs the same cleanup for a hidden tree as for an unmounted one.If you relied on unmounting to clean up, for example between tests, create the instance yourself with the same config, render SanityApp inside <SanityInstanceProvider…
S
There was no changelog entry in August, so this entry covers two months of documentation updates. Highlights include a restructured Sanity Context section with new Knowledge Base and framework guides, upgrade guides for every Studio major version, new Functions and Presentation Tool guides, and new troubleshooting docs for Agent Actions, dataset backups, and account management.New and updated docsSanity Context and Knowledge Bases, restructuredThe Sanity Context docs are now organized around…