Skip to content

3.0.0-alpha06

Pre-release
Pre-release
Compare
Choose a tag to compare
@arkivanov arkivanov released this 10 Feb 21:39
6fb385a
  • Animate predictive back gesture cancellation (#620, see #618)
  • Added edgeWidth, startingOffsetThreshold and confirmationProgressThreshold parameters for PredictiveBackGestureOverlay (#622, see #618)
  • Removed StackNavigationSource, SlotNavigationSource and PagesNavigationSource interfaces (#626)
  • Fixed animation on hardware back button click with predictive back gesture enabled (#633)

Breaking changes

This release is binary incompatible with the previous 3.0.0-alpha05 release. Please make sure you also update Essenty to 2.0.0-alpha06, see the release notes there.

Changes in PredictiveBackAnimatable interface

The PredictiveBackAnimatable interface got the new method: suspend fun cancel(). This is required for animations when the predictive back gesture is cancelled.

Removed navigation source interfaces

The following interfaces were removed: StackNavigationSource, SlotNavigationSource and PagesNavigationSource. This change should be source compatible (meaning your project should still compile fine), unless you have custom implementations of those interfaces, in which case you have to implement the NavigationSource interface instead.

Versions and dependencies

Kotlin: 1.9.21
Essenty: 2.0.0-alpha06
kotlinx-serialization: 1.6.2
JetBrains Compose: 1.6.0-alpha01