Skip to content

Releases: KStateMachine/kstatemachine

KStateMachine v0.18.0

11 Jan 03:06
Compare
Choose a tag to compare
  • Fix jitpack publication kotlin compatibility mode. (kotlin 1.6, 1.7, java8, java11)
  • Add new feature allowing to pass data from FinishedEvent to DataState. This implemented with DataExtractor which actually might be used for any type of event if necessary. FinishedEvent cannot be DataEvent (does not fit requirements), so I did not found any way to use "typesafe transition" mechanisms in this case.
  • Add startFrom with data argument overload

Full Changelog: v0.17.0...v0.18.0

KStateMachine v0.17.0

01 Nov 06:26
Compare
Choose a tag to compare

Add transition types.
Add doNotThrowOnMultipleTransitionsMatch flag.
Add processEvent() return value.
Add FinishedEvent data field.
Fix undo() called from onEntry()
Fix calling stop()/destroy() during execution of pending events.

What's Changed

New Contributors

Full Changelog: v0.16.0...v0.17.0

KStateMachine v0.16.0

06 Oct 22:09
Compare
Choose a tag to compare
  • Add FinishedEvent support allowing perform transitions on states finishing.
  • Improve StateMachine listener callbacks

Full Changelog: v0.15.0...v0.16.0

KStateMachine v0.15.0

14 Sep 14:59
Compare
Choose a tag to compare

What's Changed

  • Implement Undo functionality by @nsk90 in #49

Full Changelog: v0.14.0...v0.15.0

KStateMachine v0.14.0

05 Sep 06:59
Compare
Choose a tag to compare

Add history state support

What's Changed

Full Changelog: v0.13.0...v0.14.0

KStateMachine v0.13.0

10 Aug 20:20
Compare
Choose a tag to compare

Add possibility to call processEvent() from any listeners.

Full Changelog: v0.12.0...v0.13.0

KStateMachine v0.12.0

09 Aug 07:09
Compare
Choose a tag to compare

Added choice pseudo state.
Pass event and argument to all guard/condition functions as this.

Full Changelog: v0.11.1...v0.12.0

KStateMachine v0.11.1

29 Jul 21:16
Compare
Choose a tag to compare

Add functions to listen to a group of states. onActiveAllOf() and onActiveAnyOf()

Fix throwing ignoredEventHandler, it should not cause machine destruction.
Fix resetting delayedListenerException to null with throwing listenerExceptionHandler.

Full Changelog: v0.11.0...v0.11.1

KStateMachine v0.11.0

28 Jul 05:11
Compare
Choose a tag to compare

Turn on compatibility mode to Kotlin 1.4.
Add argument passing to start/startFrom functions.

Full Changelog: v0.10.0...v0.11.0

KStateMachine v0.10.0

22 Jul 21:02
Compare
Choose a tag to compare

Simplify using object (singleton) states. Library clears them automatically now.
Fix bug that allowed processing of pending event if PendingEventHandler implementation was no-throwing.
Update docs.

Full Changelog: v0.9.5...v0.10.0