Releases: KStateMachine/kstatemachine
v0.24.0
Add choiceDataState() function that creates PseudoState allowing to choose between DataStates of same type.
Add showEventLabels flag to exportToPlantUml() function. This flag adds event labels to output.
What's Changed
- Proposal to add the option to use event class names as transition labels in PlantUML export by @jmichaud in #75
New Contributors
Full Changelog: v0.23.0...v0.24.0
KStateMachine v0.23.0
Add target-less transitions for DataStates support.
Before this version exception was thrown in this case. New behaviour allows update DataState data field using EXTERNAL target-less transition.
KStateMachine v0.22.1
Add iOS platform support
Full Changelog: v0.22.0...v0.22.1
KStateMachine v0.22.0
Moved to Kotlin Multiplatform plugin. This version still supports only JVM, other platforms will be added in further versions.
KStateMachine v0.21.0
Full Changelog: v0.20.0...v0.21.0
KStateMachine v0.20.0
This is big release with many breaking changes. The major one is coroutines support.
See the docs for more info.
Full Changelog: v0.18.1...v0.20.0
KStateMachine v0.18.1
- Fix setting DataState::lastData property with data from FinishedEvent.
Full Changelog: v0.18.0...v0.18.1
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