Enhancements to the useProjects hook and resolved paper cuts.
Published: September 5, 2025
v2.2.0
Sanity React App SDK
This release focuses on fixing small "paper cuts" that made the SDK development and release process less wonderful. It also adds an OrganizationId filter to the useProjects hook and the ability to include members for the Projects.
Features
- projects: The
organizationIdandincludeMembersparameters have been added to theuseProjectshook.
Bug Fixes
- Adds perspective to cache key to avoid collisions.
- An error message is now displayed when
ResourceProvideris missing. - The
includeMembersoption is now properly typed. - Fixes an issue where
documentHandlewouldn't always find the correctSanityInstance.