Skip to content

Releases: yannickkirschen/state-machine

v1.1.0

22 Nov 16:26
64f4ede
Compare
Choose a tag to compare

Changes in this release:

  • feat: method for current state (a6ca01e): Get the current state by calling machine.State().
  • feat: enable complex state types (e17ea26): Use structs as state types to store additional information.
  • feat: return last and current state on transition (64f4ede): A call to machine.Transition(Event) now returns a three-tuple of last state, current state and error.

Full Changelog: v1.0.0...v1.1.0

v1.0.0

20 Nov 19:49
7459b0b
Compare
Choose a tag to compare

This is the first major release.