releases.shpreview

Workflow termination now runs registered rollback handlers

@cloudflare/workflows-shared@0.12.0

1 featureThis release1 featureNew capabilitiesAI-tallied from the release notes

Minor Changes

  • #14465 2fedb1f Thanks @vaishnav-mk! - Add rollback support when terminating Workflow instances

    WorkflowInstance.terminate({ rollback: true }) now runs registered rollback handlers before marking a local Workflow instance as terminated. Wrangler also supports this via wrangler workflows instances terminate --rollback, including local mode.

    The rollback option is only sent for terminate operations and is rejected by the Local Explorer API for pause, resume, and restart actions.

Fetched July 9, 2026