Releases: KStateMachine/kstatemachine
KStateMachine v0.18.0
- Fix
jitpack
publication kotlin compatibility mode. (kotlin 1.6, 1.7, java8, java11) - Add new feature allowing to pass data from
FinishedEvent
toDataState
. This implemented withDataExtractor
which actually might be used for any type of event if necessary.FinishedEvent
cannot beDataEvent
(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
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
- 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
KStateMachine v0.14.0
KStateMachine v0.13.0
Add possibility to call processEvent() from any listeners.
Full Changelog: v0.12.0...v0.13.0
KStateMachine v0.12.0
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
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
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
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