Releases: sanity-io/sdk
Releases · sanity-io/sdk
sdk: v2.8.0
sdk-react: v2.8.0
sdk: v2.7.0
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
sdk-react: v2.7.0
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
- dependencies
sdk: v2.6.0
sdk-react: v2.6.0
sdk: v2.5.0
sdk-react: v2.5.0
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
- dependencies
sdk: v2.4.0
sdk-react: v2.4.0
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
- dependencies