From 70bd289fcce72631ffbd6af74cb547ca3a3de05a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 2 Feb 2026 18:24:01 +0000 Subject: [PATCH] Version Packages (beta) --- .changeset/pre.json | 45 +++++++++++++++++++- docs/package.json | 1 - packages/ai/CHANGELOG.md | 11 +++++ packages/ai/package.json | 4 +- packages/astro/CHANGELOG.md | 12 ++++++ packages/astro/package.json | 2 +- packages/builders/CHANGELOG.md | 20 +++++++++ packages/builders/package.json | 2 +- packages/cli/CHANGELOG.md | 38 +++++++++++++++++ packages/cli/package.json | 2 +- packages/core/CHANGELOG.md | 45 ++++++++++++++++++++ packages/core/package.json | 2 +- packages/docs-typecheck/CHANGELOG.md | 11 +++++ packages/docs-typecheck/package.json | 2 +- packages/errors/CHANGELOG.md | 32 ++++++++++++++ packages/errors/package.json | 2 +- packages/nest/CHANGELOG.md | 11 +++++ packages/nest/package.json | 2 +- packages/next/CHANGELOG.md | 9 ++++ packages/next/package.json | 2 +- packages/nitro/CHANGELOG.md | 13 ++++++ packages/nitro/package.json | 2 +- packages/nuxt/CHANGELOG.md | 7 ++++ packages/nuxt/package.json | 2 +- packages/rollup/CHANGELOG.md | 7 ++++ packages/rollup/package.json | 2 +- packages/serde/CHANGELOG.md | 13 ++++++ packages/serde/package.json | 2 +- packages/sveltekit/CHANGELOG.md | 10 +++++ packages/sveltekit/package.json | 2 +- packages/swc-plugin-workflow/CHANGELOG.md | 21 ++++++++++ packages/swc-plugin-workflow/package.json | 2 +- packages/utils/CHANGELOG.md | 17 ++++++++ packages/utils/package.json | 2 +- packages/web-shared/CHANGELOG.md | 48 +++++++++++++++++++++ packages/web-shared/package.json | 2 +- packages/web/CHANGELOG.md | 17 ++++++++ packages/web/package.json | 2 +- packages/workflow/CHANGELOG.md | 32 ++++++++++++++ packages/workflow/package.json | 2 +- packages/world-local/CHANGELOG.md | 51 +++++++++++++++++++++++ packages/world-local/package.json | 2 +- packages/world-postgres/CHANGELOG.md | 47 +++++++++++++++++++++ packages/world-postgres/package.json | 2 +- packages/world-testing/CHANGELOG.md | 24 +++++++++++ packages/world-testing/package.json | 2 +- packages/world-vercel/CHANGELOG.md | 44 +++++++++++++++++++ packages/world-vercel/package.json | 2 +- packages/world/CHANGELOG.md | 41 ++++++++++++++++++ packages/world/package.json | 2 +- 50 files changed, 650 insertions(+), 27 deletions(-) create mode 100644 packages/nest/CHANGELOG.md diff --git a/.changeset/pre.json b/.changeset/pre.json index f49173520e..4d43e779d1 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -40,16 +40,22 @@ "@workflow/example-fastify": "0.0.0", "@workflow/vite": "4.0.0-beta.1", "@workflow/docs-typecheck": "0.0.0", - "@workflow/serde": "4.0.0" + "@workflow/serde": "4.0.0", + "@workflow/nest": "0.0.0-development", + "@workflow/example-nest": "0.0.0" }, "changesets": [ "add-documentation", + "add-nestjs-support", "add-type-safety", "afraid-paws-rescue", "all-guests-change", "all-years-glow", "angry-birds-pay", "angry-owls-beg", + "backwards-compat", + "better-wings-deny", + "big-chicken-know", "bigint-serialization", "bitter-ads-hear", "bitter-guests-flow", @@ -64,6 +70,7 @@ "bright-ducks-travel", "bumpy-taxis-learn", "busy-ears-switch", + "bzoad-wqahd-honuz", "calm-worlds-spend", "chatty-bees-sing", "chatty-goats-fall", @@ -72,17 +79,21 @@ "clean-parrots-search", "clear-carpets-slide", "clear-drinks-fly", + "clear-eagles-call", + "cli-event-sourced", "common-singers-hide", "consolidate-config", "cool-lands-buy", "cool-radios-beg", "cool-worlds-juggle", "cool-zebras-yawn", + "core-event-sourced", "crazy-days-agree", "crazy-waves-leave", "create-builders-package", "cruel-corners-feel", "cruel-houses-sneeze", + "cruel-paths-move", "cuddly-cougars-clean", "cuddly-lobsters-build", "cuddly-otters-sin", @@ -108,9 +119,11 @@ "eight-clowns-own", "eight-clubs-refuse", "eight-emus-shave", + "eighty-bikes-jog", "eighty-bushes-relate", "eighty-carrots-kiss", "eleven-roses-enter", + "event-sourced-storage", "every-mugs-rest", "evil-mammals-hear", "evil-socks-agree", @@ -120,6 +133,7 @@ "famous-grapes-call", "famous-jeans-itch", "fancy-apples-tell", + "fancy-news-throw", "fast-eels-warn", "fast-lands-sniff", "fast-owls-flow", @@ -134,6 +148,10 @@ "fix-default-export-workflow", "fix-error-stack-rendering", "fix-provider-metadata-tool-calls", + "fix-readme-header-svg-404", + "fix-runtime-option", + "fix-spec-version-compat", + "fix-tool-output-double-stringify", "flat-cloths-cough", "flat-lemons-carry", "floppy-dancers-lose", @@ -147,6 +165,7 @@ "four-pillows-fall", "free-bugs-design", "free-forks-relax", + "fresh-suns-wave", "fruity-stars-bet", "funny-chicken-burn", "funny-games-sniff", @@ -155,11 +174,13 @@ "fuzzy-cameras-burn", "gentle-plants-send", "gold-dogs-reply", + "gold-dogs-strive", "good-icons-love", "great-mice-slide", "great-taxes-bet", "green-clouds-search", "green-ducks-wave", + "green-foxes-lose", "grumpy-apes-rescue", "grumpy-ties-sort", "handle-tool-errors", @@ -174,6 +195,7 @@ "hip-singers-cut", "honest-fans-change", "honest-taxes-listen", + "hook-conflict-event", "hot-fans-check", "huge-rabbits-travel", "hungry-cats-rush", @@ -199,6 +221,7 @@ "little-experts-show", "little-peaches-win", "little-suits-sip", + "little-things-kiss", "long-guests-enter", "loud-crabs-clap", "lovely-rings-bet", @@ -206,6 +229,7 @@ "lucky-dolphins-flow", "lucky-signs-shine", "major-kiwis-itch", + "major-mails-act", "major-moles-sit", "major-roses-yell", "mean-experts-hammer", @@ -215,6 +239,7 @@ "metal-sheep-wait", "mjs-cts-extension-support", "modern-bikes-shout", + "modern-clubs-own", "moody-mirrors-melt", "moody-taxes-wonder", "move-next-builder", @@ -225,12 +250,15 @@ "new-crabs-hope", "nine-beds-agree", "nine-books-heal", + "nine-falcons-speak", + "nine-humans-grow", "nine-insects-refuse", "nine-owls-write", "ninety-cobras-shop", "ninety-geckos-lose", "ninety-lions-grab", "ninety-months-win", + "ninety-papayas-brake", "odd-bobcats-repair", "odd-years-fail", "old-pugs-win", @@ -240,6 +268,8 @@ "petite-eggs-tell", "pink-aliens-itch", "plain-parks-lick", + "plain-rivers-behave", + "polite-animals-write", "poor-eyes-build", "poor-frogs-wear", "poor-lines-make", @@ -248,9 +278,12 @@ "pretty-duration-format", "pretty-teeth-brush", "puny-schools-retire", + "purple-dots-dance", "purple-pianos-stare", + "purple-rocks-dance", "purple-symbols-remain", "quick-lizards-drum", + "quick-mammals-kneel", "quick-teeth-roll", "quiet-boxes-carry", "quiet-ears-punch", @@ -261,6 +294,7 @@ "red-cities-poke", "red-ears-smoke", "red-rooms-buy", + "remove-deprecated-workflow-events", "remove-paused-resumed", "remove-vercel-world-remote-access", "ripe-rats-yawn", @@ -293,6 +327,7 @@ "slimy-hairs-thank", "slow-parks-roll", "slow-pears-swim", + "slow-suits-juggle", "small-memes-shout", "smart-chicken-poke", "smart-doodles-know", @@ -305,6 +340,7 @@ "solid-ideas-sing", "sour-rice-behave", "sour-tigers-serve", + "spec-version", "spicy-dodos-bow", "spicy-rivers-call", "spotty-eggs-sip", @@ -325,6 +361,7 @@ "tangy-cups-wink", "tasty-onions-melt", "temp-nitro-fix", + "ten-eagles-live", "tender-dodos-film", "tender-owls-beam", "thick-moons-wink", @@ -333,6 +370,7 @@ "thick-steaks-beam", "thin-mangos-double", "thin-squids-roll", + "thirty-ideas-glow", "three-hands-open", "three-peas-hide", "three-peas-raise", @@ -357,6 +395,7 @@ "two-nights-join", "two-rabbits-burn", "two-snails-cross", + "upset-ears-trade", "vast-files-judge", "violet-bats-crash", "violet-ideas-like", @@ -375,12 +414,16 @@ "wide-cities-hunt", "wide-wombats-own", "wide-wombats-poke", + "wire-workflow-version", "witty-jars-like", "witty-phones-doubt", "witty-toys-open", "witty-vans-report", "workflow-registration-improvement", + "world-local-event-sourced", + "world-postgres-event-sourced", "world-vercel-error-serialization", + "world-vercel-event-sourced", "yellow-books-nail", "yellow-cats-teach", "yellow-fans-talk", diff --git a/docs/package.json b/docs/package.json index 213c0aa03d..a2b58f18e2 100644 --- a/docs/package.json +++ b/docs/package.json @@ -41,7 +41,6 @@ "@workflow/typescript-plugin": "workspace:*", "@workflow/web": "workspace:*", "@workflow/world": "workspace:*", - "ai": "catalog:", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", diff --git a/packages/ai/CHANGELOG.md b/packages/ai/CHANGELOG.md index 854f3f9802..225c391bc0 100644 --- a/packages/ai/CHANGELOG.md +++ b/packages/ai/CHANGELOG.md @@ -1,5 +1,16 @@ # @workflow/ai +## 4.0.1-beta.52 + +### Patch Changes + +- [#734](https://github.com/vercel/workflow/pull/734) [`8e87b24`](https://github.com/vercel/workflow/commit/8e87b24f7d7c49bd86487dff4442668aa5366533) Thanks [@pranaygp](https://github.com/pranaygp)! - Support provider-executed tools (e.g., googleSearch, WebSearch) + +- [#862](https://github.com/vercel/workflow/pull/862) [`347ffbc`](https://github.com/vercel/workflow/commit/347ffbcabaef1ce5e752cfb16954de1c351f1cb3) Thanks [@gdaybrice](https://github.com/gdaybrice)! - Fix double-serialization of tool output in writeToolOutputToUI. The function was JSON.stringify-ing the entire LanguageModelV2ToolResultPart object instead of extracting the actual tool output value. + +- Updated dependencies [[`50f50f4`](https://github.com/vercel/workflow/commit/50f50f44d79a3cf1102173ff1865cd8a01723ea3), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`409972e`](https://github.com/vercel/workflow/commit/409972e3b478e51972e17cb1ef6057f6a5b32c47)]: + - workflow@4.1.0-beta.51 + ## 4.0.1-beta.51 ### Patch Changes diff --git a/packages/ai/package.json b/packages/ai/package.json index f8d789a21a..ec52c64b2f 100644 --- a/packages/ai/package.json +++ b/packages/ai/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/ai", - "version": "4.0.1-beta.51", + "version": "4.0.1-beta.52", "description": "Workflow DevKit compatible helper library for the AI SDK", "type": "module", "main": "dist/index.js", @@ -69,7 +69,7 @@ }, "peerDependencies": { "ai": "^5 || ^6", - "workflow": "^4.0.0" + "workflow": "^4.1.0-beta.51" }, "dependencies": { "@ai-sdk/provider": "^2.0.0 || ^3.0.0", diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index d73c5009c7..18a6292445 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,17 @@ # @workflow/astro +## 4.0.0-beta.25 + +### Patch Changes + +- [#800](https://github.com/vercel/workflow/pull/800) [`4ad3fcd`](https://github.com/vercel/workflow/commit/4ad3fcd0a362f3d83a6c272dec6362fe9a562c63) Thanks [@alandotcom](https://github.com/alandotcom)! - Pass runtime option to Vercel Build Output API functions + +- Updated dependencies [[`50f50f4`](https://github.com/vercel/workflow/commit/50f50f44d79a3cf1102173ff1865cd8a01723ea3), [`0b5cc48`](https://github.com/vercel/workflow/commit/0b5cc4814094ecb8ec5be8eb5339c04d97b55c8b), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`13d4cee`](https://github.com/vercel/workflow/commit/13d4ceef74e1e51b6471df6a85f03b3b967c3da4), [`4ad3fcd`](https://github.com/vercel/workflow/commit/4ad3fcd0a362f3d83a6c272dec6362fe9a562c63), [`244b94a`](https://github.com/vercel/workflow/commit/244b94a0665087ece694ae881a17d6aaa0ca0a7f), [`81c5a83`](https://github.com/vercel/workflow/commit/81c5a835ae647cd94d88ccec8c3b037acdfb6598), [`b4113da`](https://github.com/vercel/workflow/commit/b4113da9541f3cebf1605d753374025f95259bf8)]: + - @workflow/builders@4.0.1-beta.42 + - @workflow/swc-plugin@4.1.0-beta.15 + - @workflow/vite@4.0.0-beta.2 + - @workflow/rollup@4.0.0-beta.9 + ## 4.0.0-beta.24 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 6cf79c7895..1bab0cc726 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/astro", - "version": "4.0.0-beta.24", + "version": "4.0.0-beta.25", "description": "Astro integration for Workflow DevKit", "type": "module", "main": "dist/index.js", diff --git a/packages/builders/CHANGELOG.md b/packages/builders/CHANGELOG.md index 247b5d8f46..188f3db380 100644 --- a/packages/builders/CHANGELOG.md +++ b/packages/builders/CHANGELOG.md @@ -1,5 +1,25 @@ # @workflow/builders +## 4.0.1-beta.42 + +### Patch Changes + +- [#840](https://github.com/vercel/workflow/pull/840) [`50f50f4`](https://github.com/vercel/workflow/commit/50f50f44d79a3cf1102173ff1865cd8a01723ea3) Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Create `@workflow/nest` package and add build support for NestJS + +- [#831](https://github.com/vercel/workflow/pull/831) [`0b5cc48`](https://github.com/vercel/workflow/commit/0b5cc4814094ecb8ec5be8eb5339c04d97b55c8b) Thanks [@michael-han-dev](https://github.com/michael-han-dev)! - Fix manifest missing workflow-only files (no steps) + +- [#898](https://github.com/vercel/workflow/pull/898) [`13d4cee`](https://github.com/vercel/workflow/commit/13d4ceef74e1e51b6471df6a85f03b3b967c3da4) Thanks [@TooTallNate](https://github.com/TooTallNate)! - Use proper pluralization in the builder log line + +- [#800](https://github.com/vercel/workflow/pull/800) [`4ad3fcd`](https://github.com/vercel/workflow/commit/4ad3fcd0a362f3d83a6c272dec6362fe9a562c63) Thanks [@alandotcom](https://github.com/alandotcom)! - Pass runtime option to Vercel Build Output API functions + +- [#864](https://github.com/vercel/workflow/pull/864) [`81c5a83`](https://github.com/vercel/workflow/commit/81c5a835ae647cd94d88ccec8c3b037acdfb6598) Thanks [@TooTallNate](https://github.com/TooTallNate)! - Add "classes" object to `manifest.json` file + +- Updated dependencies [[`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`a2b688d`](https://github.com/vercel/workflow/commit/a2b688d0623ebbae117877a696c5b9b288d628fd), [`244b94a`](https://github.com/vercel/workflow/commit/244b94a0665087ece694ae881a17d6aaa0ca0a7f), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`1f684df`](https://github.com/vercel/workflow/commit/1f684df6b7b9cd322d5f1aa4a70dcaa3e07c7986), [`81c5a83`](https://github.com/vercel/workflow/commit/81c5a835ae647cd94d88ccec8c3b037acdfb6598), [`b4113da`](https://github.com/vercel/workflow/commit/b4113da9541f3cebf1605d753374025f95259bf8), [`b16a682`](https://github.com/vercel/workflow/commit/b16a6828af36a2d5adb38fb6a6d1253657001ac8), [`bd8116d`](https://github.com/vercel/workflow/commit/bd8116d40bf8d662537bf015d2861f6d1768d69e), [`1060f9d`](https://github.com/vercel/workflow/commit/1060f9d04a372bf6de6c5c3d52063bcc22dba6e8), [`00c7961`](https://github.com/vercel/workflow/commit/00c7961ecb09418d6c23e1346a1b6569eb66a6bf), [`c45bc3f`](https://github.com/vercel/workflow/commit/c45bc3fd15ca201ee568cf7789ff1467cf7ba566)]: + - @workflow/errors@4.1.0-beta.14 + - @workflow/core@4.1.0-beta.51 + - @workflow/swc-plugin@4.1.0-beta.15 + - @workflow/utils@4.1.0-beta.11 + ## 4.0.1-beta.41 ### Patch Changes diff --git a/packages/builders/package.json b/packages/builders/package.json index face66791c..7adf688143 100644 --- a/packages/builders/package.json +++ b/packages/builders/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/builders", - "version": "4.0.1-beta.41", + "version": "4.0.1-beta.42", "description": "Shared builder infrastructure for Workflow DevKit", "type": "module", "main": "./dist/index.js", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 9e4875c327..0f418a9542 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,43 @@ # @workflow/cli +## 4.1.0-beta.51 + +### Minor Changes + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - **BREAKING**: Storage interface is now read-only; all mutations go through `events.create()` + + - Remove `cancel`, `pause`, `resume` from `runs` + - Remove `create`, `update` from `runs`, `steps`, `hooks` + - Add run lifecycle events: `run_created`, `run_started`, `run_completed`, `run_failed`, `run_cancelled` + - Add `step_created` event type + - Remove `fatal` field from `step_failed` (terminal failure is now implicit) + - Add `step_retrying` event with error info for retriable failures + +### Patch Changes + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - Use `events.create()` for run cancellation + +- [#894](https://github.com/vercel/workflow/pull/894) [`a2b688d`](https://github.com/vercel/workflow/commit/a2b688d0623ebbae117877a696c5b9b288d628fd) Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Fix resuming v1 hooks and cancelling/re-running v1 runs from a v2 UI or runtime + +- [#814](https://github.com/vercel/workflow/pull/814) [`b16a682`](https://github.com/vercel/workflow/commit/b16a6828af36a2d5adb38fb6a6d1253657001ac8) Thanks [@TooTallNate](https://github.com/TooTallNate)! - Move "parse-name" into the `utils` package + +- [#833](https://github.com/vercel/workflow/pull/833) [`bd8116d`](https://github.com/vercel/workflow/commit/bd8116d40bf8d662537bf015d2861f6d1768d69e) Thanks [@TooTallNate](https://github.com/TooTallNate)! - Remove `skipProxy` and `baseUrl` config options, simplify proxy logic + +- [#853](https://github.com/vercel/workflow/pull/853) [`1060f9d`](https://github.com/vercel/workflow/commit/1060f9d04a372bf6de6c5c3d52063bcc22dba6e8) Thanks [@TooTallNate](https://github.com/TooTallNate)! - **BREAKING CHANGE**: Change user input/output to be binary data (Uint8Array) at the World interface + + This is part of specVersion 2 changes where serialization of workflow and step data uses binary format instead of JSON arrays. This allows the workflow client to be fully responsible for the data serialization format and enables future enhancements such as encryption and compression without the World implementation needing to care about the underlying data representation. + +- Updated dependencies [[`50f50f4`](https://github.com/vercel/workflow/commit/50f50f44d79a3cf1102173ff1865cd8a01723ea3), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`0b5cc48`](https://github.com/vercel/workflow/commit/0b5cc4814094ecb8ec5be8eb5339c04d97b55c8b), [`26a9833`](https://github.com/vercel/workflow/commit/26a98330d478dd76192d9897b5a0cc0cf3feacd7), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`b59559b`](https://github.com/vercel/workflow/commit/b59559be70e839025680c4f9873d521170e48e1c), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`13d4cee`](https://github.com/vercel/workflow/commit/13d4ceef74e1e51b6471df6a85f03b3b967c3da4), [`4ad3fcd`](https://github.com/vercel/workflow/commit/4ad3fcd0a362f3d83a6c272dec6362fe9a562c63), [`a2b688d`](https://github.com/vercel/workflow/commit/a2b688d0623ebbae117877a696c5b9b288d628fd), [`244b94a`](https://github.com/vercel/workflow/commit/244b94a0665087ece694ae881a17d6aaa0ca0a7f), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`1f684df`](https://github.com/vercel/workflow/commit/1f684df6b7b9cd322d5f1aa4a70dcaa3e07c7986), [`81c5a83`](https://github.com/vercel/workflow/commit/81c5a835ae647cd94d88ccec8c3b037acdfb6598), [`b4113da`](https://github.com/vercel/workflow/commit/b4113da9541f3cebf1605d753374025f95259bf8), [`b16a682`](https://github.com/vercel/workflow/commit/b16a6828af36a2d5adb38fb6a6d1253657001ac8), [`bd8116d`](https://github.com/vercel/workflow/commit/bd8116d40bf8d662537bf015d2861f6d1768d69e), [`1060f9d`](https://github.com/vercel/workflow/commit/1060f9d04a372bf6de6c5c3d52063bcc22dba6e8), [`00c7961`](https://github.com/vercel/workflow/commit/00c7961ecb09418d6c23e1346a1b6569eb66a6bf), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`b973b8d`](https://github.com/vercel/workflow/commit/b973b8d00f6459fa675ee9875642e49760f68879), [`57f6376`](https://github.com/vercel/workflow/commit/57f637653d3790b9a77b2cd072bcf02fa6b61d74), [`60a9b76`](https://github.com/vercel/workflow/commit/60a9b7661a86b6bd44c25cddf68cadf0515f195e), [`c45bc3f`](https://github.com/vercel/workflow/commit/c45bc3fd15ca201ee568cf7789ff1467cf7ba566), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae)]: + - @workflow/builders@4.0.1-beta.42 + - @workflow/world@4.1.0-beta.1 + - @workflow/world-local@4.1.0-beta.28 + - @workflow/errors@4.1.0-beta.14 + - @workflow/world-vercel@4.1.0-beta.29 + - @workflow/core@4.1.0-beta.51 + - @workflow/swc-plugin@4.1.0-beta.15 + - @workflow/utils@4.1.0-beta.11 + - @workflow/web@4.1.0-beta.31 + ## 4.0.1-beta.50 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 8e6eee9b16..82c32b7202 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/cli", - "version": "4.0.1-beta.50", + "version": "4.1.0-beta.51", "description": "Command-line interface for Workflow DevKit", "type": "module", "bin": { diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 55f0f0c431..f9dd52a464 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,50 @@ # @workflow/core +## 4.1.0-beta.51 + +### Minor Changes + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - **BREAKING**: Storage interface is now read-only; all mutations go through `events.create()` + + - Remove `cancel`, `pause`, `resume` from `runs` + - Remove `create`, `update` from `runs`, `steps`, `hooks` + - Add run lifecycle events: `run_created`, `run_started`, `run_completed`, `run_failed`, `run_cancelled` + - Add `step_created` event type + - Remove `fatal` field from `step_failed` (terminal failure is now implicit) + - Add `step_retrying` event with error info for retriable failures + +### Patch Changes + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - Runtime uses event-sourced entity creation + + - Suspension handler creates entities via `events.create()` + - Track `hasCreatedEvent` flag to avoid duplicate event creation on replay + - Handle `hook_conflict` events during replay to reject duplicate token hooks + +- [#894](https://github.com/vercel/workflow/pull/894) [`a2b688d`](https://github.com/vercel/workflow/commit/a2b688d0623ebbae117877a696c5b9b288d628fd) Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Fix resuming v1 hooks and cancelling/re-running v1 runs from a v2 UI or runtime + +- [#884](https://github.com/vercel/workflow/pull/884) [`1f684df`](https://github.com/vercel/workflow/commit/1f684df6b7b9cd322d5f1aa4a70dcaa3e07c7986) Thanks [@TooTallNate](https://github.com/TooTallNate)! - Add a format identifier prefix for serialized data + +- [#814](https://github.com/vercel/workflow/pull/814) [`b16a682`](https://github.com/vercel/workflow/commit/b16a6828af36a2d5adb38fb6a6d1253657001ac8) Thanks [@TooTallNate](https://github.com/TooTallNate)! - Move "parse-name" into the `utils` package + +- [#833](https://github.com/vercel/workflow/pull/833) [`bd8116d`](https://github.com/vercel/workflow/commit/bd8116d40bf8d662537bf015d2861f6d1768d69e) Thanks [@TooTallNate](https://github.com/TooTallNate)! - Remove `skipProxy` and `baseUrl` config options, simplify proxy logic + +- [#853](https://github.com/vercel/workflow/pull/853) [`1060f9d`](https://github.com/vercel/workflow/commit/1060f9d04a372bf6de6c5c3d52063bcc22dba6e8) Thanks [@TooTallNate](https://github.com/TooTallNate)! - **BREAKING CHANGE**: Change user input/output to be binary data (Uint8Array) at the World interface + + This is part of specVersion 2 changes where serialization of workflow and step data uses binary format instead of JSON arrays. This allows the workflow client to be fully responsible for the data serialization format and enables future enhancements such as encryption and compression without the World implementation needing to care about the underlying data representation. + +- [#855](https://github.com/vercel/workflow/pull/855) [`00c7961`](https://github.com/vercel/workflow/commit/00c7961ecb09418d6c23e1346a1b6569eb66a6bf) Thanks [@TooTallNate](https://github.com/TooTallNate)! - Remove unused `getWritable` stub function + +- [#868](https://github.com/vercel/workflow/pull/868) [`c45bc3f`](https://github.com/vercel/workflow/commit/c45bc3fd15ca201ee568cf7789ff1467cf7ba566) Thanks [@pranaygp](https://github.com/pranaygp)! - Add SDK version to workflow run executionContext for observability + +- Updated dependencies [[`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`26a9833`](https://github.com/vercel/workflow/commit/26a98330d478dd76192d9897b5a0cc0cf3feacd7), [`b59559b`](https://github.com/vercel/workflow/commit/b59559be70e839025680c4f9873d521170e48e1c), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`a2b688d`](https://github.com/vercel/workflow/commit/a2b688d0623ebbae117877a696c5b9b288d628fd), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`b16a682`](https://github.com/vercel/workflow/commit/b16a6828af36a2d5adb38fb6a6d1253657001ac8), [`bd8116d`](https://github.com/vercel/workflow/commit/bd8116d40bf8d662537bf015d2861f6d1768d69e), [`1060f9d`](https://github.com/vercel/workflow/commit/1060f9d04a372bf6de6c5c3d52063bcc22dba6e8), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`b973b8d`](https://github.com/vercel/workflow/commit/b973b8d00f6459fa675ee9875642e49760f68879), [`57f6376`](https://github.com/vercel/workflow/commit/57f637653d3790b9a77b2cd072bcf02fa6b61d74), [`60a9b76`](https://github.com/vercel/workflow/commit/60a9b7661a86b6bd44c25cddf68cadf0515f195e), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae)]: + - @workflow/world@4.1.0-beta.1 + - @workflow/world-local@4.1.0-beta.28 + - @workflow/errors@4.1.0-beta.14 + - @workflow/world-vercel@4.1.0-beta.29 + - @workflow/serde@4.1.0-beta.2 + - @workflow/utils@4.1.0-beta.11 + ## 4.0.1-beta.41 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index 2313315e39..d0f3769da1 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/core", - "version": "4.0.1-beta.41", + "version": "4.1.0-beta.51", "description": "Core runtime and engine for Workflow DevKit", "type": "module", "main": "dist/index.js", diff --git a/packages/docs-typecheck/CHANGELOG.md b/packages/docs-typecheck/CHANGELOG.md index a12dba14c5..e64f36714c 100644 --- a/packages/docs-typecheck/CHANGELOG.md +++ b/packages/docs-typecheck/CHANGELOG.md @@ -1,5 +1,16 @@ # @workflow/docs-typecheck +## 0.0.1-beta.11 + +### Patch Changes + +- Updated dependencies [[`50f50f4`](https://github.com/vercel/workflow/commit/50f50f44d79a3cf1102173ff1865cd8a01723ea3), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`8e87b24`](https://github.com/vercel/workflow/commit/8e87b24f7d7c49bd86487dff4442668aa5366533), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`a2b688d`](https://github.com/vercel/workflow/commit/a2b688d0623ebbae117877a696c5b9b288d628fd), [`347ffbc`](https://github.com/vercel/workflow/commit/347ffbcabaef1ce5e752cfb16954de1c351f1cb3), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`1f684df`](https://github.com/vercel/workflow/commit/1f684df6b7b9cd322d5f1aa4a70dcaa3e07c7986), [`b16a682`](https://github.com/vercel/workflow/commit/b16a6828af36a2d5adb38fb6a6d1253657001ac8), [`bd8116d`](https://github.com/vercel/workflow/commit/bd8116d40bf8d662537bf015d2861f6d1768d69e), [`1060f9d`](https://github.com/vercel/workflow/commit/1060f9d04a372bf6de6c5c3d52063bcc22dba6e8), [`409972e`](https://github.com/vercel/workflow/commit/409972e3b478e51972e17cb1ef6057f6a5b32c47), [`00c7961`](https://github.com/vercel/workflow/commit/00c7961ecb09418d6c23e1346a1b6569eb66a6bf), [`c45bc3f`](https://github.com/vercel/workflow/commit/c45bc3fd15ca201ee568cf7789ff1467cf7ba566)]: + - workflow@4.1.0-beta.51 + - @workflow/errors@4.1.0-beta.14 + - @workflow/ai@4.0.1-beta.52 + - @workflow/core@4.1.0-beta.51 + - @workflow/next@4.0.1-beta.47 + ## 0.0.1-beta.10 ### Patch Changes diff --git a/packages/docs-typecheck/package.json b/packages/docs-typecheck/package.json index 18d7b2650f..3dc040ff84 100644 --- a/packages/docs-typecheck/package.json +++ b/packages/docs-typecheck/package.json @@ -1,7 +1,7 @@ { "name": "@workflow/docs-typecheck", "description": "Type-check documentation code samples", - "version": "0.0.1-beta.10", + "version": "0.0.1-beta.11", "private": true, "type": "module", "main": "dist/index.js", diff --git a/packages/errors/CHANGELOG.md b/packages/errors/CHANGELOG.md index 0b694a15c7..cfb19a70d3 100644 --- a/packages/errors/CHANGELOG.md +++ b/packages/errors/CHANGELOG.md @@ -1,5 +1,37 @@ # @workflow/errors +## 4.1.0-beta.14 + +### Minor Changes + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - **BREAKING**: Storage interface is now read-only; all mutations go through `events.create()` + + - Remove `cancel`, `pause`, `resume` from `runs` + - Remove `create`, `update` from `runs`, `steps`, `hooks` + - Add run lifecycle events: `run_created`, `run_started`, `run_completed`, `run_failed`, `run_cancelled` + - Add `step_created` event type + - Remove `fatal` field from `step_failed` (terminal failure is now implicit) + - Add `step_retrying` event with error info for retriable failures + +### Patch Changes + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - Add backwards compatibility for runs created with different spec versions + + - Add `RunNotSupportedError` for runs requiring newer world versions + - Add semver-based version comparison utilities + - Legacy runs (< 4.1): route to legacy handlers + - `run_cancelled`: skip event storage, directly update run + - `wait_completed`: store event only (no entity mutation) + - Unknown legacy events: throw error + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - Add `hook_conflict` event type for duplicate token detection + + - World returns `hook_conflict` event when `hook_created` uses an existing token + - Add `HOOK_CONFLICT` error slug + +- Updated dependencies [[`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`b16a682`](https://github.com/vercel/workflow/commit/b16a6828af36a2d5adb38fb6a6d1253657001ac8)]: + - @workflow/utils@4.1.0-beta.11 + ## 4.0.1-beta.13 ### Patch Changes diff --git a/packages/errors/package.json b/packages/errors/package.json index 7b311ae4ea..12327a7d29 100644 --- a/packages/errors/package.json +++ b/packages/errors/package.json @@ -1,7 +1,7 @@ { "name": "@workflow/errors", "description": "A package for standardizing errors in Workflow DevKit", - "version": "4.0.1-beta.13", + "version": "4.1.0-beta.14", "type": "module", "main": "dist/index.js", "files": [ diff --git a/packages/nest/CHANGELOG.md b/packages/nest/CHANGELOG.md new file mode 100644 index 0000000000..4b27ffc92e --- /dev/null +++ b/packages/nest/CHANGELOG.md @@ -0,0 +1,11 @@ +# @workflow/nest + +## 0.0.0-beta.0 + +### Patch Changes + +- [#840](https://github.com/vercel/workflow/pull/840) [`50f50f4`](https://github.com/vercel/workflow/commit/50f50f44d79a3cf1102173ff1865cd8a01723ea3) Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Create `@workflow/nest` package and add build support for NestJS + +- Updated dependencies [[`50f50f4`](https://github.com/vercel/workflow/commit/50f50f44d79a3cf1102173ff1865cd8a01723ea3), [`0b5cc48`](https://github.com/vercel/workflow/commit/0b5cc4814094ecb8ec5be8eb5339c04d97b55c8b), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`13d4cee`](https://github.com/vercel/workflow/commit/13d4ceef74e1e51b6471df6a85f03b3b967c3da4), [`4ad3fcd`](https://github.com/vercel/workflow/commit/4ad3fcd0a362f3d83a6c272dec6362fe9a562c63), [`244b94a`](https://github.com/vercel/workflow/commit/244b94a0665087ece694ae881a17d6aaa0ca0a7f), [`81c5a83`](https://github.com/vercel/workflow/commit/81c5a835ae647cd94d88ccec8c3b037acdfb6598), [`b4113da`](https://github.com/vercel/workflow/commit/b4113da9541f3cebf1605d753374025f95259bf8)]: + - @workflow/builders@4.0.1-beta.42 + - @workflow/swc-plugin@4.1.0-beta.15 diff --git a/packages/nest/package.json b/packages/nest/package.json index 9fb996f7a9..82359ade59 100644 --- a/packages/nest/package.json +++ b/packages/nest/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/nest", - "version": "0.0.0-development", + "version": "0.0.0-beta.0", "description": "NestJS integration for Workflow DevKit", "type": "module", "main": "dist/index.js", diff --git a/packages/next/CHANGELOG.md b/packages/next/CHANGELOG.md index a829c40958..0652e3fcee 100644 --- a/packages/next/CHANGELOG.md +++ b/packages/next/CHANGELOG.md @@ -1,5 +1,14 @@ # @workflow/next +## 4.0.1-beta.47 + +### Patch Changes + +- Updated dependencies [[`50f50f4`](https://github.com/vercel/workflow/commit/50f50f44d79a3cf1102173ff1865cd8a01723ea3), [`0b5cc48`](https://github.com/vercel/workflow/commit/0b5cc4814094ecb8ec5be8eb5339c04d97b55c8b), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`13d4cee`](https://github.com/vercel/workflow/commit/13d4ceef74e1e51b6471df6a85f03b3b967c3da4), [`4ad3fcd`](https://github.com/vercel/workflow/commit/4ad3fcd0a362f3d83a6c272dec6362fe9a562c63), [`a2b688d`](https://github.com/vercel/workflow/commit/a2b688d0623ebbae117877a696c5b9b288d628fd), [`244b94a`](https://github.com/vercel/workflow/commit/244b94a0665087ece694ae881a17d6aaa0ca0a7f), [`1f684df`](https://github.com/vercel/workflow/commit/1f684df6b7b9cd322d5f1aa4a70dcaa3e07c7986), [`81c5a83`](https://github.com/vercel/workflow/commit/81c5a835ae647cd94d88ccec8c3b037acdfb6598), [`b4113da`](https://github.com/vercel/workflow/commit/b4113da9541f3cebf1605d753374025f95259bf8), [`b16a682`](https://github.com/vercel/workflow/commit/b16a6828af36a2d5adb38fb6a6d1253657001ac8), [`bd8116d`](https://github.com/vercel/workflow/commit/bd8116d40bf8d662537bf015d2861f6d1768d69e), [`1060f9d`](https://github.com/vercel/workflow/commit/1060f9d04a372bf6de6c5c3d52063bcc22dba6e8), [`00c7961`](https://github.com/vercel/workflow/commit/00c7961ecb09418d6c23e1346a1b6569eb66a6bf), [`c45bc3f`](https://github.com/vercel/workflow/commit/c45bc3fd15ca201ee568cf7789ff1467cf7ba566)]: + - @workflow/builders@4.0.1-beta.42 + - @workflow/core@4.1.0-beta.51 + - @workflow/swc-plugin@4.1.0-beta.15 + ## 4.0.1-beta.46 ### Patch Changes diff --git a/packages/next/package.json b/packages/next/package.json index 68529cca84..632a10f5a9 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/next", - "version": "4.0.1-beta.46", + "version": "4.0.1-beta.47", "description": "Next.js integration for Workflow DevKit", "type": "commonjs", "main": "dist/index.js", diff --git a/packages/nitro/CHANGELOG.md b/packages/nitro/CHANGELOG.md index dc03598443..5a8553752d 100644 --- a/packages/nitro/CHANGELOG.md +++ b/packages/nitro/CHANGELOG.md @@ -1,5 +1,18 @@ # @workflow/nitro +## 4.0.1-beta.46 + +### Patch Changes + +- [#800](https://github.com/vercel/workflow/pull/800) [`4ad3fcd`](https://github.com/vercel/workflow/commit/4ad3fcd0a362f3d83a6c272dec6362fe9a562c63) Thanks [@alandotcom](https://github.com/alandotcom)! - Pass runtime option to Vercel Build Output API functions + +- Updated dependencies [[`50f50f4`](https://github.com/vercel/workflow/commit/50f50f44d79a3cf1102173ff1865cd8a01723ea3), [`0b5cc48`](https://github.com/vercel/workflow/commit/0b5cc4814094ecb8ec5be8eb5339c04d97b55c8b), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`13d4cee`](https://github.com/vercel/workflow/commit/13d4ceef74e1e51b6471df6a85f03b3b967c3da4), [`4ad3fcd`](https://github.com/vercel/workflow/commit/4ad3fcd0a362f3d83a6c272dec6362fe9a562c63), [`a2b688d`](https://github.com/vercel/workflow/commit/a2b688d0623ebbae117877a696c5b9b288d628fd), [`244b94a`](https://github.com/vercel/workflow/commit/244b94a0665087ece694ae881a17d6aaa0ca0a7f), [`1f684df`](https://github.com/vercel/workflow/commit/1f684df6b7b9cd322d5f1aa4a70dcaa3e07c7986), [`81c5a83`](https://github.com/vercel/workflow/commit/81c5a835ae647cd94d88ccec8c3b037acdfb6598), [`b4113da`](https://github.com/vercel/workflow/commit/b4113da9541f3cebf1605d753374025f95259bf8), [`b16a682`](https://github.com/vercel/workflow/commit/b16a6828af36a2d5adb38fb6a6d1253657001ac8), [`bd8116d`](https://github.com/vercel/workflow/commit/bd8116d40bf8d662537bf015d2861f6d1768d69e), [`1060f9d`](https://github.com/vercel/workflow/commit/1060f9d04a372bf6de6c5c3d52063bcc22dba6e8), [`00c7961`](https://github.com/vercel/workflow/commit/00c7961ecb09418d6c23e1346a1b6569eb66a6bf), [`c45bc3f`](https://github.com/vercel/workflow/commit/c45bc3fd15ca201ee568cf7789ff1467cf7ba566)]: + - @workflow/builders@4.0.1-beta.42 + - @workflow/core@4.1.0-beta.51 + - @workflow/swc-plugin@4.1.0-beta.15 + - @workflow/vite@4.0.0-beta.2 + - @workflow/rollup@4.0.0-beta.9 + ## 4.0.1-beta.45 ### Patch Changes diff --git a/packages/nitro/package.json b/packages/nitro/package.json index a33fdce8d5..6132146546 100644 --- a/packages/nitro/package.json +++ b/packages/nitro/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/nitro", - "version": "4.0.1-beta.45", + "version": "4.0.1-beta.46", "description": "Nitro integration for Workflow DevKit", "type": "module", "main": "dist/index.js", diff --git a/packages/nuxt/CHANGELOG.md b/packages/nuxt/CHANGELOG.md index 937b537e16..3b04daeac3 100644 --- a/packages/nuxt/CHANGELOG.md +++ b/packages/nuxt/CHANGELOG.md @@ -1,5 +1,12 @@ # @workflow/nuxt +## 4.0.1-beta.35 + +### Patch Changes + +- Updated dependencies [[`4ad3fcd`](https://github.com/vercel/workflow/commit/4ad3fcd0a362f3d83a6c272dec6362fe9a562c63)]: + - @workflow/nitro@4.0.1-beta.46 + ## 4.0.1-beta.34 ### Patch Changes diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index d3379c48e8..971e3274c5 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/nuxt", - "version": "4.0.1-beta.34", + "version": "4.0.1-beta.35", "description": "Nuxt integration for Workflow DevKit", "license": "Apache-2.0", "type": "module", diff --git a/packages/rollup/CHANGELOG.md b/packages/rollup/CHANGELOG.md index 54d0ae6b72..722959841f 100644 --- a/packages/rollup/CHANGELOG.md +++ b/packages/rollup/CHANGELOG.md @@ -1,5 +1,12 @@ # @workflow/rollup +## 4.0.0-beta.9 + +### Patch Changes + +- Updated dependencies [[`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`244b94a`](https://github.com/vercel/workflow/commit/244b94a0665087ece694ae881a17d6aaa0ca0a7f), [`81c5a83`](https://github.com/vercel/workflow/commit/81c5a835ae647cd94d88ccec8c3b037acdfb6598), [`b4113da`](https://github.com/vercel/workflow/commit/b4113da9541f3cebf1605d753374025f95259bf8)]: + - @workflow/swc-plugin@4.1.0-beta.15 + ## 4.0.0-beta.8 ### Patch Changes diff --git a/packages/rollup/package.json b/packages/rollup/package.json index 41edc4400a..c4516aa306 100644 --- a/packages/rollup/package.json +++ b/packages/rollup/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/rollup", - "version": "4.0.0-beta.8", + "version": "4.0.0-beta.9", "description": "Rollup plugin for Workflow DevKit", "type": "module", "main": "dist/index.js", diff --git a/packages/serde/CHANGELOG.md b/packages/serde/CHANGELOG.md index 725d7a8c26..213b3263f6 100644 --- a/packages/serde/CHANGELOG.md +++ b/packages/serde/CHANGELOG.md @@ -1,5 +1,18 @@ # @workflow/serde +## 4.1.0-beta.2 + +### Minor Changes + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - **BREAKING**: Storage interface is now read-only; all mutations go through `events.create()` + + - Remove `cancel`, `pause`, `resume` from `runs` + - Remove `create`, `update` from `runs`, `steps`, `hooks` + - Add run lifecycle events: `run_created`, `run_started`, `run_completed`, `run_failed`, `run_cancelled` + - Add `step_created` event type + - Remove `fatal` field from `step_failed` (terminal failure is now implicit) + - Add `step_retrying` event with error info for retriable failures + ## 4.0.1-beta.1 ### Patch Changes diff --git a/packages/serde/package.json b/packages/serde/package.json index 648e152a5d..ed37c68c16 100644 --- a/packages/serde/package.json +++ b/packages/serde/package.json @@ -1,7 +1,7 @@ { "name": "@workflow/serde", "description": "Serialization symbols for custom class serialization in Workflow DevKit", - "version": "4.0.1-beta.1", + "version": "4.1.0-beta.2", "type": "module", "main": "dist/index.js", "files": [ diff --git a/packages/sveltekit/CHANGELOG.md b/packages/sveltekit/CHANGELOG.md index f23e43b976..c91ecf0106 100644 --- a/packages/sveltekit/CHANGELOG.md +++ b/packages/sveltekit/CHANGELOG.md @@ -1,5 +1,15 @@ # @workflow/sveltekit +## 4.0.0-beta.40 + +### Patch Changes + +- Updated dependencies [[`50f50f4`](https://github.com/vercel/workflow/commit/50f50f44d79a3cf1102173ff1865cd8a01723ea3), [`0b5cc48`](https://github.com/vercel/workflow/commit/0b5cc4814094ecb8ec5be8eb5339c04d97b55c8b), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`13d4cee`](https://github.com/vercel/workflow/commit/13d4ceef74e1e51b6471df6a85f03b3b967c3da4), [`4ad3fcd`](https://github.com/vercel/workflow/commit/4ad3fcd0a362f3d83a6c272dec6362fe9a562c63), [`244b94a`](https://github.com/vercel/workflow/commit/244b94a0665087ece694ae881a17d6aaa0ca0a7f), [`81c5a83`](https://github.com/vercel/workflow/commit/81c5a835ae647cd94d88ccec8c3b037acdfb6598), [`b4113da`](https://github.com/vercel/workflow/commit/b4113da9541f3cebf1605d753374025f95259bf8)]: + - @workflow/builders@4.0.1-beta.42 + - @workflow/swc-plugin@4.1.0-beta.15 + - @workflow/vite@4.0.0-beta.2 + - @workflow/rollup@4.0.0-beta.9 + ## 4.0.0-beta.39 ### Patch Changes diff --git a/packages/sveltekit/package.json b/packages/sveltekit/package.json index 7fcaf2556d..9979953e67 100644 --- a/packages/sveltekit/package.json +++ b/packages/sveltekit/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/sveltekit", - "version": "4.0.0-beta.39", + "version": "4.0.0-beta.40", "description": "SvelteKit integration for Workflow DevKit", "type": "module", "main": "dist/index.js", diff --git a/packages/swc-plugin-workflow/CHANGELOG.md b/packages/swc-plugin-workflow/CHANGELOG.md index 657d07bb6e..0a4abff1ab 100644 --- a/packages/swc-plugin-workflow/CHANGELOG.md +++ b/packages/swc-plugin-workflow/CHANGELOG.md @@ -1,5 +1,26 @@ # @workflow/swc-plugin +## 4.1.0-beta.15 + +### Minor Changes + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - **BREAKING**: Storage interface is now read-only; all mutations go through `events.create()` + + - Remove `cancel`, `pause`, `resume` from `runs` + - Remove `create`, `update` from `runs`, `steps`, `hooks` + - Add run lifecycle events: `run_created`, `run_started`, `run_completed`, `run_failed`, `run_cancelled` + - Add `step_created` event type + - Remove `fatal` field from `step_failed` (terminal failure is now implicit) + - Add `step_retrying` event with error info for retriable failures + +### Patch Changes + +- [#866](https://github.com/vercel/workflow/pull/866) [`244b94a`](https://github.com/vercel/workflow/commit/244b94a0665087ece694ae881a17d6aaa0ca0a7f) Thanks [@TooTallNate](https://github.com/TooTallNate)! - Add support for top-level `using` declarations inside of step / workflow functions + +- [#864](https://github.com/vercel/workflow/pull/864) [`81c5a83`](https://github.com/vercel/workflow/commit/81c5a835ae647cd94d88ccec8c3b037acdfb6598) Thanks [@TooTallNate](https://github.com/TooTallNate)! - Add "classes" object to `manifest.json` file + +- [#860](https://github.com/vercel/workflow/pull/860) [`b4113da`](https://github.com/vercel/workflow/commit/b4113da9541f3cebf1605d753374025f95259bf8) Thanks [@TooTallNate](https://github.com/TooTallNate)! - Enable custom class serialization transformations for "client" mode + ## 4.0.1-beta.14 ### Patch Changes diff --git a/packages/swc-plugin-workflow/package.json b/packages/swc-plugin-workflow/package.json index 4c4bd2abd5..a836447e51 100644 --- a/packages/swc-plugin-workflow/package.json +++ b/packages/swc-plugin-workflow/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/swc-plugin", - "version": "4.0.1-beta.14", + "version": "4.1.0-beta.15", "description": "SWC plugin for transforming Workflow DevKit code", "license": "Apache-2.0", "type": "module", diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md index 3f817a5ca5..c563f27469 100644 --- a/packages/utils/CHANGELOG.md +++ b/packages/utils/CHANGELOG.md @@ -1,5 +1,22 @@ # @workflow/utils +## 4.1.0-beta.11 + +### Minor Changes + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - **BREAKING**: Storage interface is now read-only; all mutations go through `events.create()` + + - Remove `cancel`, `pause`, `resume` from `runs` + - Remove `create`, `update` from `runs`, `steps`, `hooks` + - Add run lifecycle events: `run_created`, `run_started`, `run_completed`, `run_failed`, `run_cancelled` + - Add `step_created` event type + - Remove `fatal` field from `step_failed` (terminal failure is now implicit) + - Add `step_retrying` event with error info for retriable failures + +### Patch Changes + +- [#814](https://github.com/vercel/workflow/pull/814) [`b16a682`](https://github.com/vercel/workflow/commit/b16a6828af36a2d5adb38fb6a6d1253657001ac8) Thanks [@TooTallNate](https://github.com/TooTallNate)! - Move "parse-name" into the `utils` package + ## 4.0.1-beta.10 ### Patch Changes diff --git a/packages/utils/package.json b/packages/utils/package.json index f9aac58cde..15c81e98d8 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,7 +1,7 @@ { "name": "@workflow/utils", "description": "Utility functions for Workflow DevKit", - "version": "4.0.1-beta.10", + "version": "4.1.0-beta.11", "type": "module", "main": "dist/index.js", "files": [ diff --git a/packages/web-shared/CHANGELOG.md b/packages/web-shared/CHANGELOG.md index b3ea59b479..5cd719f3ac 100644 --- a/packages/web-shared/CHANGELOG.md +++ b/packages/web-shared/CHANGELOG.md @@ -1,5 +1,53 @@ # @workflow/web-shared +## 4.1.0-beta.46 + +### Minor Changes + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - **BREAKING**: Storage interface is now read-only; all mutations go through `events.create()` + + - Remove `cancel`, `pause`, `resume` from `runs` + - Remove `create`, `update` from `runs`, `steps`, `hooks` + - Add run lifecycle events: `run_created`, `run_started`, `run_completed`, `run_failed`, `run_cancelled` + - Add `step_created` event type + - Remove `fatal` field from `step_failed` (terminal failure is now implicit) + - Add `step_retrying` event with error info for retriable failures + +### Patch Changes + +- [#894](https://github.com/vercel/workflow/pull/894) [`a2b688d`](https://github.com/vercel/workflow/commit/a2b688d0623ebbae117877a696c5b9b288d628fd) Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Fix resuming v1 hooks and cancelling/re-running v1 runs from a v2 UI or runtime + +- [#869](https://github.com/vercel/workflow/pull/869) [`24ca465`](https://github.com/vercel/workflow/commit/24ca46586940fc48bb993ecde03e595d1471895d) Thanks [@karthikscale3](https://github.com/karthikscale3)! - Allow recreateRun to accept an optional deploymentId parameter + +- [#814](https://github.com/vercel/workflow/pull/814) [`b16a682`](https://github.com/vercel/workflow/commit/b16a6828af36a2d5adb38fb6a6d1253657001ac8) Thanks [@TooTallNate](https://github.com/TooTallNate)! - Move "parse-name" into the `utils` package + +- [#833](https://github.com/vercel/workflow/pull/833) [`bd8116d`](https://github.com/vercel/workflow/commit/bd8116d40bf8d662537bf015d2861f6d1768d69e) Thanks [@TooTallNate](https://github.com/TooTallNate)! - Remove `skipProxy` and `baseUrl` config options, simplify proxy logic + +- [#853](https://github.com/vercel/workflow/pull/853) [`1060f9d`](https://github.com/vercel/workflow/commit/1060f9d04a372bf6de6c5c3d52063bcc22dba6e8) Thanks [@TooTallNate](https://github.com/TooTallNate)! - **BREAKING CHANGE**: Change user input/output to be binary data (Uint8Array) at the World interface + + This is part of specVersion 2 changes where serialization of workflow and step data uses binary format instead of JSON arrays. This allows the workflow client to be fully responsible for the data serialization format and enables future enhancements such as encryption and compression without the World implementation needing to care about the underlying data representation. + +- [#891](https://github.com/vercel/workflow/pull/891) [`0aa50e5`](https://github.com/vercel/workflow/commit/0aa50e5ca4f760540536d54c0b517509272fc357) Thanks [@karthikscale3](https://github.com/karthikscale3)! - Add missing 'use client' directives to client components + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - Remove deprecated `workflow_completed`, `workflow_failed`, and `workflow_started` events in favor of `run_completed`, `run_failed`, and `run_started` events. + +- [#856](https://github.com/vercel/workflow/pull/856) [`f64b776`](https://github.com/vercel/workflow/commit/f64b7761657c46978bcb0df80e0bfc768f2b8a10) Thanks [@karthikscale3](https://github.com/karthikscale3)! - Style the resolve hook modal for theme tokens and align the cancel action with secondary button styling. + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - Add `specVersion` property to World interface + + - All worlds expose `@workflow/world` package version for protocol compatibility + - Stored in `run_created` event and `WorkflowRun` schema + - Displayed in observability UI + +- [#868](https://github.com/vercel/workflow/pull/868) [`c45bc3f`](https://github.com/vercel/workflow/commit/c45bc3fd15ca201ee568cf7789ff1467cf7ba566) Thanks [@pranaygp](https://github.com/pranaygp)! - Add SDK version to workflow run executionContext for observability + +- Updated dependencies [[`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`26a9833`](https://github.com/vercel/workflow/commit/26a98330d478dd76192d9897b5a0cc0cf3feacd7), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`b59559b`](https://github.com/vercel/workflow/commit/b59559be70e839025680c4f9873d521170e48e1c), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`a2b688d`](https://github.com/vercel/workflow/commit/a2b688d0623ebbae117877a696c5b9b288d628fd), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`1f684df`](https://github.com/vercel/workflow/commit/1f684df6b7b9cd322d5f1aa4a70dcaa3e07c7986), [`b16a682`](https://github.com/vercel/workflow/commit/b16a6828af36a2d5adb38fb6a6d1253657001ac8), [`bd8116d`](https://github.com/vercel/workflow/commit/bd8116d40bf8d662537bf015d2861f6d1768d69e), [`1060f9d`](https://github.com/vercel/workflow/commit/1060f9d04a372bf6de6c5c3d52063bcc22dba6e8), [`00c7961`](https://github.com/vercel/workflow/commit/00c7961ecb09418d6c23e1346a1b6569eb66a6bf), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`b973b8d`](https://github.com/vercel/workflow/commit/b973b8d00f6459fa675ee9875642e49760f68879), [`c45bc3f`](https://github.com/vercel/workflow/commit/c45bc3fd15ca201ee568cf7789ff1467cf7ba566), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae)]: + - @workflow/world@4.1.0-beta.1 + - @workflow/errors@4.1.0-beta.14 + - @workflow/world-vercel@4.1.0-beta.29 + - @workflow/core@4.1.0-beta.51 + - @workflow/utils@4.1.0-beta.11 + ## 4.0.1-beta.45 ### Patch Changes diff --git a/packages/web-shared/package.json b/packages/web-shared/package.json index b669cce062..c7118fdc0b 100644 --- a/packages/web-shared/package.json +++ b/packages/web-shared/package.json @@ -1,7 +1,7 @@ { "name": "@workflow/web-shared", "description": "Shared components for Workflow Observability UI", - "version": "4.0.1-beta.45", + "version": "4.1.0-beta.46", "private": false, "files": [ "dist", diff --git a/packages/web/CHANGELOG.md b/packages/web/CHANGELOG.md index a33eaaebf2..72c5282cc0 100644 --- a/packages/web/CHANGELOG.md +++ b/packages/web/CHANGELOG.md @@ -1,5 +1,22 @@ # @workflow/web +## 4.1.0-beta.31 + +### Minor Changes + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - **BREAKING**: Storage interface is now read-only; all mutations go through `events.create()` + + - Remove `cancel`, `pause`, `resume` from `runs` + - Remove `create`, `update` from `runs`, `steps`, `hooks` + - Add run lifecycle events: `run_created`, `run_started`, `run_completed`, `run_failed`, `run_cancelled` + - Add `step_created` event type + - Remove `fatal` field from `step_failed` (terminal failure is now implicit) + - Add `step_retrying` event with error info for retriable failures + +### Patch Changes + +- [#814](https://github.com/vercel/workflow/pull/814) [`b16a682`](https://github.com/vercel/workflow/commit/b16a6828af36a2d5adb38fb6a6d1253657001ac8) Thanks [@TooTallNate](https://github.com/TooTallNate)! - Move "parse-name" into the `utils` package + ## 4.0.1-beta.30 ### Patch Changes diff --git a/packages/web/package.json b/packages/web/package.json index 944d51336e..ffccf32348 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -1,7 +1,7 @@ { "name": "@workflow/web", "description": "Workflow Observability UI", - "version": "4.0.1-beta.30", + "version": "4.1.0-beta.31", "private": false, "files": [ ".next", diff --git a/packages/workflow/CHANGELOG.md b/packages/workflow/CHANGELOG.md index 62a4be2557..954304ded1 100644 --- a/packages/workflow/CHANGELOG.md +++ b/packages/workflow/CHANGELOG.md @@ -1,5 +1,37 @@ # workflow +## 4.1.0-beta.51 + +### Minor Changes + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - **BREAKING**: Storage interface is now read-only; all mutations go through `events.create()` + + - Remove `cancel`, `pause`, `resume` from `runs` + - Remove `create`, `update` from `runs`, `steps`, `hooks` + - Add run lifecycle events: `run_created`, `run_started`, `run_completed`, `run_failed`, `run_cancelled` + - Add `step_created` event type + - Remove `fatal` field from `step_failed` (terminal failure is now implicit) + - Add `step_retrying` event with error info for retriable failures + +### Patch Changes + +- [#840](https://github.com/vercel/workflow/pull/840) [`50f50f4`](https://github.com/vercel/workflow/commit/50f50f44d79a3cf1102173ff1865cd8a01723ea3) Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Create `@workflow/nest` package and add build support for NestJS + +- [#843](https://github.com/vercel/workflow/pull/843) [`409972e`](https://github.com/vercel/workflow/commit/409972e3b478e51972e17cb1ef6057f6a5b32c47) Thanks [@karthikscale3](https://github.com/karthikscale3)! - Expose `dirs` option in `workflows` config object in `withWorkflow()` + +- Updated dependencies [[`50f50f4`](https://github.com/vercel/workflow/commit/50f50f44d79a3cf1102173ff1865cd8a01723ea3), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`4ad3fcd`](https://github.com/vercel/workflow/commit/4ad3fcd0a362f3d83a6c272dec6362fe9a562c63), [`a2b688d`](https://github.com/vercel/workflow/commit/a2b688d0623ebbae117877a696c5b9b288d628fd), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`1f684df`](https://github.com/vercel/workflow/commit/1f684df6b7b9cd322d5f1aa4a70dcaa3e07c7986), [`b16a682`](https://github.com/vercel/workflow/commit/b16a6828af36a2d5adb38fb6a6d1253657001ac8), [`bd8116d`](https://github.com/vercel/workflow/commit/bd8116d40bf8d662537bf015d2861f6d1768d69e), [`1060f9d`](https://github.com/vercel/workflow/commit/1060f9d04a372bf6de6c5c3d52063bcc22dba6e8), [`00c7961`](https://github.com/vercel/workflow/commit/00c7961ecb09418d6c23e1346a1b6569eb66a6bf), [`c45bc3f`](https://github.com/vercel/workflow/commit/c45bc3fd15ca201ee568cf7789ff1467cf7ba566)]: + - @workflow/nest@0.0.0-beta.0 + - @workflow/errors@4.1.0-beta.14 + - @workflow/cli@4.1.0-beta.51 + - @workflow/core@4.1.0-beta.51 + - @workflow/nitro@4.0.1-beta.46 + - @workflow/astro@4.0.0-beta.25 + - @workflow/next@4.0.1-beta.47 + - @workflow/sveltekit@4.0.0-beta.40 + - @workflow/typescript-plugin@4.0.1-beta.4 + - @workflow/rollup@4.0.0-beta.9 + - @workflow/nuxt@4.0.1-beta.35 + ## 4.0.1-beta.50 ### Patch Changes diff --git a/packages/workflow/package.json b/packages/workflow/package.json index 57a46add82..bccac6a042 100644 --- a/packages/workflow/package.json +++ b/packages/workflow/package.json @@ -1,6 +1,6 @@ { "name": "workflow", - "version": "4.0.1-beta.50", + "version": "4.1.0-beta.51", "description": "Workflow DevKit - Build durable, resilient, and observable workflows", "main": "dist/typescript-plugin.cjs", "type": "module", diff --git a/packages/world-local/CHANGELOG.md b/packages/world-local/CHANGELOG.md index 40fb1376a8..97b4e679af 100644 --- a/packages/world-local/CHANGELOG.md +++ b/packages/world-local/CHANGELOG.md @@ -1,5 +1,56 @@ # @workflow/world-local +## 4.1.0-beta.28 + +### Minor Changes + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - **BREAKING**: Storage interface is now read-only; all mutations go through `events.create()` + + - Remove `cancel`, `pause`, `resume` from `runs` + - Remove `create`, `update` from `runs`, `steps`, `hooks` + - Add run lifecycle events: `run_created`, `run_started`, `run_completed`, `run_failed`, `run_cancelled` + - Add `step_created` event type + - Remove `fatal` field from `step_failed` (terminal failure is now implicit) + - Add `step_retrying` event with error info for retriable failures + +### Patch Changes + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - Add backwards compatibility for runs created with different spec versions + + - Add `RunNotSupportedError` for runs requiring newer world versions + - Add semver-based version comparison utilities + - Legacy runs (< 4.1): route to legacy handlers + - `run_cancelled`: skip event storage, directly update run + - `wait_completed`: store event only (no entity mutation) + - Unknown legacy events: throw error + +- [#853](https://github.com/vercel/workflow/pull/853) [`1060f9d`](https://github.com/vercel/workflow/commit/1060f9d04a372bf6de6c5c3d52063bcc22dba6e8) Thanks [@TooTallNate](https://github.com/TooTallNate)! - **BREAKING CHANGE**: Change user input/output to be binary data (Uint8Array) at the World interface + + This is part of specVersion 2 changes where serialization of workflow and step data uses binary format instead of JSON arrays. This allows the workflow client to be fully responsible for the data serialization format and enables future enhancements such as encryption and compression without the World implementation needing to care about the underlying data representation. + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - Remove deprecated `workflow_completed`, `workflow_failed`, and `workflow_started` events in favor of `run_completed`, `run_failed`, and `run_started` events. + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - Add `specVersion` property to World interface + + - All worlds expose `@workflow/world` package version for protocol compatibility + - Stored in `run_created` event and `WorkflowRun` schema + - Displayed in observability UI + +- [#718](https://github.com/vercel/workflow/pull/718) [`57f6376`](https://github.com/vercel/workflow/commit/57f637653d3790b9a77b2cd072bcf02fa6b61d74) Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Fix package info stored in data dir showing the wrong version + +- [#903](https://github.com/vercel/workflow/pull/903) [`60a9b76`](https://github.com/vercel/workflow/commit/60a9b7661a86b6bd44c25cddf68cadf0515f195e) Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Increase local world concurrency limits for HTTP and queue semaphore from 100 to 1000 + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - Implement event-sourced entity creation in `events.create()` + + - Atomically create run/step/hook entities when processing corresponding events + - Return `hook_conflict` event when hook token already exists + - Remove direct entity mutation methods from storage + +- Updated dependencies [[`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`b16a682`](https://github.com/vercel/workflow/commit/b16a6828af36a2d5adb38fb6a6d1253657001ac8), [`1060f9d`](https://github.com/vercel/workflow/commit/1060f9d04a372bf6de6c5c3d52063bcc22dba6e8), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae)]: + - @workflow/world@4.1.0-beta.1 + - @workflow/errors@4.1.0-beta.14 + - @workflow/utils@4.1.0-beta.11 + ## 4.0.1-beta.27 ### Patch Changes diff --git a/packages/world-local/package.json b/packages/world-local/package.json index e1e7b29c0c..2a55f187e8 100644 --- a/packages/world-local/package.json +++ b/packages/world-local/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/world-local", - "version": "4.0.1-beta.27", + "version": "4.1.0-beta.28", "description": "Local development World implementation for Workflow DevKit", "type": "module", "main": "dist/index.js", diff --git a/packages/world-postgres/CHANGELOG.md b/packages/world-postgres/CHANGELOG.md index 412350c7b1..1645f9455b 100644 --- a/packages/world-postgres/CHANGELOG.md +++ b/packages/world-postgres/CHANGELOG.md @@ -1,5 +1,52 @@ # @workflow/world-postgres +## 4.1.0-beta.30 + +### Minor Changes + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - **BREAKING**: Storage interface is now read-only; all mutations go through `events.create()` + + - Remove `cancel`, `pause`, `resume` from `runs` + - Remove `create`, `update` from `runs`, `steps`, `hooks` + - Add run lifecycle events: `run_created`, `run_started`, `run_completed`, `run_failed`, `run_cancelled` + - Add `step_created` event type + - Remove `fatal` field from `step_failed` (terminal failure is now implicit) + - Add `step_retrying` event with error info for retriable failures + +### Patch Changes + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - Add backwards compatibility for runs created with different spec versions + + - Add `RunNotSupportedError` for runs requiring newer world versions + - Add semver-based version comparison utilities + - Legacy runs (< 4.1): route to legacy handlers + - `run_cancelled`: skip event storage, directly update run + - `wait_completed`: store event only (no entity mutation) + - Unknown legacy events: throw error + +- [#853](https://github.com/vercel/workflow/pull/853) [`1060f9d`](https://github.com/vercel/workflow/commit/1060f9d04a372bf6de6c5c3d52063bcc22dba6e8) Thanks [@TooTallNate](https://github.com/TooTallNate)! - **BREAKING CHANGE**: Change user input/output to be binary data (Uint8Array) at the World interface + + This is part of specVersion 2 changes where serialization of workflow and step data uses binary format instead of JSON arrays. This allows the workflow client to be fully responsible for the data serialization format and enables future enhancements such as encryption and compression without the World implementation needing to care about the underlying data representation. + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - Remove deprecated `workflow_completed`, `workflow_failed`, and `workflow_started` events in favor of `run_completed`, `run_failed`, and `run_started` events. + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - Add `specVersion` property to World interface + + - All worlds expose `@workflow/world` package version for protocol compatibility + - Stored in `run_created` event and `WorkflowRun` schema + - Displayed in observability UI + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - Implement event-sourced entity creation in `events.create()` + + - Atomically create run/step/hook entities when processing corresponding events + - Return `hook_conflict` event when hook token already exists + - Add `spec_version` column to runs table + +- Updated dependencies [[`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`1060f9d`](https://github.com/vercel/workflow/commit/1060f9d04a372bf6de6c5c3d52063bcc22dba6e8), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`57f6376`](https://github.com/vercel/workflow/commit/57f637653d3790b9a77b2cd072bcf02fa6b61d74), [`60a9b76`](https://github.com/vercel/workflow/commit/60a9b7661a86b6bd44c25cddf68cadf0515f195e), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae)]: + - @workflow/world@4.1.0-beta.1 + - @workflow/world-local@4.1.0-beta.28 + - @workflow/errors@4.1.0-beta.14 + ## 4.1.0-beta.29 ### Patch Changes diff --git a/packages/world-postgres/package.json b/packages/world-postgres/package.json index 9f44c3cc8c..9a9f4c36e2 100644 --- a/packages/world-postgres/package.json +++ b/packages/world-postgres/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/world-postgres", - "version": "4.1.0-beta.29", + "version": "4.1.0-beta.30", "description": "A reference World implementation based on PostgreSQL", "type": "module", "main": "dist/index.js", diff --git a/packages/world-testing/CHANGELOG.md b/packages/world-testing/CHANGELOG.md index 5068a19c72..2535467277 100644 --- a/packages/world-testing/CHANGELOG.md +++ b/packages/world-testing/CHANGELOG.md @@ -1,5 +1,29 @@ # @workflow/world-testing +## 4.1.0-beta.52 + +### Minor Changes + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - **BREAKING**: Storage interface is now read-only; all mutations go through `events.create()` + + - Remove `cancel`, `pause`, `resume` from `runs` + - Remove `create`, `update` from `runs`, `steps`, `hooks` + - Add run lifecycle events: `run_created`, `run_started`, `run_completed`, `run_failed`, `run_cancelled` + - Add `step_created` event type + - Remove `fatal` field from `step_failed` (terminal failure is now implicit) + - Add `step_retrying` event with error info for retriable failures + +### Patch Changes + +- [#853](https://github.com/vercel/workflow/pull/853) [`1060f9d`](https://github.com/vercel/workflow/commit/1060f9d04a372bf6de6c5c3d52063bcc22dba6e8) Thanks [@TooTallNate](https://github.com/TooTallNate)! - **BREAKING CHANGE**: Change user input/output to be binary data (Uint8Array) at the World interface + + This is part of specVersion 2 changes where serialization of workflow and step data uses binary format instead of JSON arrays. This allows the workflow client to be fully responsible for the data serialization format and enables future enhancements such as encryption and compression without the World implementation needing to care about the underlying data representation. + +- Updated dependencies [[`50f50f4`](https://github.com/vercel/workflow/commit/50f50f44d79a3cf1102173ff1865cd8a01723ea3), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`a2b688d`](https://github.com/vercel/workflow/commit/a2b688d0623ebbae117877a696c5b9b288d628fd), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`b16a682`](https://github.com/vercel/workflow/commit/b16a6828af36a2d5adb38fb6a6d1253657001ac8), [`bd8116d`](https://github.com/vercel/workflow/commit/bd8116d40bf8d662537bf015d2861f6d1768d69e), [`1060f9d`](https://github.com/vercel/workflow/commit/1060f9d04a372bf6de6c5c3d52063bcc22dba6e8), [`409972e`](https://github.com/vercel/workflow/commit/409972e3b478e51972e17cb1ef6057f6a5b32c47), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae)]: + - workflow@4.1.0-beta.51 + - @workflow/world@4.1.0-beta.1 + - @workflow/cli@4.1.0-beta.51 + ## 4.0.1-beta.51 ### Patch Changes diff --git a/packages/world-testing/package.json b/packages/world-testing/package.json index 168480765d..bcdf7fdf4c 100644 --- a/packages/world-testing/package.json +++ b/packages/world-testing/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/world-testing", - "version": "4.0.1-beta.51", + "version": "4.1.0-beta.52", "description": "Testing utilities and World implementation for Workflow DevKit", "main": "dist/src/index.mjs", "files": [ diff --git a/packages/world-vercel/CHANGELOG.md b/packages/world-vercel/CHANGELOG.md index 16fb371340..7c0a040dd1 100644 --- a/packages/world-vercel/CHANGELOG.md +++ b/packages/world-vercel/CHANGELOG.md @@ -1,5 +1,49 @@ # @workflow/world-vercel +## 4.1.0-beta.29 + +### Minor Changes + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - **BREAKING**: Storage interface is now read-only; all mutations go through `events.create()` + + - Remove `cancel`, `pause`, `resume` from `runs` + - Remove `create`, `update` from `runs`, `steps`, `hooks` + - Add run lifecycle events: `run_created`, `run_started`, `run_completed`, `run_failed`, `run_cancelled` + - Add `step_created` event type + - Remove `fatal` field from `step_failed` (terminal failure is now implicit) + - Add `step_retrying` event with error info for retriable failures + +### Patch Changes + +- [#799](https://github.com/vercel/workflow/pull/799) [`26a9833`](https://github.com/vercel/workflow/commit/26a98330d478dd76192d9897b5a0cc0cf3feacd7) Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Update queue implementation to use VQS v3 + +- [#844](https://github.com/vercel/workflow/pull/844) [`b59559b`](https://github.com/vercel/workflow/commit/b59559be70e839025680c4f9873d521170e48e1c) Thanks [@TooTallNate](https://github.com/TooTallNate)! - Submit request bodies with CBOR encoding + +- [#894](https://github.com/vercel/workflow/pull/894) [`a2b688d`](https://github.com/vercel/workflow/commit/a2b688d0623ebbae117877a696c5b9b288d628fd) Thanks [@VaguelySerious](https://github.com/VaguelySerious)! - Fix resuming v1 hooks and cancelling/re-running v1 runs from a v2 UI or runtime + +- [#833](https://github.com/vercel/workflow/pull/833) [`bd8116d`](https://github.com/vercel/workflow/commit/bd8116d40bf8d662537bf015d2861f6d1768d69e) Thanks [@TooTallNate](https://github.com/TooTallNate)! - Remove `skipProxy` and `baseUrl` config options, simplify proxy logic + +- [#853](https://github.com/vercel/workflow/pull/853) [`1060f9d`](https://github.com/vercel/workflow/commit/1060f9d04a372bf6de6c5c3d52063bcc22dba6e8) Thanks [@TooTallNate](https://github.com/TooTallNate)! - **BREAKING CHANGE**: Change user input/output to be binary data (Uint8Array) at the World interface + + This is part of specVersion 2 changes where serialization of workflow and step data uses binary format instead of JSON arrays. This allows the workflow client to be fully responsible for the data serialization format and enables future enhancements such as encryption and compression without the World implementation needing to care about the underlying data representation. + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - Add `specVersion` property to World interface + + - All worlds expose `@workflow/world` package version for protocol compatibility + - Stored in `run_created` event and `WorkflowRun` schema + - Displayed in observability UI + +- [#832](https://github.com/vercel/workflow/pull/832) [`b973b8d`](https://github.com/vercel/workflow/commit/b973b8d00f6459fa675ee9875642e49760f68879) Thanks [@TooTallNate](https://github.com/TooTallNate)! - Add support for CBOR responses + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - Route entity mutations through v2 events API + + - `events.create()` calls v2 endpoint for atomic entity creation + - Remove `cancel`, `pause`, `resume` from storage interface + +- Updated dependencies [[`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`1060f9d`](https://github.com/vercel/workflow/commit/1060f9d04a372bf6de6c5c3d52063bcc22dba6e8), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae), [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae)]: + - @workflow/world@4.1.0-beta.1 + - @workflow/errors@4.1.0-beta.14 + ## 4.0.1-beta.28 ### Patch Changes diff --git a/packages/world-vercel/package.json b/packages/world-vercel/package.json index c3a7d9f078..7630be2752 100644 --- a/packages/world-vercel/package.json +++ b/packages/world-vercel/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/world-vercel", - "version": "4.0.1-beta.28", + "version": "4.1.0-beta.29", "description": "Vercel platform World implementation for Workflow DevKit", "type": "module", "main": "dist/index.js", diff --git a/packages/world/CHANGELOG.md b/packages/world/CHANGELOG.md index d896c043e0..7e74d1bf12 100644 --- a/packages/world/CHANGELOG.md +++ b/packages/world/CHANGELOG.md @@ -1,5 +1,46 @@ # @workflow/world +## 4.1.0-beta.1 + +### Minor Changes + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - Add backwards compatibility for runs created with different spec versions + + - Add `RunNotSupportedError` for runs requiring newer world versions + - Add semver-based version comparison utilities + - Legacy runs (< 4.1): route to legacy handlers + - `run_cancelled`: skip event storage, directly update run + - `wait_completed`: store event only (no entity mutation) + - Unknown legacy events: throw error + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - **BREAKING**: Storage interface is now read-only; all mutations go through `events.create()` + + - Remove `cancel`, `pause`, `resume` from `runs` + - Remove `create`, `update` from `runs`, `steps`, `hooks` + - Add run lifecycle events: `run_created`, `run_started`, `run_completed`, `run_failed`, `run_cancelled` + - Add `step_created` event type + - Remove `fatal` field from `step_failed` (terminal failure is now implicit) + - Add `step_retrying` event with error info for retriable failures + +### Patch Changes + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - Add `hook_conflict` event type for duplicate token detection + + - World returns `hook_conflict` event when `hook_created` uses an existing token + - Add `HOOK_CONFLICT` error slug + +- [#853](https://github.com/vercel/workflow/pull/853) [`1060f9d`](https://github.com/vercel/workflow/commit/1060f9d04a372bf6de6c5c3d52063bcc22dba6e8) Thanks [@TooTallNate](https://github.com/TooTallNate)! - **BREAKING CHANGE**: Change user input/output to be binary data (Uint8Array) at the World interface + + This is part of specVersion 2 changes where serialization of workflow and step data uses binary format instead of JSON arrays. This allows the workflow client to be fully responsible for the data serialization format and enables future enhancements such as encryption and compression without the World implementation needing to care about the underlying data representation. + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - Remove deprecated `workflow_completed`, `workflow_failed`, and `workflow_started` events in favor of `run_completed`, `run_failed`, and `run_started` events. + +- [#621](https://github.com/vercel/workflow/pull/621) [`4966b72`](https://github.com/vercel/workflow/commit/4966b728a8c8ac339fd98ed91af222f406479fae) Thanks [@pranaygp](https://github.com/pranaygp)! - Add `specVersion` property to World interface + + - All worlds expose `@workflow/world` package version for protocol compatibility + - Stored in `run_created` event and `WorkflowRun` schema + - Displayed in observability UI + ## 4.0.1-beta.13 ### Patch Changes diff --git a/packages/world/package.json b/packages/world/package.json index f55c321861..e84272c967 100644 --- a/packages/world/package.json +++ b/packages/world/package.json @@ -1,6 +1,6 @@ { "name": "@workflow/world", - "version": "4.1.0-beta.0", + "version": "4.1.0-beta.1", "description": "The Workflows World interface", "type": "module", "main": "dist/index.js",