Skip to content

Releases: motorro/CommonStateMachine

v3.2.1

30 May 12:08
Compare
Choose a tag to compare

Kotlin 2.0, library updates

v3.2.0

08 Nov 09:44
279fdd9
Compare
Choose a tag to compare

Added generics for multi-machine states to be able to process view-state updates based on some common UI state
Migration:

Add common gesture/ui-state types

Was:

internal class MixedState : MultiMachineState<MixedGesture, MixedUiState>() {

}

Now:

internal class MixedState : MultiMachineState<MixedGesture, MixedUiState, Any, Any>() {

}

Change signature for gesture processing

Was:

override fun mapGesture(parent: MixedGesture, processor: GestureProcessor)  {

}

Now:

override fun mapGesture(parent: MixedGesture, processor: GestureProcessor<Any, Any>) {

}

Change signature for ui-state processing

Was:

override fun mapUiState(provider: UiStateProvider, changedKey: MachineKey<*, *>?): MixedUiState {

}

Now:

override fun mapUiState(provider: UiStateProvider<Any>, changedKey: MachineKey<*, out Any>?): MixedUiState {

}

v3.1.0

23 Oct 13:24
477d7fa
Compare
Choose a tag to compare

Machine composition - running parallel machines (#7)

v3.0.2

14 Sep 05:08
Compare
Choose a tag to compare

Kotlin 1.9.10, Compose 1.5, AGP8

v3.0.1

21 Apr 18:26
Compare
Choose a tag to compare

v3.X Breaking change

To be able to get the current UI state of the state-machine and to get rid of inconsistency of the UI state is not yet defined (no updates of UI state happened) the FlowStateMachine and the ProxyMachineState now require to pass initial UI state in constructors.

v2.1.4

09 Feb 14:00
Compare
Choose a tag to compare

Library updates

v2.1.2

30 Dec 11:01
Compare
Choose a tag to compare

Library updates

v2.1.1

17 Sep 13:09
Compare
Choose a tag to compare

Apple build artifacts

v2.1.0

11 Aug 11:46
Compare
Choose a tag to compare

Active view subscription monitor for FlowStateMachine

v2.0.0

25 Jul 14:48
Compare
Choose a tag to compare

Coroutine extensions moved to a separate library