Release 0.8.0
Release 0.8.0 is a major release and introduces asyncio support for Python 3.7+, parallel state support and some bugfixes
- Feature:
HierarchicalMachinehas been rewritten to support parallel states. Please have a look at the ReadMe.md to check what has changed.- The previous version can be found in
transitions.extensions.nesting_legacyfor now
- The previous version can be found in
- Feature: Introduced
AsyncMachine(see discussion #259); note that async HSMs are not yet supported - Feature #390: String callbacks can now point to properties and attributes (thanks @jsenecal)
- Bugfix: Auto transitions are added multiple times when add_states is called more than once
- Bugfix: Convert state._name from
Enuminto strings inMarkupMachinewhen necessary - Bugfix #392: Allow
Machine.add_ordered_transitionsto be called without the initial state (thanks @mkaranki and @facundofc) GraphMachinenow attempts to fall back tographvizwhen importingpygraphvizfails- Not implemented/tested so far (contributions are welcome!):
- Proper Graphviz support of parallel states
- AsyncHierachicalMachine