Releases Index
Sanity

Sanity

sanity.ioDeveloper Tools
$npx @buildinternet/releases get sanity
Recently Shipped44 releases · updated Nov 24, 2026

Recently shipped Context Knowledge Bases v1.0.0 and image components for Next.js, Astro, and SvelteKit that apply studio crop and hotspot. Context Knowledge Bases are generally available. You can open Context in the Sanity Dashboard and create one, or follow the quick start; they organize dataset, website, and file material into topic entries that agents retrieve over the Model Context Protocol (MCP). The same Context now powers the docs site's "Ask agent" search. Every framework integration can now render image fields straight from a GROQ query, so crop and hotspot set in the studio apply without a urlFor helper or hard-coded dimensions.

  • next-sanity 13.5 takes your query's image object; the component is still in alpha.
  • @sanity/astro 4.1 adds <SanityImage> through astro:assets and needs Astro 5 or later.
  • @sanity/sveltekit 3.1 adds a Svelte 5 <Image> from @sanity/sveltekit/image.

@sanity/image-url 2.2 accepts every image shape TypeGen generates, so typed query results go into builder.image() without casts.

Sanity Context v3.0.0 removed its Studio plugin, so installing @sanity/context for Insights no longer pulls Studio into your app and works in React 18. Saved transcripts now keep only user text, assistant text, and tool calls, dropping the provider metadata AI SDK v7 was writing into assistant messages. Context needs @sanity/client 8.15 or later; with that client, 3.0.0 conversations weren't saved and classification failed, and 3.0.1 fixes it. Upgrade both together, and if you still use the Studio plugin, stay on @sanity/context@^2.

MCP endpoints now carry workspace, perspective, and semantic search as settings on the dataset source, so every agent that connects gets the same behavior. Endpoint URLs on v2026-11-03 serve that configuration only and reject inline parameters like groqFilter or perspective with a 400; existing v1 URLs keep working unchanged, parameters included. Agents can also read API request, document, AI, and other usage through usage_snapshot_get and usage_history_get, and documents_validate now explains why a document came back incomplete.

Sanity Studio v6.24.0 makes the singletons API stable and opens fewer real-time connections when many documents are open. Studio v6.23.0 shows video thumbnail previews in document lists and array items, matching image fields, and opens a versions popover when you hover a document in a list or search result. Users can find documents by website path.

Projects that validate documents outside the studio need to re-run validation after upgrading to Studio v6.24.0. Required fields, slug uniqueness, and rules marked .error() used to report as warnings; they now report as errors, so a sanity documents validate check that passed before can fail. Workflows 0.39 splits into four packages and needs every project to act: run npx @sanity/workflows-cli codemod packages to rewrite imports and rename ten UI exports. Workflows 0.38, if you haven't deployed it yet, requires regenerating and deploying both runtime stacks.

Comments in @sanity/collaboration 0.5.0 separate data from UI: @sanity/collaboration/sdk exports only SDKCommentsProvider, and the panel and Portable Text editor come from @sanity/collaboration/ui. Apps importing the SDK panel or wrapper fail to build until they move. The React App SDK 3.15.0 requires the open document's _type in application context, and applications now render icons as image URLs.

Media Library PDF previews now pan by dragging and zoom by pinch or Ctrl/⌘-scroll, capped between 20% and 1000%, and pages render in tiles so memory use depends on your screen rather than the zoom level. A Content Lake fix makes insert patches with an after property and a JSONMatch expression that matches several disjoint array elements land immediately after the last matched element, across all API versions.

Robot tokens get IP allowlists; expiresAt now optional on PUT

This release1 featureNew capabilities1 enhancementImprovements to existing featuresAI-tallied from the release notes

The Access API robots endpoints now accept and return a networkPolicy IP allowlist per robot token, and requests from any other address are refused. PUT on a robot no longer requires expiresAt, so callers can send expiresAt, networkPolicy, or both.

Read more ↗

Robot tokens constrained to IP allowlists; leaked tokens useless off-network

This release2 featuresNew capabilitiesAI-tallied from the release notes

Enterprise organizations can restrict a robot token to chosen IP addresses so requests from any other address are refused, available from the Tokens page in Manage or the Access API. Allowlist changes are recorded in the activity log, restricted tokens only work with api.sanity.io rather than the API CDN, and tokens used by Sanity Functions cannot have an allowlist.

Read more ↗

Dashboard hooks change shape; cached data refreshes on tab focus

This release2 featuresNew capabilities4 enhancementsImprovements to existing features1 fixBug fixesAI-tallied from the release notes
Sanity Changelog · v3.16.0

Dashboard view hooks and types, currently in beta, return a new shape, so apps using them need code changes when they upgrade. The SDK now refetches cached data older than 30 seconds when someone returns to the tab, available by default in beta and disableable with refetchOnWindowFocus: false, and useCurrentUser can return the signed-in user's attributes when auth.includeUserAttributes is true.

Read more ↗

MCP server can now edit content release metadata

This release1 featureNew capabilities1 enhancementImprovements to existing featuresAI-tallied from the release notes
Sanity Changelog · v2.47.0

A new releases_metadata_patch tool updates a content release's title, description, intendedPublishAt, and custom sanity.releaseMetadata fields. The list_releases tool now shows custom metadata fields when listing releases.

Read more ↗

Studio now falls back to fetch when listeners fail; OAuth hardened

This release14 featuresNew capabilities4 enhancementsImprovements to existing features20 fixesBug fixesAI-tallied from the release notes
Sanity Studio · v6.25.0

Sanity Studio now falls back to fetch when data store and document ID set listeners fail, showing a connection error dialog for non-transient failures, and relinquishes listeners when the app is backgrounded. The release also fixes OAuth sign-in, including dropping expired refresh token pairs and keeping the listener alive through reconnects, and adds a sanity/i18n entry point.

Read more ↗

Diagnostics show listener counts; sanity/i18n entry point added

This release2 featuresNew capabilities4 enhancementsImprovements to existing features8 fixesBug fixesAI-tallied from the release notes
Sanity Changelog · v6.25.0

Studio diagnostics now report open and peak listener counts per tab, and plugins can import localization APIs from a new sanity/i18n entry point that matches the next major version. Studio also recovers from failed real-time connections by retrying with backoff, signing out now covers every workspace, and the sanity workflows set-stage CLI command is removed.

Read more ↗

Projects and orgs get logos in Manage

This release2 featuresNew capabilitiesAI-tallied from the release notes

Projects and organizations in Manage can now have a logo, shown throughout Manage and in Dashboard. Where no logo is set, projects fall back to their Studio favicon or initials and organizations show initials.

Read more ↗

Hydrogen 2026.10 support; query and fetch default to noStale

This release1 featureNew capabilities3 enhancementsImprovements to existing featuresAI-tallied from the release notes

hydrogren-sanity 8.0.0 adds support for Hydrogen 2026.10, but ships breaking changes: query and fetch now default to cacheMode noStale, and cache keys now include method, project, dataset, API version, perspective, and stega setting. In Presentation, refreshDefault skips revalidation for mutations while a Query component or useQuery hook is mounted and revalidates otherwise.

Read more ↗

App context now needs document type; panels set own mode

This release1 featureNew capabilities2 enhancementsImprovements to existing features2 fixesBug fixesAI-tallied from the release notes
Sanity Changelog · v3.15.0

Apps passing a document to useApplicationContext must now include its _type, and useAgentResourceContext takes a new documentType option that federated apps must pass alongside documentId. Application icons are now image URLs instead of SVG markup, while usePanel gains setMode to switch a panel between aside and full.

Read more ↗

Scheduled publish for draft variants; legacy key-value store restored

This release9 featuresNew capabilities6 enhancementsImprovements to existing features35 fixesBug fixesAI-tallied from the release notes
Sanity Studio · v6.24.0

Draft variants can now be scheduled for publish, Studio preferences read and write through the App SDK, and v2 federated asset sources load. The legacy key-value store is restored with its exports deprecated, and validator rule levels are kept when the unknown-fields check is added.

Read more ↗

Image component renders Sanity image fields; Node 20 support dropped

This release2 featuresNew capabilities4 enhancementsImprovements to existing featuresAI-tallied from the release notes

A new Image component in @sanity/sveltekit/image renders an image field from a GROQ query through the Sanity Image CDN with a responsive srcset, applying studio crop and hotspot without a urlFor helper. The @sanity/visual-editing v6 update requires Node.js 22.12 or later, so Node.js 20 builds must upgrade Node when upgrading the package.

Read more ↗

SanityImage renders CDN images via astro:assets

This release4 featuresNew capabilities3 enhancementsImprovements to existing featuresAI-tallied from the release notes

A new SanityImage component renders image fields from GROQ queries through the Sanity Image CDN via astro:assets, applying the studio crop and hotspot without a urlFor helper or hard-coded dimensions, and inferring missing width or height from the crop or asset metadata. The opt-in image service requires Astro 5 or later, handles only Sanity CDN URLs, and adds blur placeholders from LQIP plus a queryParams prop for transformation parameters.

Read more ↗

External validation now reports errors; singletons API stable

This release2 featuresNew capabilities8 enhancementsImprovements to existing features15 fixesBug fixesAI-tallied from the release notes
Sanity Changelog · v6.24.0

Validation outside the studio via validateDocument or sanity documents validate now reports required fields, slug uniqueness, and .error() rules as errors instead of warnings, so runs that passed before can fail. The first-class singletons API is stable with a new allowNonSingletonDocuments option, and Comments and Tasks now share a single real-time connection.

Read more ↗

SDK panel and Portable Text wrapper removed from /sdk

This release4 enhancementsImprovements to existing featuresAI-tallied from the release notes

The SDK package now exports only SDKCommentsProvider, and the panel and Portable Text editor come from @sanity/collaboration/ui, so imports of SDKCommentsPanel, SDKPortableTextComments and useSDKThreadCallbacks fail to build. A failed create is reported to onError and the composer clears, and failed replies are reported to onError.

Read more ↗

Image takes image objects; Server Component loaders must move to client

This release4 featuresNew capabilities3 enhancementsImprovements to existing features3 fixesBug fixesAI-tallied from the release notes
Sanity Changelog · v13.5.0

The Image component from next-sanity/image now accepts the image field from a GROQ query as src, building the CDN URL and applying the studio crop and hotspot without urlFor or hard-coded dimensions. Server Components that pass imageLoader to next/image now fail the build until marked 'use client' or switched to Image.

Read more ↗

ESM-only build; Visual Editing works without React

This release3 featuresNew capabilities3 enhancementsImprovements to existing features1 fixBug fixesAI-tallied from the release notes

@sanity/astro 4.0.0 drops the UMD bundle, the module export condition, and the published src/ directory, so code importing those files must switch to the package entry points. Visual Editing overlays no longer require @astrojs/react, and the release adds an experimental in-place preview refresh and experimental loaders for Astro live collections.

Read more ↗

Typed query results; beta preference hooks added

This release5 featuresNew capabilities3 enhancementsImprovements to existing features7 fixesBug fixesAI-tallied from the release notes
Sanity Changelog · v3.13.0

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

Read more ↗

SAML logins now set profile pictures from IdP

This release1 featureNew capabilitiesAI-tallied from the release notes

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.

Read more ↗

Workflows split into four packages; start roles added

This release3 featuresNew capabilities2 enhancementsImprovements to existing features4 fixesBug fixesAI-tallied from the release notes
Sanity Changelog · v0.39.0

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.

Read more ↗