Skip to content

0.5.0

Compare
Choose a tag to compare
@arkivanov arkivanov released this 16 Jan 11:40
· 1077 commits to master since this release
00cc27d
  • Added Router builder functions with initialStack argument, deprecated old builders with initialConfiguration and initialBackStack arguments (#14)
  • Added WebHistoryController for controlling the browser history (#15, #16)
  • Updated Kotlin to 1.6.10, Jetpack Compose to 1.0.5, Jetpack Compose compiler to 1.1.0-rc02, and JetBrains Compose to 1.0.1
  • Simplified Compose animation API (badoo/Decompose#261)
  • Added Modifier argument to the Children function (badoo/Decompose#262)
  • Fixed a possible memory leak in Compose PageAnimation (badoo/Decompose#259)

New API

This release introduces a new experimental API for controlling the web browser history - WebHistoryController. Please refer to the updated documentation for more information.

Breaking changes

The animation API for Compose is updated and made simpler. This change doesn't affect if you are using the provided animations like slide() or crossfadeScale. But if you have custom animations (e.g. using the childAnimation function), it is recommended to familiarise yourself with the changes. Please refer to the updated documentation and the corresponding pull request (badoo/Decompose#261).

The Children function got a new optional argument - Modifier. It can be used to better control positioning and other parameters of child Composables.