releases.shpreview
Cloudflare/Workers SDK/@cloudflare/workflows-shared@0.7.0

@cloudflare/workflows-shared@0.7.0

$npx -y @buildinternet/releases show rel_GpqAyXhWcp0ISPzjs21Q0

Minor Changes

  • #12881 8729f3d Thanks @pombosilva! - Workflow instances now support pause, resume, restart, and terminate in local dev.

    const instance = await env.MY_WORKFLOW.create({
      id: "my-instance",
    });
    
    await instance.pause(); // pauses after the current step completes
    await instance.resume(); // resumes from where it left off
    await instance.restart(); // restarts the workflow from the beginning
    await instance.terminate(); // terminates the workflow immediately

Fetched March 26, 2026