Releases: olshevski/compose-navigation-reimagined
Releases · olshevski/compose-navigation-reimagined
1.0.0-beta03
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
providesid
anddestination
properties now- Removed unused transitive dependency to "material" package
Breaking changes:
popUpTo
andreplaceUpTo
by default search for the last destination matching the predicate now. You can customize this behaviour withmatch
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
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
andNavAction.Backward
types are gone. Check for specific action types such asNavAction.Pop
,NavAction.Navigate
,NavAction.Replace
directly.onBackstackChange
listener now passesNavBackstack
parameter instead ofList<NavEntry>
1.0.0-beta01
First public release. Hurray! 🎉