mirror of
https://github.com/vercel/workflow.git
synced 2026-09-14 19:59:43 +08:00
f5aeaa869c
Co-authored-by: Peter Wielander <peter.wielander@vercel.com>
761 B
761 B
@workflow/swc-plugin, @workflow/builders, @workflow/cli, @workflow/next, @workflow/rollup, @workflow/nest
| @workflow/swc-plugin | @workflow/builders | @workflow/cli | @workflow/next | @workflow/rollup | @workflow/nest |
|---|---|---|---|---|---|
| major | patch | patch | patch | patch | patch |
BREAKING CHANGE: Remove client transform mode from SWC plugin. The client and step modes were nearly identical — both preserved step function bodies, replaced workflow bodies with throw stubs, and emitted the same JSON manifest. The only differences were the step registration mechanism (simple property assignment vs. IIFE) and whether DCE ran. Step mode now absorbs all client-mode behaviors: hoisted variable references for object property steps (so .stepId is accessible), and dead code elimination. All integrations that previously used mode: 'client' now use mode: 'step'.