Skip to content

Commit 3fa3a01

Browse files
Version Packages (beta)
1 parent 2668e33 commit 3fa3a01

47 files changed

Lines changed: 323 additions & 23 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: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@
6969
"atomic-runs-publish",
7070
"atomic-step-created-event",
7171
"attr-inprocess-replay",
72+
"attr-set-duplicate-inert",
73+
"attr-set-duplicate-observability",
7274
"attributes-mvp-plan",
7375
"attributes-row-remove-flex-1",
7476
"avoid-peer-major-bumps",
@@ -112,6 +114,7 @@
112114
"cache-step-port-discovery",
113115
"calm-dodos-retry",
114116
"calm-events-guard",
117+
"calm-events-wait",
115118
"calm-geese-observe",
116119
"calm-geese-share",
117120
"cancel-v4-frame-stream",
@@ -174,6 +177,7 @@
174177
"duplicate-event-log-level",
175178
"durable-agent-stream-result-totalusage",
176179
"durable-agent-tool-stop-detection",
180+
"durable-hook-resume",
177181
"e2e-ci-retry",
178182
"e2e-pickup-watchdog",
179183
"e2e-test-budgets",
@@ -199,6 +203,7 @@
199203
"error-subclass-serialization",
200204
"errors-no-chalk",
201205
"esm-builders",
206+
"esm-dirname-filename-shim",
202207
"event-count-guard",
203208
"event-limit-enforcement",
204209
"event-list-solid-borders",
@@ -328,6 +333,7 @@
328333
"jk-nav-autoscroll",
329334
"large-inline-sourcemap-remap",
330335
"large-regions-talk",
336+
"late-hooks-rearm",
331337
"lazy-discovery-bare-specifiers",
332338
"lazy-discovery-default",
333339
"lazy-discovery-hmr",
@@ -351,7 +357,9 @@
351357
"local-world-vercel-warning",
352358
"log-order-draws",
353359
"log-queue-handler-retries",
360+
"lost-payload-terminal",
354361
"loud-pugs-recycle",
362+
"lucky-pandas-listen",
355363
"lucky-windows-smash",
356364
"many-peas-jog",
357365
"marker-kind-prefix",
@@ -375,6 +383,7 @@
375383
"next-base-path",
376384
"next-dev-watch-gitignore",
377385
"next-diagnostics-dist",
386+
"next-entry-discovery",
378387
"next-respect-package-exports",
379388
"next-root-detection",
380389
"ninety-buttons-dance",
@@ -403,6 +412,7 @@
403412
"otel-api-optional-peer-external",
404413
"otel-linked-trace-mode",
405414
"outcome-event-workflowname",
415+
"overlap-workflow-compile",
406416
"parallel-inline-optimistic-start",
407417
"pending-trace-viewer-gray-indicator",
408418
"perf-cached-workflow-script",
@@ -417,13 +427,15 @@
417427
"precise-timeline-ruler-ticks",
418428
"precise-trace-viewer-durations",
419429
"precondition-guard-default-on",
430+
"prepare-streamed-replay-payloads",
420431
"preserve-imports-used-by-hoisted-steps",
421432
"preserve-run-key-status",
422433
"preserve-step-fn-names",
423434
"pretty-log-format",
424435
"prewarm-appended-payloads",
425436
"prewarm-next-swc-cache",
426437
"private-member-dce",
438+
"project-step-provenance",
427439
"proud-friends-decide",
428440
"prune-workflow-sandbox",
429441
"python-workbench-app",
@@ -444,6 +456,7 @@
444456
"quiet-events-merge",
445457
"quiet-lamps-parse",
446458
"quiet-marker-shadow",
459+
"quiet-normal-execution-logs",
447460
"quiet-runs-poll",
448461
"quiet-sourcemap-warnings",
449462
"quiet-trace-viewer-duration",
@@ -605,13 +618,17 @@
605618
"tidy-dodos-observe",
606619
"tidy-hoops-open",
607620
"tidy-lamps-sort",
621+
"tidy-local-shutdown",
622+
"tidy-rivers-expand",
608623
"timeline-queued-connector",
609624
"tired-pigs-hug",
610625
"tired-spiders-rhyme",
611626
"trace-nav-tooltips",
627+
"trace-replay-phases",
612628
"trace-shortcut-helper-text-color",
613629
"trace-shortcut-helper-timeline-align",
614630
"trace-span-markers",
631+
"trace-viewer-alt-hover",
615632
"trace-viewer-cleanup",
616633
"trace-viewer-event-icon-tooltips",
617634
"trace-viewer-focus-easing",
@@ -628,6 +645,7 @@
628645
"turbo-setattr-run-ready",
629646
"turbo-skip-run-started-preload",
630647
"type-event-create-results",
648+
"typed-replay-stream-failures",
631649
"typography-system-tokens",
632650
"update-queue-client-version",
633651
"update-vercel-queue",

‎packages/ai/CHANGELOG.md‎

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

3+
## 5.0.0-beta.15
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`ffc5807`](https://github.com/vercel/workflow/commit/ffc58078d0c3cd2786d69bab7e41614566a9ea4e)]:
8+
- @workflow/utils@5.0.0-beta.10
9+
- workflow@5.0.0-beta.47
10+
311
## 5.0.0-beta.14
412

513
### 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.14",
3+
"version": "5.0.0-beta.15",
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: 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.47
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`88f5d21`](https://github.com/vercel/workflow/commit/88f5d214d48b15d3126943313ed03d48667e772c)]:
8+
- @workflow/builders@5.0.0-beta.47
9+
- @workflow/rollup@5.0.0-beta.47
10+
- @workflow/vite@5.0.0-beta.47
11+
312
## 5.0.0-beta.46
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.46",
3+
"version": "5.0.0-beta.47",
44
"description": "Astro integration for Workflow SDK",
55
"type": "module",
66
"main": "dist/index.js",

‎packages/builders/CHANGELOG.md‎

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

3+
## 5.0.0-beta.47
4+
5+
### Patch Changes
6+
7+
- [#3876](https://github.com/vercel/workflow/pull/3876) [`88f5d21`](https://github.com/vercel/workflow/commit/88f5d214d48b15d3126943313ed03d48667e772c) Thanks [@TooTallNate](https://github.com/TooTallNate)! - Shim `__dirname`/`__filename` in fully-bundled ESM output so CJS dependencies that reference them at module scope (e.g. `google-gax`) no longer crash the deployed function at init with `ReferenceError: __dirname is not defined in ES module scope`.
8+
9+
CJS dependencies that feature-detect with `typeof __dirname !== 'undefined'` will now take their CJS branch, where `__dirname` resolves to the function root rather than the dependency's original directory.
10+
11+
- Updated dependencies [[`855e479`](https://github.com/vercel/workflow/commit/855e47990c0da35419325da27976bae925afb0e9), [`2668e33`](https://github.com/vercel/workflow/commit/2668e3325ba89dec973c3c2f35c49efdb239de8d), [`07ec212`](https://github.com/vercel/workflow/commit/07ec212fe762e0659d4528913716c59870fd6c7d), [`ee6f917`](https://github.com/vercel/workflow/commit/ee6f917cdbfcf50a5fd697c7a9cb70dd1294f931), [`e9d5c56`](https://github.com/vercel/workflow/commit/e9d5c56701821b090108a85b74bf8b0cbef8ea8e), [`ffc5807`](https://github.com/vercel/workflow/commit/ffc58078d0c3cd2786d69bab7e41614566a9ea4e), [`1c28eec`](https://github.com/vercel/workflow/commit/1c28eeca159f022c73912326baf78d69152db876)]:
12+
- @workflow/core@5.0.0-beta.47
13+
- @workflow/utils@5.0.0-beta.10
14+
- @workflow/errors@5.0.0-beta.19
15+
316
## 5.0.0-beta.46
417

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

‎packages/cli/CHANGELOG.md‎

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

3+
## 5.0.0-beta.47
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`855e479`](https://github.com/vercel/workflow/commit/855e47990c0da35419325da27976bae925afb0e9), [`2668e33`](https://github.com/vercel/workflow/commit/2668e3325ba89dec973c3c2f35c49efdb239de8d), [`88f5d21`](https://github.com/vercel/workflow/commit/88f5d214d48b15d3126943313ed03d48667e772c), [`07ec212`](https://github.com/vercel/workflow/commit/07ec212fe762e0659d4528913716c59870fd6c7d), [`1c44cc8`](https://github.com/vercel/workflow/commit/1c44cc8c3f76f81553d04d21f56da1d2adbc1746), [`cc6eb7e`](https://github.com/vercel/workflow/commit/cc6eb7e837ff3cf64a09f613df5fdaad40131cb8), [`ee6f917`](https://github.com/vercel/workflow/commit/ee6f917cdbfcf50a5fd697c7a9cb70dd1294f931), [`e9d5c56`](https://github.com/vercel/workflow/commit/e9d5c56701821b090108a85b74bf8b0cbef8ea8e), [`ffc5807`](https://github.com/vercel/workflow/commit/ffc58078d0c3cd2786d69bab7e41614566a9ea4e), [`3e0c18a`](https://github.com/vercel/workflow/commit/3e0c18a4cab731a80942a334a01c7e215a784694), [`1c28eec`](https://github.com/vercel/workflow/commit/1c28eeca159f022c73912326baf78d69152db876), [`aaeb8e4`](https://github.com/vercel/workflow/commit/aaeb8e44633c1974f087ee7ce38666dbc8ad8a4d)]:
8+
- @workflow/world@5.0.0-beta.32
9+
- @workflow/core@5.0.0-beta.47
10+
- @workflow/builders@5.0.0-beta.47
11+
- @workflow/world-vercel@5.0.0-beta.43
12+
- @workflow/world-local@5.0.0-beta.41
13+
- @workflow/utils@5.0.0-beta.10
14+
- @workflow/errors@5.0.0-beta.19
15+
- @workflow/web@5.0.0-beta.47
16+
317
## 5.0.0-beta.46
418

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

‎packages/core/CHANGELOG.md‎

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

3+
## 5.0.0-beta.47
4+
5+
### Patch Changes
6+
7+
- [#3849](https://github.com/vercel/workflow/pull/3849) [`855e479`](https://github.com/vercel/workflow/commit/855e47990c0da35419325da27976bae925afb0e9) Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Fix runs failing with `CORRUPTED_EVENT_LOG` after every step had already succeeded, when the event log held two attribute writes under one id.
8+
9+
- [#3841](https://github.com/vercel/workflow/pull/3841) [`2668e33`](https://github.com/vercel/workflow/commit/2668e3325ba89dec973c3c2f35c49efdb239de8d) Thanks [@karthikscale3](https://github.com/karthikscale3)! - Make `resumeHook()` durable before it resolves: the `hook_received` event is
10+
written durably first, and the workflow wake is published only after the write
11+
is acknowledged. A disposal racing the queue delivery can no longer lose a
12+
resume the caller was told succeeded. The wake message is unchanged, so no
13+
consumer or backend coordination is needed; `WORKFLOW_DISABLE_LAZY_HOOK_RESUME`
14+
is now a no-op and the internal `resumeHookDurable()` alias is removed.
15+
16+
Behavior changes: a resume against an ended run now throws `HookNotFoundError`
17+
instead of resolving (the lazy path never observed the server's rejection, so a
18+
late webhook delivery to a finished run answered 202 where it now answers 404).
19+
A transient write conflict (HTTP 409, e.g. an event-slot conflict under
20+
contention) is no longer re-keyed to `HookNotFoundError`: it surfaces as a
21+
retryable error, since its transaction committed nothing.
22+
23+
- [#3879](https://github.com/vercel/workflow/pull/3879) [`07ec212`](https://github.com/vercel/workflow/commit/07ec212fe762e0659d4528913716c59870fd6c7d) Thanks [@NathanColosimo](https://github.com/NathanColosimo)! - Keep late-claimed buffered hook payloads from being preempted by workflow suspension in retained VMs.
24+
25+
- [#3798](https://github.com/vercel/workflow/pull/3798) [`ee6f917`](https://github.com/vercel/workflow/commit/ee6f917cdbfcf50a5fd697c7a9cb70dd1294f931) Thanks [@NathanColosimo](https://github.com/NathanColosimo)! - Compile Node.js workflow scripts while loading the replay event log.
26+
27+
- [#3548](https://github.com/vercel/workflow/pull/3548) [`e9d5c56`](https://github.com/vercel/workflow/commit/e9d5c56701821b090108a85b74bf8b0cbef8ea8e) Thanks [@NathanColosimo](https://github.com/NathanColosimo)! - Prepare replay payloads as validated event frames arrive, reuse primitive step results across fresh VMs, and preserve replay startup overlap.
28+
29+
- [#3797](https://github.com/vercel/workflow/pull/3797) [`1c28eec`](https://github.com/vercel/workflow/commit/1c28eeca159f022c73912326baf78d69152db876) Thanks [@NathanColosimo](https://github.com/NathanColosimo)! - Trace event loading, workflow VM creation, bundle compilation and evaluation, input hydration, and replay execution.
30+
31+
- Updated dependencies [[`855e479`](https://github.com/vercel/workflow/commit/855e47990c0da35419325da27976bae925afb0e9), [`2668e33`](https://github.com/vercel/workflow/commit/2668e3325ba89dec973c3c2f35c49efdb239de8d), [`1c44cc8`](https://github.com/vercel/workflow/commit/1c44cc8c3f76f81553d04d21f56da1d2adbc1746), [`cc6eb7e`](https://github.com/vercel/workflow/commit/cc6eb7e837ff3cf64a09f613df5fdaad40131cb8), [`e9d5c56`](https://github.com/vercel/workflow/commit/e9d5c56701821b090108a85b74bf8b0cbef8ea8e), [`ffc5807`](https://github.com/vercel/workflow/commit/ffc58078d0c3cd2786d69bab7e41614566a9ea4e), [`3e0c18a`](https://github.com/vercel/workflow/commit/3e0c18a4cab731a80942a334a01c7e215a784694), [`aaeb8e4`](https://github.com/vercel/workflow/commit/aaeb8e44633c1974f087ee7ce38666dbc8ad8a4d)]:
32+
- @workflow/world@5.0.0-beta.32
33+
- @workflow/world-vercel@5.0.0-beta.43
34+
- @workflow/world-local@5.0.0-beta.41
35+
- @workflow/utils@5.0.0-beta.10
36+
- @workflow/errors@5.0.0-beta.19
37+
338
## 5.0.0-beta.46
439

540
### Patch Changes

0 commit comments

Comments
 (0)