Release 0.8.8 is a minor release and contains a bugfix and several new or improved features:
- Bugfix #526:
AsyncMachine
does not remove models whenremove_models
is called (thanks @Plazas87) - Feature #517: Introduce
try/except
for finalize callbacks inMachine
andHierachicalMachine
. Thus, errors occurring in finalize callbacks will be suppressed and only the original error will be raised. - Feature #520: Show references in graphs and markup. Introduce
MarkupMachine.format_references
to tweak reference formatting (thanks @StephenCarboni) - Feature #485: Introduce
Machine.on_exception
to handle raised exceptions in callbacks (thanks @thedrow) - Feature #527:
Machine.get_triggers
now supportsState
andEnum
as arguments (thanks @luup2k) - Feature #506:
NestedState
andHierachicalMachine.add_states
now accept (lists of) states and enums asinitial
parameter