Skip to content

1.0.0-beta02

Pre-release
Pre-release
Compare
Choose a tag to compare
@olshevski olshevski released this 11 Feb 09:20
· 255 commits to main since this release

This release contains the following changes:

  • Compose dependencies updated to 1.1.0
  • Pause/stopped lifecycle events can be properly received in your composable now. Previously, a composable could be disposed without receiving these events.
  • NavComponentEntry class is now public. It owns Lifecycle, SavedStateRegistry and ViewModelStore. It is a direct analogue of NavBackStackEntry and may be used for instance checks (e.g. when creating view models with Hilt).
  • NavBackstack now exposes its last NavAction though action property
  • NavAction.Idle is the initial action for every new NavController instance
  • NavAction hierarchy is simplified

Breaking changes:

  • NavAction.Forward and NavAction.Backward types are gone. Check for specific action types such as NavAction.Pop, NavAction.Navigate, NavAction.Replace directly.
  • onBackstackChange listener now passes NavBackstack parameter instead of List<NavEntry>