Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
10 KiB
@workflow/utils
5.0.0-beta.8
Patch Changes
- #3142
a09d001Thanks @VaguelySerious! - Revert the static workflow world target injection: the world package is again resolved at runtime fromWORKFLOW_TARGET_WORLDinstead of being aliased into host bundles at build time.
5.0.0-beta.7
Major Changes
- #3061
62d570eThanks @NathanColosimo! - Remove the standalone step URL API and stale generated route artifacts while keeping step registrations inside the combined flow output.
Patch Changes
- #3144
49276f2Thanks @VaguelySerious! - Select the Vercel World for builds that target Vercel without a deployment ID, such asvercel buildfollowed byvercel deploy --prebuilt, and applyworkflows.local.portwhenever the Local World is the target.
5.0.0-beta.6
Patch Changes
-
#2732
239031aThanks @NathanColosimo! - Respect framework base paths when routing workflow traffic and expose health checks on generated Next.js workflow routes. -
#2752
0f557d5Thanks @ijjk! - Statically inject the configured world package into host bundles instead of selecting worlds dynamically at runtime.
5.0.0-beta.5
Patch Changes
- #2678
f6772d9Thanks @ijjk! - Filter Windows netstat output by PID column when detecting local workflow ports.
5.0.0-beta.4
Minor Changes
-
#2363
926a5e7Thanks @karthikscale3! - AddWORKFLOW_TRACE_MODEwith a newlinkeddefault: each workflow/step invocation span is now its own trace root with span links to the delivery and run-origin contexts, instead of one trace spanning the entire run. world-vercel now explicitly injects W3Ctraceparent/tracestate/baggageheaders on outgoing workflow-server requests.Span names are also friendlier: workflow and step spans now use the short function name (e.g.
workflow.execute processOrder,step.execute chargeCard,workflow.start processOrder) instead of the uppercase prefixes and full machine names (WORKFLOW_V2 workflow//./src/jobs/order//processOrder). The full name remains available in theworkflow.name/step.namespan attributes, and newworkflowDisplayName/stepDisplayNamehelpers are exported from@workflow/utils.Behavioral changes to telemetry under the new default (set
WORKFLOW_TRACE_MODE=continuousto restore the previous trace shape exactly; the span-name change applies in both modes):- A run no longer shares one trace ID: the trace of the request that called
start()no longer contains the workflow's execution spans — navigate via span links or theworkflow.run.idattribute instead. - Sampling decisions are made independently per invocation root (previously one parent-based decision covered the whole run), and the number of root spans/traces increases to one per invocation.
workflow.execute/step.executeinvocation spans (formerlyWORKFLOW_V2/STEP) become parentless roots, which changes parent/child-based queries and service-map edges.- Re-enqueued queue messages forward the original run-origin trace carrier unchanged, rather than each invocation's current context.
- Queries or dashboards matching the old
WORKFLOW_V2 .../STEP ...span names must switch to the new names. - The queue-delivered
workflow.executespan kind changed frominternaltoconsumer, matching the queue-deliveredstep.executespan (this applies in both modes).
Existing attributes and baggage keys are unchanged, and everything remains a no-op when no OpenTelemetry SDK is registered.
- A run no longer shares one trace ID: the trace of the request that called
5.0.0-beta.3
Patch Changes
- #1799
503a929Thanks @TooTallNate! - Use inline sourcemaps for all workspace packages; published packages no longer ship external.js.mapfiles.
5.0.0-beta.2
Patch Changes
- #1849
1203daeThanks @pranaygp! - Friendlier workflow error messages. NewSerializationError,WorkflowBuildError, and structured context-violation classes (e.g.NotInWorkflowContextError) with actionable hints and docs links applied to user-facing throw sites;FatalError.is()recognizes any error withfatal: trueso context violations and serialization failures now fail fast instead of burning retry attempts. Runtime logs are namespaced under[workflow-sdk]and gainerrorAttribution(uservssdk) plus class-aware hints
5.0.0-beta.1
Patch Changes
-
#1769
5a42964Thanks @tomdale! - Embed source content in published sourcemaps. -
#1759
173756dThanks @TooTallNate! - Renameuseworkflow.devURLs toworkflow-sdk.dev
5.0.0-beta.0
Major Changes
- #1642
c5cdfc0Thanks @VaguelySerious! - Initial v5 beta release
4.1.0-beta.13
Patch Changes
4.1.0-beta.12
Patch Changes
4.1.0-beta.11
Minor Changes
- #621
4966b72Thanks @pranaygp! - BREAKING: Storage interface is now read-only; all mutations go throughevents.create()- Remove
cancel,pause,resumefromruns - Remove
create,updatefromruns,steps,hooks - Add run lifecycle events:
run_created,run_started,run_completed,run_failed,run_cancelled - Add
step_createdevent type - Remove
fatalfield fromstep_failed(terminal failure is now implicit) - Add
step_retryingevent with error info for retriable failures
- Remove
Patch Changes
- #814
b16a682Thanks @TooTallNate! - Move "parse-name" into theutilspackage
4.0.1-beta.10
Patch Changes
- #703
9b1640dThanks @TooTallNate! - Addpluralize()util function
4.0.1-beta.9
Patch Changes
- #455
e3f0390Thanks @karthikscale3! - Added Control Flow Graph extraction from Workflows and extended manifest.json's schema to incorporate the graph structure into it. Refactored manifest generation to pass manifest as a parameter instead of using instance state. Add e2e tests for manifest validation across all builders.
4.0.1-beta.8
Patch Changes
- #682
0cf0ac3Thanks @VaguelySerious! - Extract helper to find local world dataDir across CLI/web projects
4.0.1-beta.7
Patch Changes
- #616
1ef6b2fThanks @adriandlam! - Update port detection to probe workflow health check endpoint
4.0.1-beta.6
Patch Changes
- #590
c9b8d84Thanks @adriandlam! - Improve port detection with HTTP probing
4.0.1-beta.5
Patch Changes
bc9b628: Prevent @vercel/nft from tracing /proc paths during build34f3f86: fix(utils): detect linux ports via /proccd451e0: Replace execa dependency with built-in node execFile
4.0.1-beta.4
Patch Changes
edb69c3: Fix port detection and base URL resolution for dev servers
4.0.1-beta.3
Patch Changes
b97b6bf: Lock all dependencies in our packages