Skip to content

3.0.0-alpha07

Pre-release
Pre-release
Compare
Choose a tag to compare
@arkivanov arkivanov released this 20 Feb 20:55
a991b0c
  • Don't remove the first configuration on popWhile (#646)
  • Inlined the rest of navigation extensions with lambdas (#648)
  • Updated Kotlin to 1.9.22, Compose to 1.6.0-rc02, also updated Pages Composable API (#649, see #461)
  • Buffer navigation events during initialisation (#645)
  • Added androidPredictiveBackAnimatable (#652)
  • Updated Essenty to 2.0.0-alpha07 (#656)
  • Removed ApplicationLifecycle and used the new one from Essenty (#654)
  • Fixed predictive back gesture not working when started during normal transition (#653)

ApplicationLifecycle is moved to Essenty

ApplicationLifecycle for iOS and tvOS has been moved to Essenty.

If you are using ApplicationLifecycle in Kotlin, you will need to update imports.

- import com.arkivanov.decompose.lifecycle.ApplicationLifecycle
+ import com.arkivanov.essenty.lifecycle.ApplicationLifecycle

If you are using ApplicationLifecycle in Swift, you will need to export Essenty lifecycle module to iOS framework.

The new androidPredictiveBackAnimatable API

This release add a new predictive back animation style - the animation that is used e.g. in system settings on Pixel devices. See the updated docs.

Changes in Pages Composable API

One of the Pages Composable function overloads has changed. See #461 and #649 for more information.

@Composable
fun <C : Any, T : Any> Pages(
-     pages: State<ChildPages<C, T>>,
+     pages: ChildPages<C, T>,
      ...
)

Versions and dependencies

Kotlin: 1.9.22
Essenty: 2.0.0-alpha07
kotlinx-serialization: 1.6.2
JetBrains Compose: 1.6.0-rc02