Releases: Tlaster/PreCompose
1.5.11
What's Changed
- Fix crash Koin compose 1.1.2 in Sample todo by @hoangchungk53qx1 in #224
- fix navigation bug when transition is none by @Tlaster in #230
- Update documentation for JDK 11 by @andremion in #233
- Introduce a name to remember Navigator by @andremion in #234
- update version actions by @hoangchungk53qx1 in #237
- fix issues when route graph being updated by @Tlaster in #239
- fix can not observe lifecycle from scene by @Tlaster in #244
- add Navigator.previousEntry by @Tlaster in #255
- Update stateflow for lifecycle by @hoangchungk53qx1 in #256
- Use qualified name instead of simple name by @tiper in #269
- Remove confusing API from goBack by @tiper in #270
- fix floating route navigate crash by @Tlaster in #277
New Contributors
- @andremion made their first contribution in #233
Full Changelog: 1.5.10...1.5.11
1.6.0-beta02
What's Changed
- upgrade to compose-multiplatform 1.6.0-beta02
- fix swipe back transition
- add predictive back support
Full Changelog: 1.6.0-beta01...1.6.0-beta02
1.6.0-beta01
What's Changed
This version works with Compose 1.6.0
- Add Kotlin/wasm support.
- Fix crash Koin compose 1.1.2 in Sample todo by @hoangchungk53qx1 in #224
- fix navigation bug when transition is none by @Tlaster in #230
- Update documentation for JDK 11 by @andremion in #233
- Introduce a name to remember Navigator by @andremion in #234
- update version actions by @hoangchungk53qx1 in #237
- fix issues when route graph being updated by @Tlaster in #239
- fix can not observe lifecycle from scene by @Tlaster in #244
- add Navigator.previousEntry by @Tlaster in #255
- Update stateflow for lifecycle by @hoangchungk53qx1 in #256
New Contributors
- @andremion made their first contribution in #233
Knowing issues
- Swipe back animation just...not good at the time, still working on it.
Full Changelog: 1.5.10...1.6.0-beta01
1.5.10
1.5.9
1.5.8
What's Changed
- Bump org.junit.jupiter:junit-jupiter-api from 5.10.0 to 5.10.1 by @dependabot in #178
- Bump org.junit.jupiter:junit-jupiter-engine from 5.10.0 to 5.10.1 by @dependabot in #177
- fix jvm window closing callback by @Tlaster in #188
- Fix Molecule sample "No StateHolder provided" by @thennothinghappened in #196
- Bump com.diffplug.spotless from 6.22.0 to 6.23.0 by @dependabot in #195
- Bump skiko from 0.7.85 to 0.7.85.4 by @dependabot in #194
- Bump org.jetbrains.compose from 1.5.10 to 1.5.11 by @dependabot in #192
- Bump com.diffplug.spotless from 6.23.0 to 6.23.2 by @dependabot in #200
- fix iOS lifecycle initial state by @Tlaster in #203
- fix library dependencies by @Tlaster in #205
- disable path matching for group route by @Tlaster in #204
- Bump com.diffplug.spotless from 6.23.2 to 6.23.3 by @dependabot in #207
- Bump app.cash.molecule:molecule-runtime from 1.3.0 to 1.3.1 by @dependabot in #193
- Bump org.jetbrains.kotlin.multiplatform from 1.9.20 to 1.9.21 by @dependabot in #189
New Contributors
- @thennothinghappened made their first contribution in #196
Full Changelog: 1.5.7...1.5.8
1.5.7
1.5.6
1.5.5
What's Changed
- fix state id generation by @Tlaster in #150
- Fix typo in "JetBrains" by @SebastianAigner in #152
- refactor and optimize QueryString by @hoangchungk53qx1 in #155
- Avoid composing scene multiple times due to BackStackEntry by @tiper in #162
- Fix flicker on screen transition with PopUpTo with inclusive true. by @djrsousa in #165
- Bump org.jetbrains.kotlin.multiplatform from 1.9.10 to 1.9.20 by @dependabot in #167
- Bump org.jetbrains.compose from 1.5.3 to 1.5.10 by @dependabot in #168
- Bump app.cash.molecule:molecule-runtime from 1.2.1 to 1.3.0 by @dependabot in #169
- Bump skiko from 0.7.81 to 0.7.85 by @dependabot in #164
- rework for precompose setup by @Tlaster in #160
New Contributors
- @SebastianAigner made their first contribution in #152
- @kkoshin made their first contribution in #154
- @hoangchungk53qx1 made their first contribution in #155
- @djrsousa made their first contribution in #165
Full Changelog: 1.5.4...1.5.5
Setup migration guide
Wrap the App()
Wrap your App with PreComposApp
like this:
@Composable
fun App() {
PreComposeApp {
// your app's content goes here
}
}
Android
Replace moe.tlaster.precompose.lifecycle.PreComposeActivity
and moe.tlaster.precompose.lifecycle.setContent
with standard AndroidX ComponentActivity
and Jetpack's setContent
iOS
Replace moe.tlaster.precompose.PreComposeApplication
with standard androidx.compose.ui.window.ComposeUIViewController
Desktop(JVM)
Replace moe.tlaster.precompose.PreComposeWindow
with androidx.compose.ui.window.Window
Native macOS
You can still use moe.tlaster.precompose.PreComposeWindow
, or replace with standard ComposeWindow
Web (Canvas)
You can still use moe.tlaster.precompose.preComposeWindow
, or replace with standard androidx.compose.ui.window.ComposeWindow