transitions v0.8.7 Release Notes
Release Date: 2021-02-01 // about 3 years ago-
๐ Release 0.8.7 is a minor release and contains a bugfix, a feature and adjustments to internal processes:
- ๐ง State configuration dictionaries passed to
HierarchicalMachine
can also usestates
as a keyword to define substates. Ifchildren
andstates
are present, onlychildren
will be considered. - Feature #500:
HierarchicalMachine
with custom separator now addsis_state
partials for nested states (e.g.is_C.s3.a()
) to models (thanks @alterscape) - ๐ Bugfix #512: Use
model_attribute
consistently inAsyncMachine
(thanks @thedrow) - โ Testing now treats most warnings as errors (thanks @thedrow)
- As a consequence,
pygraphviz.Agraph
indiagrams_pygraphviz
are now copied bytransitions
sinceAGraph.copy
as of version1.6
does not close temporary files appropriately HierarchicalMachine
now checks whetherstate_cls
,event_cls
andtransition_cls
have been subclassed from nested base classes (e.g.NestedState
) to prevent hard to debug inheritance errors
- ๐ง State configuration dictionaries passed to