Releases: Tlaster/PreCompose
1.7.0-alpha03
What's Changed
Full Changelog: 1.7.0-alpha02...1.7.0-alpha03
1.7.0-alpha02
Breaking change!
Starting from this version, PreCompose no longer uses built-in ViewModel and Lifecycle. Instead, it now uses JetPack's ViewModel and Lifecycle. This change will introduce breaking changes. You can refer to the following migration guide to upgrade your code:
- The package
moe.tlaster:precompose-viewmodel
is no longer used. You can useorg.jetbrains.androidx.lifecycle:lifecycle-viewmodel-compose
instead. - The package
moe.tlaster:precompose-koin
is no longer used. You can useio.insert-koin:koin-compose-viewmodel
instead. - The package
moe.tlaster:precompose-molecule
no longer depends onmoe.tlaster:precompose
and can be used as a standalone library. moe.tlaster.precompose.stateholder.SavedStateHolder
is temporarily unavailable in this version.moe.tlaster.precompose.ProvidePreComposeCompositionLocals
is no longer needed. You can directly usemoe.tlaster.precompose.PreComposeApp
in commonMain.- Migrate the following class names:
moe.tlaster.precompose.koin.koinViewModel
->org.koin.compose.viewmodel.koinViewModel
moe.tlaster.precompose.viewmodel.ViewModel
->androidx.lifecycle.ViewModel
moe.tlaster.precompose.lifecycle.Lifecycle
->androidx.lifecycle.Lifecycle
moe.tlaster.precompose.lifecycle.LifecycleOwner
->androidx.lifecycle.LifecycleOwner
Full Changelog: 1.7.0-alpha01...1.7.0-alpha02
1.7.0-alpha01
I'm migrating to Jetpack's ViewModel and Lifecycle, before lots of breaking changes, I'd like to release a new version that still uses internal ViewModel and Lifecycle.
What's Changed
- update to compose-multiplatform 1.7.0-beta02
- handle lifecycle in JS targets by @kkalisz in #381
- added support for molecule for js wasm by @kkalisz in #382
New Contributors
Full Changelog: 1.6.2...1.7.0-alpha01
1.6.2
1.6.1
What's Changed
- Update to Kotlin 2.0 and Compose 1.6.10
- fix spaceToSwipe by @Tlaster in #306
- Make scene provide an AnimatedContentScope to the composable content by @StylianosGakis in #312
- fix animateContentSize NavHost Modifier by @tomczyn in #315
- Remove appcompat dependency by @martinbonnin in #316
- make
StateHolder.set()
operator for consistency withStateHolder.get()
by @Miha-x64 in #325 - fix test dependency by @Tlaster in #328
- make viewmodel api consist across platform by @Tlaster in #329
New Contributors
- @StylianosGakis made their first contribution in #312
- @tomczyn made their first contribution in #315
- @martinbonnin made their first contribution in #316
- @Miha-x64 made their first contribution in #325
Full Changelog: 1.6.0...1.6.1
1.6.0
What's Changed
- Remove confusing API from goBack by @tiper in #270
- fix floating route navigate crash by @Tlaster in #277
- Remove canNavigate, Now navigate will navigate directly instead of waiting for transition.
- Expose backstack count
- Rework predictive back and swipe back handling.
This version works with compose-mutiplatform 1.6.0
Full Changelog: 1.5.11...1.6.0
1.6.0-rc04
What's Changed
- Bugfix for back button not working for Android.
Full Changelog: 1.6.0-rc03...1.6.0-rc04
1.6.0-rc03
What's Changed
- Bugfix for BackStackEntry state holder when navigate quickly.
- Rework predictive back and swipe back handling.
Full Changelog: 1.6.0-rc02...1.6.0-rc03
1.6.0-rc02
What's Changed
- Remove canNavigate, Now navigate will navigate directly instead of waiting for transition.
- Expose backstack count
Full Changelog: 1.6.0-rc01...1.6.0-rc02