All Versions
41
Latest Version
Avg Release Cycle
67 days
Latest Release
97 days ago

Changelog History
Page 3

  • v0.6.2 Changes

    November 03, 2017

    ๐Ÿš€ Release 0.6.2 is a minor release and contains new features and bug fixes but also several internal changes:

    • ๐Ÿ“š Documentation: Add docstring to every public method
    • ๐Ÿ›  Bugfix #257: Readme example variable had been capitalized (thanks to @fedesismo)
    • โž• Add appveyor.yml for Windows testing; However, Windows testing is disabled due to #258
    • ๐Ÿ›  Bugfix #262: Timeout threads prevented program from execution when main thread ended (thanks to @tkuester)
    • prep_ordered_arg is now protected in core
    • Convert logger instances to _LOGGER to comply with protected module constant naming standards
    • traverse is now protected in HierarchicalMachine
    • โœ‚ Remove abstract class Diagram since it did not add functionality to diagrams
    • Specify several overrides of add_state or add_transition to keep the base class parameters instead of *args and **kwargs
    • ๐Ÿ”„ Change several if len(x) > 0: checks to if x: as suggested by the static code analysis to make use of falsy empty lists/strings.
  • v0.6.1 Changes

    September 04, 2017

    ๐Ÿš€ Release 0.6.1 is a minor release and contains new features as well as bug fixes:

    • ๐Ÿ”‹ Feature #245: Callback definitions ('before', 'on_enter', ...) have been moved to classes Transition and State
    • ๐Ÿ›  Bugfix #253: Machine.remove_transitions converted defaultdict into dict (thanks @Synss)
    • ๐Ÿ›  Bugfix #248: HierarchicalStateMachine's copy procedure used to cause issues with function callbacks and object references (thanks @Grey-Bit)
    • ๐Ÿ“‡ Renamed Machine.id to Machine.name to be consistent with the constructor parameter name
    • โž• Add Machine.add_transitions for adding multiple transitions at once (thanks @Synss)
  • v0.6.0 Changes

    August 22, 2017

    ๐Ÿš€ 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)
  • v0.5.3 Changes

    ๐Ÿš€ Release 0.5.3 is a minor release and contains several bug fixes:

    • Bug #214: LockedMachine as a model prevented correct addition of on_enter/exit_<state> (thanks to @kr2)
    • ๐Ÿ› Bug #217: Filtering rules for auto transitions in graphs falsely filtered certain transitions (thanks to @KarolOlko)
    • Bug #218: Uninitialized EventData.transition caused AttributeError in EventData.__repr__ (thanks to @kunalbhagawati)
    • ๐Ÿ› Bug #215: State instances passed to initial parameter of Machine constructor had not been processed properly (thanks @mathiasimmer)
  • v0.5.2 Changes

    ๐Ÿš€ Release 0.5.2 is a minor release and contains a bug fix:

    • ๐Ÿ› Bug #213: prevent LICENSE to be installed to root of installation path
  • v0.5.1 Changes

    ๐Ÿš€ Release 0.5.1 is a minor release and contains new features and bug fixes:

    • โž• Added reflexive transitions (thanks to @janLo)
    • Wildcards for reflexive (wildcard_same) and all (wildcard_all) destinations are Machine class variables now which can be altered if necessary.
    • โž• Add LICENSE to packaged distribution (thanks to @bachp)
    • ๐Ÿ› Bug #211: prepare and finalized had not been called for HierarchicalMachines (thanks to @booware)
  • v0.5.0 Changes

    ๐Ÿš€ Release 0.5.0 is a major release:

    • ๐Ÿ”„ CHANGED API: MachineError is now limited to internal error and has been replaced by AttributeError and ValueError where applicable (thanks to @ankostis)
    • ๐Ÿš€ CHANGED API: Phasing out add_self; model=None will add NO model starting from next major release; use model='self' instead.
    • ๐Ÿ—„ Introduced deprecation warnings for upcoming changes concerning Machine keywords model and add_self
    • ๐Ÿšš Introduced Machine.remove_transition (thanks to @PaleNeutron)
    • Introduced Machine._create_state for easier subclassing of states
    • ๐Ÿ‘ LockedMachine now supports custom context managers for each model (thanks to @paulbovbel)
    • Machine.before/after_state_change can now be altered dynamically (thanks to @peendebak)
    • Machine.add_ordered_transitions now supports prepare, conditons, unless, before and after (thanks to @aforren1)
    • New prepare_event and finalize_event keywords to handle transitions globally (thanks to @ankostis)
    • New show_auto_transitions keyword for GraphMachine.__init__ (default False); if enabled, show auto transitions in graph
    • New show_roi keyword for GraphMachine._get_graph (default False); if True, show only reachable states in retrieved graph
    • โœ… Test suite now skips contextual tests (e.g. pygraphviz) if dependencies cannot be found (thanks to @ankostis)
    • ๐Ÿ‘Œ Improved string representation of several classes (thanks to @ankostis)
    • ๐Ÿ‘Œ Improved LockedMachine performance by removing recursive locking
    • ๐Ÿ‘Œ Improved graph layout for nested graphs
    • ๐Ÿšง transitions.extensions.nesting.AGraph has been split up into Graph and NestedGraph for easier maintenance
    • ๐Ÿ›  Fixed bug related to pickling RLock in nesting
    • ๐Ÿ›  Fixed order of callback execution (thanks to @ankostis)
    • ๐Ÿ›  Fixed representation of condition names in graphs (thanks to @cemoody)
  • v0.4.3 Changes

    ๐Ÿš€ Release 0.4.3 is a minor release and contains bug fixes and several new features:

    • ๐Ÿ‘Œ Support dynamic model addition via Machine.add_model (thanks to @paulbovbel)
    • ๐Ÿ‘ Allow user to explicitly pass a lock instance or context manager to LockedMachine (thanks to @paulbovbel)
    • ๐Ÿ›  Fixed issue related to parsing of HSMs (thanks to @steval and @user2154065 from SO)
    • When State is passed to Machine.add_transition, it will check if the state (and not just the name) is known to the machine
  • v0.4.2 Changes

    ๐Ÿ›  Release 0.4.2 contains several new features and bugfixes:

    • Machines can work with multiple models now (thanks to @gemerden)
    • ๐Ÿ†• New initial keyword for nested states to automatically enter a child
    • ๐Ÿ†• New Machine.trigger method to trigger events by name (thanks to @IwanLD)
    • ๐Ÿ› Bug fixes related to remapping in nested (thanks to @imbaczek)
    • Log messages in Transition.execute and Machine.__init__ have been reassigned to DEBUG log level (thanks to @ankostis)
    • ๐Ÿ†• New Machine.get_triggers method to return all valid transitions from (a) certain state(s) (thanks to @limdauto and @guilhermecgs)
  • v0.4.1 Changes

    ๐Ÿš€ Release 0.4.1 is a minor release containing bug fixes, minor API changes, and community feedback:

    • ๐Ÿ‘ async is renamed to queued since it describes the mechanism better
    • HierarchicalStateMachine.is_state now provides allow_substates as an optional argument(thanks to @jonathanunderwood)
    • Machine can now be used in scenarios where multiple inheritance is required (thanks to @jonathanunderwood)
    • โž• Adds support for tox (thanks to @medecau and @aisbaa)
    • ๐Ÿ› Bug fixes:

      • Problems with conditions shown multiple times in graphs
      • Bug which omitted transitions with same source and destination in diagrams (thanks to @aisbaa)
      • Conditions passed incorrectly when HSMs are used as a nested state
      • Class nesting issue that prevented pickling with dill
      • Two bugs in HierarchicalStateMachine (thanks to @ajax2leet)
      • Avoided recursion error when naming a transition 'process' (thanks to @dceresuela)
    • ๐Ÿ›  Minor PEP8 fixes (thanks to @medecau)