Skip to content

workflow@5.6.1

Choose a tag to compare

@github-actions github-actions released this 17 Nov 20:13
Immutable release. Only release title and notes can be modified.
433cc09

@workflow/core@5.6.1

  • #5426 bb100a9 @VaguelySerious - Name the attempt that never recorded a result in a step's "exceeded max retries" error
  • #5263 fde2482 @pranaygp - Mint the compute instance id on first use instead of at module load, so the runtime can be loaded where random values are forbidden in global scope (Cloudflare Workers).
  • #5285 f957b8e @VaguelySerious - Fix an unhandled rejection that could end the process when a stream passed across a workflow boundary (a step return value, a workflow argument, or a stream written into getWritable()) failed before its pipe was awaited, such as a returned fetch() body whose socket closed (TypeError: terminated). The pipe's error still surfaces to the runtime's stream-op handling.
  • #4910 d18aff2 @dretanacr - Fix a run stalling after a failed inline step attempt when a queued delivery of the same step was waiting on it in the same process: the inline retry was folded into that delivery's message, which then acked as skipped. The waiting delivery now carries the retry.
  • #5263 fde2482 @pranaygp - Add setPrecompiledQuickJSModules() to @workflow/core/runtime, so a host whose runtime forbids compiling WebAssembly from bytes (Cloudflare Workers) can hand the QuickJS engine modules compiled at deploy time.
  • #5367 7404b8f @pranaygp - Drop dependencies that are never loaded at runtime, so installing workflow downloads less: @aws-sdk/credential-provider-web-identity and debug from @workflow/core; date-fns (replaced by a small relative-time formatter with the same output), chokidar, ora, esbuild, @swc/core and other build-only packages from @workflow/cli; @vercel/queue from @workflow/world-local and @workflow/world-postgres (only its types were used); swr from @workflow/web (already bundled into its build); and @swc/core, @workflow/swc-plugin, exsolve and pathe from the framework integrations that do not import them.
  • #5367 7404b8f @pranaygp - Publish smaller packages: compiled tests and declaration maps are no longer included, @workflow/world no longer ships its TypeScript sources, and the inline source maps no longer embed the original sources. Stack traces still map to the original file, line and column, but since src/ is not published, debuggers and dev-server error overlays no longer show source code for frames inside @workflow/* packages. @workflow/web-shared also stops publishing its tests.
  • #5506 4c1adef @VaguelySerious - Fix a bug where spec 9 runs inconsistently enforced the max events per run limit
  • #5410 b1f9269 @benpankow - Rebuild state passed between steps by reference with one copy per changed container per step result, and plain assignment instead of Object.defineProperty, so replaying a long run spends far less time rehydrating step results.
  • #4334 021723b @pranaygp - Fail a live stream read with a StreamError naming the index when consecutive reads stall at a chunk the stream reports but never serves, instead of reconnecting to it until the reconnect budget runs out
  • #5402 87cde0b @TooTallNate - Update quickjs-wasi to 3.7.0 (QuickJS-NG v0.18.0). The QuickJS runtime now reads engine-captured Error stacks through the Error.prototype.stack accessor, so errors thrown from workflows keep their stack traces.
  • #5443 e4ec16f @benpankow - Skip loading @vercel/functions for waitUntil outside Vercel, where it has no request context to extend. A local or self-hosted process's first start() no longer evaluates the whole module.

@workflow/cli@5.2.0

  • #5317 f6eb4a2 @pranaygp - Add workflow migrate inngest, a codemod that turns Inngest functions into "use workflow" functions and lifts each step.run() closure into a "use step" function whose parameters are the variables it captured. It also maps step.sleep(), step.sleepUntil(), step.waitForEvent() and step.waitForSignal() (to hooks that are disposed when the wait ends), step.invoke(), step.fetch(), step.ai.wrap(), retries, NonRetriableError and RetryAfterError. It leaves a TODO(workflow-migrate) comment wherever a change needs a decision, and reports each lifted step's captured variables, an event routing table, and the inngest.send() calls to replace. It reads the project's tsconfig and uses the project's TypeScript, an optional peer dependency.
  • #5367 7404b8f @pranaygp - Drop dependencies that are never loaded at runtime, so installing workflow downloads less: @aws-sdk/credential-provider-web-identity and debug from @workflow/core; date-fns (replaced by a small relative-time formatter with the same output), chokidar, ora, esbuild, @swc/core and other build-only packages from @workflow/cli; @vercel/queue from @workflow/world-local and @workflow/world-postgres (only its types were used); swr from @workflow/web (already bundled into its build); and @swc/core, @workflow/swc-plugin, exsolve and pathe from the framework integrations that do not import them.
  • #5367 7404b8f @pranaygp - Publish smaller packages: compiled tests and declaration maps are no longer included, @workflow/world no longer ships its TypeScript sources, and the inline source maps no longer embed the original sources. Stack traces still map to the original file, line and column, but since src/ is not published, debuggers and dev-server error overlays no longer show source code for frames inside @workflow/* packages. @workflow/web-shared also stops publishing its tests.

@workflow/world@5.2.2

  • #5367 7404b8f @pranaygp - Publish smaller packages: compiled tests and declaration maps are no longer included, @workflow/world no longer ships its TypeScript sources, and the inline source maps no longer embed the original sources. Stack traces still map to the original file, line and column, but since src/ is not published, debuggers and dev-server error overlays no longer show source code for frames inside @workflow/* packages. @workflow/web-shared also stops publishing its tests.
  • #5506 4c1adef @VaguelySerious - Fix a bug where spec 9 runs inconsistently enforced the max events per run limit

@workflow/world-local@5.4.1

  • #5481 e6a3975 @abhiramshaji-cyber - Look up events by correlation ID through events_by_correlation, so hook_created writes and events.listByCorrelationId no longer read every event in the run.
  • #5367 7404b8f @pranaygp - Drop dependencies that are never loaded at runtime, so installing workflow downloads less: @aws-sdk/credential-provider-web-identity and debug from @workflow/core; date-fns (replaced by a small relative-time formatter with the same output), chokidar, ora, esbuild, @swc/core and other build-only packages from @workflow/cli; @vercel/queue from @workflow/world-local and @workflow/world-postgres (only its types were used); swr from @workflow/web (already bundled into its build); and @swc/core, @workflow/swc-plugin, exsolve and pathe from the framework integrations that do not import them.
  • #5367 7404b8f @pranaygp - Publish smaller packages: compiled tests and declaration maps are no longer included, @workflow/world no longer ships its TypeScript sources, and the inline source maps no longer embed the original sources. Stack traces still map to the original file, line and column, but since src/ is not published, debuggers and dev-server error overlays no longer show source code for frames inside @workflow/* packages. @workflow/web-shared also stops publishing its tests.
  • #5506 4c1adef @VaguelySerious - Fix a bug where spec 9 runs inconsistently enforced the max events per run limit
  • #5494 8f748ba @VaguelySerious - Stop Turbopack from tracing the app's .gitignore and from warning that the whole project is traced. A Next.js app deployed from the Vercel CLI could fail with ENOENT: no such file or directory, lstat '.../.gitignore' when its build came from cache.

@workflow/world-postgres@5.3.0

  • #5397 90e8d72 @pranaygp - Add deploymentId (WORKFLOW_POSTGRES_DEPLOYMENT_ID), which pins every run to the deployment that started it. Each deployment claims and recovers only its own runs, a message for another deployment's run (such as a hook resumed from a newer deployment) is routed to that deployment's jobs, getDeploymentId() returns it, and the World declares deployment affinity. Runs started without it stay on the unpinned task, which a process without deploymentId claims.
  • #5367 7404b8f @pranaygp - Drop dependencies that are never loaded at runtime, so installing workflow downloads less: @aws-sdk/credential-provider-web-identity and debug from @workflow/core; date-fns (replaced by a small relative-time formatter with the same output), chokidar, ora, esbuild, @swc/core and other build-only packages from @workflow/cli; @vercel/queue from @workflow/world-local and @workflow/world-postgres (only its types were used); swr from @workflow/web (already bundled into its build); and @swc/core, @workflow/swc-plugin, exsolve and pathe from the framework integrations that do not import them.
  • #5367 7404b8f @pranaygp - Publish smaller packages: compiled tests and declaration maps are no longer included, @workflow/world no longer ships its TypeScript sources, and the inline source maps no longer embed the original sources. Stack traces still map to the original file, line and column, but since src/ is not published, debuggers and dev-server error overlays no longer show source code for frames inside @workflow/* packages. @workflow/web-shared also stops publishing its tests.
  • #5435 be8a7ce @VaguelySerious - Serialize a spec 9 run's orchestrator deliveries, and invoke mode's executor deliveries, with a per-run delivery lease (workflow.workflow_run_delivery_leases, migration 0031) in place of a Graphile named queue per run. Graphile never deletes a named queue's row, and its job fetch locks every available queue row on each poll, so throughput fell as runs accumulated: about 1,200 jobs/s at 1,000 queue rows, 60 at 52,000 and 7 at 302,000, against about 4,500 for jobs outside named queues. A lease row exists only while a delivery holds it. A delivery that finds the run's lease held leaves its message for the holder, which re-runs for it (coalescing) or re-adds it as a job when it releases. Run bootstrap before upgrading. During a rolling upgrade, deliveries of processes on the earlier version are not serialized with those of upgraded processes; the in-band fence refuses an overlapping delivery's writes. Earlier versions' empty queue rows stay until Graphile Worker's GC_JOB_QUEUES cleanup task removes them.

@workflow/world-vercel@5.6.1

  • #5430 24d000a @VaguelySerious - Re-send a queue message after a transient send failure (a closed or reset connection, the queue request deadline, a 5xx or a short 429), up to 3 attempts. A failed start() send previously left a run that was created but never queued.
  • #5501 eb47074 @karthikscale3 - Remove the WORKFLOW_DISABLE_ANALYTICS_READS environment variable. The analytics read namespace is always available; tests and tooling that read entities right after writing them should read through the Storage API (world.runs, world.steps, world.events), which is not subject to analytics ingestion delay.
  • #5367 7404b8f @pranaygp - Publish smaller packages: compiled tests and declaration maps are no longer included, @workflow/world no longer ships its TypeScript sources, and the inline source maps no longer embed the original sources. Stack traces still map to the original file, line and column, but since src/ is not published, debuggers and dev-server error overlays no longer show source code for frames inside @workflow/* packages. @workflow/web-shared also stops publishing its tests.
  • #5506 4c1adef @VaguelySerious - Fix a bug where spec 9 runs inconsistently enforced the max events per run limit

@workflow/world-testing@5.1.2

  • #5367 7404b8f @pranaygp - Publish smaller packages: compiled tests and declaration maps are no longer included, @workflow/world no longer ships its TypeScript sources, and the inline source maps no longer embed the original sources. Stack traces still map to the original file, line and column, but since src/ is not published, debuggers and dev-server error overlays no longer show source code for frames inside @workflow/* packages. @workflow/web-shared also stops publishing its tests. - workflow@5.6.1

@workflow/web@5.2.0

  • #5357 2589760 @mitul-s - Keep the Events tab's rows on screen when the tab is re-entered, revalidating the loaded pages in place.
  • #5355 f36b515 @mitul-s - Show the Events tab as an edge-to-edge compact log with a resizable details panel and keyboard navigation, sorted from the Time header; Decrypt moves from the toolbar onto the encrypted payload, and EventListView no longer takes hasEncryptedData.
  • #5358 66d487b @mitul-s - Add a View in Trace action to the Events tab's details panel, which opens the Trace tab on the event's span through a spanId URL param and TraceViewer's new initialSelectedSpanId prop.
  • #5423 3b98faf @mitul-s - Switch tabs in the observability UI without waiting on a server round trip: the root loader no longer re-runs on navigations that don't change its data, and tab state updates optimistically on the click.
  • #5396 54dc65b @mitul-s - Stop using opacity to set text colours in the observability UI. Muted text now uses the same Geist colour tokens as the Vercel dashboard, so it stays readable on every surface and in both themes.
  • #5420 1782a0f @karthikscale3 - Preview raster image streams and preserve their original bytes for download.
  • #5395 7d6a310 @mitul-s - Fix the connection status tooltip in the header so env values are readable. It now inherits the shared Geist tooltip's colors and type instead of light-surface text-foreground / text-muted-foreground classes (which rendered dark-on-dark), and the key/value grid uses a valid Tailwind v4 column template so keys and values sit side by side.
  • #5367 7404b8f @pranaygp - Drop dependencies that are never loaded at runtime, so installing workflow downloads less: @aws-sdk/credential-provider-web-identity and debug from @workflow/core; date-fns (replaced by a small relative-time formatter with the same output), chokidar, ora, esbuild, @swc/core and other build-only packages from @workflow/cli; @vercel/queue from @workflow/world-local and @workflow/world-postgres (only its types were used); swr from @workflow/web (already bundled into its build); and @swc/core, @workflow/swc-plugin, exsolve and pathe from the framework integrations that do not import them.

@workflow/web-shared@5.2.0

  • #5356 75178b7 @mitul-s - Move the trace viewer's span details aside into a shared panel shell that owns its J/K, arrow and Escape shortcuts; the shortcuts are ignored while typing in a field.
  • #5355 f36b515 @mitul-s - Show the Events tab as an edge-to-edge compact log with a resizable details panel and keyboard navigation, sorted from the Time header; Decrypt moves from the toolbar onto the encrypted payload, and EventListView no longer takes hasEncryptedData.
  • #5358 66d487b @mitul-s - Add a View in Trace action to the Events tab's details panel, which opens the Trace tab on the event's span through a spanId URL param and TraceViewer's new initialSelectedSpanId prop.
  • #5492 8cc682a @mitul-s - Highlight the span the Trace tab opens on from View in Trace, and give the Events details panel the Trace panel's header, with View in Trace as an icon button beside the arrows.
  • #5396 54dc65b @mitul-s - Stop using opacity to set text colours in the observability UI. Muted text now uses the same Geist colour tokens as the Vercel dashboard, so it stays readable on every surface and in both themes.
  • #5420 1782a0f @karthikscale3 - Preview raster image streams and preserve their original bytes for download.
  • #5367 7404b8f @pranaygp - Publish smaller packages: compiled tests and declaration maps are no longer included, @workflow/world no longer ships its TypeScript sources, and the inline source maps no longer embed the original sources. Stack traces still map to the original file, line and column, but since src/ is not published, debuggers and dev-server error overlays no longer show source code for frames inside @workflow/* packages. @workflow/web-shared also stops publishing its tests.

@workflow/ai@5.0.5

  • #5367 7404b8f @pranaygp - Publish smaller packages: compiled tests and declaration maps are no longer included, @workflow/world no longer ships its TypeScript sources, and the inline source maps no longer embed the original sources. Stack traces still map to the original file, line and column, but since src/ is not published, debuggers and dev-server error overlays no longer show source code for frames inside @workflow/* packages. @workflow/web-shared also stops publishing its tests.

@workflow/typescript-plugin@5.0.1

  • #5367 7404b8f @pranaygp - Publish smaller packages: compiled tests and declaration maps are no longer included, @workflow/world no longer ships its TypeScript sources, and the inline source maps no longer embed the original sources. Stack traces still map to the original file, line and column, but since src/ is not published, debuggers and dev-server error overlays no longer show source code for frames inside @workflow/* packages. @workflow/web-shared also stops publishing its tests.

@workflow/swc-plugin@5.0.2

  • #5503 e6f5bc7 @pranaygp - A "use step" function expression bound to a variable inside a workflow or another function (const send = async function () { "use step"; ... }) is now a nested step like the arrow form: hoisted, namespaced by the enclosing function and given the variables it captures. It was treated as a module-level step, so its step was never registered and the run failed with "Step ... is not registered".

@workflow/builders@5.1.2

  • #5367 7404b8f @pranaygp - Publish smaller packages: compiled tests and declaration maps are no longer included, @workflow/world no longer ships its TypeScript sources, and the inline source maps no longer embed the original sources. Stack traces still map to the original file, line and column, but since src/ is not published, debuggers and dev-server error overlays no longer show source code for frames inside @workflow/* packages. @workflow/web-shared also stops publishing its tests.

@workflow/next@5.1.2

  • #5367 7404b8f @pranaygp - Publish smaller packages: compiled tests and declaration maps are no longer included, @workflow/world no longer ships its TypeScript sources, and the inline source maps no longer embed the original sources. Stack traces still map to the original file, line and column, but since src/ is not published, debuggers and dev-server error overlays no longer show source code for frames inside @workflow/* packages. @workflow/web-shared also stops publishing its tests.

@workflow/nitro@5.0.11

  • #5367 7404b8f @pranaygp - Drop dependencies that are never loaded at runtime, so installing workflow downloads less: @aws-sdk/credential-provider-web-identity and debug from @workflow/core; date-fns (replaced by a small relative-time formatter with the same output), chokidar, ora, esbuild, @swc/core and other build-only packages from @workflow/cli; @vercel/queue from @workflow/world-local and @workflow/world-postgres (only its types were used); swr from @workflow/web (already bundled into its build); and @swc/core, @workflow/swc-plugin, exsolve and pathe from the framework integrations that do not import them.
  • #5367 7404b8f @pranaygp - Publish smaller packages: compiled tests and declaration maps are no longer included, @workflow/world no longer ships its TypeScript sources, and the inline source maps no longer embed the original sources. Stack traces still map to the original file, line and column, but since src/ is not published, debuggers and dev-server error overlays no longer show source code for frames inside @workflow/* packages. @workflow/web-shared also stops publishing its tests.

@workflow/nuxt@5.0.11

  • #5367 7404b8f @pranaygp - Publish smaller packages: compiled tests and declaration maps are no longer included, @workflow/world no longer ships its TypeScript sources, and the inline source maps no longer embed the original sources. Stack traces still map to the original file, line and column, but since src/ is not published, debuggers and dev-server error overlays no longer show source code for frames inside @workflow/* packages. @workflow/web-shared also stops publishing its tests.

@workflow/sveltekit@5.0.11

  • #5367 7404b8f @pranaygp - Drop dependencies that are never loaded at runtime, so installing workflow downloads less: @aws-sdk/credential-provider-web-identity and debug from @workflow/core; date-fns (replaced by a small relative-time formatter with the same output), chokidar, ora, esbuild, @swc/core and other build-only packages from @workflow/cli; @vercel/queue from @workflow/world-local and @workflow/world-postgres (only its types were used); swr from @workflow/web (already bundled into its build); and @swc/core, @workflow/swc-plugin, exsolve and pathe from the framework integrations that do not import them.
  • #5367 7404b8f @pranaygp - Publish smaller packages: compiled tests and declaration maps are no longer included, @workflow/world no longer ships its TypeScript sources, and the inline source maps no longer embed the original sources. Stack traces still map to the original file, line and column, but since src/ is not published, debuggers and dev-server error overlays no longer show source code for frames inside @workflow/* packages. @workflow/web-shared also stops publishing its tests.

@workflow/astro@5.0.11

  • #5367 7404b8f @pranaygp - Drop dependencies that are never loaded at runtime, so installing workflow downloads less: @aws-sdk/credential-provider-web-identity and debug from @workflow/core; date-fns (replaced by a small relative-time formatter with the same output), chokidar, ora, esbuild, @swc/core and other build-only packages from @workflow/cli; @vercel/queue from @workflow/world-local and @workflow/world-postgres (only its types were used); swr from @workflow/web (already bundled into its build); and @swc/core, @workflow/swc-plugin, exsolve and pathe from the framework integrations that do not import them.
  • #5367 7404b8f @pranaygp - Publish smaller packages: compiled tests and declaration maps are no longer included, @workflow/world no longer ships its TypeScript sources, and the inline source maps no longer embed the original sources. Stack traces still map to the original file, line and column, but since src/ is not published, debuggers and dev-server error overlays no longer show source code for frames inside @workflow/* packages. @workflow/web-shared also stops publishing its tests.

@workflow/vite@5.0.11

  • #5367 7404b8f @pranaygp - Publish smaller packages: compiled tests and declaration maps are no longer included, @workflow/world no longer ships its TypeScript sources, and the inline source maps no longer embed the original sources. Stack traces still map to the original file, line and column, but since src/ is not published, debuggers and dev-server error overlays no longer show source code for frames inside @workflow/* packages. @workflow/web-shared also stops publishing its tests.

@workflow/rollup@5.0.11

  • #5367 7404b8f @pranaygp - Publish smaller packages: compiled tests and declaration maps are no longer included, @workflow/world no longer ships its TypeScript sources, and the inline source maps no longer embed the original sources. Stack traces still map to the original file, line and column, but since src/ is not published, debuggers and dev-server error overlays no longer show source code for frames inside @workflow/* packages. @workflow/web-shared also stops publishing its tests.

@workflow/errors@5.1.3

  • #5367 7404b8f @pranaygp - Publish smaller packages: compiled tests and declaration maps are no longer included, @workflow/world no longer ships its TypeScript sources, and the inline source maps no longer embed the original sources. Stack traces still map to the original file, line and column, but since src/ is not published, debuggers and dev-server error overlays no longer show source code for frames inside @workflow/* packages. @workflow/web-shared also stops publishing its tests.
  • #5506 4c1adef @VaguelySerious - Fix a bug where spec 9 runs inconsistently enforced the max events per run limit

@workflow/utils@5.1.1

  • #5367 7404b8f @pranaygp - Publish smaller packages: compiled tests and declaration maps are no longer included, @workflow/world no longer ships its TypeScript sources, and the inline source maps no longer embed the original sources. Stack traces still map to the original file, line and column, but since src/ is not published, debuggers and dev-server error overlays no longer show source code for frames inside @workflow/* packages. @workflow/web-shared also stops publishing its tests.
  • #5494 8f748ba @VaguelySerious - Stop Turbopack from tracing the app's .gitignore and from warning that the whole project is traced. A Next.js app deployed from the Vercel CLI could fail with ENOENT: no such file or directory, lstat '.../.gitignore' when its build came from cache.

@workflow/nest@5.1.9

  • #5367 7404b8f @pranaygp - Publish smaller packages: compiled tests and declaration maps are no longer included, @workflow/world no longer ships its TypeScript sources, and the inline source maps no longer embed the original sources. Stack traces still map to the original file, line and column, but since src/ is not published, debuggers and dev-server error overlays no longer show source code for frames inside @workflow/* packages. @workflow/web-shared also stops publishing its tests.

@workflow/serde@5.0.1

  • #5367 7404b8f @pranaygp - Publish smaller packages: compiled tests and declaration maps are no longer included, @workflow/world no longer ships its TypeScript sources, and the inline source maps no longer embed the original sources. Stack traces still map to the original file, line and column, but since src/ is not published, debuggers and dev-server error overlays no longer show source code for frames inside @workflow/* packages. @workflow/web-shared also stops publishing its tests.

@workflow/vitest@5.0.11

  • #5367 7404b8f @pranaygp - Publish smaller packages: compiled tests and declaration maps are no longer included, @workflow/world no longer ships its TypeScript sources, and the inline source maps no longer embed the original sources. Stack traces still map to the original file, line and column, but since src/ is not published, debuggers and dev-server error overlays no longer show source code for frames inside @workflow/* packages. @workflow/web-shared also stops publishing its tests.