Skip to content

Releases: motorro/CommonStateMachine

v3.2.2

25 Aug 15:59

Choose a tag to compare

  • Kotlin 2.2.10
  • Library updates 2025-08

v3.2.1

30 May 12:08

Choose a tag to compare

Kotlin 2.0, library updates

v3.2.0

08 Nov 09:44
279fdd9

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

Choose a tag to compare

Machine composition - running parallel machines (#7)

v3.0.2

14 Sep 05:08

Choose a tag to compare

Kotlin 1.9.10, Compose 1.5, AGP8

v3.0.1

21 Apr 18:26

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

Choose a tag to compare

Library updates

v2.1.2

30 Dec 11:01

Choose a tag to compare

Library updates

v2.1.1

17 Sep 13:09

Choose a tag to compare

Apple build artifacts

v2.1.0

11 Aug 11:46

Choose a tag to compare

Active view subscription monitor for FlowStateMachine