Release Notes
Version 0.48.0 - 20/02/2024
General
Deprecations
- Deprecate the
com.tomtom.sdk.vehicle.ConnectorType.type
property. - Deprecate the
com.tomtom.sdk.vehicle.CurrentType.type
property.
New features
- Add HTTP-core with interceptor support.
Fixes
- Do not throw
NullPointerException
when trying to convertandroid.location.Location
tocom.tomtom.sdk.location.GeoLocation
incom.tomtom.sdk.common.android.LocationMapper
whenLocation.getProvider()
returnsnull
.
Map
Updates
com.tomtom.sdk.map.display.style.DRIVING_LANE_LEVEL
is now available as Experimental API.- Enable off-route traffic flow and incidents for the premium map display engine.
Navigation
Breaking changes
- Remove
com.tomtom.sdk.datamanagement.nds.update.NdsStoreUpdateConfig.AutomaticUpdatesConfiguration
. Renamecom.tomtom.sdk.datamanagement.nds.update.NdsStoreUpdateConfig
tocom.tomtom.sdk.datamanagement.nds.update.NdsStoreUpdaterConfiguration
. Addcom.tomtom.sdk.datamanagement.nds.update.AutomaticMapOperationConfiguration
field tocom.tomtom.sdk.datamanagement.nds.update.NdsStoreUpdaterConfiguration
.
New features
- Introduce a new API
NdsStoreUpdater.calculateUninstallSize()
. [NAVIGATION][FEATURE] Introduce a new APICompositeRegionsUpdater.calculateUninstallSize()
Fixes
com.tomtom.sdk.navigation.ui.NavigationListener.onStarted()
not being called on subsequent navigation starts.- Add missing step to the Navigation project setup instruction about defining the apiKey variable in
build.gradle.kts
. - Compensate the announcement distance by audio duration and current speed.
- Ensure that
TomTomNavigation
events are issued on the main thread in a safe manner.
Updates
- Add.
com.tomtom.sdk.datamanagement.nds.update.automatic.AutomaticNdsStoreUpdaterConfiguration
,com.tomtom.sdk.datamanagement.nds.update.automatic.AutomaticNdsStoreUpdaterConfiguration.AllRegions
,com.tomtom.sdk.datamanagement.nds.update.automatic.AutomaticNdsStoreUpdaterConfiguration.RelevantRegions
,com.tomtom.sdk.datamanagement.nds.update.automatic.AutomaticNdsStoreUpdaterConfiguration.RegionsAlongRoute
. - Navigation no longer use LocationProvider.lastKnownLocation at start.
Routing
Breaking changes
- Class
com.tomtom.sdk.routing.range.online.OnlineRangeCalculator
is now internal. Usecom.tomtom.sdk.routing.range.online.OnlineRangeCalculatorFactory
instead.
New features
- Add standard comparison operator support to Consumption type.
- New field in Route object: plannedWith, exposing usedRoutePlanningOptions.
Updates
- Clarified the documentation for TrafficSection IDs.
- Create
com.tomtom.sdk.routing.range.online.OnlineRangeCalculatorFactory
andcom.tomtom.sdk.routing.range.offline.OfflineRangeCalculatorFactory
objects. - Fill isManeuver property of LaneSection for offline routing.
Search
New features
- Add poiId to location.poi.Poi for OfflineSearch.
- Add poiId to location.poi.Poi for OnlineSearch.
Fixes
- Support deserialization of the municipality subdivision as an entity type.
Updates
- Make close operation in search synchronous.