1.1.0
This release contains the following changes:
- Compose is updated to 1.1.1
- Fixed the issue when the lifecycle state is improperly set for an unchanged last entry
- NavBackstack is now an Immutable class. Every time any navigation action is called the whole NavBackstack instance is changed. Now the API should look a bit more reasonable now.
setNewBackstackEntries
is renamed tosetNewBackstack
. The old method is deprecated, but still works.- The sample app is reworked to be more structured and show different features independently. It is also fully covered with functional tests now.
Breaking changes:
- Please make sure you are not saving instance of NavBackstack. The
backstack
property of NavController is backed up by MutableState and will notify compose of new instances of NavBackstack.