transitions v0.6.0 Release Notes
Release Date: 2017-08-22 // almost 6 years ago-
๐ Release 0.6.0 is a major release and introduces new state features and bug fixes:
add_state_features
convenience decorator supports creation of custom statesTags
makes states taggableError
checks for error states (not accepted states that cannot be left); subclass ofTags
Volatile
enables scoped/temporary state objects to handle context parameters- โ Removed
add_self
fromMachine
constructor pygraphviz
is now optional; usepip install transitions[diagrams]
to install it- โ Narrowed warnings filter to prevent output cluttering by other 3rd party modules (thanks to @ksandeep)
- ๐ป Reword HSM exception when wrong state object had been passedn (thanks to @Blindfreddy)
- ๐ Improved handling of partials during graph generation (thanks to @Synss)
- Introduced check to allow explicit passing of callback functions which match the
on_enter_<state>
scheme (thanks to @termim) - ๐ Bug #243: on_enter/exit callbacks defined in dictionaries had not been assigned correctly in HSMs (thanks to @Blindfreddy)
- โช Introduced workaround for Python 3 versions older than 3.4 to support dill version 0.2.7 and higher (thanks to @mmckerns)
- ๐ Improved manifest (#242) to comply with distribution standards (thanks to @jodal)