Skip to content

workflow@5.9.0

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Dec 21:14
Immutable release. Only release title and notes can be modified.
8261dfd

@workflow/core@5.9.0

  • #5821 ea6b3f5 @pranaygp - Hook retention and idempotent start settings are now stable. Renamed start(workflow, args, { experimental_hook }) to start(workflow, args, { hook }), and Hook retention experimental_minRetention to minRetention on both start({ hook }) and createHook(). The old names keep working as deprecated aliases; passing both names with different values throws.
  • #5827 dcd915c @TooTallNate - Add a runtime option to start() that chooses the engine (node or quickjs) for a single run. It takes precedence over WORKFLOW_VM in the calling process.
  • #5572 e39b8a1 @VaguelySerious - Keep the retained workflow VM when a step argument is an instance of a class with a custom [WORKFLOW_SERIALIZE] (for example an AI SDK model passed to a step), so agent loops no longer replay the whole event log once per iteration. For top-level step arguments the serializer now runs when the step is called, on every replay, rather than when the step input is written: the step receives the instance as it was at the call, and a serializer's side effects are seen identically by retained and cold replays. Instances nested inside other arguments, step receivers (instance.someStep()) and closure variables are serialized as before.
  • #5827 dcd915c @TooTallNate - Describe thrown non-error values with util.inspect (for example { status: 503 } instead of {"status":503}), bounding their size and never running their own code.
  • #5811 9a57d83 @VaguelySerious - Fix workflows that throw a promise, a thenable, or an error that cannot be serialized never recording their run failure
  • #5794 2f9d021 @VaguelySerious - Reduce repeated step executions runs using spec 9 (or above) during World unavailability
  • #5843 2c74120 @karthikscale3 - Reduce replay memory use for frozen state
  • #5127 eb003f0 @abhiramshaji-cyber - Fix steps that throw a promise, a thenable, or an error that cannot be serialized never recording their retry or failure

@workflow/cli@5.3.6

  • #5821 ea6b3f5 @pranaygp - Hook retention and idempotent start settings are now stable. Renamed start(workflow, args, { experimental_hook }) to start(workflow, args, { hook }), and Hook retention experimental_minRetention to minRetention on both start({ hook }) and createHook(). The old names keep working as deprecated aliases; passing both names with different values throws.

@workflow/world-postgres@5.5.3

@workflow/web@5.6.0

  • #5813 40d25d5 @karthikscale3 - Render rate limit events (rate_created, rate_acquired, rate_failed) as spans in the trace viewer with metadata and error details, clickable docs links in error cards, Events tab formatting, rate_ exact-ID search, and a fix for trace zoom controls on zero-duration spans.

@workflow/web-shared@5.6.0

  • #5813 40d25d5 @karthikscale3 - Render rate limit events (rate_created, rate_acquired, rate_failed) as spans in the trace viewer with metadata and error details, clickable docs links in error cards, Events tab formatting, rate_ exact-ID search, and a fix for trace zoom controls on zero-duration spans.
  • #5715 9c9bf2a @mitul-s - Add a Modal component that traps focus, portals to the body, and keeps keys typed inside it from reaching page shortcuts.
  • #5840 242d817 @pranaygp - Right-align every value in the sidebar's Metadata and Identifiers lists: linked module paths now hug the right edge, rows without a copy button keep its space, and long values no longer push their copy button out of line.

@workflow/swc-plugin@5.1.0

@workflow/utils@5.2.0

  • #5827 dcd915c @TooTallNate - Add inspectValue() (@workflow/utils/inspect-value), which formats an arbitrary value for an error message without throwing or running the value's own code.

@workflow/nest@5.2.0

  • #5707 42b5f2e @NishitaSikka - workflow-nest init points .swcrc at the SWC plugin build that matches the installed @swc/core (1.15 or 1.16).