1.11.3-alpha - breaking changes and shared element transitions
Breaking Changes 😱
Most of our NavController extension functions were removed. Instead, if you want to use the type safe Compose Destinations friendly APIs, you'll need to use DestinationsNavigator.
There are two new APIs to get this navigator from NavController: (you can also just receive DestinationsNavigator on your annotated Composables)
If you are inside a Composable, use navController.rememberDestinationsNavigator()
If not, use navController.toDestinationsNavigator()
Keep in mind you can still use NavController directly by adding .route. For example: navController.navigate(Destination(args).route).
We were forced to do this since new navigation versions introduced a new member function of NavController class that would shadow our extension functions (i.e, users of the lib would start calling it silently instead of our extension functions - the result would be a runtime crash). By removing the APIs on our side, it forces users of Compose Destinations to go handle this change and avoid runtime issues that way.
Parameter onlyIfResumed removed from navigate APIs. (including navigating back with result).
Users should replace it with the new APIs dropUnlessResumed:
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps io.github.raamcosta.compose-destinations:ksp from 1.9.62 to 1.11.7.
Release notes
Sourced from io.github.raamcosta.compose-destinations:ksp's releases.
... (truncated)
Commits
668cff6
Update dependencies52399eb
Fixed issue with sample bottom bard03907c
Updates libraries to the latest milestone38fded8
Some issue fixes cherry picked from v27c8f45f
dependencies update84f7558
Fixes issue with not importing AnimatedVisibilityScopefbf36a2
Fix sample app VM issue28376e0
fix sample buildsb3e7064
Fix shadowed extension functions of NavController pt26a595a1
Fix shadowed extension functions of NavController pt1Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show