Release Notes
Version 0.47.6 - 17/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.
Routing
Fixes
- Take routeType into account when performing updates of multi-modal routes.
Version 0.47.5 - 19/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.
General
Fixes
- Fix exception during map update cancellation.
Version 0.47.4 - 10/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.
Routing
Fixes
- Previously, in the offline mode, when driving in the opposite direction, the route was not replanned correctly: instead of providing u-turns, it just extended the route. Now, the navigation correctly proposes a u-turn or a route to get back on track as quickly as possible.
Version 0.47.3 - 06/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.
Navigation
Fixes
- Fix the crash that appears during lane guidance calculations.
Search
Fixes
- Fixes incorrect
Foundation.DateInterval
instantiation for theTomTomSDKCommon.OpeningHours
.
Version 0.47.0 - 08/05/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.
Map
Breaking changes
- Change
TomTomSDKNavigationVisualization.StyleConfiguration.init(route: RouteStyle? = nil, routeTrafficIncident: RouteTrafficIncidentStyle? = nil, safetyLocationStyle: SafetyLocationStyle? = nil, betterRouteStyle: BetterRouteStyle? = nil, destinationConnectionLine? = nil)
toTomTomSDKNavigationVisualization.StyleConfiguration.init(route: RouteStyle? = nil, routeTrafficIncident: RouteTrafficIncidentStyle? = nil, safetyLocationStyle: SafetyLocationStyle? = nil, betterRouteStyle: BetterRouteStyle? = nil)
. - Change
TomTomSDKRoutingVisualization.StyleConfiguration.init(route: RouteStyle? = nil, routeTrafficIncident: RouteTrafficIncidentStyle? = nil, destinationConnectionLine? = nil)
toTomTomSDKRoutingVisualization.StyleConfiguration.init(route: RouteStyle? = nil, routeTrafficIncident: RouteTrafficIncidentStyle? = nil)
. - Move
TomTomSDKNavigationVisualization.DestinationConnectionLineStyle
toTomTomSDKRoutingVisualization.RouteStyle.DestinationConnectionLineStyle
. - Remove
TomTomSDKNavigationVisualization.StyleConfiguration.destinationConnectionLine
from the public API. UseTomTomSDKRoutingVisualization.RouteStyle.destinationConnectionLine
instead. - Remove
TomTomSDKRoutingVisualization.StyleConfiguration.destinationConnectionLine
. UseTomTomSDKRoutingVisualization.RouteStyle.destinationConnectionLine
instead.
New features
- Add ability to hide markers shown with the features in the NavigationVisualizationAddon and RoutingVisualizationAddon.
- Introduce on-route EV charging stop visualization in Routing Visualization. The
TomTomSDKRoutingVisualization.RouteStyle.EVWaypointMarker
can be used for a stylization capability for the EV waypoint markers.
Navigation
Breaking changes
-
Add
wrongWayDriver
toTomTomSDKCommon.Hazard.HazardType
enum. -
Change the order of the arguments in the constructor
TomTomSDKNavigation.OnlineTomTomNavigationFactory.Configuration.init(...)
.Updated constructor is
TomTomSDKNavigation.OnlineTomTomNavigationFactory.Configuration.init(...)
. -
Remote
TomTomSDKNavigation.RouteRemovedReason.init(rawValue:)
from the public API. -
Remove
TomTomSDKNavigation.RouteAddedReason.init(rawValue:)
from the public API. -
Remove
TomTomSDKNavigation.RouteUpdatedReason.init(rawValue:)
from the public API. -
Remove the
TomTomSDKVehicle.VehicleProviderFactory.create(vehicle: observationHandler:)
method. AddTomTomSDKVehicle.VehicleProviderFactory.create(vehicle:)
instead. -
Remove the argument
apiKey
in the constructorTomTomSDKNavigation.OnlineTomTomNavigationFactory.Configuration.init(...)
.Updated constructor is
TomTomSDKNavigation.OnlineTomTomNavigationFactory.Configuration.init(...)
. -
Remove the argument
routeDeviationReplanningRetryPolicy
in the constructorTomTomSDKNavigation.DefaultTomTomNavigation.init(...)
.Updated constructor is
TomTomSDKNavigation.DefaultTomTomNavigation.init(...)
-
Remove the argument
routeDeviationReplanningRetryPolicy
in the constructorTomTomSDKNavigation.OfflineTomTomNavigationFactory.Configuration.init(...)
.Updated constructor is
TomTomSDKNavigation.OfflineTomTomNavigationFactory.Configuration.init(...)
. -
Remove the argument
routeDeviationReplanningRetryPolicy
in the constructorTomTomSDKNavigation.OffRoadTomTomNavigationFactory.Configuration.init(...)
.Updated constructor is
TomTomSDKNavigation.OffRoadTomTomNavigationFactory.Configuration.init(...)
. -
Remove the argument
routeDeviationReplanningRetryPolicy
in the constructorTomTomSDKNavigation.OnlineTomTomNavigationFactory.Configuration.init(...)
.Updated constructor is
TomTomSDKNavigation.OnlineTomTomNavigationFactory.Configuration.init(...)
.
Updates
-
DefaultVehicleProvider
is now thread safe. -
Properly parse hazard element with a null OpenLR.
-
Send
didRemoveRoute
event when BRP removed but original route is unchanged. -
The constructor
TomTomSDKNavigation.OnlineTomTomNavigationFactory.Configuration.init(...)
is available in Public Preview. -
The following APIs are now available in General Availability:
TomTomSDKNavigation.LocationMapMatchingObserver
.TomTomSDKNavigation.TomTomNavigation.addLocationMapMatchingObserver(_:)
.TomTomSDKNavigation.TomTomNavigation.removeLocationMapMatchingObserver(_:)
.TomTomSDKCommon.SafetyLocation
conformance toEquatable
protocol.TomTomSDKCommon.SafetyLocation
conformance toHashable
protocol.TomTomSDKCommon.SafetyLocation
.TomTomSDKCommon.SafetyLocation.SafetyLocationType
.TomTomSDKCommon.SafetyLocation.SafetyLocationType.averageSpeedZone
.TomTomSDKCommon.SafetyLocation.SafetyLocationType.dangerZone
.TomTomSDKCommon.SafetyLocation.SafetyLocationType.fixedSpeedCamera
.TomTomSDKCommon.SafetyLocation.SafetyLocationType.likelyMobileZone
.TomTomSDKCommon.SafetyLocation.SafetyLocationType.mobileSpeedCamera
.TomTomSDKCommon.SafetyLocation.SafetyLocationType.redLightCamera
.TomTomSDKCommon.SafetyLocation.SafetyLocationType.redLightSpeedCamera
.TomTomSDKCommon.SafetyLocation.SafetyLocationType.restrictionCamera
.TomTomSDKCommon.SafetyLocation.SafetyLocationType.riskZone
.TomTomSDKCommon.SafetyLocation.SafetyLocationType.speedEnforcementZone
.TomTomSDKCommon.SafetyLocationID
.TomTomSDKNavigationEngines.HorizonElementType.safetyLocationType
.TomTomSDKNavigationEngines.SafetyLocationElement
.TomTomSDKSafetyCameras.SafetyLocationsConfiguration
.
-
The following APIs are now available in General Availability:
TomTomNavigation.addRouteAddObserver(_:)
.TomTomNavigation.NavigationRouteAddObserver
.TomTomNavigation.removeRouteAddObserver(_:)
.TomTomNavigation.RouteAddedReason
.TomTomSDKNavigation.addProgressObserver(_:)
.TomTomSDKNavigation.addRouteRemoveObserver(_:)
.TomTomSDKNavigation.addRouteUpdateObserver(_:)
.TomTomSDKNavigation.NavigationProgressObserver
.TomTomSDKNavigation.NavigationRouteRemoveObserver
.TomTomSDKNavigation.NavigationRouteUpdateObserver
.TomTomSDKNavigation.removeProgressObserver(_:)
.TomTomSDKNavigation.removeRouteRemoveObserver(_:)
.TomTomSDKNavigation.removeRouteUpdateObserver(_:)
.TomTomSDKNavigation.RouteRemovedReason
.TomTomSDKNavigation.RouteUpdatedReason
.TomTomSDKVehicle.VehicleProvider
.TomTomSDKVehicle.VehicleProviderFactory
.TomTomSDKVehicle.VehicleUpdateObserver
.
Fixes
- Fix CCP jumping and rotating while the user is stationary and no active guidance is present.
- The first deviation on the first kilometer of an imported route causes a cut-off distance of 2 km instead of 1 km.
Routing
Breaking changes
-
Move
TomTomSDKRoutePlannerOffline.OfflineRangeCalculatorFactory
toTomTomSDKRangeCalculatorOffline.OfflineRangeCalculatorFactory
.Replace usages of the
TomTomSDKRoutePlannerOffline.OfflineRangeCalculatorFactory
class with theTomTomSDKRangeCalculatorOffline.OfflineRangeCalculatorFactory
class.
Updates
- Extend "Constructing a route from a GPX file" documentation with the disclaimer regarding off-road case.
- Promote multimodal APIs to Public Preview.
- Reject bicycle and pedestrian for reachable range.
Search
Breaking changes
- Implement proper sync and async calls for the PersonalData API. The sync API has no callbacks and returns a value directly or throws an error. The async API has a Callback as last argument and returns a Cancellable for loading the user profile.
New features
- Add a few new APIs to allow optional standardID in
TomTomSDKCommon.POICategoryID
. - Add EVSearch API and online implementation to
TomTomSDKSearch
andTomTomSDKSearchOnline
. This new API empowers users to search EV charging stations with specific filters.
Updates
- Added 'Next Steps' section into SearchUI documentation.
- Create
EVSearch
dev portal documentation.