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:
Here it was just a timing thing. Given that we were forced into other breaking changes, might as well do this too. It also made it easier to provide functions to get DestinationsNavigator (see above) since it no longer depends on the NavBackStackEntry.
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 bac...
_Description has been truncated_
Bumps the maven group with 16 updates in the /manager directory:
1.9.1
1.9.2
2.7.7
2.8.0
2024.08.00
2024.09.01
2.8.4
2.8.5
2.8.4
2.8.5
2.8.4
2.8.5
0.34.0
0.36.0
0.34.0
0.36.0
0.34.0
0.36.0
0.34.0
0.36.0
1.8.1
1.9.0
1.10.2
1.11.6
1.10.2
1.11.6
8.5.2
8.6.1
8.5.2
8.6.1
2.0.20-1.0.24
2.0.20-1.0.25
Updates
androidx.activity:activity-compose
from 1.9.1 to 1.9.2Updates
androidx.navigation:navigation-compose
from 2.7.7 to 2.8.0Updates
androidx.compose:compose-bom
from 2024.08.00 to 2024.09.01Updates
androidx.lifecycle:lifecycle-runtime-ktx
from 2.8.4 to 2.8.5Updates
androidx.lifecycle:lifecycle-runtime-compose
from 2.8.4 to 2.8.5Updates
androidx.lifecycle:lifecycle-viewmodel-compose
from 2.8.4 to 2.8.5Updates
androidx.lifecycle:lifecycle-runtime-compose
from 2.8.4 to 2.8.5Updates
androidx.lifecycle:lifecycle-viewmodel-compose
from 2.8.4 to 2.8.5Updates
com.google.accompanist:accompanist-drawablepainter
from 0.34.0 to 0.36.0Release notes
Sourced from com.google.accompanist:accompanist-drawablepainter's releases.
Commits
21b1e34
Merge pull request #1790 from google/ben/stable17232badb
Upgrade upload artifactec69b6d
Remove device-tests action1318d1c
Fix device tests action06b8df6
Upgrade github action for uploading test artifactsc78ec25
Upgrade to Compose 1.7 stable3b40d2b
Merge pull request #1789 from SimonMarquis/patch-1c35db2b
Fix markdown layout bug in navigation-material.md68fa222
Prepare for next release1745adc
Merge pull request #1780 from google/bumptobetaUpdates
com.google.accompanist:accompanist-navigation-animation
from 0.34.0 to 0.36.0Release notes
Sourced from com.google.accompanist:accompanist-navigation-animation's releases.
Commits
21b1e34
Merge pull request #1790 from google/ben/stable17232badb
Upgrade upload artifactec69b6d
Remove device-tests action1318d1c
Fix device tests action06b8df6
Upgrade github action for uploading test artifactsc78ec25
Upgrade to Compose 1.7 stable3b40d2b
Merge pull request #1789 from SimonMarquis/patch-1c35db2b
Fix markdown layout bug in navigation-material.md68fa222
Prepare for next release1745adc
Merge pull request #1780 from google/bumptobetaUpdates
com.google.accompanist:accompanist-systemuicontroller
from 0.34.0 to 0.36.0Release notes
Sourced from com.google.accompanist:accompanist-systemuicontroller's releases.
Commits
21b1e34
Merge pull request #1790 from google/ben/stable17232badb
Upgrade upload artifactec69b6d
Remove device-tests action1318d1c
Fix device tests action06b8df6
Upgrade github action for uploading test artifactsc78ec25
Upgrade to Compose 1.7 stable3b40d2b
Merge pull request #1789 from SimonMarquis/patch-1c35db2b
Fix markdown layout bug in navigation-material.md68fa222
Prepare for next release1745adc
Merge pull request #1780 from google/bumptobetaUpdates
com.google.accompanist:accompanist-webview
from 0.34.0 to 0.36.0Release notes
Sourced from com.google.accompanist:accompanist-webview's releases.
Commits
21b1e34
Merge pull request #1790 from google/ben/stable17232badb
Upgrade upload artifactec69b6d
Remove device-tests action1318d1c
Fix device tests action06b8df6
Upgrade github action for uploading test artifactsc78ec25
Upgrade to Compose 1.7 stable3b40d2b
Merge pull request #1789 from SimonMarquis/patch-1c35db2b
Fix markdown layout bug in navigation-material.md68fa222
Prepare for next release1745adc
Merge pull request #1780 from google/bumptobetaUpdates
com.google.accompanist:accompanist-navigation-animation
from 0.34.0 to 0.36.0Release notes
Sourced from com.google.accompanist:accompanist-navigation-animation's releases.
Commits
21b1e34
Merge pull request #1790 from google/ben/stable17232badb
Upgrade upload artifactec69b6d
Remove device-tests action1318d1c
Fix device tests action06b8df6
Upgrade github action for uploading test artifactsc78ec25
Upgrade to Compose 1.7 stable3b40d2b
Merge pull request #1789 from SimonMarquis/patch-1c35db2b
Fix markdown layout bug in navigation-material.md68fa222
Prepare for next release1745adc
Merge pull request #1780 from google/bumptobetaUpdates
com.google.accompanist:accompanist-systemuicontroller
from 0.34.0 to 0.36.0Release notes
Sourced from com.google.accompanist:accompanist-systemuicontroller's releases.
Commits
21b1e34
Merge pull request #1790 from google/ben/stable17232badb
Upgrade upload artifactec69b6d
Remove device-tests action1318d1c
Fix device tests action06b8df6
Upgrade github action for uploading test artifactsc78ec25
Upgrade to Compose 1.7 stable3b40d2b
Merge pull request #1789 from SimonMarquis/patch-1c35db2b
Fix markdown layout bug in navigation-material.md68fa222
Prepare for next release1745adc
Merge pull request #1780 from google/bumptobetaUpdates
com.google.accompanist:accompanist-webview
from 0.34.0 to 0.36.0Release notes
Sourced from com.google.accompanist:accompanist-webview's releases.
Commits
21b1e34
Merge pull request #1790 from google/ben/stable17232badb
Upgrade upload artifactec69b6d
Remove device-tests action1318d1c
Fix device tests action06b8df6
Upgrade github action for uploading test artifactsc78ec25
Upgrade to Compose 1.7 stable3b40d2b
Merge pull request #1789 from SimonMarquis/patch-1c35db2b
Fix markdown layout bug in navigation-material.md68fa222
Prepare for next release1745adc
Merge pull request #1780 from google/bumptobetaUpdates
org.jetbrains.kotlinx:kotlinx-coroutines-core
from 1.8.1 to 1.9.0Release notes
Sourced from org.jetbrains.kotlinx:kotlinx-coroutines-core's releases.
... (truncated)
Changelog
Sourced from org.jetbrains.kotlinx:kotlinx-coroutines-core's changelog.
... (truncated)
Commits
d8d6f8f
Version 1.9.03a1be8c
Remove obsolete npm folder from the doc (#4189)d38672a
Version 1.9.0-RC.24801c65
Merge remote-tracking branch 'origin/master' into developcc34948
Rework the KDoc forCoroutineStart
(#4147)a7fe247
Fix flaky test, ensure job suspension where expected by the test (#4204)b286646
Remove various obsolete code (#4196)f0bdf00
Increase the deprecation levels for the old test framework API (#4198)5c8e650
Increase the deprecation levels for BroadcastChannel APIs (#4197)d010110
Rerun apiDump (#4207)Updates
io.github.raamcosta.compose-destinations:animations-core
from 1.10.2 to 1.11.6Release notes
Sourced from io.github.raamcosta.compose-destinations:animations-core's releases.
... (truncated)
Commits
52399eb
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 pt175da4e0
Improve usability with SharedTransitionScope as a receiver of composable dest...Updates
io.github.raamcosta.compose-destinations:ksp
from 1.10.2 to 1.11.6Release notes
Sourced from io.github.raamcosta.compose-destinations:ksp's releases.