Skip to content

v1.3.0

Latest

Choose a tag to compare

@HarryCordewener HarryCordewener released this 14 Sep 18:17
· 52 commits to main since this release
17846df

Highlights

Cooperative batch boundaries

Generated machines now implement IBoundaryMachine<TValue>. Use FireUntilBoundaryAsync when an action or hook can call RequestBatchBoundary() after changing an outside condition—such as the decoder that must process the rest of a network buffer. The method reports how many values were consumed, leaving the caller responsible for the unconsumed suffix.

Existing IMachine<TValue>.FireAsync behavior is unchanged: it ignores cooperative boundary requests and consumes the complete batch. The new capability is additive.

Truthful generated diagrams

Mermaid and Dot diagrams now draw every decision outcome and its target. Mermaid output also emits composite children before leaf siblings so generated diagrams parse reliably. The documented examples include diagrams checked against each machine definition.

Contribution and release guidance

The repository now includes contribution guidance, issue and pull-request templates, and explicit security-release changelog requirements.

See CHANGELOG.md for the complete release notes and Runs for a consumer example.

Full changelog: v1.2.0...v1.3.0