Skip to content

Releases: olshevski/compose-navigation-reimagined

1.0.0-beta03

16 Feb 14:26
a9efc59
Compare
Choose a tag to compare
1.0.0-beta03 Pre-release
Pre-release

This release contains the following changes:

  • Introduced new navigation method moveToTop that may be very convenient for BottomNavigation and tab navigation implementations
  • Fixed an issue where the same NavEntry instance that was placed twice into a backstack would become two instances after process/activity recreation. It might rarely occur in real-life scenarios, but now it provides better guarantees on the uniqueness of every entry.
  • NavComponentEntry provides id and destination properties now
  • Removed unused transitive dependency to "material" package

Breaking changes:

  • popUpTo and replaceUpTo by default search for the last destination matching the predicate now. You can customize this behaviour with match parameter. It better correlates with the behaviour of Navigation Component.
  • popAll doesn't return boolean now. The result is always considered a successful operation.

1.0.0-beta02

11 Feb 09:20
Compare
Choose a tag to compare
1.0.0-beta02 Pre-release
Pre-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>

1.0.0-beta01

03 Feb 12:38
Compare
Choose a tag to compare
1.0.0-beta01 Pre-release
Pre-release

First public release. Hurray! 🎉