freeletics/khonshu (com.freeletics.mad:state-machine)
### [`v0.24.0`](https://togithub.com/freeletics/khonshu/blob/HEAD/CHANGELOG.md#0240--2024-05-15-)
[Compare Source](https://togithub.com/freeletics/khonshu/compare/0.15.0...0.24.0)
##### Navigation
- The `destinationChangedCallback` parameter of `NavHost` now has `(NavRoot, BaseRoute) -> Unit`
signature, where `NavRoot` is the current root. If that root is the current destination both
parameters are the same.
- Khonshu's own navigation implementation has been moved from `navigation-experimental`
into the main `navigation` artifact.
- Removed `navigation-compose` artifact that was based on androidx.navigation.
##### Codegen
- The generated component for `@NavHostActivity` now contains the Activity's `Intent` instead of
a `Bundle`.
- Removed `experimentalNavigation` option and `@UseExperimentalNavigation`. The generated
code will now always use Khonshu's built-in navigation instead of androidx.navigation.
- Updated Anvil to v2.5.0-beta09.
[ ] If you want to rebase/retry this PR, check this box
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR contains the following updates:
0.15.0
->0.24.0
Release Notes
freeletics/khonshu (com.freeletics.mad:state-machine)
### [`v0.24.0`](https://togithub.com/freeletics/khonshu/blob/HEAD/CHANGELOG.md#0240--2024-05-15-) [Compare Source](https://togithub.com/freeletics/khonshu/compare/0.15.0...0.24.0) ##### Navigation - The `destinationChangedCallback` parameter of `NavHost` now has `(NavRoot, BaseRoute) -> Unit` signature, where `NavRoot` is the current root. If that root is the current destination both parameters are the same. - Khonshu's own navigation implementation has been moved from `navigation-experimental` into the main `navigation` artifact. - Removed `navigation-compose` artifact that was based on androidx.navigation. ##### Codegen - The generated component for `@NavHostActivity` now contains the Activity's `Intent` instead of a `Bundle`. - Removed `experimentalNavigation` option and `@UseExperimentalNavigation`. The generated code will now always use Khonshu's built-in navigation instead of androidx.navigation. - Updated Anvil to v2.5.0-beta09.🔕 Ignore: Close this PR and you won't be reminded about these updates again.