Releases: mapbox/mapbox-navigation-android
Mapbox Navigation SDK 2.12.0-beta.1
Mapbox Navigation SDK 2.12.0-beta.1 - 10 March, 2023
Changelog
Changes between v2.12.0-alpha.1 and v2.12.0-beta.1
Features
- Added
RouteRefreshController#pauseRouteRefreshes
andRouteRefreshController#resumeRouteRefreshes
to pause and resume planned route refreshes correspondingly. #6976
Known issues ⚠️
- Route refresh base URL is not set via
RouteOptions#baseUrl
. Instead,NavigationOptions#routingTilesOptions#tilesBaseUri
is used for refresh.
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) - Mapbox Navigation Native
v127.1.0
- Mapbox Core Common
v23.4.0-beta.1
- Mapbox Java
v6.11.0
(release notes)
Mapbox Navigation SDK 2.9.8
Mapbox Navigation SDK 2.9.8 - 06 March, 2023
Changelog
Changes between v2.9.7 and v2.9.8
Features
Bug fixes and improvements
- Fixed an ANR caused by Copilot processing long routes. #6982
Known issues ⚠️
- Route refresh base URL is not set via
RouteOptions#baseUrl
. Instead,NavigationOptions#routingTilesOptions#tilesBaseUri
is used for refresh.
Mapbox dependencies
This release depends on, and has been tested with, the following Mapbox dependencies:
- Mapbox Maps SDK
v10.9.0
(release notes) - Mapbox Navigation Native
v119.0.6
- Mapbox Core Common
v23.1.1
- Mapbox Java
v6.9.0
(release notes) - Mapbox Android Core
v5.0.2
(release notes)
Mapbox Navigation SDK 2.8.4
Mapbox Navigation SDK 2.8.4 - 06 March, 2023
Changelog
Changes between v2.8.3 and v2.8.4
Features
Bug fixes and improvements
- Fixed an ANR caused by Copilot processing long routes. #6983
Known issues ⚠️
- Route refresh base URL is not set via
RouteOptions#baseUrl
. Instead,NavigationOptions#routingTilesOptions#tilesBaseUri
is used for refresh.
Mapbox dependencies
This release depends on, and has been tested with, the following Mapbox dependencies:
- Mapbox Maps SDK
v10.8.0
(release notes) - Mapbox Navigation Native
v115.1.0
- Mapbox Core Common
v23.0.0
- Mapbox Java
v6.8.0
(release notes) - Mapbox Android Core
v5.0.2
(release notes)
Mapbox Navigation SDK 2.7.4
Mapbox Navigation SDK 2.7.4 - 06 March, 2023
Changelog
Changes between v2.7.3 and v2.7.4
Features
Bug fixes and improvements
- Fixed an ANR caused by Copilot processing long routes. #6984
Mapbox dependencies
This release depends on, and has been tested with, the following Mapbox dependencies:
- Mapbox Maps SDK
v10.7.0
(release notes) - Mapbox Navigation Native
v111.1.1
- Mapbox Core Common
v22.1.0
- Mapbox Java
v6.7.0
(release notes) - Mapbox Android Core
v5.0.2
(release notes)
androidauto-v0.21.0
androidauto-v0.21.0 - 06 March, 2023
Changelog
Changes between 0.20.0 and 0.21.0
Bug fixes and improvements
- Fixed an issue with the experimental route preview screen that caused template restrictions violations. #7014
Mapbox dependencies
This release defines minimum versions for the Mapbox dependencies.
- Mapbox Maps Android Auto Extension
v0.5.0
(release notes) - Mapbox Navigation
v2.10.3
(release notes)
androidauto-v0.20.0
androidauto-v0.20.0 - 06 March, 2023
Changelog
Changes between 0.19.0 and 0.20.0
Features
- Bumped Navigation and Search versions to 2.10.3 and 1.0.0-rc.1 respectively. #7000
Mapbox dependencies
This release defines minimum versions for the Mapbox dependencies.
- Mapbox Maps Android Auto Extension
v0.5.0
(release notes) - Mapbox Navigation
v2.10.3
(release notes)
Mapbox Navigation SDK 2.12.0-alpha.1
Mapbox Navigation SDK 2.12.0-alpha.1 - 04 March, 2023
Changelog
Changes between v2.11.0 and v2.12.0-alpha.1
Features
- Added
RouteRefreshController
interface to manage route refreshes. Retrieve it viaMapboxNavigation#routeRefreshController
. #6610 - Added
RouteRefreshController#requestImmediateRouteRefresh
to trigger route refresh request immediately. #6610 - Moved
MapboxNavigation#registerRouteRefreshStateObserver
toRouteRefreshController#registerRouteRefreshStateObserver
. To migrate, change: #6610tomapboxNavigation.registerRouteRefreshStateObserver(observer)
mapboxNavigation.routeRefreshController.registerRouteRefreshStateObserver(observer)
- Moved
MapboxNavigation#unregisterRouteRefreshStateObserver
toRouteRefreshController#unregisterRouteRefreshStateObserver
. To migrate, change: #6610tomapboxNavigation.unregisterRouteRefreshStateObserver(observer)
mapboxNavigation.routeRefreshController.unregisterRouteRefreshStateObserver(observer)
Bug fixes and improvements
- Fixed an ANR caused by Copilot processing long routes. #6978
- Fixed revealing of access token in the logs during tiles downloading. #6966
- Optimized RAM usage for onboard routing. #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 - Improved duration calculation for EV routes to account for charging time. #6986
- Added snapping feature to the navigation for walking and cycling profiles. #6986
- Started invalidating passed alternatives conditionally on the fork structure. #6986
- Started using offline router if server returns 404 or 403. #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 - Fixed a possible native crash in
ElectronicHorizonObserver
on application exit. #6986 - Fixed redundant memory usage for onboard router. #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
- Fixed a crash caused by segfault "wstring_convert: from_bytes" error for HTTP responses. #6986
- Made costing algorithms using lightweight info about road graph (should improve performance). #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
Known issues ⚠️
- Route refresh base URL is not set via
RouteOptions#baseUrl
. Instead,NavigationOptions#routingTilesOptions#tilesBaseUri
is used for refresh.
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) - Mapbox Navigation Native
v127.1.0
- Mapbox Core Common
v23.4.0-beta.1
- Mapbox Java
v6.11.0
(release notes)
Mapbox Navigation SDK 2.11.0
Mapbox Navigation SDK 2.11.0 - 03 March, 2023
Changelog
Changes between v2.10.0 and v2.11.0
Features
- Added
RoadObjectType.IC
andRoadObjectType.JCT
for interchanges and junctions and the corresponding classesInterchange
andJunction
. #6943
Bug fixes and improvements
- Fixed a crash caused by segfault "wstring_convert: from_bytes" error for HTTP responses. #6979
- Fixed an ANR caused by Copilot processing long routes. #6978
- Fixed revealing of access token in the logs during tiles downloading. #6966
- Optimized RAM usage for onboard routing. #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 - Limited number of reported alternatives to 2, i.e. the
alternatives
parameter inRouteAlternativesObserver#onRouteAlternatives
has maximum size of 2. #6943 - Speed up onboard routing cancellation. #6943
- Fixed null pointer dereference in RouteRefreshController. #6943
- Fixed unexpected NaN values in location data. #6943
- Increased terminal offboard route request timeout from 4 to 15 seconds. #6943
- Fixed a rare race condition where the alternative routes might have not been in sync with the current primary route. #6942
- Fixed an issue where all
UpcomingRoadObject
's had the samedistanceToStart
. #6945
Known issues ⚠️
- Route refresh base URL is not set via
RouteOptions#baseUrl
. Instead,NavigationOptions#routingTilesOptions#tilesBaseUri
is used for refresh.
Mapbox dependencies
This release depends on, and has been tested with, the following Mapbox dependencies:
- Mapbox Maps SDK
v10.11.1
(release notes) - Mapbox Navigation Native
v126.0.3
- Mapbox Core Common
v23.3.2
- Mapbox Java
v6.11.0
(release notes)
Mapbox Navigation SDK 2.10.3
Mapbox Navigation SDK 2.10.3 - 03 March, 2023
Changelog
Changes between v2.10.2 and v2.10.3
Features
Bug fixes and improvements
- Fixed an ANR caused by Copilot processing long routes #6978
- Fixed a crash caused by segfault "wstring_convert: from_bytes" error for HTTP responses. #6985
Known issues ⚠️
- Route refresh base URL is not set via
RouteOptions#baseUrl
. Instead,NavigationOptions#routingTilesOptions#tilesBaseUri
is used for refresh.
Mapbox dependencies
This release depends on, and has been tested with, the following Mapbox dependencies:
- Mapbox Maps SDK
v10.10.2
(release notes) - Mapbox Navigation Native
v123.3.3
- Mapbox Core Common
v23.2.3
- Mapbox Java
v6.10.0
(release notes)
Mapbox Navigation SDK 2.11.0-rc.2
Mapbox Navigation SDK 2.11.0-rc.2 - 24 February, 2023
Changelog
Changes between v2.11.0-rc.1 and v2.11.0-rc.2
Features
Bug fixes and improvements
- Fixed revealing of access token in the logs during tiles downloading. #6966
- Optimized RAM usage for onboard routing. #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
Known issues ⚠️
- Route refresh base URL is not set via
RouteOptions#baseUrl
. Instead,NavigationOptions#routingTilesOptions#tilesBaseUri
is used for refresh.
Other changes
Mapbox dependencies
This release depends on, and has been tested with, the following Mapbox dependencies:
- Mapbox Maps SDK
v10.11.1
(release notes) - Mapbox Navigation Native
v126.0.1
- Mapbox Core Common
v23.3.2
- Mapbox Java
v6.11.0-beta.1
(release notes)