Skip to content

Commit 9232a71

Browse files
Version Packages (beta)
1 parent 79e4c04 commit 9232a71

43 files changed

Lines changed: 314 additions & 21 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: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@
5555
"abort-signal-replay-ordering",
5656
"ack-after-step-dispatch",
5757
"add-platformatic-world",
58+
"add-surrealdb-world",
5859
"afraid-bananas-peel",
60+
"align-web-shared-colors",
5961
"all-chicken-enjoy",
6062
"allow-sync-step-functions",
6163
"analytics-attribute-filters",
@@ -82,11 +84,13 @@
8284
"bright-steps-count",
8385
"bright-waits-refresh",
8486
"builders-discovery-fixes",
87+
"bulk-cancel",
8588
"bump-astro-cve-2026-54299",
8689
"bump-esbuild-0-28-1",
8790
"bump-hono-cve-2026-54290",
8891
"bump-undici-7-26",
8992
"bump-undici-7-28",
93+
"bump-undici-7-29-0",
9094
"bump-vercel-queue-0-4-0",
9195
"bundle-aliased-project-local-helpers",
9296
"byte-stream-wire-framing",
@@ -116,6 +120,8 @@
116120
"copyable-data-block-tests",
117121
"core-cross-environment-start-guard",
118122
"core-run-id-input",
123+
"correlation-id-run-scope-wire",
124+
"correlation-id-run-scope",
119125
"corrupted-event-log-code",
120126
"cross-deployment-stream-keys",
121127
"curvy-dingos-cry",
@@ -170,12 +176,14 @@
170176
"extend-cn-tailwind-merge",
171177
"extract-stream-ids-circular",
172178
"faas-instance-span-attr",
179+
"fail-cross-deployment-runs",
173180
"fast-next-workflow-hmr",
174181
"fast-workflow-discovery",
175182
"fatal-retryable-error-serialization",
176183
"features-encryption-metadata",
177184
"few-cups-share",
178185
"fine-coins-cheat",
186+
"five-second-e2e-polling",
179187
"fix-builtin-externalize",
180188
"fix-ci-command-injection",
181189
"fix-community-world-specversion",
@@ -222,6 +230,7 @@
222230
"four-news-wait",
223231
"fresh-events-occur",
224232
"fresh-lamps-heal",
233+
"fresh-rules-glow",
225234
"fresh-steps-hmr",
226235
"friendlier-errors",
227236
"friendly-step-files",
@@ -286,6 +295,7 @@
286295
"little-sites-cover",
287296
"local-chunk-sharding",
288297
"local-empty-vercel-url",
298+
"local-hook-min-retention",
289299
"local-port-cache",
290300
"local-world-vercel-warning",
291301
"log-queue-handler-retries",
@@ -334,9 +344,11 @@
334344
"outcome-event-workflowname",
335345
"parallel-inline-optimistic-start",
336346
"pending-trace-viewer-gray-indicator",
347+
"per-kind-correlation-ids",
337348
"perf-cached-workflow-script",
338349
"perf-memoize-step-hydration",
339350
"perf-prepare-replay-payloads",
351+
"postgres-hook-min-retention",
340352
"postgres-run-created-conflict",
341353
"postgres-step-ordering",
342354
"pr-comment-stale-banner-via-path",
@@ -354,6 +366,10 @@
354366
"queue-namespace-primitive",
355367
"queued-for-uses-first-step-started",
356368
"quick-local-replay",
369+
"quickjs-hook-capability",
370+
"quickjs-hook-retention",
371+
"quickjs-inline-steps",
372+
"quickjs-vm-engine",
357373
"quiet-analytics-readers",
358374
"quiet-build-logs",
359375
"quiet-events-merge",
@@ -392,6 +408,8 @@
392408
"repro-partial-results",
393409
"resilient-resume-hook",
394410
"resizable-trace-detail-panel",
411+
"retain-workflow-vm",
412+
"retained-vm-guest-code-gate",
395413
"retire-step-build-output",
396414
"retire-step-health-ui",
397415
"retire-step-queues",
@@ -442,6 +460,7 @@
442460
"split-pane-drag-parity",
443461
"split-tarballs-from-docs",
444462
"spotty-lamps-measure",
463+
"stable-stream-id-timestamps",
445464
"stale-sveltekit-triggers-main",
446465
"stamp-world-run-id-spans",
447466
"start-allow-reserved-attributes",

packages/astro/CHANGELOG.md

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

3+
## 5.0.0-beta.40
4+
5+
### Patch Changes
6+
7+
- Updated dependencies []:
8+
- @workflow/builders@5.0.0-beta.40
9+
- @workflow/rollup@5.0.0-beta.40
10+
- @workflow/vite@5.0.0-beta.40
11+
312
## 5.0.0-beta.39
413

514
### 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.39",
3+
"version": "5.0.0-beta.40",
44
"description": "Astro integration for Workflow SDK",
55
"type": "module",
66
"main": "dist/index.js",

packages/builders/CHANGELOG.md

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

3+
## 5.0.0-beta.40
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`8d47928`](https://github.com/vercel/workflow/commit/8d479283cabd9de84fa2542c4ff16f2697d16399), [`79e4c04`](https://github.com/vercel/workflow/commit/79e4c044091185e68bbdcc254a86133e54956ad3), [`e084e08`](https://github.com/vercel/workflow/commit/e084e08ac0b4f1830659cb316df50d50962aada4), [`cb77725`](https://github.com/vercel/workflow/commit/cb77725960a8c280bd96fda0068fca0ba83d52f2), [`939ffb4`](https://github.com/vercel/workflow/commit/939ffb4f512a35d3fd041af16f3fa518552ba730), [`27a3f15`](https://github.com/vercel/workflow/commit/27a3f15a7b08659f2b0e69e12e0c4ad923d7f4e5), [`f8f6e17`](https://github.com/vercel/workflow/commit/f8f6e17aebbd138e9c6c4a03814a5bfc65e63c23), [`f8f6e17`](https://github.com/vercel/workflow/commit/f8f6e17aebbd138e9c6c4a03814a5bfc65e63c23), [`5d591d2`](https://github.com/vercel/workflow/commit/5d591d28863b539d8ff5b5af56f99b43d1db9842), [`89ede82`](https://github.com/vercel/workflow/commit/89ede82faa25143a150edcd088cd48b6d34daf3d), [`cb77725`](https://github.com/vercel/workflow/commit/cb77725960a8c280bd96fda0068fca0ba83d52f2)]:
8+
- @workflow/core@5.0.0-beta.40
9+
- @workflow/errors@5.0.0-beta.16
10+
311
## 5.0.0-beta.39
412

513
### 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.39",
3+
"version": "5.0.0-beta.40",
44
"description": "Shared builder infrastructure for Workflow SDK",
55
"type": "module",
66
"main": "./dist/index.js",

packages/cli/CHANGELOG.md

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

3+
## 5.0.0-beta.40
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`8d47928`](https://github.com/vercel/workflow/commit/8d479283cabd9de84fa2542c4ff16f2697d16399), [`1222aab`](https://github.com/vercel/workflow/commit/1222aab74da39b4a7ae93e6c5ecc2dc4707b68d0), [`2eddf74`](https://github.com/vercel/workflow/commit/2eddf74cb620dcb292ffe8f300699fff89a97100), [`de1905f`](https://github.com/vercel/workflow/commit/de1905f15c0a31f272966ac518ebf272864ea5c6), [`79e4c04`](https://github.com/vercel/workflow/commit/79e4c044091185e68bbdcc254a86133e54956ad3), [`e084e08`](https://github.com/vercel/workflow/commit/e084e08ac0b4f1830659cb316df50d50962aada4), [`e6f1b6f`](https://github.com/vercel/workflow/commit/e6f1b6f5489da19f736fcd86a06a03d8247e5b78), [`cb77725`](https://github.com/vercel/workflow/commit/cb77725960a8c280bd96fda0068fca0ba83d52f2), [`939ffb4`](https://github.com/vercel/workflow/commit/939ffb4f512a35d3fd041af16f3fa518552ba730), [`27a3f15`](https://github.com/vercel/workflow/commit/27a3f15a7b08659f2b0e69e12e0c4ad923d7f4e5), [`f8f6e17`](https://github.com/vercel/workflow/commit/f8f6e17aebbd138e9c6c4a03814a5bfc65e63c23), [`f8f6e17`](https://github.com/vercel/workflow/commit/f8f6e17aebbd138e9c6c4a03814a5bfc65e63c23), [`5d591d2`](https://github.com/vercel/workflow/commit/5d591d28863b539d8ff5b5af56f99b43d1db9842), [`89ede82`](https://github.com/vercel/workflow/commit/89ede82faa25143a150edcd088cd48b6d34daf3d), [`cb77725`](https://github.com/vercel/workflow/commit/cb77725960a8c280bd96fda0068fca0ba83d52f2)]:
8+
- @workflow/core@5.0.0-beta.40
9+
- @workflow/world@5.0.0-beta.25
10+
- @workflow/world-vercel@5.0.0-beta.36
11+
- @workflow/world-local@5.0.0-beta.34
12+
- @workflow/web@5.0.0-beta.40
13+
- @workflow/errors@5.0.0-beta.16
14+
- @workflow/builders@5.0.0-beta.40
15+
316
## 5.0.0-beta.39
417

518
### 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.39",
3+
"version": "5.0.0-beta.40",
44
"description": "Command-line interface for Workflow SDK",
55
"type": "module",
66
"bin": {

packages/core/CHANGELOG.md

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

3+
## 5.0.0-beta.40
4+
5+
### Minor Changes
6+
7+
- [#3347](https://github.com/vercel/workflow/pull/3347) [`8d47928`](https://github.com/vercel/workflow/commit/8d479283cabd9de84fa2542c4ff16f2697d16399) Thanks [@karthikscale3](https://github.com/karthikscale3)! - Add a bulk run cancellation primitive. `@workflow/world` defines the `BulkCancelWorkflowRuns*` contract and an optional `runs.cancelMany`; `@workflow/world-vercel` implements it via a single `POST /v4/runs/cancel`; `@workflow/core` adds a `cancelRuns` helper that uses `cancelMany` when available and falls back to bounded-concurrency single-run cancellation.
8+
9+
- [#3048](https://github.com/vercel/workflow/pull/3048) [`f8f6e17`](https://github.com/vercel/workflow/commit/f8f6e17aebbd138e9c6c4a03814a5bfc65e63c23) Thanks [@TooTallNate](https://github.com/TooTallNate)! - Add an experimental QuickJS WASM VM engine for workflow execution, opt-in via `WORKFLOW_VM=quickjs` (or per-run `executionContext.workflowVm`). The engine performs the same full event replay as the default `node:vm` engine but runs workflow code in a QuickJS VM compiled to WebAssembly, enabling platforms without `node:vm` support and laying the groundwork for VM-memory snapshotting.
10+
11+
- [#3046](https://github.com/vercel/workflow/pull/3046) [`5d591d2`](https://github.com/vercel/workflow/commit/5d591d28863b539d8ff5b5af56f99b43d1db9842) Thanks [@NathanColosimo](https://github.com/NathanColosimo)! - Retain workflow execution across inline steps within one invocation; `WORKFLOW_RETAINED_VM=0` disables retention. Boundaries whose step arguments are not primitive values fall back to ordinary replay.
12+
13+
- [#3047](https://github.com/vercel/workflow/pull/3047) [`89ede82`](https://github.com/vercel/workflow/commit/89ede82faa25143a150edcd088cd48b6d34daf3d) Thanks [@NathanColosimo](https://github.com/NathanColosimo)! - Retained workflow VMs now keep the fast path when step arguments are plain data or standard built-ins (`Map`, `Set`, `Date`, typed arrays, `URL`, `Headers`, …), not just primitives. A boundary falls back to a normal replay only when serializing its arguments ran code the workflow controls — a getter, a proxy, a custom serializer — or computed an `Error`'s stack trace.
14+
15+
### Patch Changes
16+
17+
- [#2960](https://github.com/vercel/workflow/pull/2960) [`79e4c04`](https://github.com/vercel/workflow/commit/79e4c044091185e68bbdcc254a86133e54956ad3) Thanks [@alangenfeld](https://github.com/alangenfeld)! - Re-route a queue delivery that reaches a deployment other than the one its run is pinned to, retry transient publishing failures through normal queue redelivery, and fail the run with the new `DEPLOYMENT_MISMATCH` error code once the recovery budget is spent.
18+
19+
- [#3316](https://github.com/vercel/workflow/pull/3316) [`e084e08`](https://github.com/vercel/workflow/commit/e084e08ac0b4f1830659cb316df50d50962aada4) Thanks [@karthikscale3](https://github.com/karthikscale3)! - Allow configuring the polling interval used by `Run.returnValue` with `WORKFLOW_RETURN_VALUE_POLL_INTERVAL_MS`.
20+
21+
- [#3301](https://github.com/vercel/workflow/pull/3301) [`cb77725`](https://github.com/vercel/workflow/commit/cb77725960a8c280bd96fda0068fca0ba83d52f2) Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Add env option to split correlation ID derivation into per-entity-type sequential ULIDs, instead of sharing one derivation source
22+
23+
- [#3332](https://github.com/vercel/workflow/pull/3332) [`939ffb4`](https://github.com/vercel/workflow/commit/939ffb4f512a35d3fd041af16f3fa518552ba730) Thanks [@NathanColosimo](https://github.com/NathanColosimo)! - Reject unsupported Hook retention synchronously inside QuickJS workflows.
24+
25+
- [#3319](https://github.com/vercel/workflow/pull/3319) [`27a3f15`](https://github.com/vercel/workflow/commit/27a3f15a7b08659f2b0e69e12e0c4ad923d7f4e5) Thanks [@NathanColosimo](https://github.com/NathanColosimo)! - Preserve Hook minimum-retention deadlines in QuickJS workflows.
26+
27+
- [#3048](https://github.com/vercel/workflow/pull/3048) [`f8f6e17`](https://github.com/vercel/workflow/commit/f8f6e17aebbd138e9c6c4a03814a5bfc65e63c23) Thanks [@TooTallNate](https://github.com/TooTallNate)! - QuickJS engine performance: cache compiled WebAssembly modules process-wide, and execute steps inline in a live-VM continuation loop (no queue round-trip per step, cheap events fed before step bodies, delayed wait-continuation dispatch for racing timers).
28+
29+
- [#3301](https://github.com/vercel/workflow/pull/3301) [`cb77725`](https://github.com/vercel/workflow/commit/cb77725960a8c280bd96fda0068fca0ba83d52f2) Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Fix stream IDs minted while serializing a step's arguments latching the host wall clock into a run's ID sequence, which gave every entity created afterwards a different correlation ID on each replay
30+
31+
- Updated dependencies [[`8d47928`](https://github.com/vercel/workflow/commit/8d479283cabd9de84fa2542c4ff16f2697d16399), [`1222aab`](https://github.com/vercel/workflow/commit/1222aab74da39b4a7ae93e6c5ecc2dc4707b68d0), [`2eddf74`](https://github.com/vercel/workflow/commit/2eddf74cb620dcb292ffe8f300699fff89a97100), [`de1905f`](https://github.com/vercel/workflow/commit/de1905f15c0a31f272966ac518ebf272864ea5c6), [`79e4c04`](https://github.com/vercel/workflow/commit/79e4c044091185e68bbdcc254a86133e54956ad3), [`e6f1b6f`](https://github.com/vercel/workflow/commit/e6f1b6f5489da19f736fcd86a06a03d8247e5b78)]:
32+
- @workflow/world@5.0.0-beta.25
33+
- @workflow/world-vercel@5.0.0-beta.36
34+
- @workflow/world-local@5.0.0-beta.34
35+
- @workflow/errors@5.0.0-beta.16
36+
337
## 5.0.0-beta.39
438

539
### Minor Changes

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@workflow/core",
3-
"version": "5.0.0-beta.39",
3+
"version": "5.0.0-beta.40",
44
"description": "Core runtime and engine for Workflow SDK",
55
"type": "module",
66
"main": "dist/index.js",

packages/errors/CHANGELOG.md

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

3+
## 5.0.0-beta.16
4+
5+
### Minor Changes
6+
7+
- [#2960](https://github.com/vercel/workflow/pull/2960) [`79e4c04`](https://github.com/vercel/workflow/commit/79e4c044091185e68bbdcc254a86133e54956ad3) Thanks [@alangenfeld](https://github.com/alangenfeld)! - Re-route a queue delivery that reaches a deployment other than the one its run is pinned to, retry transient publishing failures through normal queue redelivery, and fail the run with the new `DEPLOYMENT_MISMATCH` error code once the recovery budget is spent.
8+
39
## 5.0.0-beta.15
410

511
### Minor Changes

0 commit comments

Comments
 (0)