Skip to content

Update composeDestinations to v2.2.0 - autoclosed#421

Closed
renovate[bot] wants to merge 1 commit intomainfrom
renovate/composedestinations
Closed

Update composeDestinations to v2.2.0 - autoclosed#421
renovate[bot] wants to merge 1 commit intomainfrom
renovate/composedestinations

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 9, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
io.github.raamcosta.compose-destinations:ksp 2.1.0-beta11 -> 2.2.0 age adoption passing confidence
io.github.raamcosta.compose-destinations:core 2.1.0-beta11 -> 2.2.0 age adoption passing confidence

Release Notes

raamcosta/compose-destinations (io.github.raamcosta.compose-destinations:ksp)

v2.2.0

Compare Source

What changed
Optional result back in ON_RESUME / ON_START #​719

By default, compose destinations will call onNavResult in first opportunity between "onResume" and "onStart". That is because in some situations, I've found that "onResume" is actually not called.
However, that makes it be called mostly in "onStart", and in some other cases it may not be ideal (see #​719).

So, we've introduced a new onNavResult overload that takes a parameter developers can use to choose when they want to receive the result. Example:

@&#8203;Destination<RootGraph>
@&#8203;Composable
fun MyScreen(
    resultRecipient: ResultRecipient<ConfirmationScreenDestination, Boolean>
) {

    resultRecipient.onNavResult(
        deliverResultOn = OpenResultRecipient.DeliverResultOn.RESUME
    ) { result ->
        // ...
    }
}

By default, if you call the overload which does not take any param here, it will use FIRST_OPPORTUNITY to not make a breaking change in behaviour here.

New Destination label (#​714)

Destination annotation now has a new param "label". This is used to set what official navigation library supports in NavDestination.label. Can be useful for monitoring, logging, etc.

@&#8203;Destination<RootGraph>(
    label = "my screen label"
)
@&#8203;Composable
fun MyScreen() {
}

Full Changelog: raamcosta/compose-destinations@2.1.1...2.2.0

v2.1.1

Compare Source

v2.1.0: - First non beta of v2!

Compare Source

What's Changed

If you're using NavHostDefaultStartArgs annotation
  • Make sure to change the top level field with a top level function. There's an issue with resolving type arguments of annotations used in top level fields with KSP2.

New Contributors

Full Changelog: raamcosta/compose-destinations@2.1.0-beta16...2.1.0

v2.1.0-beta16

Compare Source

Changes
  • Dependency updates

Full Changelog: raamcosta/compose-destinations@2.1.0-beta15...2.1.0-beta16

v2.1.0-beta15

Compare Source

What's Changed
New Contributors

Full Changelog: raamcosta/compose-destinations@2.1.0-beta14...2.1.0-beta15

v2.1.0-beta14

Compare Source

Changes

  • Fixes #​678
  • Improve error message when using ResultBackNavigator with unsupported type.
  • Updated dependencies

Full Changelog: raamcosta/compose-destinations@2.1.0-beta13...2.1.0-beta14

v2.1.0-beta13

Compare Source

v2.1.0-beta12

Compare Source

Changes

Full Changelog: raamcosta/compose-destinations@2.1.0-beta11...2.1.0-beta12


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 force-pushed the renovate/composedestinations branch from bbb23f8 to 78ae912 Compare March 6, 2025 19:24
@renovate renovate bot changed the title Update composeDestinations to v2.1.0-beta16 Update composeDestinations to v2.1.0 Mar 6, 2025
@renovate renovate bot force-pushed the renovate/composedestinations branch from 78ae912 to 25ffc42 Compare May 1, 2025 15:38
@renovate renovate bot changed the title Update composeDestinations to v2.1.0 Update composeDestinations to v2.1.1 May 1, 2025
@renovate renovate bot force-pushed the renovate/composedestinations branch from 25ffc42 to 4a61ad2 Compare May 3, 2025 14:11
@renovate renovate bot changed the title Update composeDestinations to v2.1.1 Update composeDestinations to v2.2.0 May 3, 2025
@renovate renovate bot changed the title Update composeDestinations to v2.2.0 Update composeDestinations to v2.2.0 - autoclosed May 21, 2025
@renovate renovate bot closed this May 21, 2025
@renovate renovate bot deleted the renovate/composedestinations branch May 21, 2025 20:31
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.

0 participants