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

@cloudflare/workflows-shared@0.5.0

$npx -y @buildinternet/releases show rel_8Lkxi_Jhpd0er8T2SlVmi

Minor Changes

  • #12622 bf9cb3d Thanks @LuisDuarte1! - Add configurable step limits for Workflows

    You can now set a maximum number of steps for a Workflow instance via the limits.steps configuration in your Wrangler config. When a Workflow instance exceeds this limit, it will fail with an error indicating the limit was reached.

    // wrangler.jsonc
    {
    	"workflows": [
    		{
    			"binding": "MY_WORKFLOW",
    			"name": "my-workflow",
    			"class_name": "MyWorkflow",
    			"limits": {
    				"steps": 5000,
    			},
    		},
    	],
    }
    

    The steps value must be an integer between 1 and 25,000. If not specified, the default limit of 10,000 steps is used. Step limits are also enforced in local development via wrangler dev.

Fetched March 26, 2026