Release Notes
Version 0.34.2 - 28/11/2023
Check the API ReferenceGeneral
Breaking changes
- Add api state to feature toggle.
EnumElement
RuntimeFeatureType.fooFeaturehas been removed EnumElementRuntimeFeatureType.smoothStyleTransitionhas been removed EnumElementRuntimeFeatureType.newGestureInteractoris now with @_spi EnumElementRuntimeFeatureType.quickScaleGestureIsCenteredis now with @_spi EnumElementRuntimeFeatureType.resolveLaneGroupByRoutingLinkOnlyis now with @_spi EnumElementRuntimeFeatureType.tomtomOrbisMapFeatureis now with @_spi EnumElementRuntimeFeatureType.useLegacyPathMapMatcheris now with @_spi EnumElementRuntimeFeatureType.useNDSLiveis now with @_spi EnumElementRuntimeFeatureType.useOnlineFirstHybridTileDataProvideris now with @_spi EnumElementRuntimeFeatureType.useVoicePromptModeForTTSis now with @_spi - Change experimental API annotation for
GeoJSONLineOptions.==(::)method to @_spi(Experimental). - Extend
TomTomSDK.VehicleUpdateObserver.onVehicleUpdate(_ : Vehicle)with an extraupdatedPropertyIDsparameter and rename it toTomTomSDK.VehicleUpdateObserver.didUpdateVehicle(_ : Vehicle, updatedPropertyIDs: [PropertyID])). - Rename
TomTomSDKVehicle.DefaultVehicleProvider.updateVehicleStatetoTomTomSDKVehicle.DefautVehicleProvider.updateVehicle.
Removals
- Remove adding specific vehicle property listeners of
TomTomSDKVehicle.VehicleProvider.
Updates
- Move
updateVehicleandsetVehiclefromTomTomSDKVehicle.DefaultVehicleProvidertoTomTomSDKVehicle.VehicleProviderprotocol. - Promote
TomTomSDKCommon.Cancellableto general availability. - Removed @_spi(Experimental) from
tomtomOrbisMapFeature. Removed @_spi(Experimental) fromimport TomTomSDKFeatureTogglewherevertomtomOrbisMapFeatureonly is used among other @_spi(Experimental) cases . - Update
TomTomSDKCommon.VehicleLoadTypeandTomTomSDKCommon.ADRTunnelRestrictionCodedocumentation.
Location
Updates
- Added
allowsBackgroundLocationUpdatesproperty toDefaultCLLocationProviderclass.
Map
Breaking changes
- Constructor
RouteStyle.init(activeLineColor:activeLineWidths:activeOutlineWidths:alternativeLineColor:alternativeLineWidths:alternativeOutlineWidths:alternativeLineColorOverrule:departureMarkerImage:destinationMarkerImage:waypointsMarkerImage:areWaypointsVisible:)has been changed toRouteStyle.init(activeLineColor:activeLineWidths:activeOutlineWidths:alternativeLineColor:alternativeLineWidths:alternativeOutlineWidths:alternativeLineColorOverrule:departureMarkerImage:destinationMarkerImage:waypointsMarkerImage:areWaypointsVisible:reachableDistanceMarkerImage:)Add end of range route marker to indicate the reachable distance on the route.
New Features
- Introduce on-route traffic developer portal documentation.
Fixes
- Fix API doc.
Navigation
Breaking changes
- Enable prefetching tiles along active route for NDS.Live tile store.
- Remove
TomTomSDKLocationContextProviderEngineHybrid.LocationContextis provided by HorizonEngine instead. HorizonEngine is instantiated internally inHybridTomTomNavigationFactory.create(). - Remove
TomTomSDKLocationContextProviderEngineOffline. LocationContextis provided by HorizonEngine instead. HorizonEngine is instantiated internally inOfflineTomTomNavigationFactory.create(). - Remove
TomTomSDKLocationContextProviderEngineTileStore. LocationContext is provided by HorizonEngine instead. HorizonEngine is instantiated internally inOnlineTomTomNavigationFactory.create(). - Removed default values from
NavigationEngine.RouteStopProgressinitializer. - Renamed
TomTomSDKNavigation.GuidanceUpdatedObservertoTomTomSDKNavigation.GuidanceUpdateObserver. - Renamed
TomTomSDKNavigation.LaneGuidanceUpdatedObservertoTomTomSDKNavigation.LaneGuidanceUpdateObserver. - Replace
TomTomNavigation.NavigationGuidanceObserverin the typealiasTomTomNavigation.NavigationObserverbyTomTomNavigation.GuidanceUpdateObserverandTomTomNavigation.LaneGuidanceUpdateObserver. - Split
TomTomNavigation.GuidanceEventtoTomTomNavigation.GuidanceUpdatedEventandTomTomNavigation.LaneGuidanceUpdatedEvent.
Fixes
- Call
onRouteReplannedwhen the replanning reason is refresh or increment. - Fix the problem with playing multiple messages in the TTS engine created by
TomTomSDKTextToSpeech.makeTextToSpeech(ttsEngine:)method. - Synchronised access to shared data to prevent race condition.
Updates
NavigationEngine.RouteStopProgresspromoted to GA.TomTomNavigation.deviationReplanningModeis now available in Public Preview.TomTomSDKNavigationEngines.GuidanceInstructionnavigation updated.- Add
LaneGuidanceUpdatedocumentation. - Promote
LocationContextto GA. - Promote
TomTomSDKNavigation.GuidanceUpdateObserverandTomTomSDKNavigation.LaneGuidanceUpdatedObserverto Public Preview . - Separate NavigationObservers into different files.
- Update API documentation:
TomTomNavigation.LaneGuidanceUpdateObserver,TomTomNavigation.GuidanceUpdateObserver.
Routing
Breaking changes
- Remove default values for
ChargingOptions.
Search
Breaking changes
- Moved POI and related types from
TomTomSDKSearchtoTomTomSDKCommonmodule:- Enum
OpeningHoursMode - Enum
Source - Enum
StandardCategoryID - Struct
Brand - Struct
FuelType - Struct
OpeningHours - Struct
POI - Struct
POIID - Struct
POICategoryID - Struct
ChargingPark
- Enum
- Removed Enum
TomTomSDKSearch.VehicleType.TomTomSDKCommon.VehicleTypecan be used instead.
Updates
TomTomSDKSearch.Search.FeedbackEventis now available in General Availability.TomTomSDKSearch.Search.FeedbackEventTypeis now available in General Availability.TomTomSDKSearch.Search.FeedbackResultIDis now available in General Availability.TomTomSDKSearch.Search.FeedbackResultIDFactoryis now available in General Availability.TomTomSDKSearch.Search.sendFeedback()is now available in General Availability.TomTomSDKSearchOffline.OfflineSearch.sendFeedback()is now available in General Availability.TomTomSDKSearchOnline.OnlineSearch.sendFeedback()is now available in General Availability.- Promote
TomTomSDKStructuredSearch.CandidateTypeto Public Preview.