Skip to content

Releases: sanity-io/sdk

sdk: v2.6.0

22 Jan 21:05
b3f11e5

Choose a tag to compare

2.6.0 (2026-01-22)

Features

  • logging: enhance createSanityInstance with logging capabilities (#707) (1af2df0)
  • logging: introduce logging configuration and infrastructure (#672) (925aed0)

Bug Fixes

  • deps: Update sanity monorepo to v5 (major) (#715) (204bae1)

sdk-react: v2.6.0

22 Jan 21:05
b3f11e5

Choose a tag to compare

2.6.0 (2026-01-22)

Features

  • add renderSanityApp helper (#704) (49f4cb2)
  • logging: enhance createSanityInstance with logging capabilities (#707) (1af2df0)

Bug Fixes

  • deps: Update sanity monorepo to v5 (major) (#715) (204bae1)

Documentation

  • enhance README with LiveEdit mode and multi-project access examples (#706) (233096b)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/sdk bumped to 2.6.0

sdk: v2.5.0

31 Dec 00:17
1f4e8cb

Choose a tag to compare

2.5.0 (2025-12-31)

Features

  • add useAgentResourceContext hook (#690) (ffe4e88)
  • implement liveEdit document handling (#678) (e3c8050)
  • make applyDocumentActions more similar to the rest (#630) (440ce84)
  • support using the same instance for different datasets (#632) (1e22eed)

sdk-react: v2.5.0

31 Dec 00:17
1f4e8cb

Choose a tag to compare

2.5.0 (2025-12-31)

Features

  • add useAgentResourceContext hook (#690) (ffe4e88)
  • make applyDocumentActions more similar to the rest (#630) (440ce84)
  • support using the same instance for different datasets (#632) (1e22eed)

Documentation

  • update README and package documentation with quickstart , examples, and package descriptions (#675) (93018bb)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/sdk bumped to 2.5.0

sdk: v2.4.0

16 Dec 16:05
f108f7f

Choose a tag to compare

2.4.0 (2025-12-15)

Features

  • add agent actions (#654) (cb70f89)
  • add canvas as a source for useQuery and useDispatchIntent (#665) (60de2d1)
  • document: add support for initial values in document creation actions (#676) (6329f69)
  • Introduce "source" concept (#626) (92340b9)

Bug Fixes

  • client: improve error handling for missing or invalid options in getClient and useClient (#677) (61eaf6b)
  • handle projectUserNotFoundErrors and display the error message (#651) (1668657)

sdk-react: v2.4.0

16 Dec 16:05
f108f7f

Choose a tag to compare

2.4.0 (2025-12-15)

Features

  • add agent actions (#654) (cb70f89)
  • add canvas as a source for useQuery and useDispatchIntent (#665) (60de2d1)
  • document: add support for initial values in document creation actions (#676) (6329f69)
  • react: create useDispatchIntent hook (#595) (3d5f45c)

Bug Fixes

  • client: improve error handling for missing or invalid options in getClient and useClient (#677) (61eaf6b)
  • handle projectUserNotFoundErrors and display the error message (#651) (1668657)
  • react: ensure useDocumentProjection reuses state source for all strings (#669) (474ff5d)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/sdk bumped to 2.4.0

sdk: v2.3.1

21 Oct 18:41
c4b6885

Choose a tag to compare

2.3.1 (2025-10-17)

Bug Fixes

  • auth race condition when using the SDK in the Studio structure (#646) (a5d0875)

sdk-react: v2.3.1

21 Oct 18:41
c4b6885

Choose a tag to compare

2.3.1 (2025-10-17)

Bug Fixes

  • auth race condition when using the SDK in the Studio structure (#646) (a5d0875)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/sdk bumped to 2.3.1

sdk: v2.3.0

15 Oct 20:32
8ed0524

Choose a tag to compare

2.3.0 (2025-10-15)

Features

  • present a link to add CORS Manage setting when a CORS error occurs (#625) (7610ec2)
  • upgrade groq-js with support for synchronous evaluation (#637) (60996a7)

Bug Fixes

  • auth: do not clear the entire hash during login, only a token value (#648) (5267e18)
  • core: change ValidProjection to string type (#627) (2079b36)
  • deps: update dependency @sanity/client to ^7.12.0 (#649) (eec856f)
  • styling for error messaging (#647) (3bf96f2)

sdk-react: v2.3.0

15 Oct 20:32
8ed0524

Choose a tag to compare

2.3.0 (2025-10-15)

Features

  • present a link to add CORS Manage setting when a CORS error occurs (#625) (7610ec2)
  • upgrade groq-js with support for synchronous evaluation (#637) (60996a7)

Bug Fixes

  • core: change ValidProjection to string type (#627) (2079b36)
  • deps: update dependency @sanity/client to ^7.12.0 (#649) (eec856f)
  • styling for error messaging (#647) (3bf96f2)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/sdk bumped to 2.3.0