Releases: processengine/dataflows
Releases · processengine/dataflows
v2.0.0
Changed
- Replaced the pipeline input contract with
contract.input.refs. - Added direct
$target semantics for single-value child input. - Added named and nested target semantics for compact child input assembly.
readSetnow derives every declared input ref fromcontract.input.refs.- Read refs may target
$.context.input,$.context.effects,$.context.data, or nested paths under those buckets.
Removed
- Removed support for legacy
contract.input.ref.
v1.0.0
Added
- Initial release of
@processengine/dataflowsv1. validateDataflow(source, options?)— validates source artifact without execution.prepareDataflow(source, options?)— compiles source to immutableDataflowArtifact.executeDataflow(artifact, input, options?)— executes prepared artifact, returnsDataflowOutput.writes[].extractDataflowSchema(source)— extracts schema from source.formatDataflowDiagnostics(diagnostics)— formats diagnostics for CLI/logs.formatDataflowRuntimeError(error)— formats runtime error for CLI/logs.DataflowCompileError— thrown byprepareDataflowon invalid source.DataflowRuntimeError— thrown byexecuteDataflowon runtime failure.- Inline
schemaandschemaRefsupport. readSet/writeSetderivation in prepared artifact.- Read-after-write semantics within pipeline.
- Atomic writes — no partial result on failure.
- Trace modes:
'off'(default),'basic','verbose'. - Transport-safe
DataflowOutput— JSON-safe, no host cleanup required beforesemantics.reduce. - Pack/install smoke test via
npm run test:pack. - CI workflow for Node.js 20 and 22.
- Release workflow via tag push → npm publish + GitHub Release.