Projects can now be pinned from the project page, project cards, the sidebar, or the project menus. Pins are saved to your account and follow you across devices and organizations.
Sanity Changelog
npx @buildinternet/releases get sanity-changelogBase query and resolveQuery now infer result and parameter types from queries imported through @sanity-labs/groq-content-mapper, an experimental feature requiring TypeScript 7.1 or later. New beta hooks read and update per-user, per-project, and shared preferences from a fixed set of keys Sanity owns. useApplications and useInstallations gain pagination through loadMore and hasMore, and getUsersState, resolveUsers, and loadMoreUsers will be removed in the next major release.
Sanity's SAML SSO accepts an optional picture attribute mapped in your identity provider to an HTTPS URL, which Sanity uses as the user's profile picture and updates on every login. A missing valid picture value removes the profile picture, and an invalid value does not block the login.
Workflows now ships as four packages replacing the @sanity/workflow-* set, and a codemod rewrites imports and renames UI exports. Definitions can limit who may start a fresh instance with start: {roles: [...]}, and deploy now rejects condition and field reads that always return null.
Document writes no longer skip validation when a legacy copy of the schema exists alongside the Studio-deployed or MCP-managed schema for the same workspace.
Failed media_library_* calls now return a stable error code in _meta["io.sanity/errorCode"], including each failed item in bulk calls. The run_sanity_cli tool can manage Context knowledge bases again with sanity context commands, and documents_validate now explains why a document has complete: false.
Project and organization Tokens pages show a Last used timestamp for each robot token, also returned as lastSeenAt from the Access API robots endpoints and sanity tokens list --json, covering use since October 10, 2026. Last active in the member list now counts activity from any client, including the API, not only Sanity Studio.
Insert patches with an after property now land immediately after the last matched element when a JSONMatch expression matches multiple disjoint array elements, instead of dropping the first match and duplicating the last. The fix applies to all API versions, including v1 and date-formatted versions.
PDF previews now support drag-to-pan, pinch-to-zoom, and Ctrl or Cmd scroll zoom between 20% and 1000%, with zoomed pages rendered in tiles so deep zoom on iOS Safari no longer crashes the tab. Folder item counts load only for visible rows and batch concurrent requests, cutting counting of 15 visible folders in a million-asset library from roughly 430 ms to 60 ms.
@sanity/sveltekit 3.0.0 splits its single entry point into subpath exports, so most imports move to new paths such as /query, /preview, and /studio. Query-only pages in Vite dev no longer pull in React and Sanity Studio, and sanity is now an optional peer dependency you install yourself to embed Studio.
Video fields now show thumbnail previews in document lists and array items, and hovering a document in lists, reference inputs, or search results opens a read-only popover of its versions. Studio search now finds documents by id when the query is a URL or path with a matching segment, and Vision imports pasted cURL commands and handles queries too long for a URL via JSON body.
Context Knowledge Bases are out of beta and generally available. A Knowledge Base organizes selected material from Sanity datasets, websites, and files into topic entries that agents can retrieve over the Model Context Protocol.
Instance commits return without waiting for the query index, cutting fireAction in async-committing workflows from about 3 to 4 seconds down to about 1 second. The generated runtime now deploys in two stacks, with document functions on a project-scoped stack and the heartbeat on its own organization stack, and unresolved condition references now fail at load.
Sanity Context now calls client.context.request instead of the client.context.conversations methods that @sanity/client 8.15.0 removed, restoring conversation saving and classification. The package now requires @sanity/client 8.15 or later.
@sanity/context no longer ships the Studio plugin, so installing it for Insights no longer adds Studio to your app and it works in React 18 projects. Saved transcripts now contain only user text, assistant text, and tool calls instead of also storing provider metadata as JSON on AI SDK v7.
New usage_snapshot_get and usage_history_get tools read API request, document, AI, and other usage for projects, organizations, and Media Libraries. Schema field and type edits now preserve validation settings on untouched fields, and the list_workspace_schemas tool is deprecated in favor of get_schema.
Document links now open the document immediately instead of waiting for the Structure Tool to resolve its place in a slow custom structure. Validation no longer reports references between documents in the same release as unpublished, and new sanity context mcp commands manage Context MCP endpoints.
Workspace, perspective, and semantic search are now settings on an MCP endpoint's dataset source, so every connected agent gets the same behavior. Endpoint URLs now use v2026-11-03, which serves the endpoint's configuration only and rejects query parameters such as groqFilter or perspective with a 400, while v1 URLs keep working as before.
The docs site's AI assistant is now powered by Sanity Context and Knowledge Bases, with an "Ask about this page" option on any article and search queries that can be sent to the agent. The month's docs also add guides for dataset environments, upgrading @sanity/client from v3 through v8, diagnosing API request spikes, and a new spending alerts page.
The npm README now links to the public Sanity changelog and no longer links into the private repository. This is a documentation-only release; the code is identical to 0.4.0.


