Releases: vitkhudenko/state_machine
Releases · vitkhudenko/state_machine
0.3.9
0.3.8
Maintenance release:
- Kotlin (1.5.31 -> 1.6.0)
- AGP (7.0.3 -> 7.0.4)
- minSdkVersion (15 -> 21)
- org.mockito:mockito-core (3.12.4 -> 4.1.0)
- adds Kover test coverage tool
0.3.7
Maintenance release:
- updates Kotlin (1.5.21 -> 1.5.31)
- targetSdkVersion (30 -> 31)
- buildToolsVersion (30.0.3 -> 31.0.0)
- AGP (7.0.0 -> 7.0.3)
0.3.5
- Kotlin (1.5.20 -> 1.5.21)
- API improvements:
- new method
StateMachine.Builder.addTransitions(vararg transitions: Pair<Event, List<State>>)
StateMachine.Listener<State>
is now a functional interface
- new method
0.3.4
Maintenance release.
- Kotlin (1.5.0 -> 1.5.20)
- Android Gradle Plugin (4.2.0 -> 4.2.2)
- org.mockito:mockito-core (3.9.0 -> 3.11.2)
0.3.3
Maintenance release. Updates Kotlin to 1.5.0.
0.3.2
Fixes StateMachine.Builder
not to leak new transitions once a StateMachine
has been created.
0.3.1
Migrates library publishing from JFrog Bintray to JitPack.io (as JFrog decided to sunset Bintray).
Java package name is still the same (vit.khudenko.android.fsm), however maven coordinates had to be changed according to the JitPack.io requirements to:
- groupId: 'com.github.vitkhudenko'
- artifactId: 'state_machine'
0.3.0
Previous versions of the library applied too restrictive rules on state transition, so it was not possible to define a single transition like A -> B -> A
for a single event.
In v0.3.0
transitions like A -> B -> A
for a single event are allowed.
0.2.0
- A separate class to represent a transition has been added.
StateMachine.Builder
validation has been improved.