Lotu Radar About

wrangler@4.142.0

cloudflare/workers-sdk Releases Developers & Open Source Score 7/10

Summary

Minor Changes #15856 4c2993b Thanks @Naapperas ! - Support Workflows declared in exports on ctx.exports in local development A Workflow declared in a Worker's exports is now available on ctx.exports in wrangler dev , the Vite plugin and the Vitest plugin, with the same API as a Workflow binding: const instance = await ctx . exports . MyWorkflow . create ( { params : { name : "World" } , } ) ; ctx.exports and workflows bindings with the same Workflow name share their instances, including instances created before the Workflow was declared in exports . Two Workers can't export the same Workflow name, and a binding to an exported Workflow must refer to the Worker and class that export it. getPlatformProxy() ignores Workflows declared in exports , since it doesn't run the Worker's code. wrangler workflows commands run with --local also work with Workflows declared only in exports , without a workflows binding. In the Vitest plugin, introspectWorkflow() and introspectWorkflowInstance() still need a Workflow binding, and now explain how to add one when passed a Workflow from ctx.exports . Instances created through ctx.exports are introspected too. A workflows binding whose script_name is the Worker's own name now resolves to the Worker itself again. Patch Changes #15891 8dc53ae Thanks @dependabot ! - Update dependencies of "miniflare", "wrangler" The following dependency versions have been updated: Dependency From To @cloudflare/workers-types ^5.20260925.1 ^5.20260926.1 workerd 1.20260925.1 1.20260926.1 Updated dependencies [ 8dc53ae , 4c2993b ]: miniflare@5.20260926.0-alpha

CloudflareDeveloper ToolsOpen Source

Lotu Radar provides attributed news summaries and links to the original publisher. Full reporting and copyright remain with the source.