Skip to content

Releases: mapbox/mapbox-navigation-ios

v3.20.0

13 Mar 15:20

Choose a tag to compare

Packaging

v2.21.0-rc.1

11 Mar 10:33
ed82cb0

Choose a tag to compare

v2.21.0-rc.1 Pre-release
Pre-release

Changes since v2.20.3:

Audio

  • Fixed an issue where the reroute notification sound played when switching to an alternative route. (#4822)

Other changes

  • Added RouteControllerNotificationUserInfoKey.shouldPlayRerouteSoundKey to the user info dictionary of Notification.Name.routeControllerDidReroute notification. (#4822)
  • Fixed a bug with excessive VisualInstructionDelegate.label(_:willPresent:as:) delegate method call during initialization.
  • Fixed a randomly occuring race condition related to the usage of URLCache that could cause a crash.
    Documentation is available online or within Xcode.

v3.20.0-rc.1

10 Mar 13:20

Choose a tag to compare

v3.20.0-rc.1 Pre-release
Pre-release

Packaging

Known issues

  • Alternative routes, diverging on certain intersections, may be unexpectedly discarded. This is related to geometrical configuration of the underlying intersection, which does not satisfy the fork point detection mechanism.

API Deprecations

  • Deprecated DirectionsOptions.distanceMeasurementSystem in favor of the new DirectionsOptions.unitMeasurementSystem.
  • Deprecated DistanceFormatter.measurementSystem in favor of the new DistanceFormatter.unitMeasurementSystem.
  • Deprecated CoreConfig.unitOfMeasurement. Use DirectionsOptions.unitMeasurementSystem to set the unit system for a navigation session.
  • Deprecated MeasurementSystem and UnitOfMeasurement in favor of the new UnitMeasurementSystem.

Routing

  • Added support for British imperial measurement units.
  • Fixed an issue where switching Continuous Alternative routes on a multileg route could result in restoring previous waypoints.
  • Fixed composing RouteOptions, MatchOptions, and MatrixOptions URL request parameters so that it only contains the supported variants.
  • Fixed an issue where the first route progress update reported zero distanceRemaining and durationRemaining when starting active guidance.

Audio

  • Improved reroute sound logic. The reroute sound does not play for reroutes caused by an internal route invalidation.

Electronic horizon

  • Extended RoadGraph.Edge.Metadata properties by adding freeFlowSpeed, constrainedFlowSpeed, isFerry, isRoundabout, countryCodeISO3, surface and sapaType members.
  • Added ElectronicHorizonConfig.enableEnhancedDataAlongEH option to allow requesting additional data from ADAS layer.
  • Added RoadGraph.adasAttributes(edgeIdentifier:) to fetch ADASAttributes on a given edge.
  • RoadObjectMatcher is removed. RoadObjectStore is extended to cover it's functionality instead. (Note: The Mapbox Electronic Horizon feature of the Mapbox Navigation SDK is in public beta and is subject to changes)

CarPlay

  • Adjusted the CarPlay speed limit view.
  • Fixed an issue where the CarPlay compass view was hidden by the speed limit view.

Map

  • Fixed an issue causing the traversed route line to be hidden after route completion when NavigationMapView.traversedRouteColor was provided.
  • Fixed an issue causing the traversed route line to reappear when switching to an alternative route and back.

Directions

  • Fixed a crash in case of unknown AttributeOptions usage.

v3.19.0

27 Feb 10:54

Choose a tag to compare

Packaging

v3.19.0-rc.1

13 Feb 13:58

Choose a tag to compare

v3.19.0-rc.1 Pre-release
Pre-release

Packaging

Routing

  • Fixed an issue where the passed alternative route was not hidden immediately after the deviation fork was passed.

v3.18.2

11 Feb 17:24

Choose a tag to compare

Packaging

Routing

  • Fixed an issue where the passed alternative route was not hidden immediately after the deviation fork was passed.

v3.18.1

02 Feb 14:28

Choose a tag to compare

Packaging

Map

  • Fixed an issue where the puck appeared beneath road names and map annotations.

v3.19.0-beta.1

30 Jan 16:05

Choose a tag to compare

v3.19.0-beta.1 Pre-release
Pre-release

Packaging

Routing

  • The bearings parameter is not included by default in Map Matching API requests because it is not supported. Along with snapping_include_closures and snapping_include_static_closures, this parameter is supported only by the Directions API.
  • Fixed missing Waypoint.snapping_include_closures and Waypoint.snapping_include_static_closures after encoding and decoding.

Map

  • Fixed an issue where the puck appeared beneath road names and map annotations.

v3.18.0

16 Jan 14:11

Choose a tag to compare

Packaging

Map

  • Maps SDK's MapboxMaps.MapView is now initialized by NavigationMapView using MapboxMaps.MapInitOptions(locationDataModel:). This passes location and heading providers during initialization, rather than overriding them afterwards using MapboxMaps.MapView.location.override(locationProvider:headingProvider:). This prevents MapView from creating a redundant MapboxMaps.AppleLocationProvider (which is unused by NavigationMapView and the Navigation SDK).

Navigation Camera

  • Fixed a long animation during the initial location update in NavigationViewController.
  • Fixed an issue where the camera would switch to the following state on the first location update even after NavigationMapView.stop() was called.

v3.18.0-beta.1

19 Dec 10:40

Choose a tag to compare

v3.18.0-beta.1 Pre-release
Pre-release

Packaging

Routing

  • Fixed an issue where extra faster route requests could be initiated by the SDK.