Change8

@cloudflare/workflows-shared@0.10.0

📦 cloudflare-workersView on GitHub →
1 features🔧 1 symbols

Summary

Introduced a new feature allowing developers to restart local Workflows execution from a specified step, leveraging cached results from preceding steps for faster iteration.

Migration Steps

  1. When restarting a Workflow instance locally, use the new optional parameter in `WorkflowInstance.restart()` to specify the starting step: `{ from: { name: "step_name", count: 1 } }`.

✨ New Features

  • Added support for restarting local Workflows development from a specific step using the optional `{ from: { name, count?, type? } }` parameter in the `WorkflowInstance.restart()` method.

Affected Symbols