diff --git a/CHANGELOG.md b/CHANGELOG.md index c9ae4871..2ef0910c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,15 @@ # Changes to the Mapbox Navigation SDK for iOS ## Unreleased + +### Added + * Start & Stop Navigation in existing Map - Removed: `NavigationViewController(for route: Route, dayStyle: Style, routeController: RouteController? = nil, locationManager: NavigationLocationManager? = nil, voiceController: RouteVoiceController? = nil)` use `NavigationViewController(dayStyleURL: URL, nightStyleURL: URL? = nil,directions: Directions = .shared, voiceController: RouteVoiceController = RouteVoiceController())` followed by `startNavigation(with route: Route, animated: Bool)` instead. - To simulate a route, pass a `SimulatedLocationManager` to `startNavigation()` function: ```swift - #if targetEnvironment(simulator) + #if targetEnvironment(simulator) let locationManager = SimulatedLocationManager(route: route) locationManager.speedMultiplier = 2 self.startNavigation(with: route, animated: false, locationManager: locationManager) @@ -15,13 +18,33 @@ #endif ``` * Custom location snapping in the `RouteController` via the delegate + +### Changed + +* Only require background audio when using speech synthesis in https://github.com/maplibre/maplibre-navigation-ios/pull/64 +* Adjusted the camera during navigation to show more of what's "ahead" in the route - effectively moving the puck lower on the screen. As before, see `NavigationMapViewCourseTrackingDelegate.updateCamera(_:location:,routeProgress:)` if you want to customize this behavior. + - Merged in + +### Deprecated + +* None + +### Removed + +* None + +### Fixed + * Fix: If the directions API endpoint doesn't include audio instructions, `didArrive:` would never be called. * Merged in -* Only require background audio when using speech synthesis in https://github.com/maplibre/maplibre-navigation-ios/pull/64 * Fix: Respond to changes in dynamic type without having to restart the app in https://github.com/maplibre/maplibre-navigation-ios/pull/65 * Fix: crash in EndOfRouteViewController and restore its presentation by in https://github.com/maplibre/maplibre-navigation-ios/pull/71 * Fix: retain cycles in RouteMapViewController +### Security + +* None + ## 3.0.0 (Jun 15, 2024) * The `speak` method in `RouteVoiceController` can be used without a given `RouteProgress` or the `RouteProgress` can explicitly ignored so that it will not be added to the voice instruction. * `RouteProgress` is now optional in `willSpeak` method of `VoiceControllerDelegate` if the `RouteProgress` in the `speak` method of the `RouteVoiceController is `nil`. @@ -46,8 +69,6 @@ - Merged in * Fix: NavigationViewController displayed incorrect `speedMultiplier` when using SimulatedLocationManager - Merged in -* Adjusted the camera during navigation to show more of what's "ahead" in the route - effectively moving the puck lower on the screen. As before, see `NavigationMapViewCourseTrackingDelegate.updateCamera(_:location:,routeProgress:)` if you want to customize this behavior. - - Merged in ## v2.0.0 (May 23, 2023) * Upgrade minimum iOS version from 11.0 to 12.0.