Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
azarovalex committed Mar 14, 2022
1 parent af2923b commit 1f5392a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changes to Mapbox Directions for Swift

## v2.4.0

* Added support for multiple road classes in `RouteOptions.roadClassesToAvoid` and `RouteOptions.roadClassesToAllow` properties. Refer to `RoadClasses` documentation to know which road classes can be avoided or allowed. Trying to avoid a road class that can be only allowed or vice-versa will trigger an assertion failure in Debug builds.

## v2.3.0

* Added `VisualInstruction.Component.ShieldRepresentation` struct and the `VisualInstruction.Component.ImageRepresentation.shield` property containing metadata for displaying a highway shield consistent with map styles used by the Mapbox Maps SDK. ([#644](https://github.com/mapbox/mapbox-directions-swift/pull/644), [#647](https://github.com/mapbox/mapbox-directions-swift/pull/647))
Expand Down

0 comments on commit 1f5392a

Please sign in to comment.