Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update decompose #939

Closed
wants to merge 1 commit into from
Closed

Update decompose #939

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 18, 2023

Mend Renovate logo banner

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.arkivanov.decompose:extensions-compose-jetpack 2.2.0-alpha01 -> 2.2.0-beta02 age adoption passing confidence
com.arkivanov.decompose:decompose 2.2.0-alpha01 -> 2.2.0-compose-experimental-beta02 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

arkivanov/Decompose (com.arkivanov.decompose:extensions-compose-jetpack)

v2.2.0-beta02

  • Added materialPredictiveBackAnimatable as a default animation (#​533)
  • LTR/RTL support in PredictiveBackGestureOverlay (#​538)
  • Fixed PredictiveBackGestureOverlay swipe edges not changing (#​535 by @​alexzhirkevich)

The new materialPredictiveBackAnimatable API

This release adds the new materialPredictiveBackAnimatable function that resembles the predictive back design for Android. This animation is used by default on all platforms.

Versions and dependencies

Kotlin: 1.9.20
Essenty: 1.3.0-beta01
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

v2.2.0-alpha05

Compare Source

  • 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

v2.2.0-alpha04

Compare Source

  • 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

v2.2.0-alpha03

Compare Source

  • 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

v2.2.0-alpha02

Compare Source

  • 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


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/decompose branch 2 times, most recently from fa32c52 to 804e5f5 Compare October 29, 2023 16:55
@renovate renovate bot force-pushed the renovate/decompose branch 3 times, most recently from 39e9ce9 to 5a00e49 Compare November 5, 2023 18:14
@renovate renovate bot force-pushed the renovate/decompose branch 2 times, most recently from d0286e0 to 50317de Compare November 17, 2023 21:54
@renovate renovate bot force-pushed the renovate/decompose branch from 50317de to a3423ce Compare November 25, 2023 21:15
@renovate renovate bot force-pushed the renovate/decompose branch from a3423ce to a71ebf7 Compare November 29, 2023 13:17
@yschimke yschimke closed this Nov 29, 2023
@yschimke yschimke deleted the renovate/decompose branch November 29, 2023 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant