1.1.3-beta
Small improvements
-
DestinationsNavigator
received small API changes for clear and pop back stacks. You won't be able to pass aDirection
to these anymore. ADirection
in Compose Destinations is an interface meant only to navigate to a screen since it contains a route with all the arguments. These methods now receive aRouteIdentified
instead which are only implemented by theDestination
andNavGraph
.
With this change, it is now clear in the type system what kind of "route" you pass to each method (yet another reason to use Compose Destinations 🙌 ) -
Documentation updates
-
Compiler error messages for invalid destinations setup improved
-
Fixed a rare issue that could happen when passing a Parcelable argument with a custom @NavTypeSerializer for it.