Skip to content

1.1.3-beta

Compare
Choose a tag to compare
@raamcosta raamcosta released this 08 Jan 18:04
· 678 commits to main since this release

Small improvements

  • DestinationsNavigator received small API changes for clear and pop back stacks. You won't be able to pass a Direction to these anymore. A Direction 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 a RouteIdentified instead which are only implemented by the Destination and NavGraph.
    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.