Skip to content

workflow@5.0.0-beta.51

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 12 Sep 00:36
Immutable release. Only release title and notes can be modified.
fe8b27d

@workflow/core@5.0.0-beta.51

  • #3457 03455a2 @TooTallNate - Carry immutable run identity on step-execution queue messages to skip the blocking runs.get before starting a step, fetching the run row only when continuing into replay. Messages without runContext keep the previous behavior.
  • #4098 fb9e275 @pranaygp - Commit the batched fan-out's pre-claimed inline [step_created, step_started] pairs in their own leading chunk, ahead of the plain step/wait creates, so the write that gates the inline bodies stays small and commits faster. The pairs now fold only with two or more inline steps (a lone inline step keeps the lazy start), and a lone plain create beside them takes the single write.
  • #4099 788d4fb @pranaygp - Skip re-publishing a pending step's execution message on a later replay pass when this same invocation already published it (a fresh delivery still re-enqueues unconditionally).
  • #4021 ec57aff @VaguelySerious - When logging corrupt event logs due to replay divergence, specify the divergent events, and carry error message through retries
  • #4096 6cc851c @pranaygp - Stop sending a slot snapshot (eventCount) on step executor writes, so a World no longer reads and returns a skipped-slot event page that the executor only discards.
  • #3891 c29200f @NathanColosimo - Route Workflow AI examples through AI Gateway and recommend WorkflowAgent for Workflow 5.
  • #3843 938c7ff @Rich-Harris - Bump devalue to 5.9.2 to address published security advisory.
  • #3838 e00b1a5 @pranaygp - Publish a fan-out's step-execution messages in one batched queue request instead of one per step, via a new optional Queue.queueBatch implemented on @vercel/queue's experimental_sendBatch.
  • #4106 357aa7c @VaguelySerious - The QuickJS engine now reports its log position on writes and feeds its VM from the events a World returns on the response, matching the node:vm engine.
  • #4066 3aa4c16 @alangenfeld - Add bounded trace attributes identifying lazy step-start claim strategies and ownership stamps.
  • #3941 c09c1bb @alangenfeld - Wait for writes queued by released step stream writers to reach durable storage before recording step completion.
  • #3902 7a46a81 @NathanColosimo - Upgrade runtime validation to Zod 4.5 and enable compilation on SDK-owned Zod schemas.

@workflow/cli@5.0.0-beta.51

@workflow/world@5.0.0-beta.35

  • #3457 03455a2 @TooTallNate - Carry immutable run identity on step-execution queue messages to skip the blocking runs.get before starting a step, fetching the run row only when continuing into replay. Messages without runContext keep the previous behavior.
  • #4021 ec57aff @VaguelySerious - When logging corrupt event logs due to replay divergence, specify the divergent events, and carry error message through retries
  • #4096 6cc851c @pranaygp - Stop sending a slot snapshot (eventCount) on step executor writes, so a World no longer reads and returns a skipped-slot event page that the executor only discards.
  • #3838 e00b1a5 @pranaygp - Publish a fan-out's step-execution messages in one batched queue request instead of one per step, via a new optional Queue.queueBatch implemented on @vercel/queue's experimental_sendBatch.
  • #3902 7a46a81 @NathanColosimo - Upgrade runtime validation to Zod 4.5 and enable compilation on SDK-owned Zod schemas.

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

  • #3457 03455a2 @TooTallNate - Reject step_started on terminal runs even when the step row still reads running: a redelivered start on a cancelled/completed run previously passed the claim and re-executed the step body whose outcome nothing would consume. In-flight steps can still write their terminal events (step_completed/step_failed) unchanged.
  • #3902 7a46a81 @NathanColosimo - Upgrade runtime validation to Zod 4.5 and enable compilation on SDK-owned Zod schemas.

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

  • #4111 2eb2fe6 @komly - Fix run creation and slot allocation not happening transactionally
  • #4113 3dad0a9 @komly - Fix stream cursors not being advanced for skipped chunks, so repeated notifications cannot consume the requested start offset twice
  • #4125 7e8e5dd @VaguelySerious - Fix stream readers leaking EventEmitter listeners on EOF, initial query failure, and World close, and fail pending readers when the World is closed.
  • #3457 03455a2 @TooTallNate - Reject step_started on terminal runs even when the step row still reads running: a redelivered start on a cancelled/completed run previously passed the claim and re-executed the step body whose outcome nothing would consume. In-flight steps can still write their terminal events (step_completed/step_failed) unchanged.
  • #3902 7a46a81 @NathanColosimo - Upgrade runtime validation to Zod 4.5 and enable compilation on SDK-owned Zod schemas.

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

  • #3833 d4817ce @alangenfeld - Add the default-off, server-negotiated WebSocket transport for stateful stream writer sessions.
  • #4074 7740388 @alangenfeld - Add first-write WebSocket phase timings to stream write spans.
  • #4076 01fa7a4 @alangenfeld - Send initial stream groups over HTTP while the WebSocket connects in the background.
  • #4095 86eb822 @karthikscale3 - Fix lazy event reads failing when an expired payload is omitted from otherwise valid event metadata.
  • #3838 e00b1a5 @pranaygp - Publish a fan-out's step-execution messages in one batched queue request instead of one per step, via a new optional Queue.queueBatch implemented on @vercel/queue's experimental_sendBatch.
  • #4066 3aa4c16 @alangenfeld - Add bounded trace attributes identifying lazy step-start claim strategies and ownership stamps.
  • #4104 5fc8fb7 @alangenfeld - Start stream WebSocket connections after the first HTTP group without delaying later HTTP writes.
  • #3902 7a46a81 @NathanColosimo - Upgrade runtime validation to Zod 4.5 and enable compilation on SDK-owned Zod schemas.

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

  • #3902 7a46a81 @NathanColosimo - Upgrade runtime validation to Zod 4.5 and enable compilation on SDK-owned Zod schemas. - workflow@5.0.0-beta.51

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

  • #3951 a5694d3 @mitul-s - Fix the events view flashing a partial eventData stub (ref fields stripped by resolveData: 'none') before the full payload loads; events whose type carries no payload ref fields now render their complete inline data immediately without a redundant fetch.

@workflow/ai@5.0.0-beta.16

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

  • #3891 c29200f @NathanColosimo - Fix a crash ("Cannot redefine property: classId") when a bundler pipeline re-runs the transform over its own output for a dependency that ships custom serialization methods, such as @ai-sdk/gateway.

@workflow/next@5.0.0-beta.51

  • #4026 0b1216e @pranaygp - Update the next devDependency to 16.3.4, matching the Next.js apps that wrap their config with withWorkflow()

@workflow/rollup@5.0.0-beta.51

  • #3891 c29200f @NathanColosimo - Disable implicit input source map loading during workflow transforms to avoid false missing-map build errors for dependencies.