Skip to content

Releases: alysivji/finite-state-machine

0.5.0

07 Dec 13:19
cfb318b
Compare
Choose a tag to compare

Changes

  • Adding Banner (#23)
  • Objects inheriting from allowed_types can be used as states (#24)
  • Add support for Enums (#25)
  • Bump version to 0.5.0 (#26)

Acknowledgements

Thanks to @lucas-andre and @mgetka for contributing to this release.

0.4.0

12 Sep 16:53
Compare
Choose a tag to compare

Changes

  • Find all transition conditions that are not True; list them in the raised Exception (#20)
  • Condition functions accept same arguments as transition function (#21)
  • add codecov badge
  • bump version to 0.4.0

0.3.0

09 Sep 00:30
Compare
Choose a tag to compare

Changes

  • Specify target state if transition method raises an Exception (#10)
  • Only support Python 3.6+ (#13)
  • Codecov Configuration (#14)
  • Generate state machine diagram in Mermaid Markdown (#12)
  • Handle transition function edge case when on_error is not set (#16)
  • Add LICENSE file (#17)
  • Upgrade to flit==3.0.0 (#18)
  • bump version to 0.3.0

0.2.0

11 Jul 18:16
Compare
Choose a tag to compare

StateMachine.state can be an integer, a boolean, a string, or a list of the previous primitive types.

We stopped testing against Python 2.7 in CI. The library should still work in Python 2.7, but I don't want to support a larger test suite.

Changes

  • States can be integers, booleans, or strings (#5)
  • Code Coverage and Release scripts (#6)
  • bump version to 0.2.0

0.1.1

09 Jun 01:22
9d758b2
Compare
Choose a tag to compare

Changes

  • Clean up and add pre-commit hooks (#3)

0.1.0

09 Jun 01:05
Compare
Choose a tag to compare

Initial release. See README.md for description.