From b2f9b39c8a69ae84075396cfcddd0e36a9462606 Mon Sep 17 00:00:00 2001 From: Dzina Date: Fri, 6 Oct 2023 17:34:02 +0300 Subject: [PATCH 1/2] bump NN to 159.0.0, Common to 23.8.3, Maps to 10.16.1 --- changelog/unreleased/bugfixes/dd.md | 4 ++++ gradle/dependencies.gradle | 6 +++--- .../core/routealternatives/RouteAlternativesController.kt | 3 ++- .../mapbox/navigation/testing/factories/NativeFactories.kt | 4 ---- 4 files changed, 9 insertions(+), 8 deletions(-) create mode 100644 changelog/unreleased/bugfixes/dd.md diff --git a/changelog/unreleased/bugfixes/dd.md b/changelog/unreleased/bugfixes/dd.md new file mode 100644 index 00000000000..89bea17583c --- /dev/null +++ b/changelog/unreleased/bugfixes/dd.md @@ -0,0 +1,4 @@ +- Improved ramp detection and reduced unexpected jumps between parallel elevated roads. +- Reduced memory consumption. +- Improved location accuracy on "walking" and "cycling" profiles. +- Fixed false-positive "exiting the tunnel" mapmatching errors. \ No newline at end of file diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle index 3de73c21a26..d6b45aab501 100644 --- a/gradle/dependencies.gradle +++ b/gradle/dependencies.gradle @@ -13,15 +13,15 @@ ext { // version which we should use in this build def mapboxNavigatorVersion = System.getenv("FORCE_MAPBOX_NAVIGATION_NATIVE_VERSION") if (mapboxNavigatorVersion == null || mapboxNavigatorVersion == '') { - mapboxNavigatorVersion = '158.0.0' + mapboxNavigatorVersion = '159.0.0' } println("Navigation Native version: " + mapboxNavigatorVersion) version = [ - mapboxMapSdk : '10.16.0', + mapboxMapSdk : '10.16.1', mapboxSdkServices : '6.13.0', mapboxNavigator : "${mapboxNavigatorVersion}", - mapboxCommonNative : '23.8.0', + mapboxCommonNative : '23.8.3', mapboxCrashMonitor : '2.0.0', mapboxAnnotationPlugin : '0.8.0', mapboxBaseAndroid : '0.8.0', diff --git a/libnavigation-core/src/main/java/com/mapbox/navigation/core/routealternatives/RouteAlternativesController.kt b/libnavigation-core/src/main/java/com/mapbox/navigation/core/routealternatives/RouteAlternativesController.kt index e427b649045..4e636fc2462 100644 --- a/libnavigation-core/src/main/java/com/mapbox/navigation/core/routealternatives/RouteAlternativesController.kt +++ b/libnavigation-core/src/main/java/com/mapbox/navigation/core/routealternatives/RouteAlternativesController.kt @@ -224,7 +224,8 @@ internal class RouteAlternativesController constructor( logE( """ |unable to parse alternative at index $index; - |failure for response: ${routeAlternative.route.responseJson} + |failure for response with uuid: + |${routeAlternative.route.responseUuid} """.trimMargin(), LOG_CATEGORY ) diff --git a/libtesting-thirdparty/src/main/java/com/mapbox/navigation/testing/factories/NativeFactories.kt b/libtesting-thirdparty/src/main/java/com/mapbox/navigation/testing/factories/NativeFactories.kt index 0e33e00aeb2..fdca267060b 100644 --- a/libtesting-thirdparty/src/main/java/com/mapbox/navigation/testing/factories/NativeFactories.kt +++ b/libtesting-thirdparty/src/main/java/com/mapbox/navigation/testing/factories/NativeFactories.kt @@ -198,8 +198,6 @@ fun createRouteInterface( return responseJson.toDataRef() } - override fun getResponseJson() = responseJson - override fun getRequestUri() = requestURI override fun getRouterOrigin() = routerOrigin @@ -208,8 +206,6 @@ fun createRouteInterface( override fun getWaypoints() = waypoints - override fun getWaypointsJson() = waypointsJson - override fun getExpirationTimeMs(): Long? = expirationTimeMs override fun getLastRefreshTimestamp(): Date? = lastRefreshTimestamp From 2d958a7bd0b096df64d3e7a47b847452c0c7f6af Mon Sep 17 00:00:00 2001 From: runner Date: Fri, 6 Oct 2023 14:49:22 +0000 Subject: [PATCH 2/2] Rename changelog files --- changelog/unreleased/bugfixes/{dd.md => 7541.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename changelog/unreleased/bugfixes/{dd.md => 7541.md} (100%) diff --git a/changelog/unreleased/bugfixes/dd.md b/changelog/unreleased/bugfixes/7541.md similarity index 100% rename from changelog/unreleased/bugfixes/dd.md rename to changelog/unreleased/bugfixes/7541.md