3.4.0-alpha04
- Explicit error handling in Relay (#899, see #892)
- Expose
StackAnimationScopefromChildStackinstead ofAnimatedVisibilityScope(#901, #925) - Use
graphicsLayerwithCompositingStrategy.Offscreenin predictive back animations (#919, see #918) - Renamed
androidPredictiveBackAnimatabletoandroidPredictiveBackAnimatableV1(#921) - Added
androidPredictiveBackAnimatableV2from Android Vanilla Ice Cream (#923) - Fixed incorrect enter shape in
androidPredictiveBackAnimatablewhen not fullscreen (#922) - Fixed
ChildPagesanimation sometimes stuck when interrupted (#924) - Fixed Child Slot state not saved when not active (#916)
- Fixed CCE in
SlotNavigator#dismissonwasmJs(#915)
The new androidPredictiveBackAnimatableV2 animation
The androidPredictiveBackAnimatable has been renamed to androidPredictiveBackAnimatableV1. Plus the new androidPredictiveBackAnimatableV2 animation was added, resembling the standard predictive back animation from Android Vanilla Ice Cream and Baklava. See the updated docs for more information.
https://github.com/user-attachments/assets/88119f4a-b134-480a-8f58-4fc855133b06
The new StackAnimationScope
The ChildStack composable function now exposes StackAnimationScope instead of AnimatedVisibilityScope, providing access to stackAnimationDirection: Direction? property. This allows better UI customization during stack animations.
Improved predictive back animation scaling quality
This release significantly improves the quality of scaling when performing predictive back animations with Jetpack Compose.
Versions and dependencies
Kotlin: 2.1.0
Essenty: 2.5.0
kotlinx-serialization: 1.6.3
Multiplatform Compose: 1.8.2