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 and includeMembers parameters have been added to the useProjects 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 correct SanityInstance.

Related documentation