releases.shpreview

v3.1.0

$npx @buildinternet/releases show rel_49ZgSrZOCgO9jOpSPptTR

Changes since v3.0.2:

Packaging

  • MapboxNavigationCore now requires MapboxCommon v24.4.0.
  • MapboxNavigationCore now requires MapboxNavigationNative v310.0.1.

Map

  • The camera no longer crashes if one passed an invalid center coordinate to the camera transition.
  • Fixed the incorrect components layout of NavigationView after trait collection changed.
  • Support the ability to not display alternative routes on the map.
  • Added the ability to configure routeline, route annotation, and maneuver arrow colors in NavigationMapView.
  • Added the ability to configure circleLayer, symbolLayer, and shape for intermediate waypoints in NavigationMapView, NavigationViewController, CarPlayManager, CarPlayNavigationViewController.
  • Added the ability to configure routeLineLayer, routeCasingLineLayer, and routeRestrictedAreasLineLayer in NavigationMapView, NavigationViewController, CarPlayManager, CarPlayNavigationViewController.
  • Support the ability to pass heading to NavigationView.
  • Support the ability to configure heading in PreviewOptions.
  • Added new @MainActor annotations for CarPlayMapViewController and CarPlayNavigationViewController.

Other changes

  • Fixed the module name for NavigationViewController in the storyboard.
  • Added preserving voice instructions muted state between the navigation sessions and app launches.
  • Fixed MapboxNavigator.routeProgress publisher did not include alternative routes updates.
  • Fixed initial location simulation in Free Drive.
  • Updated the default alternative routes refresh interval to 5 minutes.
  • Fixed memory leak on arrival in NavigationViewController.
  • Fixed multiple NavigationViewControllerDelegate.navigationViewController(_:didArriveAt:) method calls for one arrival.

API deprecations:

  • AlternativeRoutesDetectionConfig.refreshesAfterPassingDeviation. This feature no longer has any effect.
  • AlternativeRoutesDetectionConfig.refreshesWhenNoAvailableAlternatives. This feature no longer has any effect other then setting the refresh interval. Use AlternativeRoutesDetectionConfig.refreshIntervalSeconds instead to configure the refresh interval directly.

Routing

  • Fixed the incorrect value in RouteProgress.routeIsComplete after the user drive past the destination further away.

Fetched May 1, 2026