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 to v3.2.1 #322

Merged
merged 1 commit into from
Nov 2, 2024
Merged

Update decompose to v3.2.1 #322

merged 1 commit into from
Nov 2, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 23, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.arkivanov.decompose:extensions-compose 3.1.0 -> 3.2.1 age adoption passing confidence
com.arkivanov.decompose:decompose 3.1.0 -> 3.2.1 age adoption passing confidence

Release Notes

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

v3.2.1

Compare Source

  • Updated Essenty to 2.2.1 (#​803)

This release updates Essenty to version 2.2.1, which contains a fix for a possible crash in the experimental StateKeeper#saveable API.

Versions and dependencies

Kotlin: 2.0.20
Essenty: 2.2.1
kotlinx-serialization: 1.6.3
Multiplatform Compose: 1.7.0

v3.2.0

Compare Source

Changes since version 3.2.0-beta03
  • Updated Essenty to 2.2.0 and Compose to 1.7.0 (#​801)
Earlier changes since version 3.1.0
  • Allow duplicate configurations as an experimental feature (#​731)
  • Fixed "Key was used multiple times" crash with duplicateConfigurationsEnabled flag enabled (#​734)
  • Added new experimental stack animation API with Shared Element Transitions support (#​753)
  • Annotated StackNavigator#push as delicate API (#​747)
  • Renamed Pages composable function to ChildPages, promoted all Child Pages API to stable (#​756)
  • Force javaTarget 11 for all non-Android JVM targets (#​758)
  • Renamed PredictiveBackParams#animatableSelector parameter to animatable (the new animation API) (#​762)
  • Make predictiveBackParams parameter a function instead of just a value (the new animation API) (#​761)
  • Fixed a bug when predictive back gesture is interrupted (the new animation API) (#​760)
  • Disable input during predictive back animation (#​775)
  • Don't animate the previous child after predictive back gesture finished and stack popped (the new animation API) (#​774)
  • Added Child Panels navigation model (#​782, #​789)
  • Removed unused type parameters from the experimental PredictiveBackParams API (#​777)
  • Make animator argument optional in the experimental stackAnimation API (#​787)
  • Fixed incorrect predictive back animation playing on hardware back button click (the new animation API) (#​779)
  • Fixed stack animation not updating to new child component instance when active configuration is unchanged (#​794, see #​792)
  • Don't seek stack animation transition on back start when predictive back animatable is specified (the new animation API) (#​797)
Experimental Duplicate Configurations feature

This release adds an experimental support of duplicate configurations in all navigation models. The feature can be enabled using the DecomposeExperimentFlags.duplicateConfigurationsEnabled flag. If the feature is enabled, Decompose will not throw errors when duplicate configurations are detected. Instead, it will try its best to properly manage the components. Please see the updated docs for more information.

Please take into account that this feature is experimental and might go away in a future release.

New experimental StateKeeper and InstanceKeeper extensions

This release is based on Essenty 2.2.0, which brings some new extensions for StateKeeper and InstanceKeeper:

  • StateKeeper.saveable(...) and StateKeeperOwner.saveable(...) - experimental.
  • InstanceKeeperOwner.retainedInstance { ... } - stable.

Please see the update docs for saveable and retainedInstance.

The new experimental animation API

This release adds a new artifact extensions-compose-experimental with a brand new API surface for stack animations with the support of Shared Element Transitions. Please see the updated docs for more information and examples.

Child Pages API is stable

The entire Child Pages API is now stable. The Pages composable function has been renamed to ChildPages, for consistency with the new ChildStack composable function from the new experimental animations.

The new Child Panels navigation model

This release adds a new navigation model for multi-pane navigation: Child Panels. This navigation is somewhat similar to List-Details Layout. Please see the updated docs for more information.

Versions and dependencies

Kotlin: 2.0.20
Essenty: 2.2.0
kotlinx-serialization: 1.6.3
Multiplatform Compose: 1.7.0


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.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title Update decompose to v3.2.0 Update decompose to v3.2.1 Oct 29, 2024
@thomaskioko thomaskioko merged commit f1619ba into main Nov 2, 2024
9 checks passed
@thomaskioko thomaskioko deleted the renovate/decompose branch November 2, 2024 13:46
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