Release Notes
Version 0.34.2 - 28/11/2023
General
Breaking changes
- Add api state to feature toggle.
EnumElement
RuntimeFeatureType.fooFeature
has been removed EnumElementRuntimeFeatureType.smoothStyleTransition
has been removed EnumElementRuntimeFeatureType.newGestureInteractor
is now with @_spi EnumElementRuntimeFeatureType.quickScaleGestureIsCentered
is now with @_spi EnumElementRuntimeFeatureType.resolveLaneGroupByRoutingLinkOnly
is now with @_spi EnumElementRuntimeFeatureType.tomtomOrbisMapFeature
is now with @_spi EnumElementRuntimeFeatureType.useLegacyPathMapMatcher
is now with @_spi EnumElementRuntimeFeatureType.useNDSLive
is now with @_spi EnumElementRuntimeFeatureType.useOnlineFirstHybridTileDataProvider
is now with @_spi EnumElementRuntimeFeatureType.useVoicePromptModeForTTS
is now with @_spi - Change experimental API annotation for
GeoJSONLineOptions.==(::)
method to @_spi(Experimental). - Extend
TomTomSDK.VehicleUpdateObserver.onVehicleUpdate(_ : Vehicle)
with an extraupdatedPropertyIDs
parameter and rename it toTomTomSDK.VehicleUpdateObserver.didUpdateVehicle(_ : Vehicle, updatedPropertyIDs: [PropertyID]))
. - Rename
TomTomSDKVehicle.DefaultVehicleProvider.updateVehicleState
toTomTomSDKVehicle.DefautVehicleProvider.updateVehicle
.
Removals
- Remove adding specific vehicle property listeners of
TomTomSDKVehicle.VehicleProvider
.
Updates
- Move
updateVehicle
andsetVehicle
fromTomTomSDKVehicle.DefaultVehicleProvider
toTomTomSDKVehicle.VehicleProvider
protocol. - Promote
TomTomSDKCommon.Cancellable
to general availability. - Removed @_spi(Experimental) from
tomtomOrbisMapFeature
. Removed @_spi(Experimental) fromimport TomTomSDKFeatureToggle
wherevertomtomOrbisMapFeature
only is used among other @_spi(Experimental) cases . - Update
TomTomSDKCommon.VehicleLoadType
andTomTomSDKCommon.ADRTunnelRestrictionCode
documentation.
Location
Updates
- Added
allowsBackgroundLocationUpdates
property toDefaultCLLocationProvider
class.
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
.LocationContext
is provided by HorizonEngine instead. HorizonEngine is instantiated internally inHybridTomTomNavigationFactory.create()
. - Remove
TomTomSDKLocationContextProviderEngineOffline. LocationContext
is 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.RouteStopProgress
initializer. - Renamed
TomTomSDKNavigation.GuidanceUpdatedObserver
toTomTomSDKNavigation.GuidanceUpdateObserver
. - Renamed
TomTomSDKNavigation.LaneGuidanceUpdatedObserver
toTomTomSDKNavigation.LaneGuidanceUpdateObserver
. - Replace
TomTomNavigation.NavigationGuidanceObserver
in the typealiasTomTomNavigation.NavigationObserver
byTomTomNavigation.GuidanceUpdateObserver
andTomTomNavigation.LaneGuidanceUpdateObserver
. - Split
TomTomNavigation.GuidanceEvent
toTomTomNavigation.GuidanceUpdatedEvent
andTomTomNavigation.LaneGuidanceUpdatedEvent
.
Fixes
- Call
onRouteReplanned
when 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.RouteStopProgress
promoted to GA.TomTomNavigation.deviationReplanningMode
is now available in Public Preview.TomTomSDKNavigationEngines.GuidanceInstruction
navigation updated.- Add
LaneGuidanceUpdate
documentation. - Promote
LocationContext
to GA. - Promote
TomTomSDKNavigation.GuidanceUpdateObserver
andTomTomSDKNavigation.LaneGuidanceUpdatedObserver
to 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
TomTomSDKSearch
toTomTomSDKCommon
module:- 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.VehicleType
can be used instead.
Updates
TomTomSDKSearch.Search.FeedbackEvent
is now available in General Availability.TomTomSDKSearch.Search.FeedbackEventType
is now available in General Availability.TomTomSDKSearch.Search.FeedbackResultID
is now available in General Availability.TomTomSDKSearch.Search.FeedbackResultIDFactory
is 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.CandidateType
to Public Preview.