Skip to content
Merged
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
16 changes: 15 additions & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
"few-cups-share",
"fine-coins-cheat",
"fix-builtin-externalize",
"fix-ci-command-injection",
"fix-community-world-specversion",
"fix-discovery-weakmap-cache",
"fix-health-check-correlation-id",
Expand All @@ -73,25 +74,38 @@
"fix-next-version-resolution",
"fix-provider-tool-identity",
"fix-stream-get-runid",
"fix-tools-to-model-tools",
"fix-vite-step-source-maps-e2e",
"getter-step-support",
"green-streams-decode",
"inline-step-registration",
"large-regions-talk",
"lazy-discovery-bare-specifiers",
"lucky-windows-smash",
"many-peas-jog",
"neat-runs-serialize",
"next-diagnostics-dist",
"ninety-dancers-brush",
"nitro-forward-externals",
"no-eval-in-revive",
"o11y-run-ref-rendering",
"old-towns-make",
"preserve-step-fn-names",
"private-member-dce",
"remove-client-mode",
"remove-private-subpath",
"remove-sdk-serde-exclusion",
"remove-step-file-copy",
"rename-domain-urls",
"skip-community-worlds-main",
"slow-bottles-pull",
"start-in-workflow",
"step-run-required",
"sync-step-followup",
"tired-spiders-rhyme",
"vast-oranges-fail",
"workflow-function-serialization"
"workflow-function-serialization",
"world-local-path-traversal",
"world-vercel-protection-bypass"
]
}
9 changes: 9 additions & 0 deletions packages/ai/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @workflow/ai

## 5.0.0-beta.3

### Patch Changes

- [#1544](https://github.com/vercel/workflow/pull/1544) [`3f6d98f`](https://github.com/vercel/workflow/commit/3f6d98f3f0b1e18af47a7665fa210d87f99ff979) Thanks [@iNishant](https://github.com/iNishant)! - Forward `strict`, `inputExamples`, and `providerOptions` tool properties to language model providers, and handle `type: 'dynamic'` tools

- Updated dependencies [[`e295bae`](https://github.com/vercel/workflow/commit/e295bae417bd072f8e18e8d07c76d90d40ae7cec)]:
- workflow@5.0.0-beta.3

## 5.0.0-beta.2

### 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.2",
"version": "5.0.0-beta.3",
"description": "Workflow SDK compatible helper library for the AI SDK",
"type": "module",
"main": "dist/index.js",
Expand Down
10 changes: 10 additions & 0 deletions packages/astro/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @workflow/astro

## 5.0.0-beta.3

### Patch Changes

- Updated dependencies [[`baba580`](https://github.com/vercel/workflow/commit/baba580794f636fa371d86634a2eac7bf367da12), [`417c493`](https://github.com/vercel/workflow/commit/417c4930be3d21768c7efd4d224510a33d8c468c)]:
- @workflow/builders@5.0.0-beta.3
- @workflow/swc-plugin@5.0.0-beta.3
- @workflow/rollup@5.0.0-beta.3
- @workflow/vite@5.0.0-beta.3

## 5.0.0-beta.2

### 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.2",
"version": "5.0.0-beta.3",
"description": "Astro integration for Workflow SDK",
"type": "module",
"main": "dist/index.js",
Expand Down
12 changes: 12 additions & 0 deletions packages/builders/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @workflow/builders

## 5.0.0-beta.3

### Patch Changes

- [#1857](https://github.com/vercel/workflow/pull/1857) [`baba580`](https://github.com/vercel/workflow/commit/baba580794f636fa371d86634a2eac7bf367da12) Thanks [@ijjk](https://github.com/ijjk)! - Write Next.js workflow diagnostics manifests inside the Next.js dist directory and only use `.vercel/output/diagnostics` for the Vercel Build Output API builder.

- [#1686](https://github.com/vercel/workflow/pull/1686) [`417c493`](https://github.com/vercel/workflow/commit/417c4930be3d21768c7efd4d224510a33d8c468c) Thanks [@TooTallNate](https://github.com/TooTallNate)! - **BREAKING CHANGE**: Remove `client` transform mode from SWC plugin. The `client` and `step` modes were nearly identical — both preserved step function bodies, replaced workflow bodies with throw stubs, and emitted the same JSON manifest. The only differences were the step registration mechanism (simple property assignment vs. IIFE) and whether DCE ran. Step mode now absorbs all client-mode behaviors: hoisted variable references for object property steps (so `.stepId` is accessible), and dead code elimination. All integrations that previously used `mode: 'client'` now use `mode: 'step'`.

- Updated dependencies [[`7d07fab`](https://github.com/vercel/workflow/commit/7d07fab692ba79d0339b093a45f5beecb219639e), [`417c493`](https://github.com/vercel/workflow/commit/417c4930be3d21768c7efd4d224510a33d8c468c), [`e295bae`](https://github.com/vercel/workflow/commit/e295bae417bd072f8e18e8d07c76d90d40ae7cec)]:
- @workflow/core@5.0.0-beta.3
- @workflow/swc-plugin@5.0.0-beta.3

## 5.0.0-beta.2

### 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.2",
"version": "5.0.0-beta.3",
"description": "Shared builder infrastructure for Workflow SDK",
"type": "module",
"main": "./dist/index.js",
Expand Down
14 changes: 14 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @workflow/cli

## 5.0.0-beta.3

### Patch Changes

- [#1686](https://github.com/vercel/workflow/pull/1686) [`417c493`](https://github.com/vercel/workflow/commit/417c4930be3d21768c7efd4d224510a33d8c468c) Thanks [@TooTallNate](https://github.com/TooTallNate)! - **BREAKING CHANGE**: Remove `client` transform mode from SWC plugin. The `client` and `step` modes were nearly identical — both preserved step function bodies, replaced workflow bodies with throw stubs, and emitted the same JSON manifest. The only differences were the step registration mechanism (simple property assignment vs. IIFE) and whether DCE ran. Step mode now absorbs all client-mode behaviors: hoisted variable references for object property steps (so `.stepId` is accessible), and dead code elimination. All integrations that previously used `mode: 'client'` now use `mode: 'step'`.

- Updated dependencies [[`9ea1254`](https://github.com/vercel/workflow/commit/9ea125427f4d96acf142b8b8deca0594e7ee1e7b), [`baba580`](https://github.com/vercel/workflow/commit/baba580794f636fa371d86634a2eac7bf367da12), [`7d07fab`](https://github.com/vercel/workflow/commit/7d07fab692ba79d0339b093a45f5beecb219639e), [`417c493`](https://github.com/vercel/workflow/commit/417c4930be3d21768c7efd4d224510a33d8c468c), [`e295bae`](https://github.com/vercel/workflow/commit/e295bae417bd072f8e18e8d07c76d90d40ae7cec), [`3ad8ee7`](https://github.com/vercel/workflow/commit/3ad8ee7e33e4639cf0e4778c1e87b96a17a74c56), [`354840e`](https://github.com/vercel/workflow/commit/354840e93b46e2eae29d4b1f936b04a92db1890e)]:
- @workflow/web@5.0.0-beta.3
- @workflow/builders@5.0.0-beta.3
- @workflow/core@5.0.0-beta.3
- @workflow/swc-plugin@5.0.0-beta.3
- @workflow/world-local@5.0.0-beta.3
- @workflow/world-vercel@5.0.0-beta.3

## 5.0.0-beta.2

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

## 5.0.0-beta.3

### Minor Changes

- [#1491](https://github.com/vercel/workflow/pull/1491) [`e295bae`](https://github.com/vercel/workflow/commit/e295bae417bd072f8e18e8d07c76d90d40ae7cec) Thanks [@pranaygp](https://github.com/pranaygp)! - Allow `start()` to be called directly inside workflow functions

### Patch Changes

- [#1848](https://github.com/vercel/workflow/pull/1848) [`7d07fab`](https://github.com/vercel/workflow/commit/7d07fab692ba79d0339b093a45f5beecb219639e) Thanks [@pranaygp](https://github.com/pranaygp)! - Replace `eval` in `serialization.ts` `revive()` helper with `JSON.parse`. `devalue.stringify()` output is always valid JSON (special values are encoded as negative integer sentinels), so `JSON.parse` is a safe drop-in that eliminates the `eval` anti-pattern.

- Updated dependencies [[`3ad8ee7`](https://github.com/vercel/workflow/commit/3ad8ee7e33e4639cf0e4778c1e87b96a17a74c56), [`354840e`](https://github.com/vercel/workflow/commit/354840e93b46e2eae29d4b1f936b04a92db1890e)]:
- @workflow/world-local@5.0.0-beta.3
- @workflow/world-vercel@5.0.0-beta.3

## 5.0.0-beta.2

### 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.2",
"version": "5.0.0-beta.3",
"description": "Core runtime and engine for Workflow SDK",
"type": "module",
"main": "dist/index.js",
Expand Down
10 changes: 10 additions & 0 deletions packages/nest/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @workflow/nest

## 5.0.0-beta.3

### Patch Changes

- [#1686](https://github.com/vercel/workflow/pull/1686) [`417c493`](https://github.com/vercel/workflow/commit/417c4930be3d21768c7efd4d224510a33d8c468c) Thanks [@TooTallNate](https://github.com/TooTallNate)! - **BREAKING CHANGE**: Remove `client` transform mode from SWC plugin. The `client` and `step` modes were nearly identical — both preserved step function bodies, replaced workflow bodies with throw stubs, and emitted the same JSON manifest. The only differences were the step registration mechanism (simple property assignment vs. IIFE) and whether DCE ran. Step mode now absorbs all client-mode behaviors: hoisted variable references for object property steps (so `.stepId` is accessible), and dead code elimination. All integrations that previously used `mode: 'client'` now use `mode: 'step'`.

- Updated dependencies [[`baba580`](https://github.com/vercel/workflow/commit/baba580794f636fa371d86634a2eac7bf367da12), [`417c493`](https://github.com/vercel/workflow/commit/417c4930be3d21768c7efd4d224510a33d8c468c)]:
- @workflow/builders@5.0.0-beta.3
- @workflow/swc-plugin@5.0.0-beta.3

## 5.0.0-beta.2

### 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.2",
"version": "5.0.0-beta.3",
"description": "NestJS integration for Workflow SDK",
"type": "module",
"main": "dist/index.js",
Expand Down
15 changes: 15 additions & 0 deletions packages/next/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# @workflow/next

## 5.0.0-beta.3

### Patch Changes

- [#1857](https://github.com/vercel/workflow/pull/1857) [`baba580`](https://github.com/vercel/workflow/commit/baba580794f636fa371d86634a2eac7bf367da12) Thanks [@ijjk](https://github.com/ijjk)! - Write Next.js workflow diagnostics manifests inside the Next.js dist directory and only use `.vercel/output/diagnostics` for the Vercel Build Output API builder.

- [#1686](https://github.com/vercel/workflow/pull/1686) [`417c493`](https://github.com/vercel/workflow/commit/417c4930be3d21768c7efd4d224510a33d8c468c) Thanks [@TooTallNate](https://github.com/TooTallNate)! - **BREAKING CHANGE**: Remove `client` transform mode from SWC plugin. The `client` and `step` modes were nearly identical — both preserved step function bodies, replaced workflow bodies with throw stubs, and emitted the same JSON manifest. The only differences were the step registration mechanism (simple property assignment vs. IIFE) and whether DCE ran. Step mode now absorbs all client-mode behaviors: hoisted variable references for object property steps (so `.stepId` is accessible), and dead code elimination. All integrations that previously used `mode: 'client'` now use `mode: 'step'`.

- [#1796](https://github.com/vercel/workflow/pull/1796) [`906f7c1`](https://github.com/vercel/workflow/commit/906f7c12132c6ed24ac64a5a3c57ee524ad9e7be) Thanks [@TooTallNate](https://github.com/TooTallNate)! - Simplify the deferred builder by importing step sources directly into the generated `step/route.js`, matching how serde files are handled.

- Updated dependencies [[`baba580`](https://github.com/vercel/workflow/commit/baba580794f636fa371d86634a2eac7bf367da12), [`7d07fab`](https://github.com/vercel/workflow/commit/7d07fab692ba79d0339b093a45f5beecb219639e), [`417c493`](https://github.com/vercel/workflow/commit/417c4930be3d21768c7efd4d224510a33d8c468c), [`e295bae`](https://github.com/vercel/workflow/commit/e295bae417bd072f8e18e8d07c76d90d40ae7cec)]:
- @workflow/builders@5.0.0-beta.3
- @workflow/core@5.0.0-beta.3
- @workflow/swc-plugin@5.0.0-beta.3

## 5.0.0-beta.2

### 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.2",
"version": "5.0.0-beta.3",
"description": "Next.js integration for Workflow SDK",
"type": "commonjs",
"main": "dist/index.js",
Expand Down
15 changes: 15 additions & 0 deletions packages/nitro/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# @workflow/nitro

## 5.0.0-beta.3

### Minor Changes

- [#1844](https://github.com/vercel/workflow/pull/1844) [`cbecbaa`](https://github.com/vercel/workflow/commit/cbecbaa5fe0cc58da4b758dbd84a48e89ca7ba88) Thanks [@TooTallNate](https://github.com/TooTallNate)! - Forward string entries from Nitro's `externals.external` config to the workflow builder's esbuild `external` option.

### Patch Changes

- Updated dependencies [[`baba580`](https://github.com/vercel/workflow/commit/baba580794f636fa371d86634a2eac7bf367da12), [`7d07fab`](https://github.com/vercel/workflow/commit/7d07fab692ba79d0339b093a45f5beecb219639e), [`417c493`](https://github.com/vercel/workflow/commit/417c4930be3d21768c7efd4d224510a33d8c468c), [`e295bae`](https://github.com/vercel/workflow/commit/e295bae417bd072f8e18e8d07c76d90d40ae7cec)]:
- @workflow/builders@5.0.0-beta.3
- @workflow/core@5.0.0-beta.3
- @workflow/swc-plugin@5.0.0-beta.3
- @workflow/rollup@5.0.0-beta.3
- @workflow/vite@5.0.0-beta.3

## 5.0.0-beta.2

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

### Patch Changes

- Updated dependencies [[`cbecbaa`](https://github.com/vercel/workflow/commit/cbecbaa5fe0cc58da4b758dbd84a48e89ca7ba88)]:
- @workflow/nitro@5.0.0-beta.3

## 5.0.0-beta.2

### 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.2",
"version": "5.0.0-beta.3",
"description": "Nuxt integration for Workflow SDK",
"license": "Apache-2.0",
"type": "module",
Expand Down
10 changes: 10 additions & 0 deletions packages/rollup/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @workflow/rollup

## 5.0.0-beta.3

### Patch Changes

- [#1686](https://github.com/vercel/workflow/pull/1686) [`417c493`](https://github.com/vercel/workflow/commit/417c4930be3d21768c7efd4d224510a33d8c468c) Thanks [@TooTallNate](https://github.com/TooTallNate)! - **BREAKING CHANGE**: Remove `client` transform mode from SWC plugin. The `client` and `step` modes were nearly identical — both preserved step function bodies, replaced workflow bodies with throw stubs, and emitted the same JSON manifest. The only differences were the step registration mechanism (simple property assignment vs. IIFE) and whether DCE ran. Step mode now absorbs all client-mode behaviors: hoisted variable references for object property steps (so `.stepId` is accessible), and dead code elimination. All integrations that previously used `mode: 'client'` now use `mode: 'step'`.

- Updated dependencies [[`baba580`](https://github.com/vercel/workflow/commit/baba580794f636fa371d86634a2eac7bf367da12), [`417c493`](https://github.com/vercel/workflow/commit/417c4930be3d21768c7efd4d224510a33d8c468c)]:
- @workflow/builders@5.0.0-beta.3
- @workflow/swc-plugin@5.0.0-beta.3

## 5.0.0-beta.2

### 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.2",
"version": "5.0.0-beta.3",
"description": "Rollup plugin for Workflow SDK",
"type": "module",
"main": "dist/index.js",
Expand Down
10 changes: 10 additions & 0 deletions packages/sveltekit/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @workflow/sveltekit

## 5.0.0-beta.3

### Patch Changes

- Updated dependencies [[`baba580`](https://github.com/vercel/workflow/commit/baba580794f636fa371d86634a2eac7bf367da12), [`417c493`](https://github.com/vercel/workflow/commit/417c4930be3d21768c7efd4d224510a33d8c468c)]:
- @workflow/builders@5.0.0-beta.3
- @workflow/swc-plugin@5.0.0-beta.3
- @workflow/rollup@5.0.0-beta.3
- @workflow/vite@5.0.0-beta.3

## 5.0.0-beta.2

### 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.2",
"version": "5.0.0-beta.3",
"description": "SvelteKit integration for Workflow SDK",
"type": "module",
"main": "dist/index.js",
Expand Down
6 changes: 6 additions & 0 deletions packages/swc-plugin-workflow/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @workflow/swc-plugin

## 5.0.0-beta.3

### Major Changes

- [#1686](https://github.com/vercel/workflow/pull/1686) [`417c493`](https://github.com/vercel/workflow/commit/417c4930be3d21768c7efd4d224510a33d8c468c) Thanks [@TooTallNate](https://github.com/TooTallNate)! - **BREAKING CHANGE**: Remove `client` transform mode from SWC plugin. The `client` and `step` modes were nearly identical — both preserved step function bodies, replaced workflow bodies with throw stubs, and emitted the same JSON manifest. The only differences were the step registration mechanism (simple property assignment vs. IIFE) and whether DCE ran. Step mode now absorbs all client-mode behaviors: hoisted variable references for object property steps (so `.stepId` is accessible), and dead code elimination. All integrations that previously used `mode: 'client'` now use `mode: 'step'`.

## 5.0.0-beta.2

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

## 5.0.0-beta.3

### Patch Changes

- [#1830](https://github.com/vercel/workflow/pull/1830) [`a38f140`](https://github.com/vercel/workflow/commit/a38f140ce3aee3e25f821a702d70a1fd21598faf) Thanks [@ijjk](https://github.com/ijjk)! - Make the TypeScript peer dependency optional and show a clearer error
when TypeScript is unavailable.

## 5.0.0-beta.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@workflow/typescript-plugin",
"version": "5.0.0-beta.2",
"version": "5.0.0-beta.3",
"description": "TypeScript Language Service Plugin for Workflow SDK",
"main": "dist/index.js",
"files": [
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.3

### Patch Changes

- Updated dependencies [[`baba580`](https://github.com/vercel/workflow/commit/baba580794f636fa371d86634a2eac7bf367da12), [`417c493`](https://github.com/vercel/workflow/commit/417c4930be3d21768c7efd4d224510a33d8c468c)]:
- @workflow/builders@5.0.0-beta.3

## 5.0.0-beta.2

### 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.2",
"version": "5.0.0-beta.3",
"type": "module",
"main": "dist/index.js",
"files": [
Expand Down
Loading