Release Notes
Version 0.45.0 - 06/04/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.
Check the API ReferenceGeneral
Fixes
- Implement proper unified logic of comparing Doubles for equality.
Map
New features
- Introduce unit system update api in NavigationVisualization.
Navigation
Breaking changes
-
A new error case is introduced
TomTomSDKNavigation.GuidanceEngineError.noTripSnapshotwhich is thrown when no trip snapshot is available. -
Demote
TomTomSDKNavigation.TomTomGuidanceEngine,TomTomSDKNavigation.TomTomDynamicGuidanceEngine, andTomTomSDKNavigation.GuidanceEngineErrorfrom general availability to public preview. API was only usable by opting in other public preview APIs. -
Make
TomTomSDKNavigation.DefaultTomTomNavigation.setActiveRoutePlan()throw. -
Make
TomTomSDKNavigation.TomTomNavigation.setActiveRoutePlan(_:)throw. -
Remove
TomTomSDKNavigationEngines.NavigationSnapshotErrorfrom the public API. -
Remove initializer in TomTomSDKNavigationEngines.HorizonElement init( id:, pathID:, startOffset:, endOffset:, hazardID:, location:, expirationTime:, type:, category:, severity:), new initializer init( id:, pathID:, startOffset:, endOffset:, hazard:) should be used instead.
-
Remove TomTomSDKHazards.Hazard.
-
Remove TomTomSDKHazards.HazardId typealias.
-
Remove TomTomSDKHazards.HazardType.
-
Rename the property
TomTomSDKNavigationEngines.NavigationSnapshot.vehicleSnapshottoTomTomSDKNavigationEngines.NavigationSnapshot.vehicleProfile. -
Replace the constructor
TomTomSDKNavigationEngines.RouteProgress.init(distanceAlongRoute:remainingRouteStopsProgress:)with throwing constructorTomTomSDKNavigationEngines.RouteProgress.init(distanceAlongRoute:remainingRouteStopsProgress:) throws.The constructor now fails if the
remainingRouteStopsProgressargument is an empty array. -
TomTomSDKNDSStoreUpdater.RegionGraphNode.nodeID property is renamed to TomTomSDKNDSStoreUpdater.RegionGraphNode.id.
Updates
TomTomSDKNavigationEngines.NavigationSnapshotis now available in General Availability.- Add
TomTomSDKNavigation.NavigationIncompatibleVehicleError. Thrown fromTomTomSDKNavigation.DefaultTomTomNavigation.setActiveRoutePlan(_:)andTomTomSDKNavigation.DefaultTomTomNavigation.start(_:). - Added public preview model TomTomSDKCommon.Hazard.
- Added public preview TomTomSDKCommon.HazardID typealias.
- Added TomTomSDKHazards.EncodedHazard.
- TomTomSDKNavigationEngines.HorizonElement promoted from Experimental to Public Preview.
Routing
Updates
TomTomSDKRoutePlanner.GuidanceOptions.initis now in General Availability.TomTomSDKRoutePlanner.RoutePlanningOptions.guidanceOptionsis now in General Availability.- Introducing enum reconstructionMode to TomTomSDKRoutePlannerOnline. Possible values are: .track; .route.
Search
Updates
TomTomSDKSearch.SearchOptions.init(query:geoBias:limit:searchAreas:locale:categoryIDs:openingHoursMode:countryCodes:brands:minPower:maxPower:fuelTypes:resultTypes:connectors:sessionID:)is available in General Availability.TomTomSDKSearch.SearchOptions.init(query:geoBias:sortOrder:limit:searchAreas:locale:categoryIDs:openingHoursMode:countryCodes:brands:minPower:maxPower:fuelTypes:resultTypes:connectors:sessionID:)is deprecated. UseTomTomSDKSearch.SearchOptions.init(query:geoBias:limit:searchAreas:locale:categoryIDs:openingHoursMode:countryCodes:brands:minPower:maxPower:fuelTypes:resultTypes:connectors:sessionID:)instead.
Traffic
Removals
- Removal of deprecated TPEG traffic API.