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
6 changes: 6 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
"builders-discovery-fixes",
"bump-undici-7-26",
"bundle-aliased-project-local-helpers",
"byte-stream-wire-framing",
"calm-events-guard",
"ci-runtime-fast-paths",
"clever-adults-ask",
Expand Down Expand Up @@ -117,12 +118,14 @@
"fix-next-version-resolution",
"fix-observability-getworld-import",
"fix-provider-tool-identity",
"fix-step-vs-wait-race-eager-wait",
"fix-step-vs-wait-race",
"fix-stream-get-runid",
"fix-tarballs-build",
"fix-tools-to-model-tools",
"fix-turbopack-content-condition-deferred",
"fix-vite-step-source-maps-e2e",
"fix-world-local-hook-self-conflict",
"fix-world-local-step-created-race",
"fix-world-postgres-events-uniqueness",
"fix-world-vercel-request-timeout",
Expand All @@ -136,6 +139,7 @@
"guard-step-consumer-events",
"healthcheck-coreversion",
"hook-conflict-web-reviver",
"hook-get-conflict",
"hook-sleep-replay-ordering",
"ignore-generated-manifest",
"inline-step-registration",
Expand All @@ -151,6 +155,7 @@
"moody-rivers-play",
"narrow-step-bundling",
"narrow-trace-detail-pane",
"native-attribute-events",
"neat-runs-serialize",
"nest-cjs-ast-rewrite",
"next-diagnostics-dist",
Expand Down Expand Up @@ -222,6 +227,7 @@
"tanstack-start-workbench",
"terminal-run-event-replay-main",
"test-promise-race-prefix-determinism",
"timeline-queued-connector",
"tired-pigs-hug",
"tired-spiders-rhyme",
"trace-nav-tooltips",
Expand Down
7 changes: 7 additions & 0 deletions packages/ai/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @workflow/ai

## 5.0.0-beta.9

### Patch Changes

- Updated dependencies [[`303b6da`](https://github.com/vercel/workflow/commit/303b6da28affe2f6cec8651b3dd11ec922619784), [`01c8c08`](https://github.com/vercel/workflow/commit/01c8c0878a515bec4476ee2bc90b26d914822632), [`ae8d6fe`](https://github.com/vercel/workflow/commit/ae8d6feeda0d1d31da8da70156d6e04ebb0487d0)]:
- workflow@5.0.0-beta.15

## 5.0.0-beta.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ai/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@workflow/ai",
"version": "5.0.0-beta.8",
"version": "5.0.0-beta.9",
"description": "Workflow SDK compatible helper library for the AI SDK",
"type": "module",
"main": "dist/index.js",
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.15

### Patch Changes

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

## 5.0.0-beta.14

### 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.14",
"version": "5.0.0-beta.15",
"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.15

### Patch Changes

- Updated dependencies [[`303b6da`](https://github.com/vercel/workflow/commit/303b6da28affe2f6cec8651b3dd11ec922619784), [`b3279f8`](https://github.com/vercel/workflow/commit/b3279f8b17ca5a57a364d12b5e9394f7d27fe3b2), [`01c8c08`](https://github.com/vercel/workflow/commit/01c8c0878a515bec4476ee2bc90b26d914822632), [`ae8d6fe`](https://github.com/vercel/workflow/commit/ae8d6feeda0d1d31da8da70156d6e04ebb0487d0)]:
- @workflow/core@5.0.0-beta.15
- @workflow/errors@5.0.0-beta.7

## 5.0.0-beta.14

### Minor 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.14",
"version": "5.0.0-beta.15",
"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.15

### Patch Changes

- Updated dependencies [[`303b6da`](https://github.com/vercel/workflow/commit/303b6da28affe2f6cec8651b3dd11ec922619784), [`b3279f8`](https://github.com/vercel/workflow/commit/b3279f8b17ca5a57a364d12b5e9394f7d27fe3b2), [`f2a7bde`](https://github.com/vercel/workflow/commit/f2a7bdeb0abcf8a5d48c33a35b4b15aeca78cddf), [`01c8c08`](https://github.com/vercel/workflow/commit/01c8c0878a515bec4476ee2bc90b26d914822632), [`ae8d6fe`](https://github.com/vercel/workflow/commit/ae8d6feeda0d1d31da8da70156d6e04ebb0487d0)]:
- @workflow/core@5.0.0-beta.15
- @workflow/world-local@5.0.0-beta.16
- @workflow/world@5.0.0-beta.9
- @workflow/world-vercel@5.0.0-beta.14
- @workflow/builders@5.0.0-beta.15
- @workflow/web@5.0.0-beta.15
- @workflow/errors@5.0.0-beta.7

## 5.0.0-beta.14

### Patch 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.14",
"version": "5.0.0-beta.15",
"description": "Command-line interface for Workflow SDK",
"type": "module",
"bin": {
Expand Down
20 changes: 20 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# @workflow/core

## 5.0.0-beta.15

### Minor Changes

- [#1853](https://github.com/vercel/workflow/pull/1853) [`303b6da`](https://github.com/vercel/workflow/commit/303b6da28affe2f6cec8651b3dd11ec922619784) Thanks [@TooTallNate](https://github.com/TooTallNate)! - Add opt-in wire-level framing for byte streams (`type: 'bytes'`) so consumers can identify chunk boundaries — a prerequisite for transparent auto-reconnect. The framing decision is gated on a new `framedByteStreams` capability and recorded per-stream in the serialized ref (`framing: 'framed-v1'`); legacy raw streams continue to work unchanged.

- [#2373](https://github.com/vercel/workflow/pull/2373) [`01c8c08`](https://github.com/vercel/workflow/commit/01c8c0878a515bec4476ee2bc90b26d914822632) Thanks [@pranaygp](https://github.com/pranaygp)! - Replace `hook.hasConflict` (a `Promise<boolean>` property) with `hook.getConflict()`, a method returning a promise that suspends the workflow to commit hook registration and resolves with the conflicting `Run` when another active hook owns the token (or `null` once the hook is registered), without waiting for hook payload data. Code using `await hook.hasConflict` should migrate to `const conflict = await hook.getConflict()` and branch on `conflict !== null`.

- [#2226](https://github.com/vercel/workflow/pull/2226) [`ae8d6fe`](https://github.com/vercel/workflow/commit/ae8d6feeda0d1d31da8da70156d6e04ebb0487d0) Thanks [@pranaygp](https://github.com/pranaygp)! - Allow passing initial run attributes through `start()`, and speed up workflow-level `setAttribute` calls by using native events for recording attributes.

### Patch Changes

- [#1925](https://github.com/vercel/workflow/pull/1925) [`b3279f8`](https://github.com/vercel/workflow/commit/b3279f8b17ca5a57a364d12b5e9394f7d27fe3b2) Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - V2 suspension processing: unify wait + step queue dispatch into a single parallel batch. The runtime now queues every pending operation (non-inline steps + wait timer) in one `Promise.all` and then inline-executes one owned step (if any). The asymmetric `{ timeoutSeconds }` return contract for waits is dropped from suspension processing; waits become normal queue continuations with `delaySeconds`, deduplicated per wait so repeated suspension passes don't accumulate delayed messages. Continuation delays are clamped to 23h (VQS's message-retention bound) with longer waits chained across hop-keyed messages, so multi-day `sleep()`s work on every world. This restores inline step execution for `Promise.race(step, sleep)` workflows without any of the carve-outs the prior fix needed: even when the inline step blocks the handler, the wait continuation fires in parallel and drives the next replay. As part of the same change, `world-local`'s queue now honors `delaySeconds` (matches `world-vercel` / `world-postgres`), and its `close()` aborts pending delayed deliveries and retry sleeps so dev-server/test shutdown isn't held open by wait timers.

- Updated dependencies [[`b3279f8`](https://github.com/vercel/workflow/commit/b3279f8b17ca5a57a364d12b5e9394f7d27fe3b2), [`f2a7bde`](https://github.com/vercel/workflow/commit/f2a7bdeb0abcf8a5d48c33a35b4b15aeca78cddf), [`ae8d6fe`](https://github.com/vercel/workflow/commit/ae8d6feeda0d1d31da8da70156d6e04ebb0487d0)]:
- @workflow/world-local@5.0.0-beta.16
- @workflow/world@5.0.0-beta.9
- @workflow/world-vercel@5.0.0-beta.14
- @workflow/errors@5.0.0-beta.7

## 5.0.0-beta.14

### Minor 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.14",
"version": "5.0.0-beta.15",
"description": "Core runtime and engine for Workflow SDK",
"type": "module",
"main": "dist/index.js",
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.15

### Patch Changes

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

## 5.0.0-beta.14

### 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.14",
"version": "5.0.0-beta.15",
"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.15

### Patch Changes

- Updated dependencies [[`303b6da`](https://github.com/vercel/workflow/commit/303b6da28affe2f6cec8651b3dd11ec922619784), [`b3279f8`](https://github.com/vercel/workflow/commit/b3279f8b17ca5a57a364d12b5e9394f7d27fe3b2), [`01c8c08`](https://github.com/vercel/workflow/commit/01c8c0878a515bec4476ee2bc90b26d914822632), [`ae8d6fe`](https://github.com/vercel/workflow/commit/ae8d6feeda0d1d31da8da70156d6e04ebb0487d0)]:
- @workflow/core@5.0.0-beta.15
- @workflow/builders@5.0.0-beta.15

## 5.0.0-beta.14

### 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.14",
"version": "5.0.0-beta.15",
"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.15

### Patch Changes

- Updated dependencies [[`303b6da`](https://github.com/vercel/workflow/commit/303b6da28affe2f6cec8651b3dd11ec922619784), [`b3279f8`](https://github.com/vercel/workflow/commit/b3279f8b17ca5a57a364d12b5e9394f7d27fe3b2), [`01c8c08`](https://github.com/vercel/workflow/commit/01c8c0878a515bec4476ee2bc90b26d914822632), [`ae8d6fe`](https://github.com/vercel/workflow/commit/ae8d6feeda0d1d31da8da70156d6e04ebb0487d0)]:
- @workflow/core@5.0.0-beta.15
- @workflow/builders@5.0.0-beta.15
- @workflow/web@5.0.0-beta.15
- @workflow/rollup@5.0.0-beta.15
- @workflow/vite@5.0.0-beta.15

## 5.0.0-beta.14

### Patch 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.14",
"version": "5.0.0-beta.15",
"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.15

### Patch Changes

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

## 5.0.0-beta.14

### 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.14",
"version": "5.0.0-beta.15",
"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.15

### Patch Changes

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

## 5.0.0-beta.14

### 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.14",
"version": "5.0.0-beta.15",
"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.15

### Patch Changes

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

## 5.0.0-beta.14

### 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.14",
"version": "5.0.0-beta.15",
"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.15

### Patch Changes

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

## 5.0.0-beta.14

### 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.14",
"version": "5.0.0-beta.15",
"type": "module",
"main": "dist/index.js",
"files": [
Expand Down
11 changes: 11 additions & 0 deletions packages/vitest/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @workflow/vitest

## 5.0.0-beta.15

### Patch Changes

- Updated dependencies [[`303b6da`](https://github.com/vercel/workflow/commit/303b6da28affe2f6cec8651b3dd11ec922619784), [`b3279f8`](https://github.com/vercel/workflow/commit/b3279f8b17ca5a57a364d12b5e9394f7d27fe3b2), [`f2a7bde`](https://github.com/vercel/workflow/commit/f2a7bdeb0abcf8a5d48c33a35b4b15aeca78cddf), [`01c8c08`](https://github.com/vercel/workflow/commit/01c8c0878a515bec4476ee2bc90b26d914822632), [`ae8d6fe`](https://github.com/vercel/workflow/commit/ae8d6feeda0d1d31da8da70156d6e04ebb0487d0)]:
- @workflow/core@5.0.0-beta.15
- @workflow/world-local@5.0.0-beta.16
- @workflow/world@5.0.0-beta.9
- @workflow/builders@5.0.0-beta.15
- @workflow/rollup@5.0.0-beta.15

## 5.0.0-beta.14

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/vitest/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@workflow/vitest",
"version": "5.0.0-beta.14",
"version": "5.0.0-beta.15",
"description": "Vitest plugin for testing Workflow SDK workflows",
"type": "module",
"main": "./dist/index.js",
Expand Down
10 changes: 10 additions & 0 deletions packages/web-shared/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @workflow/web-shared

## 5.0.0-beta.15

### Patch Changes

- [#2381](https://github.com/vercel/workflow/pull/2381) [`8262c2d`](https://github.com/vercel/workflow/commit/8262c2d292670c0d836a1e040c09355ff93832e8) Thanks [@mitul-s](https://github.com/mitul-s)! - Render queued span time in the trace timeline as a lead-in connector into the active bar instead of a filled gray box.

- Updated dependencies [[`303b6da`](https://github.com/vercel/workflow/commit/303b6da28affe2f6cec8651b3dd11ec922619784), [`b3279f8`](https://github.com/vercel/workflow/commit/b3279f8b17ca5a57a364d12b5e9394f7d27fe3b2), [`01c8c08`](https://github.com/vercel/workflow/commit/01c8c0878a515bec4476ee2bc90b26d914822632), [`ae8d6fe`](https://github.com/vercel/workflow/commit/ae8d6feeda0d1d31da8da70156d6e04ebb0487d0)]:
- @workflow/core@5.0.0-beta.15
- @workflow/world@5.0.0-beta.9

## 5.0.0-beta.14

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/web-shared/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@workflow/web-shared",
"description": "Shared components for Workflow Observability UI",
"version": "5.0.0-beta.14",
"version": "5.0.0-beta.15",
"private": false,
"files": [
"dist",
Expand Down
2 changes: 2 additions & 0 deletions packages/web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @workflow/web

## 5.0.0-beta.15

## 5.0.0-beta.14

## 5.0.0-beta.13
Expand Down
2 changes: 1 addition & 1 deletion packages/web/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@workflow/web",
"description": "Workflow Observability UI",
"version": "5.0.0-beta.14",
"version": "5.0.0-beta.15",
"type": "module",
"private": false,
"files": [
Expand Down
Loading