File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ Please checkout the Medium article on pattern/library usage.
1111
1212- [ Introduction] ( #introduction )
1313- [ v3.X Breaking change] ( #v3x-breaking-change )
14+ - [ v4.X Breaking change] ( #v4x-breaking-change )
1415- [ Dependencies] ( #dependencies )
1516- [ Examples] ( #examples )
1617- [ The basic task - Load-Content-Error] ( #the-basic-task---load-content-error )
@@ -101,6 +102,18 @@ To be able to get the current UI state of the state-machine and to get rid of in
101102UI state is not yet defined (no updates of UI state happened) the ` FlowStateMachine ` and
102103the ` ProxyMachineState ` now require to pass initial UI state in constructors.
103104
105+ ## v4.X Breaking change
106+
107+ The view lifecycle [ MachineLifecycle] ( commonstatemachine/src/commonMain/kotlin/com/motorro/commonstatemachine/lifecycle/MachineLifecycle.kt ) )
108+ implementation is moved to the separate multiplatform library:
109+
110+ ``` groovy
111+ dependencies {
112+ // View lifecycle implementation
113+ implementation "com.motorro.commonstatemachine:lifecycle:x.x.x"
114+ }
115+ ```
116+
104117## Dependencies
105118
106119The project has a very simple core to implement yourself but you could also grab the latest core
Original file line number Diff line number Diff line change @@ -94,7 +94,6 @@ kotlin {
9494 commonMain.dependencies {
9595 api(project(" :commonstatemachine" ))
9696 api(libs.kotlin.coroutines.core)
97- api(libs.composeMultiplatform.runtime)
9897 api(libs.composeMultiplatform.lifecycle)
9998 }
10099 commonTest.dependencies {
You can’t perform that action at this time.
0 commit comments