Releases: mapbox/mapbox-navigation-ios
Releases · mapbox/mapbox-navigation-ios
v3.20.0
Packaging
- MapboxNavigationCore now requires MapboxMaps v11.20.0
- MapboxNavigationCore now requires MapboxNavigationNative v324.20.0
v2.21.0-rc.1
Audio
- Fixed an issue where the reroute notification sound played when switching to an alternative route. (#4822)
Other changes
- Added
RouteControllerNotificationUserInfoKey.shouldPlayRerouteSoundKeyto the user info dictionary ofNotification.Name.routeControllerDidReroutenotification. (#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
URLCachethat could cause a crash.
Documentation is available online or within Xcode.
v3.20.0-rc.1
Packaging
- MapboxNavigationCore now requires MapboxMaps v11.20.0-rc.1
- MapboxNavigationCore now requires MapboxNavigationNative v324.20.0-rc.1
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.distanceMeasurementSystemin favor of the newDirectionsOptions.unitMeasurementSystem. - Deprecated
DistanceFormatter.measurementSystemin favor of the newDistanceFormatter.unitMeasurementSystem. - Deprecated
CoreConfig.unitOfMeasurement. UseDirectionsOptions.unitMeasurementSystemto set the unit system for a navigation session. - Deprecated
MeasurementSystemandUnitOfMeasurementin favor of the newUnitMeasurementSystem.
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, andMatrixOptionsURL request parameters so that it only contains the supported variants. - Fixed an issue where the first route progress update reported zero
distanceRemaininganddurationRemainingwhen 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.Metadataproperties by addingfreeFlowSpeed,constrainedFlowSpeed,isFerry,isRoundabout,countryCodeISO3,surfaceandsapaTypemembers. - Added
ElectronicHorizonConfig.enableEnhancedDataAlongEHoption to allow requesting additional data from ADAS layer. - Added
RoadGraph.adasAttributes(edgeIdentifier:)to fetchADASAttributeson a given edge. RoadObjectMatcheris removed.RoadObjectStoreis 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.traversedRouteColorwas 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
Packaging
- MapboxNavigationCore now requires MapboxMaps v11.19.0
- MapboxNavigationCore now requires MapboxNavigationNative v324.19.0
v3.19.0-rc.1
Packaging
- MapboxNavigationCore now requires MapboxMaps v11.19.0-rc.1
- MapboxNavigationCore now requires MapboxNavigationNative v324.19.0-rc.1
Routing
- Fixed an issue where the passed alternative route was not hidden immediately after the deviation fork was passed.
v3.18.2
Packaging
- MapboxNavigationCore now requires MapboxMaps v11.18.2
- MapboxNavigationCore now requires MapboxNavigationNative v324.18.2
Routing
- Fixed an issue where the passed alternative route was not hidden immediately after the deviation fork was passed.
v3.18.1
Packaging
- MapboxNavigationCore now requires MapboxMaps v11.18.1
- MapboxNavigationCore now requires MapboxNavigationNative v324.18.1
Map
- Fixed an issue where the puck appeared beneath road names and map annotations.
v3.19.0-beta.1
Packaging
- MapboxNavigationCore now requires MapboxMaps v11.19.0-beta.1
- MapboxNavigationCore now requires MapboxNavigationNative v324.19.0-beta.1
Routing
- The
bearingsparameter is not included by default in Map Matching API requests because it is not supported. Along withsnapping_include_closuresandsnapping_include_static_closures, this parameter is supported only by the Directions API. - Fixed missing
Waypoint.snapping_include_closuresandWaypoint.snapping_include_static_closuresafter encoding and decoding.
Map
- Fixed an issue where the puck appeared beneath road names and map annotations.
v3.18.0
Packaging
- MapboxNavigationCore now requires MapboxMaps v11.18.0
- MapboxNavigationCore now requires MapboxNavigationNative v324.18.0
Map
- Maps SDK's
MapboxMaps.MapViewis now initialized byNavigationMapViewusingMapboxMaps.MapInitOptions(locationDataModel:). This passes location and heading providers during initialization, rather than overriding them afterwards usingMapboxMaps.MapView.location.override(locationProvider:headingProvider:). This preventsMapViewfrom creating a redundantMapboxMaps.AppleLocationProvider(which is unused byNavigationMapViewand 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
Packaging
- MapboxNavigationCore now requires MapboxMaps v11.18.0-beta.1
- MapboxNavigationCore now requires MapboxNavigationNative v324.18.0-beta.1
Routing
- Fixed an issue where extra faster route requests could be initiated by the SDK.