Release Notes
Version 1.12.1 - 07/10/2024
Discover the improvements and new features included in the following version. Share your thoughts on this release by using the feedback button located at the bottom of the page.
For more in-depth documentation, check the API ReferenceNavigation
Fixes
- Extended location constructor always receives the valid speed or null.
Version 1.12.0 - 05/09/2024
Discover the improvements and new features included in the following version. Share your thoughts on this release by using the feedback button located at the bottom of the page.
For more in-depth documentation, check the API ReferenceGeneral
Updates
- Add human-readable
toString()tocom.tomtom.sdk.vehicle.ConnectorTypeandcom.tomtom.sdk.vehicle.CurrentType. - Convert
com.tomtom.sdk.vehicle.ConnectorDetailsfrom data class to class. - Introduce
com.tomtom.sdk.datamanagement.nds.update.NdsStoreUpdaterAPI for maximum disk space usage.
Fixes
- Previously, regions were sometimes scheduled to be updated when they were already up-to-date. Now, the system does not schedule previously installed update regions.
- Previously, the same region could be scheduled to be updated twice. Now, the system prevents scheduling the same region for an update twice.
Deprecations
- Deprecate
component1()ofcom.tomtom.sdk.vehicle.ConnectorDetailsclass. UseconnectorTypeinstead. - Deprecate
component2()ofcom.tomtom.sdk.vehicle.ConnectorDetailsclass. UseratedPowerinstead. - Deprecate
component3()ofcom.tomtom.sdk.vehicle.ConnectorDetailsclass. Usecurrentinstead. - Deprecate
component4()ofcom.tomtom.sdk.vehicle.ConnectorDetailsclass. UsecurrentTypeinstead. - Deprecate
component5()ofcom.tomtom.sdk.vehicle.ConnectorDetailsclass. Usevoltageinstead. - Deprecate
copy()ofcom.tomtom.sdk.vehicle.ConnectorDetailsclass. Useconstructorto create the copy.
Map
Breaking changes
- Remove
com.tomtom.sdk.map.display.visualization.navigation.NavigationEventDispatcher.dispatchOnRouteSnapshotUpdated(RouteSnapshot)from the Public API.
New features
- Use different style for outside of reachable range.
Updates
-
The following are now available in Public Preview:
com.tomtom.sdk.map.display.route.Route.areInstructionsVisible.com.tomtom.sdk.map.display.route.RouteOptions.areInstructionsVisible.
Fixes
- Fix bug with showing pointer instead of chevron for location marker.
- Fix route instruction being shifted backwards.
- Previously, speed limits were not displayed in safety locations risk zones. Now the speed limits are correctly shown in risk zones.
- Previously, the system showed a pointer instead of a chevron for a location marker. Now, this issue no longer occurs.
- Previously, the traffic icon appeared without a tube. Now, this issue does not occur.
- Previously, there were unexpected camera behaviors during navigation. Now these unexpected behaviors no longer occur.
- Previously, when
areMarkersVisible = falseit caused an issue where the traffic lines were also invisible. Now the traffic lines remain as they should.
Navigation
Breaking changes
com.tomtom.sdk.datamanagement.locationdecoder.DecodedLocation(MapReferences,DecodingCoverage)constructor is no longer part of the Public API.- Failure
RouteReplanningFailurereplaced byRouteReplanningEngineFailurefor the APIcom.tomtom.sdk.navigation.replanning.RouteReplanningEngine.replan(NavigationSnapshot): Result<List<ReplannedRoute>, RouteReplanningFailure>. - Move
com.tomtom.sdk.navigation.RoutePlanningOptionsExtensionsfromcom.tomtom.sdk.navigation:navigation-enginestocom.tomtom.sdk.navigation:navigation-snapshot. Ifcom.tomtom.sdk.navigation:navigation-enginesis used in isolation for the purposes of accessingRoutePlanningOptionsExtensions, addcom.tomtom.sdk.navigation:navigation-snapshotto the list of dependencies. - The parameters
com.tomtom.sdk.navigation.replanning.RouteReplanningEngineOptions.minTrafficDelayandcom.tomtom.sdk.navigation.replanning.RouteReplanningEngineOptions.minTimeDifferencehave been removed from thecom.tomtom.sdk.navigation.replanning.RouteReplanningEngineOptionsand are now managed internally bycom.tomtom.sdk.navigation.replanning.RouteReplanningEngine. Previously, these parameters were used to adjust filtering out unsuitable routes. To achieve similar behavior, you can now leverage the route comparison functionality to manually evaluate and accept suitable routes.
Updates
-
Behavior change: Do not throw exception when listener is removed from
com.tomtom.sdk.navigation.TomTomNavigationandcom.tomtom.sdk.navigation.TomTomNavigationis in closed state. -
Behavior change: The
com.tomtom.sdk.navigation.NavigationEngineRegistry.updateEngines()method now operates asynchronously. Engines will no longer be applied immediately upon invocation. Instead, the update process will occur in the background. -
In the hybrid online first doesn’t switch to offline when there is no offline map.
-
The following are now available in General Availability:
com.tomtom.sdk.datamanagement.navigationtile.CachingConfiguration.storageConfiguration.com.tomtom.sdk.datamanagement.navigationtile.CachingConfiguration(CacheStorageConfiguration=,Memory=).
-
The following are now available in Public Preview:
com.tomtom.sdk.datamanagement.locationdecoder.DecodedLocation.segmentMatchStatuses.com.tomtom.sdk.datamanagement.locationdecoder.SegmentMatchStatus.com.tomtom.sdk.datamanagement.navigationtile.CachingConfiguration.storageConfiguration:CacheStorageConfiguration.com.tomtom.sdk.datamanagement.navigationtile.CachingConfiguration().com.tomtom.sdk.datamanagement.navigationtile.CachingConfiguration(CacheStorageConfiguration=,Memory=).com.tomtom.sdk.navigation.horizon.elements.lowemissionzone.LowEmissionZoneElement.com.tomtom.sdk.navigation.horizon.elements.lowemissionzone.LowEmissionZoneElementType.com.tomtom.sdk.navigation.horizon.elements.railwaycrossing.RailwayCrossingElement.com.tomtom.sdk.navigation.horizon.elements.railwaycrossing.RailwayCrossingElementType.com.tomtom.sdk.navigation.horizon.elements.trafficlight.TrafficLightElement.com.tomtom.sdk.navigation.horizon.elements.trafficlight.TrafficLightElementType.
-
Update navigation modularization guide on developer portal.
Fixes
- Always use English date format in online http request for route planning.
- Decrease subscribe/unsubscribe timeout waiting to prevent ANR issue.
- Only generate stick cutoff distance once in hybrid
com.tomtom.sdk.navigation.routereplanner.hybrid.application.RouteReplannerService.fullReplan(navigationSnapshot:NavigationSnapshot): Result<RouteReplannerResponse, RouteReplanningFailure>. - Previously, remaining supporting point calculation could invoke route update failing. Now, this issue does not occur.
Deprecations
com.tomtom.sdk.datamanagement.navigationtile.CachingConfiguration.cacheStorageConfigurationis deprecated, usecom.tomtom.sdk.datamanagement.navigationtile.CachingConfiguration.storageConfigurationinstead.com.tomtom.sdk.datamanagement.navigationtile.CachingConfiguration.copy(Memory=,CacheStorageConfiguration?=)is deprecated.com.tomtom.sdk.datamanagement.navigationtile.CachingConfiguration(Memory=,CacheStorageConfiguration?=)is deprecated, usecom.tomtom.sdk.datamanagement.navigationtile.CachingConfiguration(CacheStorageConfiguration=,Memory=)instead.
Routing
Breaking changes
-
Change
RoutePlanner.backToRoutemethod’s return type to returnBackToRouteResponse. Affected methods:com.tomtom.sdk.routing.RoutePlanner.backToRoute(BackToRouteOptions)com.tomtom.sdk.routing.online.HybridRoutePlanner.backToRoute(BackToRouteOptions)com.tomtom.sdk.routing.offline.HybridRoutePlanner.backToRoute(BackToRouteOptions)com.tomtom.sdk.routing.hybrid.HybridRoutePlanner.backToRoute(BackToRouteOptions)
-
Orbis: Generate an error if unsupported LDEV parameters
routeTypeandtrafficare passed ascom.tomtom.sdk.routing.options.RoutePlanningOptions; do not include unsupported parameters into URL requests to the Routing Online API.
New features
- Add Consumption along Route feature to obtain the remaining budget
com.tomtom.sdk.routing.route.Route.remainingBudgetAt), spent energycom.tomtom.sdk.routing.route.Route.consumptionInLegUpTo), and travel timecom.tomtom.sdk.routing.route.Route.travelTimeUpTo) for any arbitrary point along a route. - Extend API for home charging as a destination.
Fixes
- Enable back-to-route in the
com.tomtom.sdk.routing.offline.OfflineRoutePlanner. - Prevent application crash when serializing
Routeto protobuf duringbackToRoutecall.
Search
New features
-
Promote
com.tomtom.sdk.search.Search.evSearch(options: EvSearchOptions): Result<EvSearchResponse, SearchFailure>along route to Public Preview.- The constructor of
com.tomtom.sdk.search.ev.EvSearchOptionsthat acceptsrouteandmaxDetourDurationis not in Public Preview. Also, the fielddetourincom.tomtom.sdk.search.ev.EvSearchResultis now in Public Preview.
- The constructor of