transitions v0.8.3 Release Notes
Release Date: 2020-08-01 // over 3 years ago-
๐ Release 0.8.3 is a minor release and contains several bugfixes mostly related to
HierarchicalStateMachine
:- Feature #473: Assign
is_<model_attribute>_<state_name>
instead ofis_<state_name>
whenmodel_attribute != "state"
to enable multiple versions of such convenience functions. A warning will be raised whenis_<state_name>
is used. (thanks @artofhuman) - Similarly, auto transitions (
to_<state_name>
) will be assigned asto_<model_attribute>_<state_name>
.to_<state_name>
will work as before but raise a warning until version 0.9.0. - ๐ Bugfix:
allow_substates
did not consider enum states - ๐ Feature: Nested enums can now be passed in a dict as
children
withinitial
parameter - Bugfix #449: get_triggers/get_transitions did not return nested triggers correctly (thanks @alexandretanem)
- ๐ Feature #452: Improve handling of label attributes in custom diagram states and
TransitionGraphSupport
(thanks @badiku) - ๐ Bugfix #456: Prevent parents from overriding (falsy) results of their children's events (thanks @alexandretanem)
- ๐ Bugfix #458: Entering the same state caused key errors when transition was defined on a parent (thanks @matlom)
- ๐ Bugfix #459: Do not remove current timeout runner in AsyncTimeout to prevent accidental overrides (thanks @rgov)
- Rewording of
State.enter/exit
debug message emitted when callbacks have been processed. - Bugfix #370: Fix order of
before_state_change/before
andafter/after_state_change
inAsyncMachine
(thanks @tzoiker and @vishes-shell) - Bugfix #470:
Graph.get_graph()
did not considerenum
states whenshow_roi=True
(thank @termim)
- Feature #473: Assign