Skip to content

0.6.0

Compare
Choose a tag to compare
@arkivanov arkivanov released this 08 Apr 22:06
· 1066 commits to master since this release
134b33c

Changes

  • Updated Compose animations API (different animations for different children, combining animators) (#53, #67)
  • Added onComplete callback to Router.navigate and Router.pop functions (#66)
  • Disabled interactions while animating Compose children (#58)
  • Tidied deprecated code (#64)

Versions and dependencies

Kotlin: 1.6.10
Essenty: 0.2.2

extensions-compose-jetpack

Jetpack Compose: 1.1.1
Jetpack Compose Compiler: 1.1.1

extensions-compose-jetbrains

JetBrains Compose: 1.1.0

Breaking changes

The Compose animations API is significantly changed. The main idea is to allow different animations for different children. Also it is now possible to combine animators using the + operator. This is both source and binary incompatible change. Please refer to the updated documentation.

The Router.navigate function got a second argument - the onComplete callback. The old Router.navigate function with one argument is now an extension function, for convenience. The Router.pop extension function got the onComplete callback as well. It doesn't throw an exception anymore in case when the back stack is empty. Instead, the onComplete callback is called with a result. This is both source and binary incompatible change. Please refer to the updated documentation.

All deprecated code with Level.ERROR is removed. All deprecations with Level.WARNING are promoted to Level.ERROR.