Skip to content

v0.2.1

Choose a tag to compare

@deusical deusical released this 04 Nov 05:44
· 1 commit to main since this release
538113f

Fixes four bugs in v0.2.0:

  • A Host.Halt or Host.Fail that returns an error is now called again on the next Resume; before, the host was never told.
  • A sink's intent is delivered only when every required input has a value; otherwise the step fails with CodeIncomplete.
  • Accept changes the run only when it accepts it, so a retry after an error admits every step again.

Also: Accept and Simulate refuse runs made from unvalidated pipelines (ErrNotValidated) and mistyped trigger values (ErrTriggerValue), Fail("") records CodeIncomplete, and validation errors name the unknown trigger or module.

No API or run format changes. If you snapshot pipelines without validating them first, Accept now returns ErrNotValidated. See CHANGELOG.md.

go get github.com/deusical/cmdflow@v0.2.1