Releases: mapbox/mapbox-navigation-ios
Releases · mapbox/mapbox-navigation-ios
v3.3.0-rc.1
v3.3.0-rc.1
Packaging
- MapboxNavigationCore now requires MapboxNavigationNative v316.0.0.
- MapboxNavigationCore now requires MapboxMaps v11.6.0-rc.1.
Map
- Fixed an issue when an alternative route was not selected when clicking on the route annotations on the map.
- Fixed an issue when the tap on the overlapping part of the main and alternative route was considered as an alternative route tap.
- Fixed an issue when a leg separating waypoint was not selected after it was clicked on the map.
Routing
- Fixed an issue when the main route was incorrectly parsed as an alternative after switching to an alternative.
CarPlay
- The
CarPlayViewportDataSource.currentNavigationCameraOptions
property is now read-write to provide a way to change navigation camera options in CarPlay.
Other changes
- Fixed unwanted road movement simulation when using static GPX files to simulate location.
- Added
LocalizationManager
to support the ability to provide custom localization for specific strings in the SDK whenLocalizationManager.customLocalizationBundle
is set. - Extended
NavigationLocationManager
subclassing posibilities by opening the some members to public visibility or overriding. - Fixed the route progress simulation resetting when selecting an alternative route during active guidance.
- Added
AlternativesStatus.Events.SwitchedToAlternative
event to track when the navigator switched to the alternative route.
v3.2.1
v3.3.0-beta.1
Packaging
- MapboxNavigationCore now requires MapboxNavigationNative v315.0.0.
- MapboxNavigationCore now requires MapboxMaps v11.6.0-beta.1.
CarPlay
- Fixed CarPlay crash when calling
CarPlayManager.routePreview()
method.
Banners and guidance instructions
- Fixed a bug when a published event about a banner or spoken instruction was sent before
RouteProgress
was updated. - Fixed default local notification scheduling.
Other changes
- The shared instance of
RouteVoiceController
is now strongly stored after the first instantiation to avoid creating multiple instances. - Fixed a bug with a map matching response parsing for silent waypoints.
Tracepoint.waypointIndex
is now an optional property.
v2.18.2
CarPlay
- Fixed CarPlay crash when calling
CarPlayManager.routePreview()
function for iOS 14+.
Documentation is available online or within Xcode.
v3.2.0
Packaging
- MapboxNavigationCore now requires MapboxNavigationNative v314.0.0.
- MapboxNavigationCore now requires MapboxMaps v11.5.1.
API deprecations:
CarPlaySearchController
conformance toCPListTemplateDelegate
is deprecated in favor ofCPListItem.handler
.
Map
- Fixed an incorrect viewport padding in the overview route camera.
- Added
NavigationMapViewDelegate.navigationMapView(_:willAdd:)
,NavigationViewControllerDelegate.navigationViewController(_:willAdd:)
, andCarPlayManagerDelegate.carPlayManager(_:willAdd:for:)
to modify the properties of the default layer which will be added to the map view during navigation. - Added
NavigationMapView.showsRelativeDurationsOnAlternativeManuever
flag to toggle ETA callouts displaying during Active Guidance. - Added
NavigationMapViewDelegate.navigationMapView(_:,didAddRedrawActiveGuidanceRoutes:)
method to monitor when view has refreshed the routes in Active Guidance. - Fixed an extra large bottom margin of the following navigation camera.
- Fixed a bug when the custom camera viewport was not applied.
- Fixed a bug with an incorrect camera center when custom
GeometryFramingAfterManeuver.distanceToFrameAfterManeuver
is set.
Routing
- Added
NavigationRoutes.refreshInvalidationDate
property andRefreshingStatus.Invalidated
event to track when route refreshing has expired and new route request is required.
Other changes
- Fixed sending "end of the route" feedback.
- Added a new
ActiveNavigationFeedbackType
enum case.arrival(rating:)
. - Added
HistoryReplayController
wrapped as a custom staticLocationClient.historyReplayingValue(with:)
, which allows replaying history files. - Added static method
Directions.url(forCalculating:credentials:httpMethod:)
for generating a request URL without creating theDirections
instance. - Added default value
CongestionRangesConfiguration.default
forRouteProgress.init(navigationRoutes:waypoints:congestionConfiguration:)
constructor. CarPlayManager
fix problem with dismiss preview mode.- Supported the ability to notify about the navigation-related error by adding
NavigationController.errors
. - Fixed the incorrect
RouteAlert.distanceToStart
when active guidance is in progress. - Fixed a bug when not faster routes detection was not started even if it was enabled by
FasterRouteDetectionConfig
.
v2.18.1
CarPlay
- Partially fixed CarPlay crash when calling
CarPlayManager.routePreview()
function.
v3.2.0-rc.1
Packaging
- MapboxNavigationCore now requires MapboxNavigationNative v313.0.0.
- MapboxNavigationCore now requires MapboxMaps v11.5.0-rc.1.
Other changes
- Supported the ability to notify about the navigation-related error by adding
NavigationController.errors
.
v3.2.0-beta.1
Changes since v3.1.0:
Packaging
- MapboxNavigationCore now requires MapboxMaps v11.5.0-beta.1.
- MapboxNavigationCore now requires MapboxNavigationNative v312.0.0.
API deprecations:
CarPlaySearchController
conformance toCPListTemplateDelegate
is deprecated in favor ofCPListItem.handler
.
Map
- Fixed an incorrect viewport padding in the overview route camera.
- Added
NavigationMapViewDelegate.navigationMapView(_:willAdd:)
,NavigationViewControllerDelegate.navigationViewController(_:willAdd:)
, andCarPlayManagerDelegate.carPlayManager(_:willAdd:for:)
to modify the properties of the default layer which will be added to the map view during navigation. - Added
NavigationMapView.showsRelativeDurationsOnAlternativeManuever
flag to toggle ETA callouts displaying during Active Guidance. - Added
NavigationMapViewDelegate.navigationMapView(_:,didAddRedrawActiveGuidanceRoutes:)
method to monitor when view has refreshed the routes in Active Guidance.
Routing
- Added
NavigationRoutes.refreshInvalidationDate
property andRefreshingStatus.Invalidated
event to track when route refreshing has expired and new route request is required.
Other changes
- Fixed sending "end of the route" feedback.
- Added a new
ActiveNavigationFeedbackType
enum case.arrival(rating:)
. - Added
HistoryReplayController
wrapped as a custom staticLocationClient.historyReplayingValue(with:)
, which allows replaying history files. - Added static method
Directions.url(forCalculating:credentials:httpMethod:)
for generating a request URL without creating theDirections
instance. - Added default value
CongestionRangesConfiguration.default
forRouteProgress.init(navigationRoutes:waypoints:congestionConfiguration:)
constructor. - Add support for building with Xcode 16 beta.
v3.1.1
Changes since v3.1.0:
Packaging
- MapboxNavigationCore now requires MapboxNavigationNative v311.0.0.
Other changes
- Bug fixes and improvements.
v3.1.0
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
, andshape
for intermediate waypoints inNavigationMapView
,NavigationViewController
,CarPlayManager
,CarPlayNavigationViewController
. - Added the ability to configure
routeLineLayer
,routeCasingLineLayer
, androuteRestrictedAreasLineLayer
inNavigationMapView
,NavigationViewController
,CarPlayManager
,CarPlayNavigationViewController
. - Support the ability to pass
heading
toNavigationView
. - Support the ability to configure
heading
inPreviewOptions
. - Added new @mainactor annotations for
CarPlayMapViewController
andCarPlayNavigationViewController
.
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. UseAlternativeRoutesDetectionConfig.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.