Release Notes

Version 0.44.2 - 02/05/2024

Fixes

  • Reduced storage and data consumption.

Version 0.44.1 - 22/03/2024

Discover the improvements and new features included in the following release notes version. Share your thoughts on this release by using the feedback button located at the bottom of the page.

General

Breaking changes

  • Changed signature from RoutingVisualization.selectRoute(route: TomTomSDK.Route) to RoutingVisualization.selectRoute(routeId: UUID).
  • Changed signature from RoutingVisualization.trafficVisualization: TrafficVisualization to RoutingVisualization.traffic: TrafficVisualization.

New features

  • Introduced the Logging SPM package.
  • Map update prefetch uninstallation update packages.
  • Promoted RouteTapObserver to Public Preview.
  • Promoted RoutingVisualization.addRouteTapObserver(_ observer: RouteTapObserver) to Public Preview.
  • Promoted RoutingVisualization.plannedRoutes to Public Preview.
  • Promoted RoutingVisualization.removeRouteTapObserver(_ observer: RouteTapObserver) to Public Preview.
  • Promoted RoutingVisualization.selectedRoute to Public Preview.
  • Promoted RoutingVisualization.selectRoute(routeId: UUID) to Public Preview.
  • Promoted RoutingVisualization.traffic to Public Preview.
  • Promoted RoutingVisualization.zoomToRoutesEnabled to Public Preview.
  • Promoted TrafficIncidentTapObserver to Public Preview.
  • Promoted TrafficVisualization to Public Preview.

Fixes

  • Fixed indexing error in the manifest parser spec.
  • Fixed inserting multiple temporary observers to the ObservableHandler.
  • Fixed text size and offset for 3-digit speed limits for safety cameras.

Map

Breaking changes

  • Removed initializer TomTomSDKMapDisplay.MapOptions.init(mapStyle:apiKey:cameraUpdate:onlineCachePolicy:cachePolicy:styleMode:dataProviders:). Use TomTomSDKMapDisplay.MapOptions.init(mapStyle:apiKey:cameraUpdate:cacheConfiguration:styleMode:dataProviders:) instead.
  • Removed initializer TomTomSDKMapDisplay.OnlineTileDataProviderFactory.create(cachePolicy:). Use TomTomSDKMapDisplay.OnlineTileDataProviderFactory.create(cacheConfiguration:) initializer instead.
  • Removed initializer TomTomSDKMapDisplayDataProviderHybrid.HybridTileDataProviderFactory.create(store:cachePolicy:). Use TomTomSDKMapDisplayDataProviderHybrid.HybridTileDataProviderFactory.create(store:cacheConfiguration:) initializer instead.

New features

  • Added a new create function in TrafficDataProviderFactory with minimum zoom level parameter.

Updates

  • TomTomSDKMapDisplay.MapCopyrightService now is available in a Public Preview.
  • CacheConfiguration field in MapOptions is now available in Public Preview.
  • Introduced initializer TomTomSDKMapDisplay.MapOptions.init(mapStyle:apiKey:cameraUpdate: cacheConfiguration:styleMode).
  • TomTomSDKMapDisplay.CacheConfiguration is now available in Public Preview.

Breaking changes

  • Made TomTomSDKNavigation.DefaultTomTomNavigation.start() throw.
  • Made TomTomSDKNavigation.DefaultTomTomNavigation.start(navigationOptions:) throw.
  • Made TomTomSDKNavigation.TomTomNavigation.start() throw.
  • Made TomTomSDKNavigation.TomTomNavigation.start(navigationOptions:) throw.
  • Removed TomTomSDKNavigation.addNavigationObserver(_:).
  • Removed TomTomSDKNavigation.DefaultTomTomNavigation.addNavigationObserver(_:).
  • Removed TomTomSDKNavigation.DefaultTomTomNavigation.removeNavigationObserver(_:).
  • Removed TomTomSDKNavigation.NavigationObserver.
  • Removed TomTomSDKNavigation.removeNavigationObserver(_:).

New features

  • TomTomSDKNDSStoreUpdater.Cancellable is now an alias for TomTomSDKCommon.Cancellable. The API is the same.
  • Added TomTomSDKNDSStoreUpdater.CompositeRegionsUpdater.calculateUninstallSize.
  • Added TomTomSDKNDSStoreUpdater.MapUpdateError.invalidArgument.
  • Added TomTomSDKNDSStoreUpdater.NDSStoreUpdater.calculateUninstallSize.
  • Added a horizon reset notification to the Horizon API.
  • Added initializer TomTomSDKNavigationEngines.HorizonSnapshotState.init(updateCounter:resetCounter:) as Public Preview.
  • Allowed configuration of minimal corridor length to prefetch for NDS.Live navigation data along a route.

Fixes

  • Fixed throwing an error when MapMatchingEngine.matchLocation(navigationSnapshot:) should return a MapMatchingResult that has MatchedLocation with 0 probability.
  • Fixed cached SafetyLocation.endLocation value.

Updates

  • TomTomSDKNavigationEngines.RouteSnapshot is now available in General Availability.

  • TomTomSDKNavigationEngines.TripSnapshot is now available in General Availability.

  • Added TomTomSDKNavigation.NavigationAlreadyStartedError.

  • Improved documentation for.

    • TomTomSDKNavigation.DefaultTomTomNavigation
    • TomTomSDKNavigation.GuidanceUpdateObserver
    • TomTomSDKNavigation.JunctionViewUpdateObserver
    • TomTomSDKNavigation.LaneGuidanceUpdateObserver
    • TomTomSDKNavigation.LocationMapMatchingObserver
    • TomTomSDKNavigation.NavigationActiveRouteChangeObserver
    • TomTomSDKNavigation.NavigationDestinationArrivalObserver
    • TomTomSDKNavigation.NavigationErrorObserver
    • TomTomSDKNavigation.NavigationGuidanceObserver
    • TomTomSDKNavigation.NavigationHorizonObserver
    • TomTomSDKNavigation.NavigationLanguageChangeObserver
    • TomTomSDKNavigation.NavigationLocationContextObserver
    • TomTomSDKNavigation.NavigationProgressObserver
    • TomTomSDKNavigation.NavigationLocationContextObserver
    • TomTomSDKNavigation.NavigationRouteAddObserver
    • TomTomSDKNavigation.NavigationRouteRemoveObserver
    • TomTomSDKNavigation.NavigationRouteTrackingStateUpdateObserver
    • TomTomSDKNavigation.NavigationStateChangeObserver

Routing

Breaking changes

  • Expanded init of TomTomSDKRoutePlanner.RoutePlanningOptions with optional argument reconstructionMode that can be used for populating optional field reconstructionMode.

Fixes

  • Fixed Routing API calls that failed due to the use of scientific notation.

Updates

  • TomTomSDKRoutePlanner.RoutePlanningOptions.mode is now in General Availability.
  • Added an optional field reconstructionMode in TomTomSDKRoutePlanner.RoutePlanningOptions that defines the reconstruction mode used for polyline reconstruction.
  • Added TomTomSDKRoutePlanner.RouteReconstructionMode with two modes RouteReconstructionMode.track and RouteReconstructionMode.route.
  • Documented vehicleModelId behavior.

Updates

  • TomTomSDKSearch.SearchOptions.init is available in Public Preview.