transitions v0.6.0 Release Notes

Release Date: 2017-08-22 // over 4 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 states
    • Tags makes states taggable
    • Error checks for error states (not accepted states that cannot be left); subclass of Tags
    • Volatile enables scoped/temporary state objects to handle context parameters
    • โœ‚ Removed add_self from Machine constructor
    • pygraphviz is now optional; use pip 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)