Skip to content

Releases: vercel/workflow

workflow@4.2.4

17 Apr 00:11
Immutable release. Only release title and notes can be modified.
dd139df

Choose a tag to compare

@workflow/world-vercel@4.1.2

workflow@4.2.3

16 Apr 22:43
Immutable release. Only release title and notes can be modified.
2a7ead0

Choose a tag to compare

@workflow/core@4.2.3

@workflow/cli@4.2.3

@workflow/world@4.1.1

  • 2ece7ba @VaguelySerious - Fix community world E2E tests by adding specVersion to the World interface so start() uses the safe baseline (v2) for worlds that don't declare their supported version

@workflow/world-local@4.1.1

@workflow/world-postgres@4.1.1

@workflow/world-vercel@4.1.1

@workflow/world-testing@4.1.3

@workflow/web@4.1.4

  • #1776 c556da3 @workflow-devkit-release-bot - Disable Vite minification so the published build contains readable code, reducing false-positive obfuscation flags from supply chain security scanners (Socket).

@workflow/ai@4.1.2

@workflow/typescript-plugin@4.0.2

@workflow/builders@4.0.4

@workflow/next@4.0.4

@workflow/nitro@4.0.4

@workflow/nuxt@4.0.4

@workflow/sveltekit@4.0.3

@workflow/astro@4.0.3

@workflow/vite@4.0.3

@workflow/rollup@4.0.3

@workflow/errors@4.1.1

@workflow/utils@4.1.1

@workflow/serde@4.1.1

@workflow/vitest@4.0.4

workflow@5.0.0-beta.2

16 Apr 22:36
Immutable release. Only release title and notes can be modified.
5714c23

Choose a tag to compare

workflow@5.0.0-beta.2 Pre-release
Pre-release

@workflow/core@5.0.0-beta.2

  • #1716 df115fd @karthikscale3 - Make encrypted markers clickable to trigger decryption and detect encryption at run level before span selection. Persist features.encryption flag in executionContext at run creation so the UI can detect encryption without a probe fetch.
  • #1740 0810b75 @VaguelySerious - When runtime replays exceed 240s, re-try them up to three times, instead of failing immediately
  • #1769 5a42964 @tomdale - Embed source content in published sourcemaps.
  • #1778 b7d6595 @TooTallNate - Fix false-positive unconsumed step_created errors when replay resumes a for await hook loop and appends more async work after the first promise-queue drain.
  • #1681 ac09f40 @TooTallNate - Add clickable Run reference rendering in observability UI
  • #1759 173756d @TooTallNate - Rename useworkflow.dev URLs to workflow-sdk.dev

@workflow/cli@5.0.0-beta.2

@workflow/world-local@5.0.0-beta.2

@workflow/world-postgres@5.0.0-beta.2

@workflow/world-vercel@5.0.0-beta.2

@workflow/world-testing@5.0.0-beta.2

@workflow/web@5.0.0-beta.2

  • #1732 c57eeff @VaguelySerious - Support standalone deploy to vercel
  • #1768 bcf818c @karthikscale3 - Disable Vite minification so the published build contains readable code, reducing false-positive obfuscation flags from supply chain security scanners (Socket).
  • #1716 df115fd @karthikscale3 - Make encrypted markers clickable to trigger decryption and detect encryption at run level before span selection. Persist features.encryption flag in executionContext at run creation so the UI can detect encryption without a probe fetch.
  • #1681 ac09f40 @TooTallNate - Add clickable Run reference rendering in observability UI
  • #1759 173756d @TooTallNate - Rename useworkflow.dev URLs to workflow-sdk.dev

@workflow/web-shared@5.0.0-beta.2

  • #1716 df115fd @karthikscale3 - Make encrypted markers clickable to trigger decryption and detect encryption at run level before span selection. Persist features.encryption flag in executionContext at run creation so the UI can detect encryption without a probe fetch.
  • #1681 ac09f40 @TooTallNate - Add clickable Run reference rendering in observability UI
  • #1759 173756d @TooTallNate - Rename useworkflow.dev URLs to workflow-sdk.dev
  • #1722 3eb5034 @karthikscale3 - Support in-line decryption for data inspector on the detail panel

@workflow/ai@5.0.0-beta.2

@workflow/typescript-plugin@5.0.0-beta.2

@workflow/swc-plugin@5.0.0-beta.2

@workflow/builders@5.0.0-beta.2

Read more

workflow@4.2.2

14 Apr 02:20
Immutable release. Only release title and notes can be modified.
7b045f0

Choose a tag to compare

@workflow/web-shared@4.1.3

workflow@4.2.1

11 Apr 01:52
Immutable release. Only release title and notes can be modified.
aed6ad2

Choose a tag to compare

@workflow/core@4.2.1

@workflow/web-shared@4.1.1

@workflow/ai@4.1.1

workflow@5.0.0-beta.1

11 Apr 01:54
Immutable release. Only release title and notes can be modified.
223e9ca

Choose a tag to compare

workflow@5.0.0-beta.1 Pre-release
Pre-release

@workflow/core@5.0.0-beta.1

  • #1293 66d49c0 @VaguelySerious - BREAKING CHANGE: Restructure stream methods on World interface to use world.streams.* namespace with runId as the first parameter. writeToStream(name, runId, chunk)streams.write(runId, name, chunk), writeToStreamMultistreams.writeMulti, closeStreamstreams.close, readFromStreamstreams.get(runId, name, startIndex?), listStreamsByRunIdstreams.list(runId).
  • #1632 0a86de3 @TooTallNate - BREAKING CHANGE: Remove @workflow/core/private and workflow/internal/private public subpath exports. The SWC compiler plugin no longer generates imports from these paths.
  • #1293 66d49c0 @VaguelySerious - Require runId argument for world.steps.get.
  • #1652 ec517fa @TooTallNate - Add features.encryption to WorkflowMetadata returned by getWorkflowMetadata()
  • #1616 71d39d2 @TooTallNate - Use custom class serialization for Run across runtime and workflow VM contexts, and add e2e coverage for Run instance boundary roundtrips
  • #1677 9513a81 @TooTallNate - Add serialization support for workflow function references
  • #1658 a5c90ce @VaguelySerious - Fix community world E2E tests by adding specVersion to the World interface so start() uses the safe baseline (v2) for worlds that don't declare their supported version
  • #1678 ea97bd6 @TooTallNate - Remove redundant hc_ prefix from health check correlationId that caused doubled hc_hc_ in the derived runId and stream name.
  • #942 873b4e2 @VaguelySerious - BREAKING CHANGE: Make getWorld and createWorld asynchronous to support ESM dynamic imports for custom world modules. All callers must now await getWorld().

@workflow/cli@5.0.0-beta.1

  • #1293 66d49c0 @VaguelySerious - BREAKING CHANGE: Restructure stream methods on World interface to use world.streams.* namespace with runId as the first parameter. writeToStream(name, runId, chunk)streams.write(runId, name, chunk), writeToStreamMultistreams.writeMulti, closeStreamstreams.close, readFromStreamstreams.get(runId, name, startIndex?), listStreamsByRunIdstreams.list(runId).
  • #1293 66d49c0 @VaguelySerious - Require runId argument for world.steps.get.
  • #1562 e436242 @VaguelySerious - Switch Vercel Build Output API and standalone builder output from CJS to ESM. Step bundles, workflow bundles, and webhook bundles now emit ESM format by default, preserving native import.meta.url support and eliminating the need for CJS polyfills. Fully-bundled ESM output includes a createRequire banner to support CJS dependencies that use require() for Node.js builtins. The intermediate workflow bundle (which runs inside vm.runInContext) remains CJS as required by the VM execution model.
  • #942 873b4e2 @VaguelySerious - BREAKING CHANGE: Make getWorld and createWorld asynchronous to support ESM dynamic imports for custom world modules. All callers must now await getWorld().

@workflow/world@5.0.0-beta.1

  • #1293 66d49c0 @VaguelySerious - BREAKING CHANGE: Restructure stream methods on World interface to use world.streams.* namespace with runId as the first parameter. writeToStream(name, runId, chunk)streams.write(runId, name, chunk), writeToStreamMultistreams.writeMulti, closeStreamstreams.close, readFromStreamstreams.get(runId, name, startIndex?), listStreamsByRunIdstreams.list(runId).
  • #1293 66d49c0 @VaguelySerious - Require runId argument for world.steps.get.
  • #1658 a5c90ce @VaguelySerious - Fix community world E2E tests by adding specVersion to the World interface so start() uses the safe baseline (v2) for worlds that don't declare their supported version

@workflow/world-local@5.0.0-beta.1

  • #1293 66d49c0 @VaguelySerious - BREAKING CHANGE: Restructure stream methods on World interface to use world.streams.* namespace with runId as the first parameter. writeToStream(name, runId, chunk)streams.write(runId, name, chunk), writeToStreamMultistreams.writeMulti, closeStreamstreams.close, readFromStreamstreams.get(runId, name, startIndex?), listStreamsByRunIdstreams.list(runId).
  • #1293 66d49c0 @VaguelySerious - Require runId argument for world.steps.get.
  • #1658 a5c90ce @VaguelySerious - Fix community world E2E tests by adding specVersion to the World interface so start() uses the safe baseline (v2) for worlds that don't declare their supported version

@workflow/world-postgres@5.0.0-beta.1

  • #1293 66d49c0 @VaguelySerious - BREAKING CHANGE: Restructure stream methods on World interface to use world.streams.* namespace with runId as the first parameter. writeToStream(name, runId, chunk)streams.write(runId, name, chunk), writeToStreamMultistreams.writeMulti, closeStreamstreams.close, readFromStreamstreams.get(runId, name, startIndex?), listStreamsByRunIdstreams.list(runId).
  • #1293 66d49c0 @VaguelySerious - Require runId argument for world.steps.get.
  • #1658 a5c90ce @VaguelySerious - Fix community world E2E tests by adding specVersion to the World interface so start() uses the safe baseline (v2) for worlds that don't declare their supported version

@workflow/world-vercel@5.0.0-beta.1

  • #1293 66d49c0 @VaguelySerious - BREAKING CHANGE: Restructure stream methods on World interface to use world.streams.* namespace with runId as the first parameter. writeToStream(name, runId, chunk)streams.write(runId, name, chunk), writeToStreamMultistreams.writeMulti, closeStreamstreams.close, readFromStreamstreams.get(runId, name, startIndex?), listStreamsByRunIdstreams.list(runId).
  • #1293 66d49c0 @VaguelySerious - Require runId argument for world.steps.get.
  • [#1658](https://github.com/vercel/workflow/pull/...
Read more

workflow@5.0.0-beta.0

08 Apr 00:40
Immutable release. Only release title and notes can be modified.
a261b21

Choose a tag to compare

workflow@5.0.0-beta.0 Pre-release
Pre-release

@workflow/core@5.0.0-beta.0

@workflow/cli@5.0.0-beta.0

@workflow/world@5.0.0-beta.0

@workflow/world-local@5.0.0-beta.0

@workflow/world-postgres@5.0.0-beta.0

@workflow/world-vercel@5.0.0-beta.0

@workflow/world-testing@5.0.0-beta.0

@workflow/web@5.0.0-beta.0

@workflow/web-shared@5.0.0-beta.0

@workflow/ai@5.0.0-beta.0

@workflow/typescript-plugin@5.0.0-beta.0

@workflow/swc-plugin@5.0.0-beta.0

@workflow/builders@5.0.0-beta.0

@workflow/next@5.0.0-beta.0

@workflow/nitro@5.0.0-beta.0

@workflow/nuxt@5.0.0-beta.0

@workflow/sveltekit@5.0.0-beta.0

@workflow/astro@5.0.0-beta.0

@workflow/vite@5.0.0-beta.0

@workflow/rollup@5.0.0-beta.0

@workflow/errors@5.0.0-beta.0

@workflow/utils@5.0.0-beta.0

@workflow/nest@5.0.0-beta.0

@workflow/serde@5.0.0-beta.0

@workflow/vitest@5.0.0-beta.0

workflow@4.2.0-beta.78

07 Apr 18:19
Immutable release. Only release title and notes can be modified.
61831cf

Choose a tag to compare

@workflow/core@4.2.0-beta.78

  • #1627 5f138f2 @VaguelySerious - Bump specVersion to 3 and gate CBOR queue transport on spec version. Old deployments (specVersion < 3) receive JSON queue messages; new deployments receive CBOR. Handler uses dual transport to deserialize both formats. Fixes replay/reenqueue from dashboard to older deployments.
  • #1629 a6bcea9 @VaguelySerious - CLI start command probes deployment specVersion via health check before choosing queue transport. Health check always uses JSON transport for compatibility with old deployments.
  • #1533 7e70d18 @VaguelySerious - Add streamFlushIntervalMs option to Streamer interface, optional for worlds to allow overwriting the default of 10ms in low-latency environments.
  • #1512 ba916e1 @TooTallNate - Add DOMException to the workflow VM context and add first-class serialization support, preserving message, name, and derived code across serialization boundaries
  • #1618 c9b3038 @VaguelySerious - fix(core): properly propagate stream cancellation on disconnect
  • #1537 c8dce52 @VaguelySerious - Allow workflow invocation to create run if initial storage call in start did not succeed. Send run input through queue to enable this. Allow creating run_created and run_started events together in World, and skip first event list call by returning events directly.
  • #1606 ab872cc @VaguelySerious - Make registeredSteps a global singleton to protect against module duplication and caching issues

@workflow/cli@4.2.0-beta.78

  • #1552 f5d2aef @TooTallNate - Add workflow transform command for inspecting SWC transform output with optional serde compliance analysis
  • #1552 f5d2aef @TooTallNate - Implement serde compliance checks in workflow validate
  • #1629 a6bcea9 @VaguelySerious - CLI start command probes deployment specVersion via health check before choosing queue transport. Health check always uses JSON transport for compatibility with old deployments.
  • #1414 2680a42 @TooTallNate - Add Request and Response revivers to web and CLI hydration so serialized Request/Response objects display correctly in the observability UI and CLI inspect output.

@workflow/world@4.1.0-beta.17

  • #1627 5f138f2 @VaguelySerious - Bump specVersion to 3 and gate CBOR queue transport on spec version. Old deployments (specVersion < 3) receive JSON queue messages; new deployments receive CBOR. Handler uses dual transport to deserialize both formats. Fixes replay/reenqueue from dashboard to older deployments.
  • #1533 7e70d18 @VaguelySerious - Add streamFlushIntervalMs option to Streamer interface, optional for worlds to allow overwriting the default of 10ms in low-latency environments.
  • #1537 c8dce52 @VaguelySerious - Allow workflow invocation to create run if initial storage call in start did not succeed. Send run input through queue to enable this. Allow creating run_created and run_started events together in World, and skip first event list call by returning events directly.

@workflow/world-local@4.1.0-beta.51

  • #1533 7e70d18 @VaguelySerious - Add streamFlushIntervalMs option to Streamer interface, optional for worlds to allow overwriting the default of 10ms in low-latency environments.
  • #1537 c8dce52 @VaguelySerious - Allow workflow invocation to create run if initial storage call in start did not succeed. Send run input through queue to enable this. Allow creating run_created and run_started events together in World, and skip first event list call by returning events directly.

@workflow/world-postgres@4.1.0-beta.53

  • #1533 7e70d18 @VaguelySerious - Add streamFlushIntervalMs option to Streamer interface, optional for worlds to allow overwriting the default of 10ms in low-latency environments.
  • #1537 c8dce52 @VaguelySerious - Allow workflow invocation to create run if initial storage call in start did not succeed. Send run input through queue to enable this. Allow creating run_created and run_started events together in World, and skip first event list call by returning events directly.

@workflow/world-vercel@4.1.0-beta.49

  • #1627 5f138f2 @VaguelySerious - Bump specVersion to 3 and gate CBOR queue transport on spec version. Old deployments (specVersion < 3) receive JSON queue messages; new deployments receive CBOR. Handler uses dual transport to deserialize both formats. Fixes replay/reenqueue from dashboard to older deployments.
  • #1537 c8dce52 @VaguelySerious - Allow workflow invocation to create run if initial storage call in start did not succeed. Send run input through queue to enable this. Allow creating run_created and run_started events together in World, and skip first event list call by returning events directly.
  • #1626 5b9eb40 @VaguelySerious - Paginate writeToStreamMulti to stay within the server's 1000 chunks per batch limit

@workflow/web-shared@4.1.0-beta.73

  • #1414 2680a42 @TooTallNate - Add Request and Response revivers to web and CLI hydration so serialized Request/Response objects display correctly in the observability UI and CLI inspect output.

@workflow/ai@4.1.0-beta.61

@workflow/swc-plugin@4.1.0-beta.22

Read more

workflow@4.2.0-beta.77

07 Apr 19:02
Immutable release. Only release title and notes can be modified.
24a041f

Choose a tag to compare

@workflow/core@4.2.0-beta.77

  • #1591 d8aaf27 @VaguelySerious - Fix step contextStorage global potentially seeing dual-instance issues when bundlers create multiple copies of the module.
  • #1367 047c01b @pranaygp - Make start() return Run<unknown> with unknown[] args when deploymentId is provided, since the deployed workflow version may have different types

@workflow/world@4.1.0-beta.16

@workflow/world-local@4.1.0-beta.50

@workflow/world-vercel@4.1.0-beta.48

  • #1602 760ebf1 @karthikscale3 - Update headers from x-workflow-run-id and x-workflow-step-id to x-vercel-workflow-run-id and x-vercel-workflow-step-id in order to align with header naming convention

@workflow/builders@4.0.1-beta.68

  • #1554 d1330cf @pranaygp - Fix node-module-error plugin pointing at multi-line comments instead of code usage
  • #1598 443a9e6 @TooTallNate - Override "sideEffects": false from package.json for discovered workflow/step/serde entries so esbuild does not drop their bare imports from the virtual entry

@workflow/next@4.0.1-beta.73

  • #1597 4429078 @TooTallNate - Stop unconditionally setting WORKFLOW_PUBLIC_MANIFEST=1 during next dev, which caused public/.well-known/workflow/v1/manifest.json to be created without the env var being explicitly set.

workflow@4.2.0

07 Apr 23:56
Immutable release. Only release title and notes can be modified.
4e435e0

Choose a tag to compare

@workflow/core@4.2.0

@workflow/cli@4.2.0

@workflow/world@4.1.0

@workflow/world-local@4.1.0

@workflow/world-postgres@4.1.0

@workflow/world-vercel@4.1.0

@workflow/world-testing@4.1.0

@workflow/web@4.1.0

@workflow/web-shared@4.1.0

@workflow/ai@4.1.0

@workflow/typescript-plugin@4.0.1

@workflow/swc-plugin@4.1.0

@workflow/builders@4.0.1

@workflow/next@4.0.1

@workflow/nitro@4.0.1

@workflow/nuxt@4.0.1

@workflow/sveltekit@4.0.0

@workflow/astro@4.0.0

@workflow/vite@4.0.0

@workflow/rollup@4.0.0

@workflow/errors@4.1.0

@workflow/utils@4.1.0

@workflow/nest@0.0.0

@workflow/serde@4.1.0

@workflow/vitest@4.0.1