Skip to content

Releases: arkivanov/Decompose

2.2.0-alpha05

17 Nov 20:49
Compare
Choose a tag to compare
2.2.0-alpha05 Pre-release
Pre-release
  • Updated Kotlin to 1.9.20 and other dependencies (#521)
  • Added ApplicationLifecycle for iOS and tvOS targets (#527)

New ApplicationLifecycle

This release adds the new ApplicationLifecycle API for iOS and tvOS targets, which makes it easier to control the lifecycle on those targets. Please see the updated docs.

Versions and dependencies

Kotlin: 1.9.20
Essenty: 1.3.0-alpha04
kotlinx-serialization: 1.6.0
parcelize-darwin: 0.2.3

extensions-compose-jetpack

Jetpack Compose: 1.5.0
Jetpack Compose Compiler: 1.5.4

extensions-compose-jetbrains

JetBrains Compose: 1.5.10

2.2.0-compose-experimental-alpha04

05 Nov 14:22
Compare
Choose a tag to compare
Pre-release

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

Versions and dependencies

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

2.2.0-alpha04

05 Nov 14:21
Compare
Choose a tag to compare
2.2.0-alpha04 Pre-release
Pre-release
  • Fixed current page not displayed when swiped through with two fingers (#517)
  • Updated Essenty to 1.3.0-alpha03 (#520)

Versions and dependencies

Kotlin: 1.9.10
Essenty: 1.3.0-alpha03
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.4

05 Nov 14:20
Compare
Choose a tag to compare
  • Fixed current page not displayed when swiped through with two fingers (#517)

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.4-compose-experimental

05 Nov 14:20
Compare
Choose a tag to compare
Pre-release

This is the same release as 2.1.4, 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-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