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
organizationId
andincludeMembers
parameters have been added to theuseProjects
hook.
Bug Fixes
- Adds perspective to cache key to avoid collisions.
- An error message is now displayed when
ResourceProvider
is missing. - The
includeMembers
option is now properly typed. - Fixes an issue where
documentHandle
wouldn't always find the correctSanityInstance
.