—
Improvements:
Report operator arguments in the spec matcher failure output.
Allow the State event callback to accept additional arguments.
Change:
Rework how state data is passed around. Instead of passing it through the transition callbacks, which proved to be a terrible idea, the States themselves take an optional state argument to their constructor.
Improvements:
Move responsibility for creating transitions into State.
Add spec helpers with a transition matcher.
Add missing event handler method to State
Initial release.