Skip to content

Conversation

@korshaknn
Copy link
Contributor

Description

Screenshots or Gifs

@github-actions
Copy link

github-actions bot commented Jan 13, 2023

Changelog

Features

  • Added RoadComponent.language value. #6833
  • ⚠️ Changed EHorizonEdgeMetadata.names class from RoadName to RoadComponent. #6833
    To migrate change your code from:
val shielded = roadName.shielded

into:

val shielded = roadComponent.shield != null
  • Added support for continuous EV alternatives in NavigationRouteAlternativesObserver. #6833
  • Fixed issues with map-matching to HOV-only roads. #6833
  • Set a limit of simultaneously running onboard route requests to avoid too many tasks blocking too much of the device's computing resources. #6833
  • Fixed an issue with Road Access Policy ignoring the setting to map-match to closed road sections, when enabled. #6833
  • Added MapboxTripStarter to simplify the solution for managing the trip session and replaying routes. This also makes it possible to share the replay state between drop-in-ui and android-auto. #6794

Bug fixes and improvements

  • Increased max distance from the user indicator to route line valid to continue vanishing updates from 3m to 10m. #6854
  • Fixed an issue where alternative routes might have had an incorrect or incomplete portion of the route refreshed or occasionally fail to refresh. #6848
  • Removed NavigationRoute#hasUnexpectedClosures and added RouteProgress#hasUnexpectedUpcomingClosures instead that checks whether route has upcoming unexpected closures (the algorithm does not take into account closures that the puck has already been on) #6841
  • Improved NavigationView camera behavior to go back into overview state if routes change during route preview state. #6840
  • Improved NavigationView camera behavior to ignore keyboard insets. #6845

Known issues ⚠️

Other changes

Android Auto Changelog

Features

  • Added support for Junction Views. #6849

Bug fixes and improvements

  • Optimized SpeedLimitWidget memory usage. #6859

@korshaknn korshaknn force-pushed the knn_bump_sdk_deps branch 4 times, most recently from 2b7b890 to 8f6746f Compare January 13, 2023 15:21
Comment on lines -1159 to -1165
public final class RoadName {
method public String getName();
method public boolean getShielded();
property public final String name;
property public final boolean shielded;
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we fine with these breaking changes?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's EHorizon only, and it's in beta, so I think we are ok
cc @LukasPaczos @Guardiola31337

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not experimental. I don't think it's OK.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dzinad we don't have @Experimental annotations for EHorizon classes, but all of them have the next comment

* **NOTE**: The Mapbox Electronic Horizon feature of the Mapbox Navigation SDK is in public beta
 * and is subject to changes, including its pricing.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright then. We should have added the annotation.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@codecov
Copy link

codecov bot commented Jan 13, 2023

Codecov Report

Merging #6833 (fe180e3) into main (2e5165e) will increase coverage by 0.01%.
The diff coverage is 11.11%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main    #6833      +/-   ##
============================================
+ Coverage     72.66%   72.68%   +0.01%     
  Complexity     5572     5572              
============================================
  Files           783      782       -1     
  Lines         30171    30166       -5     
  Branches       3564     3562       -2     
============================================
+ Hits          21924    21926       +2     
+ Misses         6821     6814       -7     
  Partials       1426     1426              
Impacted Files Coverage Δ
...igation/base/trip/model/eh/EHorizonEdgeMetadata.kt 0.00% <0.00%> (ø)
...ox/navigation/base/trip/model/eh/EHorizonMapper.kt 1.29% <0.00%> (-0.02%) ⬇️
...mapbox/navigation/base/road/model/RoadComponent.kt 20.83% <12.50%> (-2.70%) ⬇️
...ox/navigation/base/internal/factory/RoadFactory.kt 72.72% <100.00%> (+2.72%) ⬆️

@korshaknn
Copy link
Contributor Author

@dzinad I've changed tolerance in WaypointsTest to pass them. Could you double check?

@dzinad
Copy link
Contributor

dzinad commented Jan 16, 2023

@dzinad I've changed tolerance in WaypointsTest to pass them. Could you double check?

Looks fine.

@korshaknn korshaknn force-pushed the knn_bump_sdk_deps branch 3 times, most recently from a8463ca to f22083f Compare January 18, 2023 09:17
@korshaknn
Copy link
Contributor Author

korshaknn commented Jan 18, 2023

instrumentation test additional_alternative_is_not_force_to_invoke_alternatives_observer
always crashes on API 33 and 31 with a native crash. https://console.firebase.google.com/u/0/project/mapbox-navigation-android/testlab/histories/bh.54eb2dd57e959221/matrices/6292238984157145847/executions/bs.e41875b0127bbda1
at the same time it passes on API 23
locally it passes on API 33
cc @LukasPaczos @averkhaturau

@korshaknn korshaknn force-pushed the knn_bump_sdk_deps branch 2 times, most recently from d3359fd to 48b7854 Compare January 24, 2023 10:42
into:
```kotlin
val shielded = roadComponent.shield != null
``` No newline at end of file

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
```
- Added support for continuous EV alternatives in `NavigationRouteAlternativesObserver`.
- Fixed issues with map-matching to HOV-only roads.
- Set a limit of simultaneously running onboard route requests to avoid too many tasks blocking too much of the device's computing resources.
- Fixed an issue with Road Access Policy ignoring the setting to map-match to closed road sections, when enabled.
cc @averkhaturau @mskurydin to double-check

Comment on lines +1 to +2
- Added `RoadComponent.language` value.
- :warning: Changed `EHorizonEdgeMetadata.names` class from `RoadName` to `RoadComponent`.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Added `RoadComponent.language` value.
- :warning: Changed `EHorizonEdgeMetadata.names` class from `RoadName` to `RoadComponent`.
- :warning: Changed `EHorizonEdgeMetadata.names` class from `RoadName` to `RoadComponent`.
- Added `RoadComponent.language` value.

nit, this way it will be easier to read.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see we're done with CI, in this case we can skip this. We can always address when composing final changelog.

@korshaknn korshaknn merged commit 09b5248 into main Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants