Skip to content

Commit 9575634

Browse files
Version Packages (beta)
1 parent f20c706 commit 9575634

51 files changed

Lines changed: 510 additions & 28 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/pre.json

Lines changed: 45 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,67 +46,109 @@
4646
"workflow-sdk-compiler-playground": "4.0.0",
4747
"@workflow/example-nitro": "4.0.0",
4848
"@workflow/vitest": "4.0.0",
49-
"@workflow/vitest-workbench": "4.0.0"
49+
"@workflow/vitest-workbench": "4.0.0",
50+
"tarballs": "0.0.0",
51+
"@workflow/example-tanstack-start": "0.0.0"
5052
},
5153
"changesets": [
5254
"afraid-bananas-peel",
5355
"allow-sync-step-functions",
5456
"ast-directive-validation",
57+
"better-pets-reply",
5558
"bright-discovery-talk",
5659
"bright-pears-drum",
5760
"builders-discovery-fixes",
58-
"clean-lights-boil",
61+
"bundle-aliased-project-local-helpers",
62+
"clever-wombats-drop",
5963
"cold-lands-boil",
6064
"cool-cups-greet",
6165
"curvy-dingos-cry",
66+
"dirty-bees-notice",
67+
"drain-pending-queue-on-completion",
68+
"e2e-wait-for-hook",
69+
"enable-tanstack-start-vercel-e2e",
70+
"error-subclass-serialization",
71+
"errors-no-chalk",
6272
"esm-builders",
73+
"fatal-retryable-error-serialization",
6374
"features-encryption-metadata",
6475
"few-cups-share",
6576
"fine-coins-cheat",
6677
"fix-builtin-externalize",
6778
"fix-ci-command-injection",
6879
"fix-community-world-specversion",
6980
"fix-discovery-weakmap-cache",
81+
"fix-dom-exception-serialization",
7082
"fix-health-check-correlation-id",
7183
"fix-hook-loop-unconsumed-event",
7284
"fix-malformed-tool-call-input",
7385
"fix-next-esm-compat",
7486
"fix-next-version-resolution",
7587
"fix-provider-tool-identity",
88+
"fix-step-vs-wait-race",
7689
"fix-stream-get-runid",
90+
"fix-tarballs-build",
7791
"fix-tools-to-model-tools",
7892
"fix-vite-step-source-maps-e2e",
93+
"fix-world-local-step-created-race",
94+
"fix-world-postgres-events-uniqueness",
95+
"fix-world-vercel-request-timeout",
96+
"fix-world-zod-44-compat",
97+
"friendlier-errors",
98+
"fuzzy-mugs-learn",
7999
"getter-step-support",
80100
"green-streams-decode",
81101
"inline-step-registration",
82102
"large-regions-talk",
83103
"lazy-discovery-bare-specifiers",
84104
"lucky-windows-smash",
85105
"many-peas-jog",
106+
"moody-rivers-play",
86107
"neat-runs-serialize",
87108
"next-diagnostics-dist",
88109
"ninety-dancers-brush",
89110
"nitro-forward-externals",
90111
"no-eval-in-revive",
112+
"node-module-error-cross-file-dce",
91113
"o11y-run-ref-rendering",
92114
"old-towns-make",
115+
"pr-comment-stale-banner-via-path",
116+
"preserve-imports-used-by-hoisted-steps",
93117
"preserve-step-fn-names",
118+
"pretty-log-format",
94119
"private-member-dce",
95120
"remove-client-mode",
96121
"remove-private-subpath",
97122
"remove-sdk-serde-exclusion",
98123
"remove-step-file-copy",
99124
"rename-domain-urls",
125+
"rich-toes-live",
126+
"run-step-error-hydration",
127+
"serializable-abort-controller",
128+
"serialization-refactor",
100129
"skip-community-worlds-main",
101130
"slow-bottles-pull",
131+
"sourcemap-config-option",
132+
"split-tarballs-from-docs",
102133
"start-in-workflow",
134+
"step-bind-preserves-metadata",
103135
"step-run-required",
136+
"swc-arguments-not-closure",
137+
"swc-lexical-this-capture",
138+
"swift-cobras-repair",
104139
"sync-step-followup",
140+
"tanstack-start-workbench",
105141
"tired-spiders-rhyme",
106142
"trace-viewer-polish",
143+
"v2-combined-bundle",
107144
"vast-oranges-fail",
145+
"warn-external-workflow-packages",
146+
"web-shared-error-family-revivers",
147+
"web-vercel-preset",
108148
"workflow-function-serialization",
109149
"world-local-path-traversal",
110-
"world-vercel-protection-bypass"
150+
"world-local-run-failed-not-found",
151+
"world-vercel-protection-bypass",
152+
"world-vercel-trusted-sources"
111153
]
112154
}

packages/ai/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @workflow/ai
22

3+
## 5.0.0-beta.4
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`aee5699`](https://github.com/vercel/workflow/commit/aee56993c777e6fc8d40af8d90ec3d4fbd86cdfe), [`8ea1532`](https://github.com/vercel/workflow/commit/8ea1532e48ed86ef9a66231e474851bed85c737a)]:
8+
- workflow@5.0.0-beta.5
9+
310
## 5.0.0-beta.3
411

512
### Patch Changes

packages/ai/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@workflow/ai",
3-
"version": "5.0.0-beta.3",
3+
"version": "5.0.0-beta.4",
44
"description": "Workflow SDK compatible helper library for the AI SDK",
55
"type": "module",
66
"main": "dist/index.js",

packages/astro/CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# @workflow/astro
22

3+
## 5.0.0-beta.5
4+
5+
### Minor Changes
6+
7+
- [#1842](https://github.com/vercel/workflow/pull/1842) [`6dd5c72`](https://github.com/vercel/workflow/commit/6dd5c72d8acd1377670da1b4a24abd6f3bea2f61) Thanks [@VaguelySerious](https://github.com/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.
8+
9+
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.
10+
11+
Exposed per framework: `nitro.options.workflow.sourcemap`, `NestBuilderOptions.sourcemap`, `withWorkflow({ workflows: { sourcemap } })`, and the `sourcemap` option on `workflowPlugin()` for SvelteKit and Astro.
12+
13+
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.
14+
15+
### Patch Changes
16+
17+
- [#1338](https://github.com/vercel/workflow/pull/1338) [`8ea1532`](https://github.com/vercel/workflow/commit/8ea1532e48ed86ef9a66231e474851bed85c737a) Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Merge flow and step routes into a single combined handler that executes steps inline when possible, reducing function invocations and queue overhead.
18+
19+
- Updated dependencies [[`e0ec429`](https://github.com/vercel/workflow/commit/e0ec429bb3baa4b3cb96373149a78dd514ebfe18), [`1203dae`](https://github.com/vercel/workflow/commit/1203dae70c802eef114909e9476e19ec528550cd), [`00a011d`](https://github.com/vercel/workflow/commit/00a011dee43b3ba7c399a97b9ed072cf4ce66816), [`7830169`](https://github.com/vercel/workflow/commit/78301695eae3641ec4235d2066eba48f7448c5be), [`1d4f83a`](https://github.com/vercel/workflow/commit/1d4f83a29acc974fd4bbafe7a6ff64f8936219de), [`6dd5c72`](https://github.com/vercel/workflow/commit/6dd5c72d8acd1377670da1b4a24abd6f3bea2f61), [`d0e3f27`](https://github.com/vercel/workflow/commit/d0e3f2722b744472a90e48062e3876040e21de82), [`d0e3f27`](https://github.com/vercel/workflow/commit/d0e3f2722b744472a90e48062e3876040e21de82), [`8ea1532`](https://github.com/vercel/workflow/commit/8ea1532e48ed86ef9a66231e474851bed85c737a), [`0c997ce`](https://github.com/vercel/workflow/commit/0c997ce571c9fb5d728d460d773040c1354d401e)]:
20+
- @workflow/builders@5.0.0-beta.5
21+
- @workflow/swc-plugin@5.0.0-beta.4
22+
- @workflow/rollup@5.0.0-beta.5
23+
- @workflow/vite@5.0.0-beta.5
24+
325
## 5.0.0-beta.4
426

527
### Patch Changes

packages/astro/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@workflow/astro",
3-
"version": "5.0.0-beta.4",
3+
"version": "5.0.0-beta.5",
44
"description": "Astro integration for Workflow SDK",
55
"type": "module",
66
"main": "dist/index.js",

packages/builders/CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,39 @@
11
# @workflow/builders
22

3+
## 5.0.0-beta.5
4+
5+
### Minor Changes
6+
7+
- [#1842](https://github.com/vercel/workflow/pull/1842) [`6dd5c72`](https://github.com/vercel/workflow/commit/6dd5c72d8acd1377670da1b4a24abd6f3bea2f61) Thanks [@VaguelySerious](https://github.com/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.
8+
9+
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.
10+
11+
Exposed per framework: `nitro.options.workflow.sourcemap`, `NestBuilderOptions.sourcemap`, `withWorkflow({ workflows: { sourcemap } })`, and the `sourcemap` option on `workflowPlugin()` for SvelteKit and Astro.
12+
13+
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.
14+
15+
### Patch Changes
16+
17+
- [#1885](https://github.com/vercel/workflow/pull/1885) [`e0ec429`](https://github.com/vercel/workflow/commit/e0ec429bb3baa4b3cb96373149a78dd514ebfe18) Thanks [@TooTallNate](https://github.com/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.
18+
19+
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.
20+
21+
- [#1849](https://github.com/vercel/workflow/pull/1849) [`1203dae`](https://github.com/vercel/workflow/commit/1203dae70c802eef114909e9476e19ec528550cd) Thanks [@pranaygp](https://github.com/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
22+
23+
- [#1747](https://github.com/vercel/workflow/pull/1747) [`00a011d`](https://github.com/vercel/workflow/commit/00a011dee43b3ba7c399a97b9ed072cf4ce66816) Thanks [@ijjk](https://github.com/ijjk)! - Fix eager Next.js workflow builds with lazy discovery disabled.
24+
25+
- [#1821](https://github.com/vercel/workflow/pull/1821) [`7830169`](https://github.com/vercel/workflow/commit/78301695eae3641ec4235d2066eba48f7448c5be) Thanks [@TooTallNate](https://github.com/TooTallNate)! - Fix false-positive `workflow-node-module-error` for step-only Node.js usage in shared modules
26+
27+
- [#1338](https://github.com/vercel/workflow/pull/1338) [`8ea1532`](https://github.com/vercel/workflow/commit/8ea1532e48ed86ef9a66231e474851bed85c737a) Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Merge flow and step routes into a single combined handler that executes steps inline when possible, reducing function invocations and queue overhead.
28+
29+
- [#1481](https://github.com/vercel/workflow/pull/1481) [`0c997ce`](https://github.com/vercel/workflow/commit/0c997ce571c9fb5d728d460d773040c1354d401e) Thanks [@TooTallNate](https://github.com/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.
30+
31+
- Updated dependencies [[`aee5699`](https://github.com/vercel/workflow/commit/aee56993c777e6fc8d40af8d90ec3d4fbd86cdfe), [`e7ea068`](https://github.com/vercel/workflow/commit/e7ea0684f44b3743dbc56543ea103786ab7144bc), [`540a2ef`](https://github.com/vercel/workflow/commit/540a2efb99c137b0d60c7368376e9533ea662a4c), [`74b13cd`](https://github.com/vercel/workflow/commit/74b13cd3ed3412d4e99af55587c69dc458fa5400), [`aee5699`](https://github.com/vercel/workflow/commit/aee56993c777e6fc8d40af8d90ec3d4fbd86cdfe), [`3535caf`](https://github.com/vercel/workflow/commit/3535caf44924cf9561e8b768c418fe1eb37d96cf), [`1203dae`](https://github.com/vercel/workflow/commit/1203dae70c802eef114909e9476e19ec528550cd), [`00a011d`](https://github.com/vercel/workflow/commit/00a011dee43b3ba7c399a97b9ed072cf4ce66816), [`1d4f83a`](https://github.com/vercel/workflow/commit/1d4f83a29acc974fd4bbafe7a6ff64f8936219de), [`1203dae`](https://github.com/vercel/workflow/commit/1203dae70c802eef114909e9476e19ec528550cd), [`5f22832`](https://github.com/vercel/workflow/commit/5f228326757f7da349edfed89845bd109c98f104), [`aee5699`](https://github.com/vercel/workflow/commit/aee56993c777e6fc8d40af8d90ec3d4fbd86cdfe), [`9f3516e`](https://github.com/vercel/workflow/commit/9f3516ec28f15d8bb5bfa9ee57aed858301fa4fd), [`d0e3f27`](https://github.com/vercel/workflow/commit/d0e3f2722b744472a90e48062e3876040e21de82), [`d0e3f27`](https://github.com/vercel/workflow/commit/d0e3f2722b744472a90e48062e3876040e21de82), [`d0e3f27`](https://github.com/vercel/workflow/commit/d0e3f2722b744472a90e48062e3876040e21de82), [`8ea1532`](https://github.com/vercel/workflow/commit/8ea1532e48ed86ef9a66231e474851bed85c737a)]:
32+
- @workflow/core@5.0.0-beta.5
33+
- @workflow/errors@5.0.0-beta.2
34+
- @workflow/utils@5.0.0-beta.2
35+
- @workflow/swc-plugin@5.0.0-beta.4
36+
337
## 5.0.0-beta.4
438

539
### Patch Changes

packages/builders/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@workflow/builders",
3-
"version": "5.0.0-beta.4",
3+
"version": "5.0.0-beta.5",
44
"description": "Shared builder infrastructure for Workflow SDK",
55
"type": "module",
66
"main": "./dist/index.js",

packages/cli/CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# @workflow/cli
22

3+
## 5.0.0-beta.5
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`e0ec429`](https://github.com/vercel/workflow/commit/e0ec429bb3baa4b3cb96373149a78dd514ebfe18), [`f20c706`](https://github.com/vercel/workflow/commit/f20c70672e4f9c4aad60779ba9624521a5403cc7), [`aee5699`](https://github.com/vercel/workflow/commit/aee56993c777e6fc8d40af8d90ec3d4fbd86cdfe), [`e7ea068`](https://github.com/vercel/workflow/commit/e7ea0684f44b3743dbc56543ea103786ab7144bc), [`540a2ef`](https://github.com/vercel/workflow/commit/540a2efb99c137b0d60c7368376e9533ea662a4c), [`74b13cd`](https://github.com/vercel/workflow/commit/74b13cd3ed3412d4e99af55587c69dc458fa5400), [`aee5699`](https://github.com/vercel/workflow/commit/aee56993c777e6fc8d40af8d90ec3d4fbd86cdfe), [`3535caf`](https://github.com/vercel/workflow/commit/3535caf44924cf9561e8b768c418fe1eb37d96cf), [`92dc826`](https://github.com/vercel/workflow/commit/92dc82608ab7526e930eeedd4752c68872bae639), [`5eb0b79`](https://github.com/vercel/workflow/commit/5eb0b792b8a7f04d6558f27d4b0d29daa57a788d), [`5374148`](https://github.com/vercel/workflow/commit/537414849b0f7022640879786ff85c918672e7d0), [`1203dae`](https://github.com/vercel/workflow/commit/1203dae70c802eef114909e9476e19ec528550cd), [`00a011d`](https://github.com/vercel/workflow/commit/00a011dee43b3ba7c399a97b9ed072cf4ce66816), [`7830169`](https://github.com/vercel/workflow/commit/78301695eae3641ec4235d2066eba48f7448c5be), [`1d4f83a`](https://github.com/vercel/workflow/commit/1d4f83a29acc974fd4bbafe7a6ff64f8936219de), [`1203dae`](https://github.com/vercel/workflow/commit/1203dae70c802eef114909e9476e19ec528550cd), [`5f22832`](https://github.com/vercel/workflow/commit/5f228326757f7da349edfed89845bd109c98f104), [`aee5699`](https://github.com/vercel/workflow/commit/aee56993c777e6fc8d40af8d90ec3d4fbd86cdfe), [`9f3516e`](https://github.com/vercel/workflow/commit/9f3516ec28f15d8bb5bfa9ee57aed858301fa4fd), [`6dd5c72`](https://github.com/vercel/workflow/commit/6dd5c72d8acd1377670da1b4a24abd6f3bea2f61), [`d0e3f27`](https://github.com/vercel/workflow/commit/d0e3f2722b744472a90e48062e3876040e21de82), [`d0e3f27`](https://github.com/vercel/workflow/commit/d0e3f2722b744472a90e48062e3876040e21de82), [`d0e3f27`](https://github.com/vercel/workflow/commit/d0e3f2722b744472a90e48062e3876040e21de82), [`2f52d14`](https://github.com/vercel/workflow/commit/2f52d14f3844c999f6b89baeb8e04289d6dd34a9), [`8ea1532`](https://github.com/vercel/workflow/commit/8ea1532e48ed86ef9a66231e474851bed85c737a), [`0c997ce`](https://github.com/vercel/workflow/commit/0c997ce571c9fb5d728d460d773040c1354d401e), [`45d1eb2`](https://github.com/vercel/workflow/commit/45d1eb23402f034faf1c5a8a8e8925f9ca7e910d), [`c1163eb`](https://github.com/vercel/workflow/commit/c1163eb146991a4924d80bcc9cfcc8bb89e05067), [`cd50618`](https://github.com/vercel/workflow/commit/cd50618d1fc01ee6049047e415b794dd7ca54af9)]:
8+
- @workflow/builders@5.0.0-beta.5
9+
- @workflow/web@5.0.0-beta.5
10+
- @workflow/core@5.0.0-beta.5
11+
- @workflow/errors@5.0.0-beta.2
12+
- @workflow/world-local@5.0.0-beta.4
13+
- @workflow/world-vercel@5.0.0-beta.4
14+
- @workflow/world@5.0.0-beta.2
15+
- @workflow/utils@5.0.0-beta.2
16+
- @workflow/swc-plugin@5.0.0-beta.4
17+
318
## 5.0.0-beta.4
419

520
### Patch Changes

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@workflow/cli",
3-
"version": "5.0.0-beta.4",
3+
"version": "5.0.0-beta.5",
44
"description": "Command-line interface for Workflow SDK",
55
"type": "module",
66
"bin": {

0 commit comments

Comments
 (0)