S
The @sanity/context package now works with both AI SDK v6 and v7. This fixes the build error (Export bindTelemetryIntegration doesn't exist in target module) when upgrading to ai@7.On v7, pass the integration via telemetry: {integrations: [...]} and drop isEnabled. Existing v6 setups using experimental_telemetry work unchanged.
S
ImprovementsWorkspace selection: Tools with a workspace name parameter now use smarter defaults. If only one workspace is available, it is used automatically when no workspace name is provided.FixesMCP client compatibility: Improved compatibility for asset upload responses and free-form document and asset inputs.
S
Organization administrators can now prevent non-SAML users in the SAML SSO settings in Manage. The setting appears once SAML SSO is enabled, and is available on Enterprise plans.When you turn on the setting, only a SAML identity from your organization can accept an invitation or request access. The setting is off by default.It does not remove existing non-SAML users. To enforce SAML for all members, you must also remove these users. See the guide for further details.Sanity does not merge…
S
ImprovementsStudio deployments: Update the Studio bundle used by MCP deployments to Sanity Studio 6.14.1.
S
FixesTool inputs: Accept JSON-stringified legacy resource objects in tool calls.create_documents tool: Accept JSON-stringified document arrays and content objects. Reject misplaced top-level fields instead of silently ignoring them.
S
This release adds folder descriptions and includes bug fixes for filter menus, asset deletion safeguards, and connection recovery.Folder descriptionsAdd a description when creating a folder or edit it later in the sidebar.Bug fixesFilter menus now render correctly on short screens and scroll when needed.Asset deletion is disabled when it’s usage check fails, with a tooltip explaining why.Media Library reconnects after network interruptions or expired authentication and refreshes cached content.
S
ImprovementsOAuth access: Explain when a connection cannot access a project in another Sanity organization and how to authorize access.Document permissions: Explain draft and published document access and how to update the role when a write is denied.Project access: Show the active Sanity account in authorization errors alongside recovery guidance.create_release tool: Clarify that publish type and date record intent only. Schedule, publish, archive, and delete releases in Sanity Studio or…
S
This release stops the Portable Text Editor from crashing on content the schema no longer covers, and marks unknown values so authors can see and resolve them. It also deprecates the createAuthStore helper in favor of the auth config key, and fixes restore to revision inside content releases, perspective handling for published and archived releases, and presence in the editor.Mark schema-less Portable Text values with a visible affordanceFixes a problem where a Portable Text Input could crash…
S
ImprovementsAsset uploads: Improved guidance with the exact Sanity CLI command, authentication requirements, and a clearer feedback path when an upload is blocked.Tool validation: Invalid fields are now identified more clearly.FixesProject access: Report a distinct error when Sanity cannot resolve the signed-in user as a project member. The error now names the project and unresolved user instead of looking like a missing permission.Studio links: Fixed links to externally hosted…
S
New FeaturesWorkflows: Add authoring guidance, definition validation, full definition reads, and deployment tools where Workflows is enabled. Agents can generate workflows from descriptions and deploy new versions while running instances retain their original definition.ImprovementsAsset uploads: Add batch status checks and smaller results for asset uploads. Generate requestKey automatically when omitted.Schema deployments: Register the uploaded schema version as the dataset's authoritative…
S
This release allows you to pause and edit scheduled drafts and fixes validation errors that were preventing document publishing.Pause to edit for scheduled draftsScheduled drafts now show a Pause to edit button on the locked-document banner, so you can unschedule and edit without hunting through the overflow menu.🐛 Notable bugfixes and improvementsFixes a regression from 6.13.2 where selecting an allowed item in an object array with options.list failed validation and blocked…
S
New Featuresdataset_assets_upload_from_url tool: Upload assets from public HTTPS URLs to datasets.media_assets_upload_from_url tool: Upload assets from public HTTPS URLs to Media Libraries.Fixescreate_version tool: Stop returning duplicate follow-up guidance as structured output. The guidance remains available in the standard tool response.
S
Fixes a data-loss bug in Portable Text fields. Upgrade from 6.9.2 through 6.14.0We have identified a bug shipped in v6.9.2 in the Portable Text Editor for Sanity Studio that could cause data-loss. We have deprecated v6.9.2 through v6.14.0 on npm. We strongly recommend you to upgrade your sanity dependency to v6.14.1, and bump or remove any @portabletext/editor dependency-overrides to v8.1.5:npm upgrade sanityThe bug fix that caused this bug to happenThe Studio’s array field handler (Portable…
S
Improvementspublish_documents tool: Now takes ids as an array of objects instead of an array of ID strings. Each entry accepts an optional ifRevisionId guard, which is passed to the Actions API as ifDraftRevisionId so publishing fails if the draft changed since the caller read it.Fixescreate_documents tool: Fixed success reports when document creation fails, preserved per-document results for partially completed calls, and limited publishing guidance to cases where drafts were…
S
This version is deprecated This version of Sanity Studio has a potential data-loss bug when working with Portable Text fields. The issue is resolved in 6.14.1. Upgrade with npm install sanity@latest, or see Upgrading Sanity Studio for the full upgrade steps. This release fixes several usability issues including reference search closing unexpectedly, popovers being cut off in dialogs, document restoration for published-only documents, and annotation popover positioning in text editing.🐛 Notable…
S
This release removes the experimental GROQ fork used for type generation. It now runs through a compatibility shim instead. No changes are needed in your SDK apps.
S
FixesAuthentication: Fixed authentication and token refresh failures when clients send distributed tracing context.
S
ImprovementsTool arguments: Clarified the required project and dataset arguments for MCP tools and how to discover them before making a call.query_documents tool: Reduced whitespace in responses to use fewer tokens.Fixesquery_documents tool: Apply the 64 KiB limit to the JSON query result, excluding API response metadata.
S
This version is deprecated This version of Sanity Studio has a potential data-loss bug when working with Portable Text fields. The issue is resolved in 6.14.1. Upgrade with npm install sanity@latest, or see Upgrading Sanity Studio for the full upgrade steps. This release fixes a couple of issues with reverting a content release, form validation, theming consistency, and slug uniqueness checks.🐛 Notable bugfixes and improvementsLoading spinners in global search and document lists no longer…
S
Fixesget_schema tool: Resolve the only deployed schema when workspaceName is omitted and no default workspace exists.Document reads: Allow reads of known document fields without first fetching a schema.search_docs and read_docs tools: Report documentation backend timeouts as temporary upstream issues worth retrying, instead of internal errors.Schema reads: Allow get_schema and document tools to read a deployed schema when its types can be parsed but the schema compiler rejects it.
S
This release adds Activity Log entries for signing key changes, alongside improvements to folder-scoped asset deletion and full-screen previews for private images.Signing key activity in the Activity LogMedia Library now records signing key creation and revocation in your organization’s Activity Log, including the person who initiated the change. This gives administrators a clear audit trail for keys used to generate authenticated asset URLs.Notable bug fixesDeleting assets from folders now…
S
Improvementsquery_documents tool: Return complete query results up to a 64 KiB response limit. Larger responses return guidance to select fewer fields or paginate.Removalsquery_documents tool: Removed the separate limit parameter. Use GROQ slices to limit results.
S
Fixesread_docs tool: Fixed rejection of valid sanity.io documentation links, such as sanity.io/changelog/... URLs.generate_image and transform_image tools: Fixed "no writable, visible fields" errors when the targeted image field is itself named asset, such as cover.asset on a custom object with asset and alt fields.Schema deployment: Allow deployment with schema-only permissions while continuing to support Studio deployment permissions.
S
This version is deprecated This version of Sanity Studio has a potential data-loss bug when working with Portable Text fields. The issue is resolved in 6.14.1. Upgrade with npm install sanity@latest, or see Upgrading Sanity Studio for the full upgrade steps. This release fixes a session management issue that could cause an unexpected studio crash, improves accessibility in several components, and eliminates unnecessary API requests for better performance.🐛 Notable bugfixes and…
S
This version is deprecated This version of Sanity Studio has a potential data-loss bug when working with Portable Text fields. The issue is resolved in 6.14.1. Upgrade with npm install sanity@latest, or see Upgrading Sanity Studio for the full upgrade steps. This release makes TypeGen query result types work across every copy of @sanity/client without workarounds, adds an opt-in keepPanesOnCreate option to the Structure tool, and reports styled-components details in Studio diagnostics. Headless…
S
Improvementswhoami tool: Include the active Sanity account in responses.query_documents tool: Removed an unused parameter.get_document tool: Validate provided document IDs.query_documents tool: Gracefully handle Content Lake query timeouts.Schema overviews: Improved guidance for retrieving exact field definitions.create_dataset tool: Validate provided dataset names.FixesContent Releases: Ensure document changes are saved to the intended release.search_docs tool: Fixed an error when no results…
S
@sanity/context 2.0 completes the move to the Context app in the Sanity Dashboard: Insights and configuration for new setups now live there. Existing Sanity Context documents remain editable in Studio, and conversations you've already recorded have been migrated to your organization's Context store.The Studio plugin is deprecatedThe plugin still registers the Sanity Context document type, so existing MCP context documents remain editable in Studio—now with a notice pointing at the migration…
S
SAML does not have a way to say that a claim holds exactly one value. Every claim arrives as a list of values. Sanity looks at how many values it receives and infers the type of the attribute: one value becomes a single value, and two or more values become a list. This means that a single-value attribute is a temporary state. It shows that no member has signed in with two values for that claim yet. It does not show that the claim can only hold one value.Before this change, a member who signed…
S
This release brings dataset visibility to asset usage and smoother video previews.Dataset column in asset usageThe usage table — both the "In use" dialog and the usage locations shown when you confirm a delete — now includes a Dataset column, so you can see which dataset each referencing document lives in without opening it. Two workspaces can point at the same asset from different datasets, and now you can tell them apart at a glance.Video previews start on the first frameVideo thumbnails now…
S
This version is deprecated This version of Sanity Studio has a potential data-loss bug when working with Portable Text fields. The issue is resolved in 6.14.1. Upgrade with npm install sanity@latest, or see Upgrading Sanity Studio for the full upgrade steps. This release improves collaborative editing stability, fixes multiple UI alignment and visibility issues across the Studio interface, and enhances the Presentation tool's preview navigation.Add componentProps to Translate…