Release Notes

Version 0.51.1 - 13/06/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.

Location

Removals
  • Remove the TomTomSDKLocationProvider.LocationUpdateObserver.onAuthorizationStatusChanged(isGranted: Bool) method. The location authorization status management is completely managed on the client side from now on.

Map

New features
  • Add GeoJSON stylization support for waypoints in RoutingVisualization.
New features
  • Add waypoint arrival and departure tracking in navigation visualization to provide a richer navigation experience.
Updates
  • The following are now available in General Availability:

    • TomTomSDKLocationProvider.LocationProvider.
    • TomTomSDKLocationProvider.LocationUpdateObserver.
    • TomTomSDKNavigation.NavigationActiveRouteChangeObserver.
    • TomTomSDKNavigation.NavigationState.
    • TomTomSDKNavigation.TomTomNavigation.addActiveRouteChangeObserver(_:).
    • TomTomSDKNavigation.TomTomNavigation.departFromWaypoint(waypoint:).
    • TomTomSDKNavigation.TomTomNavigation.locationProvider.
    • TomTomSDKNavigation.TomTomNavigation.navigationState.
    • TomTomSDKNavigation.TomTomNavigation.removeActiveRouteChangeObserver(_:).
    • TomTomSDKNavigation.TomTomNavigation.removeNavigationStateChangeObserver(_:).
    • TomTomSDKNavigation.TomTomNavigation.setActiveRoutePlan(_:).
    • TomTomSDKNavigation.TomTomNavigation.start().
    • TomTomSDKNavigation.TomTomNavigation.start(navigationOptions:).
    • TomTomSDKNavigation.TomTomNavigation.stop().
    • TomTomSDKNavigation.TomTomNavigation.vehicleProvider .
    • TomTomSDKNavigation.TomTomNavigation.
Fixes
  • Navigation events published per navigation engine are now grouped together.
  • Traffic incidents on an active route are now only updated when there is a change in the Navigation Visualization module.
  • When navigating with better route proposals, the better route proposal would sometimes disappear before declining it or passing the fork point. This issue is now fixed.

Routing

Breaking changes
  • Remove TomTomSDKRangeCalculator.RangeCalculationOptions.costModel property. Use TomTomSDKRangeCalculator.RangeCalculationOptions.routeType, TomTomSDKRangeCalculator.RangeCalculationOptions.considerTraffic and TomTomSDKRangeCalculator.RangeCalculationOptions.avoidOptions instead.
  • Remove TomTomSDKRangeCalculator.RangeCalculationOptions.init(origin:budgets:vehicle:costModel:departAt:routeToInclude:queryOptions:) initializer. Use TomTomSDKRangeCalculator.RangeCalculationOptions.init(origin:budgets:vehicle:departAt:routeToInclude:queryOptions:routeType:considerTraffic:avoidOptions:) initializer instead.
New features
  • Extend the online planner with the charging station UUID support.
Updates
  • Add TomTomSDKRangeCalculator.RangeCalculationOptions.avoidOptions property. Use it to specify avoidance criteria in TomTomSDKRangeCalculator.RangeCalculationOptions.
  • Add TomTomSDKRangeCalculator.RangeCalculationOptions.considerTraffic property. Use it to specify whether current traffic should be considered when planning the route in TomTomSDKRangeCalculator.RangeCalculationOptions.
  • Add TomTomSDKRangeCalculator.RangeCalculationOptions.routeType property. Use it to define overall path preference in TomTomSDKRangeCalculator.RangeCalculationOptions.
  • Create an empty SDK framework TomTomSDKRoutingCommonOnline.
  • Promote TomTomSDKRangeCalculator.RangeCalculationOptions to General Availability.
  • Provide NavSDK iOS guides for polyline reconstruction.
Updates
  • Update inline doc of EVSearchOptions.status to highlight that the status might be ignored for Offline Search due to its dynamic data nature.
Fixes
  • When the Orbis toggle was enabled evsearch could not be used. This issue is now fixed.