Files
vercel__workflow/packages/builders/CHANGELOG.md
2026-07-22 09:56:48 -07:00

79 KiB

@workflow/builders

5.0.0-beta.36

Patch Changes

5.0.0-beta.35

Patch Changes

5.0.0-beta.34

Patch Changes

  • Updated dependencies [9242ddb]:
    • @workflow/core@5.0.0-beta.34
    • @workflow/world-vercel@5.0.0-beta.30

5.0.0-beta.33

Minor Changes

  • #2193 a4d8de0 Thanks @VaguelySerious! - Add opt-in WORKFLOW_SEQUENTIAL_REPLAYS env var (also enabled by the WORKFLOW_SAFE_MODE=1 umbrella flag when not set explicitly). When set to 1, flow (orchestrator) routes are limited to one invocation per run at a time via a per-run queue topic and maxConcurrency: 1 on the flow trigger. Step routes are unaffected.

Patch Changes

  • Updated dependencies [f2be954, 9da2d76, a4d8de0, c31e30c, 9da2d76]:
    • @workflow/world-vercel@5.0.0-beta.29
    • @workflow/core@5.0.0-beta.33
    • @workflow/errors@5.0.0-beta.10
    • @workflow/world-local@5.0.0-beta.28

5.0.0-beta.32

Patch Changes

  • Updated dependencies [4a43e39]:
    • @workflow/core@5.0.0-beta.32
    • @workflow/world-vercel@5.0.0-beta.28

5.0.0-beta.31

Patch Changes

  • Updated dependencies [7a1ea5a, 0b956f6]:
    • @workflow/world-local@5.0.0-beta.27
    • @workflow/core@5.0.0-beta.31
    • @workflow/errors@5.0.0-beta.10
    • @workflow/world-vercel@5.0.0-beta.27

5.0.0-beta.30

Patch Changes

  • #2853 df7e71d Thanks @NathanColosimo! - Use the Windows-safe generated-file writer for step registration output.

  • #1947 25b1509 Thanks @VaguelySerious! - Externalize the optional @opentelemetry/api peer in the Rollup/Vite framework builds (SvelteKit, Nitro, Nuxt, Astro, Vite) only when it isn't installed, so a build no longer fails with "failed to resolve import '@opentelemetry/api'". When the peer is present it is bundled/resolved as before, so tracing keeps working — including in self-contained outputs like Nitro's .output/server.

  • Updated dependencies [f28150c, 84df8f3, 4dce2ae, 145835b, 9958424, 6603628, 48fcc4e, 36c63af, 2c6ee61]:

    • @workflow/core@5.0.0-beta.30
    • @workflow/world-vercel@5.0.0-beta.26
    • @workflow/world-local@5.0.0-beta.26
    • @workflow/errors@5.0.0-beta.10

5.0.0-beta.29

Patch Changes

  • Updated dependencies [3f69666, 79a9813, 3f69666, 712ed61]:
    • @workflow/core@5.0.0-beta.29
    • @workflow/world-local@5.0.0-beta.25
    • @workflow/world-vercel@5.0.0-beta.25
    • @workflow/errors@5.0.0-beta.10

5.0.0-beta.28

Patch Changes

  • #2799 2ca34ac Thanks @NathanColosimo! - Fix SvelteKit production server crash at boot if a world package pulls cosmiconfig into the server bundle.

  • #2732 239031a Thanks @NathanColosimo! - Respect framework base paths when routing workflow traffic and expose health checks on generated Next.js workflow routes.

  • #2752 0f557d5 Thanks @ijjk! - Statically inject the configured world package into host bundles instead of selecting worlds dynamically at runtime.

  • #2468 49a50e8 Thanks @NathanColosimo! - Standardize first-party World packages on createWorld(), support relative target World modules consistently, and align the Postgres World DATABASE_URL fallback with bootstrap.

  • Updated dependencies [c1d29f1, c1d29f1, 7637196, 7637196, e7e5a0e, 239031a, e7e5a0e, 0f557d5, fe327e6, 49a50e8, 03862ed]:

    • @workflow/world-local@5.0.0-beta.24
    • @workflow/core@5.0.0-beta.28
    • @workflow/utils@5.0.0-beta.6
    • @workflow/world-vercel@5.0.0-beta.24
    • @workflow/errors@5.0.0-beta.10

5.0.0-beta.27

Patch Changes

  • #2725 532b0e1 Thanks @NathanColosimo! - Share framework project root detection across Astro, Next.js, and SvelteKit.

  • #2678 f6772d9 Thanks @ijjk! - Speed up Next.js workflow dev rebuilds, ignore commented imports during HMR discovery, and avoid Turbopack resolving custom-world dynamic imports.

  • #2702 7615d99 Thanks @NathanColosimo! - Fix workflow graph extraction when transformed step proxies include pure annotations.

  • Updated dependencies [5a23159, f6772d9, f6772d9, cc7f076]:

    • @workflow/core@5.0.0-beta.27
    • @workflow/utils@5.0.0-beta.5
    • @workflow/errors@5.0.0-beta.9

5.0.0-beta.26

Patch Changes

  • Updated dependencies [603ad97, 2477ad8]:
    • @workflow/core@5.0.0-beta.26

5.0.0-beta.25

Patch Changes

  • #2594 55e2110 Thanks @ijjk! - Fix fast workflow discovery for JS files imported through basenames like ./hello.step.

  • Updated dependencies [b180270, 1ea2b4e]:

    • @workflow/core@5.0.0-beta.25
    • @workflow/errors@5.0.0-beta.8

5.0.0-beta.24

Patch Changes

  • #2565 3fd4cc5 Thanks @ijjk! - Collapse default workflow build output to a single completion summary and move detailed progress logs behind DEBUG=workflow:build.

  • Updated dependencies [3fd4cc5]:

    • @workflow/core@5.0.0-beta.24

5.0.0-beta.23

Patch Changes

  • #2592 2bf5257 Thanks @karthikscale3! - Add OpenTelemetry spans, turbo tagging, and generated-route module timing around /flow initialization.

  • Updated dependencies [2bf5257]:

    • @workflow/core@5.0.0-beta.23

5.0.0-beta.22

Patch Changes

  • Updated dependencies [d108ba3]:
    • @workflow/core@5.0.0-beta.22
    • @workflow/errors@5.0.0-beta.8

5.0.0-beta.21

Patch Changes

  • #2546 5291f15 Thanks @ijjk! - Optimize eager workflow discovery and improve default eager build compatibility.

  • #2324 b713d84 Thanks @VaguelySerious! - Decode escaped workflowCode template literals before graph extraction so unicode-escape identifiers parse correctly.

  • #2545 57cccaf Thanks @ijjk! - Remove the Next.js lazy discovery/deferred builder path and the workflows.lazyDiscovery option.

    Fall back to direct generated-file overwrites on Windows when atomic rename is blocked by Next.js dev server file handles.

  • Updated dependencies [6de5ea5, 66ca0dc, 3e82a12]:

    • @workflow/core@5.0.0-beta.21

5.0.0-beta.20

Minor Changes

  • #2529 37312ed Thanks @pranaygp! - Default source maps to 'inline' in development and off in production builds (smaller function bundles); override with the sourcemap option or the WORKFLOW_SOURCEMAP environment variable in either environment.

Patch Changes

5.0.0-beta.19

Patch Changes

  • Updated dependencies []:
    • @workflow/core@5.0.0-beta.19

5.0.0-beta.18

Patch Changes

  • #2455 7440244 Thanks @TooTallNate! - Fix Next.js lazy discovery workflow IDs for monorepo workspace packages by resolving module specifiers relative to the app package instead of the tracing root.

  • Updated dependencies [5f0b845, 4b7a720, 3c79c56, 5f0b845, da37349, 53ede30]:

    • @workflow/core@5.0.0-beta.18
    • @workflow/swc-plugin@5.0.0-beta.5
    • @workflow/errors@5.0.0-beta.8

5.0.0-beta.17

Patch Changes

  • #2427 c48d27b Thanks @ijjk! - Add .swc to the builder's default gitignore handling.

  • Updated dependencies [926a5e7]:

    • @workflow/core@5.0.0-beta.17
    • @workflow/utils@5.0.0-beta.4
    • @workflow/errors@5.0.0-beta.8

5.0.0-beta.16

Patch Changes

  • #2395 011d482 Thanks @pranaygp! - Upgrade esbuild to ^0.28.1 to resolve GHSA-gv7w-rqvm-qjhr (missing binary integrity verification before executing downloaded binaries).

  • Updated dependencies [628795a]:

    • @workflow/core@5.0.0-beta.16
    • @workflow/errors@5.0.0-beta.7

5.0.0-beta.15

Patch Changes

5.0.0-beta.14

Minor Changes

  • #2305 4670c4b Thanks @willsather! - Add an optional namespace parameter that scopes queue topic prefixes to __{namespace}_wkf_workflow_*. This allows configuring multiple frameworks in the same deployment without queue topic collision.

Patch Changes

  • #2018 f5f6d0e Thanks @pranaygp! - Generate per-file IDs for non-exported workspace package files (previously they collapsed to name@version and silently overwrote each other at runtime) and fail the build when two transformed files emit the same step or workflow ID — collisions that used to register silently last-write-wins now surface as a build error.

  • Updated dependencies [bf44d4d, 4670c4b, eb976db, a813382]:

    • @workflow/core@5.0.0-beta.14
    • @workflow/errors@5.0.0-beta.7

5.0.0-beta.13

Patch Changes

5.0.0-beta.12

Patch Changes

  • Updated dependencies [52d63d1, 2a3b11b, 12c35b5]:
    • @workflow/core@5.0.0-beta.12
    • @workflow/errors@5.0.0-beta.7

5.0.0-beta.11

Patch Changes

  • Updated dependencies [1ee63b8, 8f68d35]:
    • @workflow/core@5.0.0-beta.11
    • @workflow/errors@5.0.0-beta.6

5.0.0-beta.10

Patch Changes

  • Updated dependencies [8d0928b]:
    • @workflow/errors@5.0.0-beta.6
    • @workflow/core@5.0.0-beta.10

5.0.0-beta.9

Patch Changes

5.0.0-beta.8

Patch Changes

  • #1683 0d0bb01 Thanks @pranaygp! - Write colocated .gitignore files for public workflow manifests generated by WORKFLOW_PUBLIC_MANIFEST=1

  • #1799 503a929 Thanks @TooTallNate! - Use inline sourcemaps for all workspace packages; published packages no longer ship external .js.map files.

  • Updated dependencies [1e6b1fd, 2050656, 1e6b1fd, 503a929]:

    • @workflow/core@5.0.0-beta.8
    • @workflow/errors@5.0.0-beta.5
    • @workflow/utils@5.0.0-beta.3

5.0.0-beta.7

Patch Changes

5.0.0-beta.6

Patch Changes

  • Updated dependencies [9d2a926]:
    • @workflow/core@5.0.0-beta.6
    • @workflow/errors@5.0.0-beta.3

5.0.0-beta.5

Minor Changes

  • #1842 6dd5c72 Thanks @VaguelySerious! - Add sourcemap option to builders for disabling or customising source map emission on generated workflow bundles. Accepts the same values as esbuild's sourcemap option: true, false, 'inline', 'linked', 'external', 'both'. Can also be set via the WORKFLOW_SOURCEMAP environment variable.

    Setting sourcemap: false drops inline source maps from the step, workflow and webhook bundles, and skips the source-map-support runtime shim on the Vercel step function — helpful for staying under the Vercel 250MB function size limit.

    Exposed per framework: nitro.options.workflow.sourcemap, NestBuilderOptions.sourcemap, withWorkflow({ workflows: { sourcemap } }), and the sourcemap option on workflowPlugin() for SvelteKit and Astro.

    Minor semantics change: when the sourcemap option (or WORKFLOW_SOURCEMAP) is set explicitly, it now applies to all generated bundles. Previously, the final workflow wrapper and webhook bundles could only be toggled via the legacy WORKFLOW_EMIT_SOURCEMAPS_FOR_DEBUGGING=1 env var, which continues to work but is narrower in scope.

Patch Changes

  • #1885 e0ec429 Thanks @TooTallNate! - Fix Package subpath ... is not defined by "exports" runtime errors when step files reach project-local helpers via tsconfig paths / esbuild aliases / self-referencing package names.

    Such helpers are now bundled inline rather than externalized as relative paths. Externalization was unsafe because the helper's source on disk could contain further alias imports, and Node's ESM loader at runtime doesn't know about build-time path mappings — leading to errors like Package subpath './lib/foo' is not defined by "exports" (or ERR_MODULE_NOT_FOUND) once the helper was loaded.

  • #1849 1203dae Thanks @pranaygp! - Friendlier workflow error messages. New SerializationError, WorkflowBuildError, and structured context-violation classes (e.g. NotInWorkflowContextError) with actionable hints and docs links applied to user-facing throw sites; FatalError.is() recognizes any error with fatal: true so context violations and serialization failures now fail fast instead of burning retry attempts. Runtime logs are namespaced under [workflow-sdk] and gain errorAttribution (user vs sdk) plus class-aware hints

  • #1747 00a011d Thanks @ijjk! - Fix eager Next.js workflow builds with lazy discovery disabled.

  • #1965 96e92c6 Thanks @ijjk! - Bundle transitive local step dependencies for direct Nitro dev loading while keeping ordinary package dependencies external unless they contain workflow entries.

  • #1821 7830169 Thanks @TooTallNate! - Fix false-positive workflow-node-module-error for step-only Node.js usage in shared modules

  • #1338 8ea1532 Thanks @VaguelySerious! - Merge flow and step routes into a single combined handler that executes steps inline when possible, reducing function invocations and queue overhead.

  • #1481 0c997ce Thanks @TooTallNate! - Auto-remove workflow-enabled packages from Next.js serverExternalPackages so they can be transformed, and retain a best-effort externalPackages warning fallback for non-Next builders.

  • Updated dependencies [aee5699, e7ea068, 540a2ef, 74b13cd, aee5699, 3535caf, 1203dae, 00a011d, 1d4f83a, 1203dae, 5f22832, aee5699, 9f3516e, d0e3f27, d0e3f27, d0e3f27, 8ea1532, 72911f7]:

    • @workflow/core@5.0.0-beta.5
    • @workflow/errors@5.0.0-beta.2
    • @workflow/utils@5.0.0-beta.2
    • @workflow/swc-plugin@5.0.0-beta.4

5.0.0-beta.4

Patch Changes

  • Updated dependencies []:
    • @workflow/core@5.0.0-beta.4

5.0.0-beta.3

Patch Changes

  • #1857 baba580 Thanks @ijjk! - Write Next.js workflow diagnostics manifests inside the Next.js dist directory and only use .vercel/output/diagnostics for the Vercel Build Output API builder.

  • #1686 417c493 Thanks @TooTallNate! - 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'.

  • Updated dependencies [7d07fab, 417c493, e295bae]:

    • @workflow/core@5.0.0-beta.3
    • @workflow/swc-plugin@5.0.0-beta.3

5.0.0-beta.2

Patch Changes

5.0.0-beta.1

Major Changes

  • #1662 89d242f Thanks @TooTallNate! - BREAKING CHANGE: Remove isWorkflowSdkFile path-based serde exclusion. Serde discovery now uses AST-level verification via SWC detect mode across all integration paths (esbuild plugin, Next.js deferred builder, Next.js loader). This allows class definitions with serde symbols in SDK packages like @workflow/core to be discovered and bundled correctly.

Patch Changes

  • #1669 dc0c0dc Thanks @TooTallNate! - Fix step bundle discovery and externalization for SDK serde classes

    • Broaden importParents tracking to all imports (not just file extensions) so parentHasChild() works through bare specifier imports
    • Include workflow/runtime in discovery inputs so SDK serde classes like Run are always discovered
    • Bundle node_modules deps instead of externalizing with broken relative paths
  • #1562 e436242 Thanks @VaguelySerious! - Switch Vercel Build Output API and standalone builder output from CJS to ESM. Step bundles, workflow bundles, and webhook bundles now emit ESM format by default, preserving native import.meta.url support and eliminating the need for CJS polyfills. Fully-bundled ESM output includes a createRequire banner to support CJS dependencies that use require() for Node.js builtins. The intermediate workflow bundle (which runs inside vm.runInContext) remains CJS as required by the VM execution model.

  • #1670 32a17b4 Thanks @TooTallNate! - Fix lazy discovery bare specifier resolution in copied step files

    • Use enhanced-resolve with ESM conditions to resolve bare specifiers from the original source file's location
    • Only rewrite specifiers that can't resolve from the app directory (transitive SDK deps)
    • Add enhanced-resolve to pnpm catalog and use catalog: in both packages
  • Updated dependencies [d040182, 66d49c0, ec517fa, a5c90ce, ea97bd6, 0a86de3, 71d39d2, 873b4e2, 66585fd, 0a86de3, 66d49c0, ebb0a4a, 9513a81]:

    • @workflow/swc-plugin@5.0.0-beta.1
    • @workflow/core@5.0.0-beta.1
    • @workflow/errors@5.0.0-beta.0

5.0.0-beta.0

Major Changes

Patch Changes

  • #1641 35b539b Thanks @TooTallNate! - Add detect mode to SWC plugin and use it during discovery to filter false positive directive detections

  • #1644 372abba Thanks @TooTallNate! - Fix Node.js builtin imports being relativized in step bundles

  • Updated dependencies [35b539b, bab8cdd, c5cdfc0]:

    • @workflow/swc-plugin@5.0.0-beta.0
    • @workflow/core@5.0.0-beta.0
    • @workflow/errors@5.0.0-beta.0
    • @workflow/utils@5.0.0-beta.0

4.0.1-beta.69

Patch Changes

4.0.1-beta.68

Patch Changes

  • #1554 d1330cf Thanks @pranaygp! - Fix node-module-error plugin pointing at multi-line comments instead of code usage

  • #1598 443a9e6 Thanks @TooTallNate! - Override "sideEffects": false from package.json for discovered workflow/step/serde entries so esbuild does not drop their bare imports from the virtual entry

  • Updated dependencies [d8aaf27, 5d22e61, 047c01b, 7c996a7]:

    • @workflow/core@4.2.0-beta.77
    • @workflow/swc-plugin@4.1.0-beta.22
    • @workflow/errors@4.1.0-beta.20

4.0.1-beta.67

Patch Changes

  • Updated dependencies []:
    • @workflow/core@4.2.0-beta.76

4.0.1-beta.66

Patch Changes

  • #1567 6dc1b78 Thanks @VaguelySerious! - Increase flow route limit to max fluid duration and fail run if a single replay takes too long

  • Updated dependencies [a98f8de, d38114b, 6dc1b78]:

    • @workflow/core@4.2.0-beta.75
    • @workflow/errors@4.1.0-beta.20

4.0.1-beta.65

Patch Changes

  • #1560 a3b7c48 Thanks @VaguelySerious! - Only rewrite .ts extensions to .js in externalized step imports when targeting Node's native ESM loader (vitest), preserving original extensions for framework bundlers (Next.js, SvelteKit, etc.)

  • #1509 d119c74 Thanks @VaguelySerious! - Fix import.meta.url being undefined when using CJS builds

  • Updated dependencies [62ff600, 4f646e3]:

    • @workflow/core@4.2.0-beta.74

4.0.1-beta.64

Patch Changes

4.0.1-beta.63

Patch Changes

  • #1344 beccbc4 Thanks @pranaygp! - Remove VQS maxDeliveries cap and enforce max delivery limit in workflow/step handlers with graceful failure

  • #1468 5010ebe Thanks @ijjk! - Fix deferred Next.js discovery bootstrap and improve workflow alias path resolution for app/pages/workflows sources.

  • #1455 6cce021 Thanks @ijjk! - catch node builtin usage when entry fields diverge

  • #1461 977b7e9 Thanks @AndrewBarba! - Add optional projectRoot to builder config to allow explicit resolution of workflow module specifiers without relying on process.cwd(). Threads the root through discovery, SWC transforms, and the Next.js deferred builder while preserving existing behavior when omitted.

  • Updated dependencies [73a851a, 84599b7, 2ef33d2, 672d919, beccbc4, 77fd9ad, 78f1b0e, da6adf7, aee035f, 992d768, 01bbe66, 2b07294]:

    • @workflow/errors@4.1.0-beta.19
    • @workflow/core@4.2.0-beta.72
    • @workflow/swc-plugin@4.1.0-beta.21

4.0.1-beta.62

Patch Changes

4.0.1-beta.61

Patch Changes

  • Updated dependencies [7df1385, 58e67ce]:
    • @workflow/core@4.2.0-beta.70

4.0.1-beta.60

Patch Changes

  • #1312 d72c822 Thanks @NathanColosimo! - Fix bug where the SWC compiler bug prunes step-only imports in the client-mode transformation

  • Updated dependencies [825417a, fb5a500, d72c822]:

    • @workflow/core@4.2.0-beta.69
    • @workflow/swc-plugin@4.1.0-beta.19
    • @workflow/errors@4.1.0-beta.18

4.0.1-beta.59

Patch Changes

  • Updated dependencies [83dbd46, 854a25f]:
    • @workflow/core@4.2.0-beta.68

4.0.1-beta.58

Patch Changes

  • Updated dependencies [c71befe, 36a901d]:
    • @workflow/core@4.2.0-beta.67
    • @workflow/errors@4.1.0-beta.18

4.0.1-beta.57

Patch Changes

  • Updated dependencies [8b5a388, dff00c9]:
    • @workflow/core@4.2.0-beta.66

4.0.1-beta.56

Patch Changes

  • Updated dependencies []:
    • @workflow/core@4.2.0-beta.65
    • @workflow/errors@4.1.0-beta.18

4.0.1-beta.55

Patch Changes

4.0.1-beta.54

Patch Changes

  • #1228 809339b Thanks @TooTallNate! - Enable directive discovery in dot-prefixed files and directories (e.g. .config/step.ts, .hidden-workflow.ts)

  • #1230 a9fea91 Thanks @ijjk! - Fix deferred build mode for Next.js

  • Updated dependencies [4ab4412, a9fea91]:

    • @workflow/core@4.1.0-beta.63

4.0.1-beta.53

Patch Changes

4.0.1-beta.52

Patch Changes

  • Updated dependencies [f5ea16f, 70223a9, d99ca9c]:
    • @workflow/core@4.1.0-beta.61
    • @workflow/errors@4.1.0-beta.16

4.0.1-beta.51

Patch Changes

  • Updated dependencies [c1cd9a3]:
    • @workflow/core@4.1.0-beta.60

4.0.1-beta.50

Patch Changes

  • Updated dependencies [c75de97, b65bb07]:
    • @workflow/core@4.1.0-beta.59
    • @workflow/errors@4.1.0-beta.16

4.0.1-beta.49

Patch Changes

4.0.1-beta.48

Patch Changes

  • Updated dependencies []:
    • @workflow/core@4.1.0-beta.57

4.0.1-beta.47

Patch Changes

4.0.1-beta.46

Patch Changes

  • #998 3d770d5 Thanks @ijjk! - Expose workflows manifest under diagnostics folder

  • #976 a5935ab Thanks @ijjk! - Add lazy workflow/step discovery via deferredEntries in next

  • #908 1adcc6a Thanks @TooTallNate! - Fix discovery of serde classes to detect [WORKFLOW_SERIALIZE] and [WORKFLOW_DESERIALIZE] computed property usage in bundled code

  • Updated dependencies [3d770d5, 054e40c, a5935ab, fc4cad6, 56f2221]:

    • @workflow/utils@4.1.0-beta.12
    • @workflow/core@4.1.0-beta.55
    • @workflow/swc-plugin@4.1.0-beta.18
    • @workflow/errors@4.1.0-beta.15

4.0.1-beta.45

Patch Changes

4.0.1-beta.44

Patch Changes

4.0.1-beta.43

Patch Changes

  • #911 f40532a Thanks @karthikscale3! - Fix workflow bundle to inline pseudo-packages instead of marking them external

  • Updated dependencies [e4e3281]:

    • @workflow/core@4.1.0-beta.52

4.0.1-beta.42

Patch Changes

4.0.1-beta.41

Patch Changes

  • Updated dependencies [5ba82ec]:
    • @workflow/core@4.0.1-beta.41

4.0.1-beta.40

Patch Changes

  • Updated dependencies [1843704, f93e894]:
    • @workflow/swc-plugin@4.0.1-beta.14
    • @workflow/core@4.0.1-beta.40

4.0.1-beta.39

Patch Changes

  • Updated dependencies [344c90f, b729d49]:
    • @workflow/core@4.0.1-beta.39

4.0.1-beta.38

Patch Changes

  • Updated dependencies [7906429, 7906429, a2fc53a]:
    • @workflow/swc-plugin@4.0.1-beta.13
    • @workflow/core@4.0.1-beta.38

4.0.1-beta.37

Patch Changes

4.0.1-beta.36

Patch Changes

  • Updated dependencies []:
    • @workflow/core@4.0.1-beta.36
    • @workflow/errors@4.0.1-beta.13

4.0.1-beta.35

Patch Changes

  • #720 4d6f797 Thanks @pranaygp! - Enable source maps for step bundles to preserve original file paths in error stack traces

  • #731 505063c Thanks @TooTallNate! - Special-case "server-only" and "client-only" packages as external

  • Updated dependencies [4d6f797]:

    • @workflow/core@4.0.1-beta.35

4.0.1-beta.34

Patch Changes

4.0.1-beta.33

Patch Changes

4.0.1-beta.32

Patch Changes

  • Updated dependencies []:
    • @workflow/core@4.0.1-beta.33

4.0.1-beta.31

Patch Changes

  • #455 e3f0390 Thanks @karthikscale3! - Added Control Flow Graph extraction from Workflows and extended manifest.json's schema to incorporate the graph structure into it. Refactored manifest generation to pass manifest as a parameter instead of using instance state. Add e2e tests for manifest validation across all builders.

  • Updated dependencies [e3f0390]:

    • @workflow/core@4.0.1-beta.32
    • @workflow/errors@4.0.1-beta.12

4.0.1-beta.30

Patch Changes

  • #640 ea3afce Thanks @ijjk! - Add lazy workflow and step discovery in Next.js

  • Updated dependencies [25b02b0]:

    • @workflow/core@4.0.1-beta.31
    • @workflow/errors@4.0.1-beta.11

4.0.1-beta.29

Patch Changes

  • Updated dependencies []:
    • @workflow/core@4.0.1-beta.30

4.0.1-beta.28

Patch Changes

  • Updated dependencies [eaf9aa6]:
    • @workflow/core@4.0.1-beta.29

4.0.1-beta.27

Patch Changes

  • Updated dependencies [ea2a67e, 712f6f8, 4bdd3e5]:
    • @workflow/core@4.0.1-beta.28
    • @workflow/errors@4.0.1-beta.10

4.0.1-beta.26

Patch Changes

  • Updated dependencies [deaf019, b56aae3, 4d7a393]:
    • @workflow/core@4.0.1-beta.27
    • @workflow/errors@4.0.1-beta.9

4.0.1-beta.25

Patch Changes

  • Updated dependencies [696e7e3]:
    • @workflow/core@4.0.1-beta.26
    • @workflow/errors@4.0.1-beta.8

4.0.1-beta.24

Patch Changes

4.0.1-beta.23

Patch Changes

  • fc774e5: Fix esbuild node module plugin to show top level violation and preview file

  • 21cff15: Add support for .mjs, .mts, .cjs, and .cts file extensions in the SWC transform

    • Updated turbopack rules to include *.mjs, *.mts, *.cjs, *.cts in addition to existing extensions
    • Fixed TypeScript detection for .mts and .cts files across all transform plugins
    • Updated esbuild resolveExtensions to include .mts and .cts
    • Updated the file watcher's watchableExtensions to include .cts
  • 43f2dec: Improved workflow registration in workflow mode

    • SWC plugin now emits globalThis.__private_workflows.set(workflowId, fn) directly after setting workflowId
    • Non-exported workflow functions are now properly registered and can be invoked
    • Removed runtime iteration over exports in the workflow bundle - registration happens at transform time
    • Simplified virtual entry generation in base-builder
  • Updated dependencies [fa37d26]

  • Updated dependencies [f46c51e]

  • Updated dependencies [af5b005]

  • Updated dependencies [43f2dec]

    • @workflow/swc-plugin@4.0.1-beta.12
    • @workflow/core@4.0.1-beta.24
    • @workflow/errors@4.0.1-beta.7

4.0.1-beta.22

Patch Changes

  • @workflow/core@4.0.1-beta.23

4.0.1-beta.21

Patch Changes

  • ac7997b: Update to latest swc/core and preserve JSX
  • Updated dependencies [ac7997b]
  • Updated dependencies [02c41cc]
    • @workflow/swc-plugin@4.0.1-beta.11
    • @workflow/core@4.0.1-beta.22

4.0.1-beta.20

Patch Changes

  • Updated dependencies [2f0840b]
  • Updated dependencies [555d7a6]
    • @workflow/core@4.0.1-beta.21
    • @workflow/swc-plugin@4.0.1-beta.10

4.0.1-beta.19

Patch Changes

  • d53bf90: Fix StandaloneBuilder to scan all directories for workflows
  • 3c19e90: Fix Nitro and SvelteKit build race conditions and make writing debug file atomic
  • 1ac5592: Add @workflow/astro package
  • Updated dependencies [0f1645b]
  • Updated dependencies [5b91861]
  • Updated dependencies [bdde1bd]
  • Updated dependencies [0cacb99]
  • Updated dependencies [8d4562e]
    • @workflow/core@4.0.1-beta.20
    • @workflow/swc-plugin@4.0.1-beta.9
    • @workflow/errors@4.0.1-beta.7

4.0.1-beta.18

Patch Changes

  • b042ba7: Externalize bun from step bundles
  • Updated dependencies [07800c2]
  • Updated dependencies [fb9fd0f]
  • Updated dependencies [8b470f0]
    • @workflow/core@4.0.1-beta.19
    • @workflow/swc-plugin@4.0.1-beta.8
    • @workflow/errors@4.0.1-beta.6

4.0.1-beta.17

Patch Changes

  • @workflow/core@4.0.1-beta.18

4.0.1-beta.16

Patch Changes

  • @workflow/core@4.0.1-beta.17
  • @workflow/errors@4.0.1-beta.6

4.0.1-beta.15

Patch Changes

  • 73b6c68: Remove suppressUndefinedRejection from BaseBuilder
  • Updated dependencies [3436629]
  • Updated dependencies [9961140]
  • Updated dependencies [73b6c68]
    • @workflow/core@4.0.1-beta.16

4.0.1-beta.14

Patch Changes

  • Updated dependencies [e5c5236]
    • @workflow/swc-plugin@4.0.1-beta.7

4.0.1-beta.13

Patch Changes

  • Updated dependencies [3d99d6d]
    • @workflow/core@4.0.1-beta.15

4.0.1-beta.12

Patch Changes

  • Updated dependencies [6e41c90]
    • @workflow/core@4.0.1-beta.14

4.0.1-beta.11

Patch Changes

  • Updated dependencies [2fde24e]
  • Updated dependencies [4b70739]
    • @workflow/core@4.0.1-beta.13
    • @workflow/errors@4.0.1-beta.5

4.0.1-beta.10

Patch Changes

  • 8e96134: Add .svelte-kit to ignored paths
  • b97b6bf: Lock all dependencies in our packages
  • Updated dependencies [5eb588a]
  • Updated dependencies [00b0bb9]
  • Updated dependencies [0b848cd]
  • Updated dependencies [85ce8e0]
  • Updated dependencies [b97b6bf]
  • Updated dependencies [45b7b41]
  • Updated dependencies [00b0bb9]
  • Updated dependencies [f8e5d10]
  • Updated dependencies [6be03f3]
  • Updated dependencies [8002e0f]
  • Updated dependencies [f07b2da]
  • Updated dependencies [aecdcdf]
    • @workflow/swc-plugin@4.0.1-beta.6
    • @workflow/core@4.0.1-beta.12
    • @workflow/errors@4.0.1-beta.5

4.0.1-beta.9

Patch Changes

  • 8208b53: Fix sourcemap error tracing in workflows
  • Updated dependencies [8208b53]
  • Updated dependencies [4f9ae4e]
  • Updated dependencies [aac1b6c]
  • Updated dependencies [6373ab5]
    • @workflow/core@4.0.1-beta.11
    • @workflow/swc-plugin@4.0.1-beta.5

4.0.1-beta.8

Patch Changes

  • Updated dependencies [7013f29]
  • Updated dependencies [a28bc37]
  • Updated dependencies [e0c6618]
  • Updated dependencies [809e0fe]
  • Updated dependencies [adf0cfe]
  • Updated dependencies [5c0268b]
  • Updated dependencies [0b3e89e]
  • Updated dependencies [7a47eb8]
    • @workflow/core@4.0.1-beta.10
    • @workflow/swc-plugin@4.0.1-beta.4
    • @workflow/errors@4.0.1-beta.4

4.0.1-beta.7

Patch Changes

  • Updated dependencies [9f56434]
    • @workflow/core@4.0.1-beta.9

4.0.1-beta.6

Patch Changes

  • c2fa9df: Fix node module esbuild plugin file regex filter

4.0.1-beta.5

Patch Changes

  • 4a821fc: Fix Windows path handling by normalizing backslashes to forward slashes in workflow IDs
  • Updated dependencies [4a821fc]
  • Updated dependencies [4a821fc]
    • @workflow/swc-plugin@4.0.1-beta.3
    • @workflow/core@4.0.1-beta.8

4.0.1-beta.4

Patch Changes

  • 80d68b7: Add comprehensive documentation to BaseBuilder
  • 744d82f: Add type safety for builder configurations with discriminated unions
  • ebee7f5: Consolidate builder configuration patterns
  • 652485a: Create @workflow/builders package with shared builder infrastructure
  • 4585222: Deduplicate package.json and .vc-config.json generation
  • 10bfd4a: Extract path resolution and directory creation helpers
  • 5dfa4eb: Extract queue trigger configuration constants
  • 05714f7: Add sveltekit workflow integration
  • f8c779e: Improve error handling in bundle creation methods
  • bf54a7b: Standardize method naming conventions
  • Updated dependencies [05714f7]
    • @workflow/core@4.0.1-beta.7