Skip to content

Releases: sanity-io/sdk

sdk: v2.10.0

01 May 19:48
e9a9f83

Choose a tag to compare

2.10.0 (2026-05-01)

Features

  • handle chunk-load errors with automatic reload (#819) (5f95741)

Bug Fixes

  • deps: update dependency @sanity/client to ^7.22.0 (#818) (aefe0f1)
  • deps: update dependency @sanity/comlink to ^3.1.1 (#830) (fe30d56)
  • deps: update dependency @sanity/message-protocol to ^0.23.0 (#833) (a7f95a4)
  • deps: update dependency @sanity/telemetry to ^1.1.0 (#822) (168ae3e)
  • deps: update dependency zustand to ^5.0.12 (#832) (9b8c2de)

sdk-react: v2.10.0

01 May 19:48
e9a9f83

Choose a tag to compare

2.10.0 (2026-05-01)

Features

  • handle chunk-load errors with automatic reload (#819) (5f95741)
  • react: add SanityInstanceProvider for externally-created instances (#826) (9723413)

Bug Fixes

  • deps: update dependency @sanity/client to ^7.22.0 (#818) (aefe0f1)
  • deps: update dependency @sanity/message-protocol to ^0.23.0 (#833) (a7f95a4)
  • keep LoginError synchronous in standalone apps (#810) (9e88a08)
  • react: guard LoginError auto-logout against re-entry (#814) (07161d1)

Dependencies

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

sdk: v2.9.0

22 Apr 17:42
b529cd6

Choose a tag to compare

2.9.0 (2026-04-20)

Features

  • core: add dev-mode telemetry with consent-gated event tracking (#792) (26a61e7)
  • core: respect SANITY_STAGING global variable if present for apiHost (#793) (643eb2d)
  • document: update document store to accept sources (#730) (b7b727b)
  • preview: update preview to use perspective and source (#731) (9702f45)
  • releases: update releases store to use sources (#733) (3912987)

Bug Fixes

  • auth: handle Studio cookie auth when token source emits null (#743) (6323543)
  • core: correctly handle state changes during onSubscribe in createStateSourceAction (#643) (48ece2c)
  • core: initialize lastTokenRefresh for stamped tokens to prevent unnecessary refreshes (#759) (72ef247)
  • core: prevent cleanup timers from keeping Node.js process alive (#772) (c9e250e)
  • core: standardize request tags across all SDK API calls (#790) (#799) (07fd5cd)
  • core: use mutations endpoint for liveEdit documents (#794) (dfea5a5)
  • document: ensure document store works for version and source (#754) (#802) (a8db072)
  • test: remove default resource param from core (#777) (f4835fd)

sdk-react: v2.9.0

22 Apr 17:42
b529cd6

Choose a tag to compare

2.9.0 (2026-04-20)

Features

  • core: add dev-mode telemetry with consent-gated event tracking (#792) (26a61e7)
  • document: update document store to accept sources (#730) (b7b727b)
  • preview: update preview to use perspective and source (#731) (9702f45)
  • react: add useWindowTitle hook for browser tab title management (#781) (8757a16)
  • releases: update releases store to use sources (#733) (3912987)

Bug Fixes

  • auth: handle Studio cookie auth when token source emits null (#743) (6323543)
  • document: ensure document store works for version and source (#754) (#802) (a8db072)

Documentation

Dependencies

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

sdk: v2.8.0

20 Feb 15:28
cb9d7cc

Choose a tag to compare

2.8.0 (2026-02-19)

Miscellaneous

  • sdk: Synchronize sdk versions

sdk-react: v2.8.0

20 Feb 15:28
cb9d7cc

Choose a tag to compare

2.8.0 (2026-02-19)

Features

  • access: if a project user can't be found envoke dashboard request-access flow (#655) (d1eb7bc)

Dependencies

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

sdk: v2.7.0

12 Feb 23:57
14ab7c7

Choose a tag to compare

2.7.0 (2026-02-12)

Features

  • auth: add SDKStudioContext and workspace-based auth for zero-config Studio integration (#738) (ec89adc)
  • core: add action binder for source and perspective (#724) (53c193e)
  • projection: update projection store to use source and perspective (#723) (332f741)

Bug Fixes

  • auth: harden fallback auth with Array.isArray guards and cookie auth timeout (#739) (91175d7)
  • deps: update dependency @sanity/client (#717) (24fb157)
  • prevent sourceName from reaching sdk core (#720) (b8cf408)
  • query: use store key to determine client for live events (#721) (4d4e690)

Documentation

  • update SDK documentation for Studio integration (#741) (18d1adc)

sdk-react: v2.7.0

12 Feb 23:57
14ab7c7

Choose a tag to compare

2.7.0 (2026-02-12)

Features

  • auth: add SDKStudioContext and workspace-based auth for zero-config Studio integration (#738) (ec89adc)
  • projection: update projection store to use source and perspective (#723) (332f741)

Bug Fixes

  • correct useAgentPatch TSDoc examples to match PatchDocument API (#736) (c9905be)
  • deps: update dependency @sanity/client (#717) (24fb157)
  • prevent sourceName from reaching sdk core (#720) (b8cf408)

Documentation

  • provide examples to Agent Action hooks (#729) (ac7b348)
  • update SDK documentation for Studio integration (#741) (18d1adc)

Dependencies

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

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