From 4a55b10fef48c4941f6eaeb87c8aa6b5ee07857b Mon Sep 17 00:00:00 2001 From: "mapbox-github-ci-writer-public-1[bot]" <93400552+mapbox-github-ci-writer-public-1[bot]@users.noreply.github.com> Date: Sat, 4 Mar 2023 03:02:57 +0000 Subject: [PATCH] changelog for v2.12.0-alpha.1 (#6997) Co-authored-by: root --- CHANGELOG.md | 55 +++++++++++++++++++++++++++ changelog/unreleased/bugfixes/6966.md | 4 -- changelog/unreleased/bugfixes/6978.md | 1 - changelog/unreleased/bugfixes/6986.md | 11 ------ changelog/unreleased/features/6610.md | 18 --------- 5 files changed, 55 insertions(+), 34 deletions(-) delete mode 100644 changelog/unreleased/bugfixes/6966.md delete mode 100644 changelog/unreleased/bugfixes/6978.md delete mode 100644 changelog/unreleased/bugfixes/6986.md delete mode 100644 changelog/unreleased/features/6610.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 353b807636c..ee6ad9080f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,61 @@ Mapbox welcomes participation and contributions from everyone. #### Features #### Bug fixes and improvements +## Mapbox Navigation SDK 2.12.0-alpha.1 - 04 March, 2023 +### Changelog +[Changes between v2.11.0 and v2.12.0-alpha.1](https://github.com/mapbox/mapbox-navigation-android/compare/v2.11.0...v2.12.0-alpha.1) + +#### Features +- Added `RouteRefreshController` interface to manage route refreshes. Retrieve it via `MapboxNavigation#routeRefreshController`. [#6610](https://github.com/mapbox/mapbox-navigation-android/pull/6610) +- Added `RouteRefreshController#requestImmediateRouteRefresh` to trigger route refresh request immediately. [#6610](https://github.com/mapbox/mapbox-navigation-android/pull/6610) +- Moved `MapboxNavigation#registerRouteRefreshStateObserver` to `RouteRefreshController#registerRouteRefreshStateObserver`. To migrate, change: [#6610](https://github.com/mapbox/mapbox-navigation-android/pull/6610) + ```kotlin + mapboxNavigation.registerRouteRefreshStateObserver(observer) + ``` + to + ```kotlin + mapboxNavigation.routeRefreshController.registerRouteRefreshStateObserver(observer) + ``` +- Moved `MapboxNavigation#unregisterRouteRefreshStateObserver` to `RouteRefreshController#unregisterRouteRefreshStateObserver`. To migrate, change: [#6610](https://github.com/mapbox/mapbox-navigation-android/pull/6610) + ```kotlin + mapboxNavigation.unregisterRouteRefreshStateObserver(observer) + ``` + to + ```kotlin + mapboxNavigation.routeRefreshController.unregisterRouteRefreshStateObserver(observer) + ``` + +#### Bug fixes and improvements +- Fixed an ANR caused by Copilot processing long routes. [#6978](https://github.com/mapbox/mapbox-navigation-android/pull/6978) +- Fixed revealing of access token in the logs during tiles downloading. [#6966](https://github.com/mapbox/mapbox-navigation-android/pull/6966) +- Optimized RAM usage for onboard routing. [#6966](https://github.com/mapbox/mapbox-navigation-android/pull/6966) +- Increased the distance at which the navigator discards passed alternative route in `NavigationRouteAlternativesObserver#onRouteAlternatives`. This reduces the chance of discarding alternative routes to which a driver deviated from the primary route. [#6966](https://github.com/mapbox/mapbox-navigation-android/pull/6966) +- Improved duration calculation for EV routes to account for charging time. [#6986](https://github.com/mapbox/mapbox-navigation-android/pull/6986) +- Added snapping feature to the navigation for walking and cycling profiles. [#6986](https://github.com/mapbox/mapbox-navigation-android/pull/6986) +- Started invalidating passed alternatives conditionally on the fork structure. [#6986](https://github.com/mapbox/mapbox-navigation-android/pull/6986) +- Started using offline router if server returns 404 or 403. [#6986](https://github.com/mapbox/mapbox-navigation-android/pull/6986) +- Increased the distance at which the navigator discards passed alternative route in `NavigationRouteAlternativesObserver#onRouteAlternatives`. This reduces the chance of discarding alternative routes to which a driver deviated from the primary route. [#6986](https://github.com/mapbox/mapbox-navigation-android/pull/6986) +- Fixed a possible native crash in `ElectronicHorizonObserver` on application exit. [#6986](https://github.com/mapbox/mapbox-navigation-android/pull/6986) +- Fixed redundant memory usage for onboard router. [#6986](https://github.com/mapbox/mapbox-navigation-android/pull/6986) +- Fixed inconsistent choice between re-route and switching to alternative due to the fact that the alternative was not checked on every off-route state. [#6986](https://github.com/mapbox/mapbox-navigation-android/pull/6986) +- Fixed a crash caused by segfault "wstring_convert: from_bytes" error for HTTP responses. [#6986](https://github.com/mapbox/mapbox-navigation-android/pull/6986) +- Made costing algorithms using lightweight info about road graph (should improve performance). [#6986](https://github.com/mapbox/mapbox-navigation-android/pull/6986) +- Switched all realtime sensitive operations onto a separate thread instead of low-prioritised background thread pool. No long status delays should happen in the future. [#6986](https://github.com/mapbox/mapbox-navigation-android/pull/6986) + +#### Known issues :warning: + + +#### Other changes + + +### Mapbox dependencies +This release depends on, and has been tested with, the following Mapbox dependencies: +- Mapbox Maps SDK `v10.12.0-beta.1` ([release notes](https://github.com/mapbox/mapbox-maps-android/releases/tag/v10.12.0-beta.1)) +- Mapbox Navigation Native `v127.1.0` +- Mapbox Core Common `v23.4.0-beta.1` +- Mapbox Java `v6.11.0` ([release notes](https://github.com/mapbox/mapbox-java/releases/tag/v6.11.0)) + + ## Mapbox Navigation SDK 2.11.0 - 03 March, 2023 ### Changelog [Changes between v2.10.0 and v2.11.0](https://github.com/mapbox/mapbox-navigation-android/compare/v2.10.0...v2.11.0) diff --git a/changelog/unreleased/bugfixes/6966.md b/changelog/unreleased/bugfixes/6966.md deleted file mode 100644 index 4d0694ae6ab..00000000000 --- a/changelog/unreleased/bugfixes/6966.md +++ /dev/null @@ -1,4 +0,0 @@ -- Fixed revealing of access token in the logs during tiles downloading. -- Optimized RAM usage for onboard routing. -- Increased the distance at which the navigator discards passed alternative route in `NavigationRouteAlternativesObserver#onRouteAlternatives`. This reduces the chance of discarding alternative routes to which a driver deviated from the primary route. - diff --git a/changelog/unreleased/bugfixes/6978.md b/changelog/unreleased/bugfixes/6978.md deleted file mode 100644 index 4a2f05d69f0..00000000000 --- a/changelog/unreleased/bugfixes/6978.md +++ /dev/null @@ -1 +0,0 @@ -- Fixed an ANR caused by Copilot processing long routes diff --git a/changelog/unreleased/bugfixes/6986.md b/changelog/unreleased/bugfixes/6986.md deleted file mode 100644 index 67c1531ae3a..00000000000 --- a/changelog/unreleased/bugfixes/6986.md +++ /dev/null @@ -1,11 +0,0 @@ -- Improved duration calculation for EV routes to account for charging time. -- Added snapping feature to the navigation for walking and cycling profiles. -- Started invalidating passed alternatives conditionally on the fork structure. -- Started using offline router if server returns 404 or 403. -- Increased the distance at which the navigator discards passed alternative route in `NavigationRouteAlternativesObserver#onRouteAlternatives`. This reduces the chance of discarding alternative routes to which a driver deviated from the primary route. -- Fixed a possible native crash in `ElectronicHorizonObserver` on application exit. -- Fixed redundant memory usage for onboard router. -- Fixed inconsistent choice between re-route and switching to alternative due to the fact that the alternative was not checked on every off-route state. -- Fixed a crash caused by segfault "wstring_convert: from_bytes" error for HTTP responses. -- Made costing algorithms using lightweight info about road graph (should improve performance). -- Switched all realtime sensitive operations onto a separate thread instead of low-prioritised background thread pool. No long status delays should happen in the future. \ No newline at end of file diff --git a/changelog/unreleased/features/6610.md b/changelog/unreleased/features/6610.md deleted file mode 100644 index a30f09876d7..00000000000 --- a/changelog/unreleased/features/6610.md +++ /dev/null @@ -1,18 +0,0 @@ -- Added `RouteRefreshController` interface to manage route refreshes. Retrieve it via `MapboxNavigation#routeRefreshController`. -- Added `RouteRefreshController#requestImmediateRouteRefresh` to trigger route refresh request immediately. -- Moved `MapboxNavigation#registerRouteRefreshStateObserver` to `RouteRefreshController#registerRouteRefreshStateObserver`. To migrate, change: - ```kotlin - mapboxNavigation.registerRouteRefreshStateObserver(observer) - ``` - to - ```kotlin - mapboxNavigation.routeRefreshController.registerRouteRefreshStateObserver(observer) - ``` -- Moved `MapboxNavigation#unregisterRouteRefreshStateObserver` to `RouteRefreshController#unregisterRouteRefreshStateObserver`. To migrate, change: - ```kotlin - mapboxNavigation.unregisterRouteRefreshStateObserver(observer) - ``` - to - ```kotlin - mapboxNavigation.routeRefreshController.unregisterRouteRefreshStateObserver(observer) - ``` \ No newline at end of file