Release Notes

Version 0.39.1 - 28/11/2023

General

Fixes

  • Fix crash on start-up in online-only mode

Version 0.39.0 - 27/11/2023

General

Breaking changes

  • Change a public API com.tomtom.sdk.common.SystemClock to internal. Add documentation to com.tomtom.sdk.common.SystemClock.
  • Fix api states for feature toggles.
    • Removed package com.tomtom.sdk.map.display.dataprovider.featuretoggle [RemovedPackage]
    • Removed package com.tomtom.sdk.map.display.featuretoggle [RemovedPackage]
    • Removed package com.tomtom.sdk.routing.featuretoggle [RemovedPackage]
  • Move com.tomtom.sdk.vehicle.DefaultVehicleProvider to internal. Default vehicle provider is expected to be created via com.tomtom.sdk.vehicle.VehicleProviderFactory.create().
  • Remove unused NavigationTileFeatureType.

Updates

  • Add external build configurations to public examples.
  • Add missing API documentation for Force.
  • Add missing documentation for several classes in Quantity.

Location

Breaking changes

  • Hide internal property value in com.tomtom.sdk.location.EntryType.

Updates

  • com.tomtom.sdk.location.EntryPoint and com.tomtom.sdk.location.EntryType are now available in General Availability.
  • Add missing documentation for GeoPoint.

Map

Breaking changes

  • Add ActiveRouteChangedListener and update logic for RouteUpdated in NavViz.
  • Change the type of safetyLocationId in com.tomtom.sdk.map.display.visualization.navigation.horizon.safetylocation.SafetyLocationElement from com.tomtom.sdk.navigation.horizon.elements.safetylocation.SafetyLocationId to com.tomtom.sdk.safetylocations.model.SafetyLocationId.
  • Make NavigationTileStoreAccess ctor internal.

New Features

  • Add to the elastic-data-provider module methods for prefetching areas and routes.

Fixes

  • Make Map ScaleView default to a unit based on the user's locale.

Updates

  • Added a configurable minimum zoom level for the TrafficDataProvider.

Breaking changes

  • Fix API state of horizon RPC adapter.
  • Refactor the com.tomtom.sdk.navigation.RouteUpdateReason to contain only the com.tomtom.sdk.navigation.RouteUpdateReason.Refresh and com.tomtom.sdk.navigation.RouteUpdateReason.Increment values. To observe route changes caused by the removed reasons use the com.tomtom.sdk.navigation.RouteAddedListener, com.tomtom.sdk.navigation.RouteRemovedListener, and com.tomtom.sdk.navigation.ActiveRouteChangedListener.
  • Remove package com.tomtom.sdk.navigation.horizon.elements.region. Remove constructor com.tomtom.sdk.navigation.horizon.elements.countryinformation.CountryInformationElement(int,int,long,long,String,String,int,com.tomtom.quantity.Speed.Unit,java.util.List<`com.tomtom.sdk.navigation.horizon.elements.countryinformation.RegionalSpeedLimit`&gt;). Use com.tomtom.sdk.navigation.horizon.elements.countryinformation.CountryInformationElement.countryName instead of com.tomtom.sdk.navigation.horizon.elements.region.RegionElement.country. Use com.tomtom.sdk.navigation.horizon.elements.countryinformation.CountryInformationElement.regionName instead of com.tomtom.sdk.navigation.horizon.elements.region.RegionElement.subCountry.
  • Remove SafetyLocationType and SafetyLocationId from com.tomtom.sdk.navigation.horizon.elements.safetylocation package since they are no longer needed (previously they were used in com.tomtom.sdk.navigation.horizon.elements.safetylocation.SafetyLocationElement).
  • Remove the com.tomtom.sdk.navigation.ReplannedRouteProposedListener. Use the com.tomtom.sdk.navigation.RouteAddedListener instead to listen for the better route proposal being added to the navigation session. The proposed route is added with the com.tomtom.sdk.navigation.RouteAddedReason.BetterRouteProposed reason.
  • Remove the com.tomtom.sdk.navigation.RouteDeviationListener. Use the com.tomtom.sdk.navigation.RouteTrackingStateUpdatedListener instead to listen for the followed and unfollowed routes. To check if the user deviated from the route, you can use the RouteTrackingState.hasDeviated property.
  • Removed LocationContextEngine interface.
  • Removed class com.tomtom.sdk.navigation.mapmatching.common.RouteWindow. Removed method`com.tomtom.sdk.navigation.mapmatching.common.RouteWindow.kt.toRouteWindow`(RouteSnapshot, Distance, Distance)Removed method`com.tomtom.sdk.navigation.routeprojection.unified.UnifiedRouteProjectionEngineFactory.create(StoreAccessProvider, RouteProjectionEngineOptions)`
  • Rename com.tomtom.sdk.navigation.horizon.elements.countryinformation.CountryInformationElement.countryCode to com.tomtom.sdk.navigation.horizon.elements.countryinformation.CountryInformationElement.countryCodeIso3.
  • Use com.tomtom.sdk.safetylocations.model.SafetyLocation in com.tomtom.sdk.navigation.horizon.elements.safetylocation.SafetyLocationElement instead of safetyLocationId, startPosition, endPosition, boundingBox, type, speedLimit, recommendedWarningDistance, and isZone properties.

Fixes

  • Fix crash for re-creating openLR decoder.

Updates

  • OffboardNavigationTileStore now supports prefetching navigation tiles along a given polyline.
  • Improve API documentation for com.tomtom.sdk.navigation.guidance.instruction.GuidanceInstruction.
  • Promote LocationContext to GA.
  • Update API documentation: com.tomtom.sdk.navigation.GuidanceUpdatedListener.

Routing

Fixes

  • Leaking of native-allocated memory. This should prevent the crashes related to std::bad_alloc, related to running out of memory.

Fixes

  • Fix for a crash while creating of online search engine instance with custom pois support.
  • Fix searching with personal locations and custom poi.