Releases: mapbox/mapbox-navigation-ios
Releases · mapbox/mapbox-navigation-ios
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.
v3.17.0
Packaging
- MapboxNavigationCore now requires MapboxMaps v11.17.0
- MapboxNavigationCore now requires MapboxNavigationNative v324.17.0
API Deprecations
- Deprecated
RouteVoiceController.init(routeProgressing:rerouteStarted:fasterRouteSet:speechSynthesizer:)in favor of the newRouteVoiceController.init(routeProgressing:rerouteSoundTrigger:speechSynthesizer:).
Audio
- Audio playback operations (play, stop, set volume) of the
AVAudioPlayerwithin theMapboxSpeechSynthesizerare now triggered on a background thread. This change minimizes the risk of the application hanging during voice instruction playback. - Improved reroute sound logic. The reroute sound now plays only when a new route is fetched and applied, rather than when rerouting starts. This applies to both automatic reroutes and faster route scenarios.
- Fixed an issue that audio sessions activated by the SDK (for playback of voice instructions and reroute sound) were not interrupting spoken audio content playback from other applications (e.g. Podcasts).
Directions
- Added detection of duplicated URL request parameters derived from
DirectionsOptions,IsochroneOptions, andMatrixOptions- an error is logged when duplicates are found.
v3.17.0-rc.1
Packaging
- MapboxNavigationCore now requires MapboxMaps v11.17.0-rc.1
- MapboxNavigationCore now requires MapboxNavigationNative v324.17.0-rc.1
Audio
- Audio playback operations (play, stop, set volume) of the
AVAudioPlayerwithin theMapboxSpeechSynthesizerare now triggered on a background thread. This change minimizes the risk of the application hanging during voice instruction playback.
v3.17.0-beta.1
Packaging
- MapboxNavigationCore now requires MapboxMaps v11.17.0-beta.1
- MapboxNavigationCore now requires MapboxNavigationNative v324.17.0-beta.1
v2.20.3
Routing
NavigationRouteOptions.init(waypoints:profileIdentifier:queryItems:)andNavigationMatchOptions.init(waypoints:profileIdentifier:queryItems:)set the default values forshapeFormat,locale,distanceMeasurementSystem,routeShapeResolution,includesSpokenInstructions, andincludesVisualInstructionsonly if the values were not passed inqueryItems. (#4794)
Map
- Fixed an issue where the initially set CarPlay navigation camera values were being overwritten when updates to this property were disabled.
Audio
- Fixed an issue that audio sessions activated by the SDK (for playback of voice instructions and reroute sound) were not interrupting spoken audio content playback from other applications (e.g. Podcasts).
Documentation is available online or within Xcode.
v3.16.1
Packaging
- MapboxNavigationCore now requires MapboxMaps v11.16.1
- MapboxNavigationCore now requires MapboxNavigationNative v324.16.1
Map
- Added the congestion configuration
CongestionColorsConfiguration.displaySoftGradientForTrafficto customize if the color transition between traffic congestion changes should use a soft gradient appearance or abrupt color change.