Skip to content

Releases: arkivanov/Decompose

2.2.0-compose-experimental-alpha03

31 Oct 22:07
Compare
Choose a tag to compare
Pre-release

This is the same release as 2.2.0-alpha03, but with Compose for iOS and Web (Canvas, js only) support.

Versions and dependencies

Kotlin: 1.9.10
Essenty: 1.3.0-alpha02
kotlinx-serialization: 1.6.0
parcelize-darwin: 0.2.2
JetBrains Compose: 1.5.1

2.2.0-alpha03

31 Oct 22:07
Compare
Choose a tag to compare
2.2.0-alpha03 Pre-release
Pre-release
  • Fixed Pages(onPageSelected) callback called multiple times and not rendering the current page sometimes (#503)
  • Added pushNew extension function for StackNavigator (#499, #514)
  • Refactored predictive back animation, added PredictiveBackAnimatable API (#507, #515)

New pushNew navigation function

This release introduces the new navigation function for Child Stack: pushNew. It allows pushing a configuration only if it's not already on top of the stack. Can be useful for pushing components on button clicks, etc. Please see the updated docs.

Updated Predictive Back Gesture API

This release contains some improvements for the Predictive Back Gesture API, bringing it closer to become stable. The new API allows creating more complex custom transitions.

Migration if not using custom transitions

- import com.arkivanov.decompose.extensions.compose.jetbrains.stack.animation.predictiveBackAnimation
+ import com.arkivanov.decompose.extensions.compose.jetbrains.stack.animation.predictiveback.predictiveBackAnimation

Migration if using custom transitions

- import com.arkivanov.decompose.extensions.compose.jetbrains.stack.animation.predictiveBackAnimation
+ import com.arkivanov.decompose.extensions.compose.jetbrains.stack.animation.predictiveback.predictiveBackAnimatable
+ import com.arkivanov.decompose.extensions.compose.jetbrains.stack.animation.predictiveback.predictiveBackAnimation
    Children(
        stack = component.childStack,
        modifier = modifier,
        animation = predictiveBackAnimation(
            backHandler = component.backHandler,
            animation = stackAnimation(fade() + scale()),
-           exitModifier = { progress, edge -> ... },
-           enterModifier = { progress, edge -> ... },
+           selector = { initialBackEvent, _, _ ->
+               predictiveBackAnimatable(
+                   initialBackEvent = initialBackEvent,
+                   exitModifier = { progress, edge -> ... },
+                   enterModifier = { progress, edge -> ... },
+               )
+           },
            onBack = component::onBackClicked,
        ),
    ) {
        ...
    }

Versions and dependencies

Kotlin: 1.9.10
Essenty: 1.3.0-alpha02
kotlinx-serialization: 1.6.0
parcelize-darwin: 0.2.2

extensions-compose-jetpack

Jetpack Compose: 1.5.0
Jetpack Compose Compiler: 1.5.3

extensions-compose-jetbrains

JetBrains Compose: 1.5.1

2.1.3

21 Oct 14:09
41c4461
Compare
Choose a tag to compare
  • Fixed Pages(onPageSelected) callback called multiple times and not rendering the current page sometimes (#503)

Versions and dependencies

Kotlin: 1.9.10
Essenty: 1.2.0
parcelize-darwin: 0.2.1

extensions-compose-jetpack

Jetpack Compose: 1.5.0
Jetpack Compose Compiler: 1.5.3

extensions-compose-jetbrains

JetBrains Compose: 1.5.1

2.1.3-compose-experimental

21 Oct 14:10
1813956
Compare
Choose a tag to compare
Pre-release

This is the same release as 2.1.3, but with Compose for iOS and Web (Canvas, js only) support.

Versions and dependencies

Kotlin: 1.9.10
Essenty: 1.2.0
parcelize-darwin: 0.2.1
JetBrains Compose: 1.5.1

2.2.0-compose-experimental-alpha02

01 Oct 09:42
Compare
Choose a tag to compare
Pre-release

This is the same release as 2.2.0-alpha02, but with Compose for iOS and Web (Canvas, js only) support.

Versions and dependencies

Kotlin: 1.9.10
Essenty: 1.3.0-alpha01
kotlinx-serialization: 1.6.0
parcelize-darwin: 0.2.2
JetBrains Compose: 1.5.1

2.2.0-alpha02

01 Oct 09:41
Compare
Choose a tag to compare
2.2.0-alpha02 Pre-release
Pre-release
  • Fixed Pages not calling onPageSelected when swiping fast (#491)
  • Avoid using whole configurations as keys in Pages (#492, #493)
  • Added key argument to Pages (#494)

Versions and dependencies

Kotlin: 1.9.10
Essenty: 1.3.0-alpha01
kotlinx-serialization: 1.6.0
parcelize-darwin: 0.2.2

extensions-compose-jetpack

Jetpack Compose: 1.5.3
Jetpack Compose Compiler: 1.5.3

extensions-compose-jetbrains

JetBrains Compose: 1.5.1

2.1.2

30 Sep 22:41
Compare
Choose a tag to compare
  • Fixed Pages not calling onPageSelected when swiping fast (#491)
  • Avoid using whole configurations as keys in Pages (#492, #493)

Versions and dependencies

Kotlin: 1.9.10
Essenty: 1.2.0
parcelize-darwin: 0.2.1

extensions-compose-jetpack

Jetpack Compose: 1.5.3
Jetpack Compose Compiler: 1.5.3

extensions-compose-jetbrains

JetBrains Compose: 1.5.1

2.1.2-compose-experimental

30 Sep 22:41
Compare
Choose a tag to compare
Pre-release

This is the same release as 2.1.2, but with Compose for iOS and Web (Canvas, js only) support.

Versions and dependencies

Kotlin: 1.9.10
Essenty: 1.2.0
parcelize-darwin: 0.2.1
JetBrains Compose: 1.5.1

2.2.0-compose-experimental-alpha01

24 Sep 08:38
21ead7b
Compare
Choose a tag to compare
Pre-release

This is the same release as 2.2.0-alpha01, but with Compose for iOS and Web (Canvas, js only) support.

Versions and dependencies

Kotlin: 1.9.10
Essenty: 1.2.0
kotlinx-serialization: 1.6.0
parcelize-darwin: 0.2.1
JetBrains Compose: 1.5.1

2.2.0-alpha01

24 Sep 08:37
5e0a097
Compare
Choose a tag to compare
2.2.0-alpha01 Pre-release
Pre-release
  • Added support for kotlinx-serialization, deprecated Parcelable APIs (#486)

Kotlinx-serialization support

This release adds support for kotlinx-serialization. See #102 for context. Most of Parcelable/Parcelize APIs are now deprecated. See the updated docs for more information.

Versions and dependencies

Kotlin: 1.9.10
Essenty: 1.2.0
kotlinx-serialization: 1.6.0
parcelize-darwin: 0.2.1

extensions-compose-jetpack

Jetpack Compose: 1.5.3
Jetpack Compose Compiler: 1.5.3

extensions-compose-jetbrains

JetBrains Compose: 1.5.1