|
1 | 1 | # Changes to the Mapbox Navigation SDK for iOS |
2 | 2 |
|
| 3 | +## v3.7.0 |
| 4 | + |
| 5 | +### Packaging |
| 6 | + |
| 7 | +* MapboxNavigationCore now requires [MapboxMaps v11.10.0-rc.1](https://github.com/mapbox/mapbox-maps-ios/releases/tag/v11.10.0-rc.1). |
| 8 | +* MapboxNavigationCore now requires [MapboxNavigationNative v323.0.0-rc.1](https://github.com/mapbox/mapbox-navigation-native-ios/releases/tag/323.0.0-rc.1). |
| 9 | + |
| 10 | +### API deprecations: |
| 11 | + |
| 12 | +* `MapboxCopilot.startActiveGuidanceSession(requestIdentifier:route:searchResultUsed:)`, `MapboxCopilot.startFreeDriveSession()`, and `MapboxCopilot.completeNavigationSession()` are deprecated in favor of `MapboxCopilot.startActiveGuidanceSessionAsync(requestIdentifier:route:searchResultUsed:)`, `MapboxCopilot.startFreeDriveSessionAsync()`, `MapboxCopilot.completeNavigationSessionAsync()`. Using deprecated methods may lead to losing events in the recorded history files. |
| 13 | +* The following methods are deprecated and should no longer be used, as the final destination annotation is no longer added to the map: |
| 14 | + * `NavigationViewControllerDelegate.navigationViewController(_:didAdd:pointAnnotationManager:)` |
| 15 | + * `CarPlayNavigationViewControllerDelegate.carPlayNavigationViewController(_:didAdd:pointAnnotationManager:)` |
| 16 | + * `CarPlayMapViewControllerDelegate.carPlayMapViewController(_:didAdd:pointAnnotationManager:)` |
| 17 | + * `CarPlayManagerDelegate.carPlayManager(_:didAdd:to:pointAnnotationManager:)` |
| 18 | + |
| 19 | +### CarPlay: |
| 20 | +* Deprecated following methods which return `CPTemplate`: |
| 21 | + * `CarPlayManagerDelegate.carPlayManager(_:leadingNavigationBarButtonsCompatibleWith:in:for:)` |
| 22 | + * `CarPlayManagerDelegate.carPlayManager(_:trailingNavigationBarButtonsCompatibleWith:in:for:)` |
| 23 | +* Introduced new methods which return `CPMapTemplate`: |
| 24 | + * `CarPlayManagerDelegate.carPlayManager(_:leadingNavigationBarButtonsCompatibleWith:in:for:)` |
| 25 | + * `CarPlayManagerDelegate.carPlayManager(_:trailingNavigationBarButtonsCompatibleWith:in:for:)` |
| 26 | + |
| 27 | +### Other changes |
| 28 | + |
| 29 | +* Updated alternative routes preview mode for CarPlay. |
| 30 | +* Fixed the movement type reported to the Telemetry. |
| 31 | +* Fixed possible threading errors when sending Telemetry feedback events. |
| 32 | +* Fixed a bug when the Copilot session recording could stop right after it was started. |
| 33 | +* Fixed a possible crash in `SimulatedLocationManager` when starting the simulation at the point on the route far away from the start. |
| 34 | +* Fixed possible not thread-safe memory access in `SimulatedLocationManager`. |
| 35 | +* Improved route refreshing by removing unnecessary internal navigator update on refresh. |
| 36 | +* Fixed possible not thread-safe memory access to `RouteProgress` in `NavigationController`. |
| 37 | + |
3 | 38 | ## v3.7.0-rc.1 |
4 | 39 |
|
5 | 40 | ### Packaging |
|
0 commit comments