Skip to content

@cloudflare/workflows-shared@0.12.0

Choose a tag to compare

@workers-devprod workers-devprod released this 09 Jul 14:09
774c09e

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.