Release Notes
Version 0.37.0 - 14/11/2023
General
Breaking changes
- Rename AdrTunnelRestrictionCodeProperty.option to AdrTunnelRestrictionCodeProperty.id in package
com.tomtom.sdk.vehicle.property.engine.electric. - Rename AltitudeChangeEfficiencyProperty.option to AltitudeChangeEfficiencyProperty.id in package
com.tomtom.sdk.vehicle.property.engine. - Rename AltitudeChangeEnergyProperty.option to AltitudeChangeEnergyProperty.id in package
com.tomtom.sdk.vehicle.property.engine.combustion. - Rename AuxiliaryPowerProperty.option to AuxiliaryPowerProperty.id in package
com.tomtom.sdk.vehicle.property.engine.combustion. - Rename AxleWeightProperty.option to AxleWeightProperty.id in package
com.tomtom.sdk.vehicle.property. - Rename BatteryCurveProperty.option to BatteryCurveProperty.id in package
com.tomtom.sdk.vehicle.property.engine.electric. - Rename ChargingConnectorsProperty.option to ChargingConnectorsProperty.id in package
com.tomtom.sdk.vehicle.property.engine.electric. - Rename ChargingTimeOffsetProperty.option to ChargingTimeOffsetProperty.id in package
com.tomtom.sdk.vehicle.property.engine.electric. - Rename CombustionEngineProperties.option to CombustionEngineProperties.id in package
com.tomtom.sdk.vehicle.property. - Rename CommercialVehicleProperty to IsCommercialProperty in
com.tomtom.sdk.vehicle.property. - Rename CommercialVehicleProperty.option to CommercialVehicleProperty.id in package
com.tomtom.sdk.vehicle.property. - Rename CurrentChargeProperty.option to CurrentChargeProperty.id in package
com.tomtom.sdk.vehicle.property.engine.electric. - Rename CurrentFuelProperty.option to CurrentFuelProperty.id in package
com.tomtom.sdk.vehicle.property.engine.combustion. - Rename ElectricEngineProperties.option to ElectricEngineProperties.id in package
com.tomtom.sdk.vehicle.property. - Rename FuelEnergyDensityProperty.option to FuelEnergyDensityProperty.id in package
com.tomtom.sdk.vehicle.property.engine.combustion. - Rename HeightProperty.option to HeightProperty.id in package
com.tomtom.sdk.vehicle.property. - Rename LengthProperty.option to LengthProperty.id in package
com.tomtom.sdk.vehicle.property. - Rename LoadTypeProperty.option to LoadTypeProperty.id in package
com.tomtom.sdk.vehicle.property. - Rename MaxChargeProperty.option to MaxChargeProperty.id in package
com.tomtom.sdk.vehicle.property.engine.electric. - Rename MaxSpeedProperty.option to MaxSpeedProperty.id in package
com.tomtom.sdk.vehicle.property. - Rename PropertyId.CommercialVehicle to PropertyId.IsCommercial in
com.tomtom.sdk.vehicle.property.PropertyId. - Rename SpeedConsumptionProperty.option to SpeedConsumptionProperty.id in package
com.tomtom.sdk.vehicle.property.engine.combustion. - Rename SpeedConsumptionProperty.option to SpeedConsumptionProperty.id in package
com.tomtom.sdk.vehicle.property.engine.electric. - Rename VehicleUpdateOption to PropertyId in package
com.tomtom.sdk.vehicle. - Rename vehicleUpdateOptions parameter to trackedProperties in addVehicleUpdatedListener method of DefaultVehicleProvider in package
com.tomtom.sdk.vehicle. - Rename VelocityChangeEfficiencyProperty.option to VelocityChangeEfficiencyProperty.id in package
com.tomtom.sdk.vehicle.property.engine. - Rename WeightProperty.option to WeightProperty.id in package
com.tomtom.sdk.vehicle.property. - Rename WidthProperty.option to WidthProperty.id in package
com.tomtom.sdk.vehicle.property.
Deprecations
- Deprecate and replace decimal bytes units with binary ones. Do the following to adapt your project to these API changes:
- Replace usage of the
Memory.Unit.Kilobytesobject with theMemory.Unit.Kibibytes. - Replace usage of the
Memory.Unit.Megabytesobject with theMemory.Unit.Mibibytes. - Replace usage of the
Memory.Unit.Gigabytesobject with theMemory.Unit.Gibibytes. - Replace usage of the
Memory.inBytes()api with theMemory.inWholeBytes(). - Replace usage of the
Memory.inKilobytes()api with theMemory.inKibibytes(). - Replace usage of the
Memory.inMegabytes()api with theMemory.inMibibytes(). - Replace usage of the
Memory.inGigabytes()api with theMemory.inGibibytes(). - Replace usage of the
Memory.inWholeKilobytes()api with theMemory.inWholeKibibytes(). - Replace usage of the
Memory.inWholeMegabytes()api with theMemory.inWholeMibibytes(). - Replace usage of the
Memory.inWholeGigabytes()api with theMemory.inWholeGibibytes(). - Replace usage of the
Memory.bytes(value: Double)api withMemory.bytes(value: Long)orMemory.bytes(value: Int) - Replace usage of the
Memory.kilobytes(value: Int)api with theMemory.kibibytes(value: Int). - Replace usage of the
Memory.kilobytes(value: Long)api with theMemory.kibibytes(value: Long). - Replace usage of the
Memory.kilobytes(value: Double)api with theMemory.kibibytes(value: Double). - Replace usage of the
Memory.megabytes(value: Int)api with theMemory.mibibytes(value: Int). - Replace usage of the
Memory.megabytes(value: Long)api with theMemory.mibibytes(value: Long). - Replace usage of the
Memory.megabytes(value: Double)api with theMemory.mibibytes(value: Double). - Replace usage of the
Memory.gigabytes(value: Int)api with theMemory.gibibytes(value: Int). - Replace usage of the
Memory.gigabytes(value: Long)api with theMemory.gibibytes(value: Long). - Replace usage of the
Memory.gigabytes(value: Double)api with theMemory.gibibytes(value: Double).
- Replace usage of the
- Deprecate the extension Result<R, L>.toEither.
Map
Updates
com.tomtom.sdk.map.display.route.RouteSectionis now available in General Availability.
Navigation
Breaking changes
- Rename
com.tomtom.sdk.navigation.ui.NavigationUiOptions.unitstocom.tomtom.sdk.navigation.ui.NavigationUiOptions.unitSystemType. - Replace
com.tomtom.sdk.common.measures.UnitSystemwithcom.tomtom.sdk.navigation.UnitSystemTypeincom.tomtom.sdk.navigation.ui.NavigationUiOptions. - Replace
TomTomNavigation::acceptProposedRoutewithTomTomNavigation::selectActiveRoute.
New Features
- Add new route as active to the session when language is changed and inform integrator.
- Introduce the
ActiveRouteChangedListenerto inform about the active route changes in the navigation session. - Introduce the RouteAddedListener to inform about new routes added to the navigation session.
- Introduce the RouteRemovedListener to inform about routes removed from the navigation session.
- Use Virtual Horizon to get location context information beyond driver's visible horizon. A guide for how to retrieve horizon data has been made available in our Nav SDK documentation.
Fixes
- Display 'Fixed Speed Camera' type correctly.
Updates
Com.tomtom.sdk.navigation.TomTomNavigation.languageis now available in General Availability.Com.tomtom.sdk.navigation.TomTomNavigation.preferredLanguageis now available in General Availability.Com.tomtom.sdk.navigation.TomTomNavigation.unitSystemis now available in General Availability.- Add parcelable support to
com.tomtom.sdk.navigation.UnitSystemType. - Change default guidance engine to DynamicGuidanceEngine.
- Copy the description of inherited properties from GuidanceInstruction.
- Log necessary information about navigation's configuration.
Routing
New Features
- Separate avoid tolls and vignettes.
Fixes
- LDEV now supports replanning after deviation.
Updates
- Allow requesting a route without instructions.
Search
Breaking changes
- Make toPlace in Search UI internal.
- Move Poi, PoiCategory, CategoryId, OpeningHours, OpeningHoursMode, ChargingPark, PoiId, Source, StandardCategoryId classes from Search to Location. And move FuelType to Vehicle.
Move or rename
com.tomtom.sdk.search.model.poi.Poitocom.tomtom.sdk.location.poi.PoiMove or renamecom.tomtom.sdk.search.model.poi.PoiIdtocom.tomtom.sdk.location.poi.PoiIdMove or renamecom.tomtom.sdk.search.model.result.Sourcetocom.tomtom.sdk.location.poi.SourceMove or renamecom.tomtom.sdk.search.model.poi.PoiCategorytocom.tomtom.sdk.location.poi.PoiCategoryMove or renamecom.tomtom.sdk.search.model.poi.CategoryIdtocom.tomtom.sdk.location.poi.CategoryIdMove or renamecom.tomtom.sdk.search.model.poi.StandardCategoryIdtocom.tomtom.sdk.location.poi.StandardCategoryIdMove or renamecom.tomtom.sdk.search.model.poi.Brandtocom.tomtom.sdk.location.poi.BrandMove or renamecom.tomtom.sdk.search.model.time.OpeningHourstocom.tomtom.sdk.location.poi.time.OpeningHoursMove or renamecom.tomtom.sdk.search.model.time.OpeningHoursModetocom.tomtom.sdk.location.poi.time.OpeningHoursModeMove or renamecom.tomtom.sdk.search.model.fuel.FuelTypetocom.tomtom.sdk.vehicle.FuelType
Fixes
- Make search find streets and addresses when searched along with a search area.
- Use proper timezone for custom POI in the offline search engine.
Updates
- Remove annotation which is not in use anymore.
- The
ExperimentalHybridReverseGeocoderApiannotation is not needed anymore, the API is already in GA
- The
Traffic
Updates
- Added new TrafficClient implementation.