Skip to content

workflow@4.2.0-beta.72

Choose a tag to compare

@workflow-sdk workflow-sdk released this 24 Mar 17:22
Immutable release. Only release title and notes can be modified.
a375a3f

@workflow/core@4.2.0-beta.72

  • #1448 73a851a @pranaygp - Add HookConflictError to @workflow/errors and use it for hook token conflicts instead of WorkflowRuntimeError
  • #1340 84599b7 @pranaygp - Add error code classification (USER_ERROR, RUNTIME_ERROR) to run_failed events, improve queue and schema validation error logging
  • #1452 672d919 @pranaygp - Fix workflow/step not found errors to fail gracefully instead of causing infinite queue retries
  • #1344 beccbc4 @pranaygp - Remove VQS maxDeliveries cap and enforce max delivery limit in workflow/step handlers with graceful failure
  • #1460 78f1b0e @VaguelySerious - Support negative startIndex for streaming (e.g. -3 reads last 3 chunks)
  • #1438 da6adf7 @VaguelySerious - Improve display when run data has expired
  • #1342 aee035f @pranaygp - Replace HTTP status code checks with semantic error types (EntityConflictError, RunExpiredError, ThrottleError, TooEarlyError). BREAKING CHANGE: WorkflowAPIError renamed to WorkflowWorldError.
  • #1470 01bbe66 @VaguelySerious - Add getStreamChunks() and getStreamInfo() to the Streamer interface, and getTailIndex() to the readable stream returned by run.getReadable(). WorkflowChatTransport now reads the x-workflow-stream-tail-index response header to resolve negative initialStartIndex values into absolute positions, fixing reconnection retries after a disconnect.
  • #1446 2b07294 @VaguelySerious - Ensure open stream flush is await-able in pendingOps

@workflow/cli@4.2.0-beta.72

@workflow/world@4.1.0-beta.14

  • #1460 78f1b0e @VaguelySerious - Support negative startIndex for streaming (e.g. -3 reads last 3 chunks)
  • #1470 01bbe66 @VaguelySerious - Add getStreamChunks() and getStreamInfo() to the Streamer interface, and getTailIndex() to the readable stream returned by run.getReadable(). WorkflowChatTransport now reads the x-workflow-stream-tail-index response header to resolve negative initialStartIndex values into absolute positions, fixing reconnection retries after a disconnect.

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

  • #1340 84599b7 @pranaygp - Add error code classification (USER_ERROR, RUNTIME_ERROR) to run_failed events, improve queue and schema validation error logging
  • #1434 d428d66 @pranaygp - Add atomic terminal-state guards to step and wait transitions using writeExclusive lock files. Prevents concurrent step_completed/step_failed/wait_completed races and blocks step_started on already-terminal steps. Also adds cancelled to isStepTerminal.
  • #1344 beccbc4 @pranaygp - Remove VQS maxDeliveries cap and enforce max delivery limit in workflow/step handlers with graceful failure
  • #1460 78f1b0e @VaguelySerious - Support negative startIndex for streaming (e.g. -3 reads last 3 chunks)
  • #1342 aee035f @pranaygp - Replace HTTP status code checks with semantic error types (EntityConflictError, RunExpiredError, ThrottleError, TooEarlyError). BREAKING CHANGE: WorkflowAPIError renamed to WorkflowWorldError.
  • #1470 01bbe66 @VaguelySerious - Add getStreamChunks() and getStreamInfo() to the Streamer interface, and getTailIndex() to the readable stream returned by run.getReadable(). WorkflowChatTransport now reads the x-workflow-stream-tail-index response header to resolve negative initialStartIndex values into absolute positions, fixing reconnection retries after a disconnect.

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

  • #1434 d428d66 @pranaygp - Fix race condition in step_started that could corrupt the event log. The UPDATE for step_started now includes a conditional guard (status NOT IN ('completed', 'failed', 'cancelled')) to prevent a concurrent step execution from reverting a completed step back to running. Also adds terminal-state guards to step_retrying, run_completed, run_failed, and run_cancelled, and adds cancelled to the existing guards on step_completed and step_failed.
  • #1484 5502438 @jlalmes - Replace postgres (postgres.js) with pg (node-postgres) for Drizzle and Graphile Worker. Add optional pool on createWorld to share a pg.Pool; when provided
  • #1460 78f1b0e @VaguelySerious - Support negative startIndex for streaming (e.g. -3 reads last 3 chunks)
  • #1342 aee035f @pranaygp - Replace HTTP status code checks with semantic error types (EntityConflictError, RunExpiredError, ThrottleError, TooEarlyError). BREAKING CHANGE: WorkflowAPIError renamed to WorkflowWorldError.
  • #1470 01bbe66 @VaguelySerious - Add getStreamChunks() and getStreamInfo() to the Streamer interface, and getTailIndex() to the readable stream returned by run.getReadable(). WorkflowChatTransport now reads the x-workflow-stream-tail-index response header to resolve negative initialStartIndex values into absolute positions, fixing reconnection retries after a disconnect.

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

  • #1340 84599b7 @pranaygp - Add error code classification (USER_ERROR, RUNTIME_ERROR) to run_failed events, improve queue and schema validation error logging
  • #1442 fdbe853 @VaguelySerious - When DEBUG=workflow: is enabled, show API timing debug logs
  • #1342 aee035f @pranaygp - Replace HTTP status code checks with semantic error types (EntityConflictError, RunExpiredError, ThrottleError, TooEarlyError). BREAKING CHANGE: WorkflowAPIError renamed to WorkflowWorldError.
  • #1429 741661b @VaguelySerious - Support refs inside hook_received event payload
  • #1470 01bbe66 @VaguelySerious - Add getStreamChunks() and getStreamInfo() to the Streamer interface, and getTailIndex() to the readable stream returned by run.getReadable(). WorkflowChatTransport now reads the x-workflow-stream-tail-index response header to resolve negative initialStartIndex values into absolute positions, fixing reconnection retries after a disconnect.

@workflow/web@4.1.0-beta.44

  • #1340 84599b7 @pranaygp - Add error code classification (USER_ERROR, RUNTIME_ERROR) to run_failed events, improve queue and schema validation error logging
  • #1473 2b80e2d @karthikscale3 - Fix stream display for streams created before version 4.1.0-beta.56

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

@workflow/ai@4.1.0-beta.58

  • #1489 90ea870 @openharness - Allow experimental_context to be configured on DurableAgentOptions and used as the default context for stream() calls.
  • #1488 e4e0140 @openharness - Expose configured tools on DurableAgent instances via agent.tools
  • #1470 01bbe66 @VaguelySerious - Add getStreamChunks() and getStreamInfo() to the Streamer interface, and getTailIndex() to the readable stream returned by run.getReadable(). WorkflowChatTransport now reads the x-workflow-stream-tail-index response header to resolve negative initialStartIndex values into absolute positions, fixing reconnection retries after a disconnect.

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

  • #1503 77fd9ad @TooTallNate - Inline class serialization registration instead of importing from workflow/internal/class-serialization. This eliminates the dependency on the workflow package in SWC-generated code, enabling 3rd-party packages (like @vercel/sandbox) to define serializable classes without needing workflow as a dependency.
  • #1144 992d768 @TooTallNate - Add class registration detection for CommonJS syntax

@workflow/builders@4.0.1-beta.63

  • #1344 beccbc4 @pranaygp - Remove VQS maxDeliveries cap and enforce max delivery limit in workflow/step handlers with graceful failure
  • #1468 5010ebe @ijjk - Fix deferred Next.js discovery bootstrap and improve workflow alias path resolution for app/pages/workflows sources.
  • #1455 6cce021 @ijjk - catch node builtin usage when entry fields diverge
  • #1461 977b7e9 @AndrewBarba - Add optional projectRoot to builder config to allow explicit resolution of workflow module specifiers without relying on process.cwd(). Threads the root through discovery, SWC transforms, and the Next.js deferred builder while preserving existing behavior when omitted.

@workflow/next@4.0.1-beta.68

  • #1496 ef4ca00 @pranaygp - Update NextJS to 16.2
  • #1468 5010ebe @ijjk - Fix deferred Next.js discovery bootstrap and improve workflow alias path resolution for app/pages/workflows sources.
  • #1461 977b7e9 @AndrewBarba - Add optional projectRoot to builder config to allow explicit resolution of workflow module specifiers without relying on process.cwd(). Threads the root through discovery, SWC transforms, and the Next.js deferred builder while preserving existing behavior when omitted.

@workflow/nitro@4.0.1-beta.67

@workflow/nuxt@4.0.1-beta.56

@workflow/sveltekit@4.0.0-beta.61

  • #1501 1b4a3ab @pranaygp - Update nest, nitro, nuxt and sveltekit integration dependencies
  • #1344 beccbc4 @pranaygp - Remove VQS maxDeliveries cap and enforce max delivery limit in workflow/step handlers with graceful failure

@workflow/errors@4.1.0-beta.19

  • #1448 73a851a @pranaygp - Add HookConflictError to @workflow/errors and use it for hook token conflicts instead of WorkflowRuntimeError
  • #1340 84599b7 @pranaygp - Add error code classification (USER_ERROR, RUNTIME_ERROR) to run_failed events, improve queue and schema validation error logging
  • #1447 2ef33d2 @pranaygp - Export semantic error types from workflow/internal/errors and add API reference documentation
  • #1452 672d919 @pranaygp - Fix workflow/step not found errors to fail gracefully instead of causing infinite queue retries
  • #1344 beccbc4 @pranaygp - Remove VQS maxDeliveries cap and enforce max delivery limit in workflow/step handlers with graceful failure
  • #1342 aee035f @pranaygp - Replace HTTP status code checks with semantic error types (EntityConflictError, RunExpiredError, ThrottleError, TooEarlyError). BREAKING CHANGE: WorkflowAPIError renamed to WorkflowWorldError.

@workflow/nest@0.0.0-beta.21