Skip to content

0.42.0 Migration Guide

Pablo Guardiola edited this page Sep 20, 2019 · 2 revisions

SEMVER breaks:

  • In this PR:
    • We add Lifecycle Owner parameter to subscribe method in InstructionView and SummaryBottomSheet to control memory clearing when views are destroyed.
  • We removed NavigationHelper#createIntersectionsList, NavigationHelper#createDistancesToIntersections, NavigationHelper#findCurrentIntersection, NavigationHelper#findUpcomingIntersection, RouteLegProgress#currentLegAnnotation, RouteProgress#routeGeometry, RouteProgress.Builder#intersections, RouteProgress.Builder#currentIntersection, RouteProgress.Builder#upcomingIntersection, RouteProgress.Builder#intersectionDistancesAlongStep, RouteProgress.Builder#currentLegAnnotation, RouteProgress.Builder#routeGeometry, RouteStepProgress#intersections, RouteStepProgress#currentIntersection, RouteStepProgress#upcomingIntersection and RouteStepProgress#intersectionDistancesAlongStep. We don't believe these classes need to be public as they weren't used.
  • We removed ManeuverUtils. We don't believe this class needs to be public as it's used only internally.
  • We made BluetoothAudioType, HeadphonesAudioType, SpeakerAudioType, UnknownAudioType (AudioTypeResolver implementation classes) and NavigationDepartEvent package-private. We don't believe these classes need to be public as they're used only internally.