Sanity React App SDK v2.13.0: New React hook for release workflows and reliability improvements

The App SDK adds a new React hook for managing content releases and ships several fixes to document editing, permission handling, and data freshness. Together these improvements make release workflows easier to build and make document subscriptions more reliable.

Apply release actions with useApplyReleaseActions

The new useApplyReleaseActions hook lets you create, edit, schedule, unschedule, publish, archive, and delete content releases from your React app. It follows the same pattern as useApplyDocumentActions: call the hook to get an apply function, then pass it the release action you want to run.

import {useApplyReleaseActions} from '@sanity/sdk-react'

function PublishReleaseButton({releaseId}: { releaseId: string}) {
const applyReleaseActions = useApplyReleaseActions()
const publishRelease = () => applyReleaseActions({type: 'release.publish', releaseId})
return Publish release
}

🐛 Notable bugfixes and improvements

Projections now re-notify subscribers when an element re-enters the viewport, so you receive fresh data on re-entry.

Permission lookups no longer fail when they encounter unknown grants.

Documents that don't belong to a dataset can now be edited correctly.

Local access control list (ACL) evaluations now use the correct identity.

The document store now returns a warm listener when a subscription retries, avoiding an unnecessary cold reload.