Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,11 @@
"cold-lands-boil",
"cold-lines-change",
"compression-telemetry-attributes",
"compute-instance-event-field",
"cookbook-child-workflows-hook-resume",
"cool-cups-greet",
"copyable-data-block-tests",
"core-cross-environment-start-guard",
"core-run-id-input",
"corrupted-event-log-code",
"cross-deployment-stream-keys",
Expand Down Expand Up @@ -154,6 +156,7 @@
"error-subclass-serialization",
"errors-no-chalk",
"esm-builders",
"event-count-guard",
"event-limit-enforcement",
"event-list-solid-borders",
"event-log-corruption-repro",
Expand All @@ -163,6 +166,7 @@
"experimental-attributes-docs",
"extend-cn-tailwind-merge",
"extract-stream-ids-circular",
"faas-instance-span-attr",
"fast-next-workflow-hmr",
"fast-workflow-discovery",
"fatal-retryable-error-serialization",
Expand Down Expand Up @@ -212,6 +216,7 @@
"fix-world-vercel-request-timeout",
"fix-world-zod-44-compat",
"flow-route-init-traces",
"four-news-wait",
"fresh-events-occur",
"fresh-lamps-heal",
"fresh-steps-hmr",
Expand All @@ -234,6 +239,7 @@
"gzip-ref-compression-world-vercel",
"gzip-ref-compression-world",
"h2-events-multiplexing",
"h2-receive-windows",
"healthcheck-coreversion",
"hip-onions-refuse",
"hoist-follow-imports-check",
Expand All @@ -260,6 +266,7 @@
"inline-step-registration",
"inspect-region-column",
"inspect-storage-reads",
"itchy-spies-attack",
"jk-nav-autoscroll",
"large-inline-sourcemap-remap",
"large-regions-talk",
Expand Down Expand Up @@ -372,7 +379,9 @@
"replay-divergence-redelivery",
"replay-lineage-execution-context",
"replay-timeout-excludes-step-bodies",
"report-replay-recovery",
"repro-partial-results",
"resilient-resume-hook",
"resizable-trace-detail-panel",
"retire-step-build-output",
"retire-step-health-ui",
Expand Down Expand Up @@ -406,6 +415,7 @@
"silver-coins-deny",
"silver-comics-care",
"sixty-plants-shout",
"skip-changeset-release-deploys",
"skip-community-worlds-main",
"skip-world-local-nov-ghosts",
"slow-bottles-pull",
Expand Down Expand Up @@ -439,6 +449,7 @@
"stream-write-flush-span",
"stream-writemulti-batching",
"strong-cups-sip",
"stso-inline-vs-queue-hop",
"sveltekit-config-loader",
"sveltekit-h2-noderequire",
"swc-arguments-not-closure",
Expand Down Expand Up @@ -519,16 +530,20 @@
"world-capabilities",
"world-create-run-id",
"world-factories-create-world",
"world-get-environment",
"world-init-cold-start",
"world-local-bounded-deliveries",
"world-local-hook-cache-rebuild",
"world-local-path-traversal",
"world-local-retry-transport-failures",
"world-local-run-failed-not-found",
"world-local-tighten-id-validation",
"world-local-untagged-recovery-filter",
"world-local-windows-unlink-retry",
"world-vercel-caller-user-agent",
"world-vercel-create-run-id",
"world-vercel-enable-h2",
"world-vercel-get-environment",
"world-vercel-http-core",
"world-vercel-protection-bypass",
"world-vercel-proxy-queue-region",
Expand Down
9 changes: 9 additions & 0 deletions packages/astro/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @workflow/astro

## 5.0.0-beta.39

### Patch Changes

- Updated dependencies []:
- @workflow/builders@5.0.0-beta.39
- @workflow/rollup@5.0.0-beta.39
- @workflow/vite@5.0.0-beta.39

## 5.0.0-beta.38

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@workflow/astro",
"version": "5.0.0-beta.38",
"version": "5.0.0-beta.39",
"description": "Astro integration for Workflow SDK",
"type": "module",
"main": "dist/index.js",
Expand Down
8 changes: 8 additions & 0 deletions packages/builders/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @workflow/builders

## 5.0.0-beta.39

### Patch Changes

- Updated dependencies [[`4a9d26b`](https://github.com/vercel/workflow/commit/4a9d26b1cb807a9e31489350b468db42a8c13ef3), [`ee944d2`](https://github.com/vercel/workflow/commit/ee944d2476daca81b89ba545b522385a7902ec03), [`1471f25`](https://github.com/vercel/workflow/commit/1471f252fa18024695f1bf149f5bee4876ab149e), [`9cc11f5`](https://github.com/vercel/workflow/commit/9cc11f5329fbc9151c2f0ccd0139387c07f2d7ce), [`4017597`](https://github.com/vercel/workflow/commit/4017597a5f6a54da7ea3bf467c8c63b3bf3bc845), [`438eaa6`](https://github.com/vercel/workflow/commit/438eaa6a595811e6d6942ba679e831d25e6cbfbe)]:
- @workflow/core@5.0.0-beta.39
- @workflow/errors@5.0.0-beta.15

## 5.0.0-beta.38

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/builders/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@workflow/builders",
"version": "5.0.0-beta.38",
"version": "5.0.0-beta.39",
"description": "Shared builder infrastructure for Workflow SDK",
"type": "module",
"main": "./dist/index.js",
Expand Down
13 changes: 13 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @workflow/cli

## 5.0.0-beta.39

### Patch Changes

- Updated dependencies [[`4a9d26b`](https://github.com/vercel/workflow/commit/4a9d26b1cb807a9e31489350b468db42a8c13ef3), [`ee944d2`](https://github.com/vercel/workflow/commit/ee944d2476daca81b89ba545b522385a7902ec03), [`1471f25`](https://github.com/vercel/workflow/commit/1471f252fa18024695f1bf149f5bee4876ab149e), [`9cc11f5`](https://github.com/vercel/workflow/commit/9cc11f5329fbc9151c2f0ccd0139387c07f2d7ce), [`c93f6f7`](https://github.com/vercel/workflow/commit/c93f6f7bd08b1e885a2d60d49aae9ca9fbda5930), [`4017597`](https://github.com/vercel/workflow/commit/4017597a5f6a54da7ea3bf467c8c63b3bf3bc845), [`438eaa6`](https://github.com/vercel/workflow/commit/438eaa6a595811e6d6942ba679e831d25e6cbfbe), [`ee944d2`](https://github.com/vercel/workflow/commit/ee944d2476daca81b89ba545b522385a7902ec03), [`2677653`](https://github.com/vercel/workflow/commit/2677653759aa34c5c9fe28950fe1a02cec294551), [`f05f642`](https://github.com/vercel/workflow/commit/f05f642e89d7fe0af6e3d007621b0aa05f996a5b), [`ee944d2`](https://github.com/vercel/workflow/commit/ee944d2476daca81b89ba545b522385a7902ec03)]:
- @workflow/core@5.0.0-beta.39
- @workflow/world@5.0.0-beta.24
- @workflow/world-vercel@5.0.0-beta.35
- @workflow/errors@5.0.0-beta.15
- @workflow/world-local@5.0.0-beta.33
- @workflow/builders@5.0.0-beta.39
- @workflow/web@5.0.0-beta.39

## 5.0.0-beta.38

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@workflow/cli",
"version": "5.0.0-beta.38",
"version": "5.0.0-beta.39",
"description": "Command-line interface for Workflow SDK",
"type": "module",
"bin": {
Expand Down
24 changes: 24 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# @workflow/core

## 5.0.0-beta.39

### Minor Changes

- [#3186](https://github.com/vercel/workflow/pull/3186) [`4a9d26b`](https://github.com/vercel/workflow/commit/4a9d26b1cb807a9e31489350b468db42a8c13ef3) Thanks [@alangenfeld](https://github.com/alangenfeld)! - Record the compute instance that ran each step attempt: `CreateEventParams.computeInstanceId` is stamped on `step_started` writes, forwarded in the world-vercel v4 frame meta alongside `vercelId`, read back on `AnalyticsEvent` / `AnalyticsStep`, and surfaced as "Compute Instance ID" in the observability attribute panel.

- [#3244](https://github.com/vercel/workflow/pull/3244) [`ee944d2`](https://github.com/vercel/workflow/commit/ee944d2476daca81b89ba545b522385a7902ec03) Thanks [@pranaygp](https://github.com/pranaygp)! - Stamp the creating client's environment into the queue message's `runInput`, and refuse a queue delivery whose run was created in a different environment than the consuming deployment runs in, so one run ID can no longer be forked into two environments.

- [#3145](https://github.com/vercel/workflow/pull/3145) [`1471f25`](https://github.com/vercel/workflow/commit/1471f252fa18024695f1bf149f5bee4876ab149e) Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Strengthen the event-creation precondition guard: replay-context writes now also send the number of loaded events, so a snapshot that is missing an event is rejected instead of committing a divergent event log, and a rejection restarts the replay in-process (consuming the events a world may attach to the rejection) rather than re-committing the rejected payload or re-invoking over the queue. `@workflow/world-local` and `@workflow/world-postgres` do not implement the check.

- [#2989](https://github.com/vercel/workflow/pull/2989) [`9cc11f5`](https://github.com/vercel/workflow/commit/9cc11f5329fbc9151c2f0ccd0139387c07f2d7ce) Thanks [@alangenfeld](https://github.com/alangenfeld)! - Emit a `faas.instance` OTEL span attribute (a synthesized per-warm-instance id) on the flow and step route spans, so traces can distinguish which compute instance handled each request.

- [#1834](https://github.com/vercel/workflow/pull/1834) [`438eaa6`](https://github.com/vercel/workflow/commit/438eaa6a595811e6d6942ba679e831d25e6cbfbe) Thanks [@TooTallNate](https://github.com/TooTallNate)! - Make `resumeHook()` resilient to transient `hook_received` event write failures (429/5xx) by carrying the payload on the queue message for the runtime to materialize. Returned `Hook` gets a new `resilientResume: true` flag when this fallback path is taken.

### Patch Changes

- [#3208](https://github.com/vercel/workflow/pull/3208) [`4017597`](https://github.com/vercel/workflow/commit/4017597a5f6a54da7ea3bf467c8c63b3bf3bc845) Thanks [@alangenfeld](https://github.com/alangenfeld)! - Report replay-divergence counts on event writes that recover or exhaust replay retries.

- Updated dependencies [[`4a9d26b`](https://github.com/vercel/workflow/commit/4a9d26b1cb807a9e31489350b468db42a8c13ef3), [`1471f25`](https://github.com/vercel/workflow/commit/1471f252fa18024695f1bf149f5bee4876ab149e), [`c93f6f7`](https://github.com/vercel/workflow/commit/c93f6f7bd08b1e885a2d60d49aae9ca9fbda5930), [`4017597`](https://github.com/vercel/workflow/commit/4017597a5f6a54da7ea3bf467c8c63b3bf3bc845), [`438eaa6`](https://github.com/vercel/workflow/commit/438eaa6a595811e6d6942ba679e831d25e6cbfbe), [`ee944d2`](https://github.com/vercel/workflow/commit/ee944d2476daca81b89ba545b522385a7902ec03), [`2677653`](https://github.com/vercel/workflow/commit/2677653759aa34c5c9fe28950fe1a02cec294551), [`f05f642`](https://github.com/vercel/workflow/commit/f05f642e89d7fe0af6e3d007621b0aa05f996a5b), [`ee944d2`](https://github.com/vercel/workflow/commit/ee944d2476daca81b89ba545b522385a7902ec03)]:
- @workflow/world@5.0.0-beta.24
- @workflow/world-vercel@5.0.0-beta.35
- @workflow/errors@5.0.0-beta.15
- @workflow/world-local@5.0.0-beta.33

## 5.0.0-beta.38

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@workflow/core",
"version": "5.0.0-beta.38",
"version": "5.0.0-beta.39",
"description": "Core runtime and engine for Workflow SDK",
"type": "module",
"main": "dist/index.js",
Expand Down
6 changes: 6 additions & 0 deletions packages/errors/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @workflow/errors

## 5.0.0-beta.15

### Minor Changes

- [#3145](https://github.com/vercel/workflow/pull/3145) [`1471f25`](https://github.com/vercel/workflow/commit/1471f252fa18024695f1bf149f5bee4876ab149e) Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Strengthen the event-creation precondition guard: replay-context writes now also send the number of loaded events, so a snapshot that is missing an event is rejected instead of committing a divergent event log, and a rejection restarts the replay in-process (consuming the events a world may attach to the rejection) rather than re-committing the rejected payload or re-invoking over the queue. `@workflow/world-local` and `@workflow/world-postgres` do not implement the check.

## 5.0.0-beta.14

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/errors/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@workflow/errors",
"description": "A package for standardizing errors in Workflow SDK",
"version": "5.0.0-beta.14",
"version": "5.0.0-beta.15",
"type": "module",
"main": "dist/index.js",
"files": [
Expand Down
7 changes: 7 additions & 0 deletions packages/nest/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @workflow/nest

## 5.0.0-beta.39

### Patch Changes

- Updated dependencies []:
- @workflow/builders@5.0.0-beta.39

## 5.0.0-beta.38

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/nest/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@workflow/nest",
"version": "5.0.0-beta.38",
"version": "5.0.0-beta.39",
"description": "NestJS integration for Workflow SDK",
"type": "module",
"main": "dist/index.js",
Expand Down
8 changes: 8 additions & 0 deletions packages/next/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @workflow/next

## 5.0.0-beta.39

### Patch Changes

- Updated dependencies [[`4a9d26b`](https://github.com/vercel/workflow/commit/4a9d26b1cb807a9e31489350b468db42a8c13ef3), [`ee944d2`](https://github.com/vercel/workflow/commit/ee944d2476daca81b89ba545b522385a7902ec03), [`1471f25`](https://github.com/vercel/workflow/commit/1471f252fa18024695f1bf149f5bee4876ab149e), [`9cc11f5`](https://github.com/vercel/workflow/commit/9cc11f5329fbc9151c2f0ccd0139387c07f2d7ce), [`4017597`](https://github.com/vercel/workflow/commit/4017597a5f6a54da7ea3bf467c8c63b3bf3bc845), [`438eaa6`](https://github.com/vercel/workflow/commit/438eaa6a595811e6d6942ba679e831d25e6cbfbe)]:
- @workflow/core@5.0.0-beta.39
- @workflow/builders@5.0.0-beta.39

## 5.0.0-beta.38

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/next/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@workflow/next",
"version": "5.0.0-beta.38",
"version": "5.0.0-beta.39",
"description": "Next.js integration for Workflow SDK",
"type": "commonjs",
"main": "dist/index.js",
Expand Down
11 changes: 11 additions & 0 deletions packages/nitro/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @workflow/nitro

## 5.0.0-beta.39

### Patch Changes

- Updated dependencies [[`4a9d26b`](https://github.com/vercel/workflow/commit/4a9d26b1cb807a9e31489350b468db42a8c13ef3), [`ee944d2`](https://github.com/vercel/workflow/commit/ee944d2476daca81b89ba545b522385a7902ec03), [`1471f25`](https://github.com/vercel/workflow/commit/1471f252fa18024695f1bf149f5bee4876ab149e), [`9cc11f5`](https://github.com/vercel/workflow/commit/9cc11f5329fbc9151c2f0ccd0139387c07f2d7ce), [`4017597`](https://github.com/vercel/workflow/commit/4017597a5f6a54da7ea3bf467c8c63b3bf3bc845), [`438eaa6`](https://github.com/vercel/workflow/commit/438eaa6a595811e6d6942ba679e831d25e6cbfbe)]:
- @workflow/core@5.0.0-beta.39
- @workflow/builders@5.0.0-beta.39
- @workflow/web@5.0.0-beta.39
- @workflow/rollup@5.0.0-beta.39
- @workflow/vite@5.0.0-beta.39

## 5.0.0-beta.38

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/nitro/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@workflow/nitro",
"version": "5.0.0-beta.38",
"version": "5.0.0-beta.39",
"description": "Nitro integration for Workflow SDK",
"type": "module",
"main": "dist/index.js",
Expand Down
7 changes: 7 additions & 0 deletions packages/nuxt/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @workflow/nuxt

## 5.0.0-beta.39

### Patch Changes

- Updated dependencies []:
- @workflow/nitro@5.0.0-beta.39

## 5.0.0-beta.38

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/nuxt/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@workflow/nuxt",
"version": "5.0.0-beta.38",
"version": "5.0.0-beta.39",
"description": "Nuxt integration for Workflow SDK",
"license": "Apache-2.0",
"type": "module",
Expand Down
7 changes: 7 additions & 0 deletions packages/rollup/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @workflow/rollup

## 5.0.0-beta.39

### Patch Changes

- Updated dependencies []:
- @workflow/builders@5.0.0-beta.39

## 5.0.0-beta.38

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/rollup/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@workflow/rollup",
"version": "5.0.0-beta.38",
"version": "5.0.0-beta.39",
"description": "Rollup plugin for Workflow SDK",
"type": "module",
"main": "dist/index.js",
Expand Down
9 changes: 9 additions & 0 deletions packages/sveltekit/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @workflow/sveltekit

## 5.0.0-beta.39

### Patch Changes

- Updated dependencies []:
- @workflow/builders@5.0.0-beta.39
- @workflow/rollup@5.0.0-beta.39
- @workflow/vite@5.0.0-beta.39

## 5.0.0-beta.38

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/sveltekit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@workflow/sveltekit",
"version": "5.0.0-beta.38",
"version": "5.0.0-beta.39",
"description": "SvelteKit integration for Workflow SDK",
"type": "module",
"main": "dist/index.js",
Expand Down
7 changes: 7 additions & 0 deletions packages/vite/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @workflow/vite

## 5.0.0-beta.39

### Patch Changes

- Updated dependencies []:
- @workflow/builders@5.0.0-beta.39

## 5.0.0-beta.38

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/vite/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@workflow/vite",
"description": "Vite plugin for Workflow SDK",
"version": "5.0.0-beta.38",
"version": "5.0.0-beta.39",
"type": "module",
"main": "dist/index.js",
"files": [
Expand Down
Loading