Release Notes

Version 0.34.0 - 24/10/2023

General

Breaking changes

  • From now on, use com.tomtom.sdk.featuretoggle.TomTomOrbisMapFeature instead of com.tomtom.sdk.featuretoggle.TomTomMapsPlatformFeature, allowing you to toggle the TomTom Orbis Maps within your application. For additional details, please refer to this link.
  • The com.tomtom.sdk.datamanagement.nds.update.CompletedMapOperation is no longer a data class.
  • The com.tomtom.sdk.datamanagement.nds.update.compositeregion.CompositeRegionChangedListener has been renamed to com.tomtom.sdk.datamanagement.nds.update.compositeregion.CompositeRegionListener.
  • The com.tomtom.sdk.datamanagement.nds.update.RegionGraphNodeState is no longer a data class.
  • The com.tomtom.sdk.datamanagement.nds.update.RegionsAroundPosition is no longer a data class.

New Features

  • NavigationTileStore: added persistent cache for downloaded NDS.Live tiles.

Fixes

  • Resolved a MissingResourceException when trying to use online safety locations with the Horizon Engine.

Updates

  • Promoted objects under com.tomtom.sdk.datamanagement.locationdecoder package to Public Preview.
  • Use Java's AutoCloseable explicitly.

Map

Fixes

  • Fixed maneuver arrows.

Updates

  • Stop map rendering in onStop rather then in onPause.
  • Updated the POIVisualization modules to follow the naming convention for Poi.

Breaking changes

  • NavigationOptions is no longer a data class.
  • RoutePlan is no longer a data class.
  • RouteTrackingEngine now returns one RouteTrackingState instead of the list.
  • RouteTrackingState now contains a list of followed and unfollowed routes.
  • RouteTrackingState now contains the hasDeviated property, which indicates whether the user has deviated from all of the routes.
  • All Hazard related classes are marked as Experimental.
  • Changed the type of LocationContext.speed from com.tomtom.quantity.Speed? to com.tomtom.quantity.Speed.
  • Removed com.tomtom.sdk.navigation.horizon.dataadapter.OpenLocationReference class from public API.
  • Removed unneeded toString(), equals() and hashCode() from HorionElementType classes.
  • Rename com.tomtom.sdk.navigation.DestinationReachedListener.onDestinationReached(Route)to`com.tomtom.sdk.navigation.DestinationArrivalListener.onDestinationArrived(Route)`.
  • Renamed com.tomtom.sdk.navigation.DestinationReachedListener to com.tomtom.sdk.navigation.DestinationArrivalListener.
  • Renamed com.tomtom.sdk.navigation.horizon.HorizonSnapshotState.extensionCounter to com.tomtom.sdk.navigation.horizon.HorizonSnapshotState.updateCounter.
  • Renamed com.tomtom.sdk.navigation.TomTomNavigation.addDestinationReachedListener(DestinationReachedListener)to`com.tomtom.sdk.navigation.TomTomNavigation.addDestinationArrivalListener(DestinationArrivalListener)`.
  • Renamed com.tomtom.sdk.navigation.TomTomNavigation.removeDestinationReachedListener(DestinationReachedListener)to`com.tomtom.sdk.navigation.TomTomNavigation.removeDestinationArrivalListener(DestinationArrivalListener)`.
  • Renamed horizon element City to CityElement.
  • Renamed horizon element CountryInformation to CountryInformationElement.
  • Renamed horizon element DangerousGoodsRestriction to DangerousGoodsRestrictionElement.
  • Renamed horizon element GeneralRoadProperties to GeneralRoadPropertiesElement.
  • Renamed horizon element Hazard to HazardElement.
  • Renamed horizon element PathGeometry to PathGeometryElement.
  • Renamed horizon element Region to RegionElement.
  • Renamed horizon element SafetyLocation to SafetyLocationElement.
  • Renamed horizon element SpeedLimit to SpeedLimitElement.
  • Renamed horizon element Street to StreetElement.
  • Renamed horizon element TrafficSign to TrafficSignElement.
  • Renamed horizon element VehicleRestriction to VehicleRestrictionElement.
  • Replaced com.tomtom.sdk.navigation.WaypointArrivalListener.onWaypointReached(RouteStop)with`com.tomtom.sdk.navigation.WaypointArrivalListener.onWaypointArrived(RouteStop, Route)`.
  • Replaced com.tomtom.sdk.navigation.WaypointArrivalListener.onWaypointVisited(RouteStop)to`com.tomtom.sdk.navigation.WaypointArrivalListener.onWaypointDeparted(RouteStop, Route)`.

New Features

  • Added support for Bulgarian, Catalan, Slovak in spoken messages.

Fixes

  • Fixed crash in traffic module due to missing method.

Updates

  • Added back to road appearing check to repeat instructionPhases correctly.
  • Guidance triggering config updated.
  • Improved SynchronizedNavigationEngineRegistry.
  • Improved inline documentation for NavigationOptions and RoutePlan.
  • Merged map matching binding module with map matching common engine module.

Routing

Breaking changes

  • Marked com.tomtom.sdk.routing.online.common.model.description.VehicleEngineJsonModel as internal.
  • Marked com.tomtom.sdk.routing.online.common.model.description.VehicleLoadJsonModel as internal.
  • Removed class com.tomtom.sdk.routing.online.model.diagnostic.EffectiveSetting.
  • Removed class com.tomtom.sdk.routing.online.model.diagnostic.Report.
  • Removed class com.tomtom.sdk.routing.options.description.ReportType.

Deprecations

  • Deprecated copy() and componentN() functions of RouteLeg class.

Fixes

  • EV Routing supports only Car, Bus, Van, and Motorcycle vehicle types.

Updates

  • com.tomtom.sdk.routing.coroutines.flow.RoutingException is now available in General Availability.
  • com.tomtom.sdk.routing.options.guidance.RouteIncrementOptions is now available in General Availability.
  • com.tomtom.sdk.routing.route.ComputedAs is now available in General Availability.
  • com.tomtom.sdk.routing.route.PlanningReason is now available in General Availability.
  • com.tomtom.sdk.routing.route.RouteStop.SourceType is now available in General Availability.
  • com.tomtom.sdk.routing.route.RouteStop is now available in General Availability.
  • com.tomtom.sdk.routing.RoutePlanningResponse is now available in General Availability.
  • com.tomtom.sdk.routing.RoutingFailure.IncrementRouteContentsFailure is now available in General Availability.
  • com.tomtom.sdk.routing.RoutingFailure.InstructionGenerationFailure is now available in General Availability.
  • com.tomtom.sdk.routing.RoutingFailure.MapInaccessibleFailure is now available in General Availability.
  • `com.tomtom.sdk.routing.RoutingFailure.MergeLaneSectionsFailure`is now available in General Availability.
  • com.tomtom.sdk.routing.RoutingFailure.RouteInstructionsFailure is now available in General Availability.
  • com.tomtom.sdk.routing.RoutingFailure.RouteReconstructionFailure is now available in General Availability.
  • `com.tomtom.sdk.routing.RoutingFailure.RouteReplanningFailure`is now available in General Availability.
  • InstructionType is now available in General Availability.
  • RoutePlanner.planRouteAsFlow() is now available in General Availability.
  • Clarified the documentation of the apiUri parameter.
  • Converted RouteLeg data class to class.
  • Removed`RouteIncrementOptions` from Public Preview.

New Features

  • Support added for area personal locations in offline search.

Fixes

  • Made additional data work with Orbis backend.
  • Support added for coordinate search results in offline search response.

Updates

  • Documented geopolitical view for offline and hybrid search.