Sanity logosanity.ioAll Systems Operational© Sanity 2026
Change Site Theme
Sanity logo

Documentation

    • Overview
    • Platform introduction
    • Next.js quickstart
    • Nuxt.js quickstart
    • Astro quickstart
    • React Router quickstart
    • Studio quickstart
    • Build with AI
    • Content Lake
    • Functions
    • APIs and SDKs
    • Agent Actions
    • Visual Editing
    • Blueprints
    • Platform management
    • Dashboard
    • Studio
    • Canvas
    • Media Library
    • App SDK
    • Content Agent
    • HTTP API
    • CLI
    • Libraries
    • Specifications
    • Changelog
    • User guides
    • Developer guides
    • Courses and certifications
    • Join the community
    • Templates

Changelog

Track new features, improvements, and fixes across all Sanity products.

Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

Changelog

Track new features, improvements, and fixes across all Sanity products.

Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

On this page

Filter by product

Filter by product

Apps
  • 6
  • 1
  • 18
  • 1
  • 6
  • 7
  • 6
  • 14
  • 3
  • 310
  • 2
  • 1
Integrations & Libraries
  • 15
  • 6
  • 2
  • 4
  • 2
  • 2
  • 9
  • 1
  • 1
  • 1
  • 6
  • 9
  • 4
  • 1
  • 3
Subscribe to the changelog
  • RSS (Latest)
  • RSS (Full)
  • JSON Feed (Latest)
  • JSON Feed (Full)
  1. Changelog
  2. Integrations & Libraries
  3. Sanity React App SDK

Support for initial values in document creation and new agent capabilities

Published: December 16, 2025

v2.4.0

This release introduces deeper integration with intents, more flexible data sources for queries, and refinements for document workflows. It also includes several fixes that improve error messaging and stability when working with client and projection APIs.

✨ Highlights

Intent-driven document creation with initial values

  • Document creation intents, like the CreateDocumentAction, now support initial values, making it easier to pre-fill fields when users create new documents via intent flows.

Better intent workflows in React

  • The new useDispatchIntent hook lets you dispatch intents like create, edit, and delete directly from React components. This simplifies triggering content actions in response to UI events and pairs naturally with useQuery.
  • useQuery and useDispatchIntent now support Canvas as a data source, enabling you to query and dispatch intents against Canvas-backed data.

New agent action support

  • Introduced support for Agent Actions in the SDK. This lays the foundation for richer automated workflows and interactions driven by agents from within React applications. See useAgentGenerate, useAgentPrompt, useAgentPatch, useAgentTransform, and useAgentTranslate for details.

🐛 Notable fixes and improvements

  • Improved error handling to give clearer feedback when getClient or useClient are called with missing or invalid options.
  • Better messaging for projectUserNotFound errors.
  • Fixed state reuse in useDocumentProjection for string projections, improving consistency and performance.

Related documentation

  • App SDK introduction

Loading...

On this page

  • ✨ Highlights
  • Intent-driven document creation with initial values
  • Better intent workflows in React
  • New agent action support
  • 🐛 Notable fixes and improvements

Related documentation

  • App SDK introduction

Previous Changelog

Sanity MCP Server GA: remote server, schema deployment, and new tools

December 11, 2025

MCP server

Next Changelog

Enhanced document actions and liveEdit document support

December 31, 2025

Sanity React App SDK