Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,17 @@
Mapbox welcomes participation and contributions from everyone.

### main

### v6.5.0-beta.3 - April 27, 2022
- Added `ignore` parameter to Map Matching API. [#1424](https://github.com/mapbox/mapbox-java/pull/1424)
- Added roundtrip of unrecognized JSON properties. [#1394](https://github.com/mapbox/mapbox-java/pull/1394)
- Added API to access unrecognized JSON properties. See `#getUnrecognizedProperty` and `#getUnrecognizedPropertiesNames` in each Directions API model object. [#1416](https://github.com/mapbox/mapbox-java/pull/1416)
- Added `RouteOptions.Builder#unrecognizedProperties` to set custom request parameters to a URL generated by `RouteOptions#toUrl` only. The custom request parameters are not supported by `MapboxDirections` service. [#1420](https://github.com/mapbox/mapbox-java/pull/1420)
- Removed experimental EV routing request/response parameters. Please use the `RouteOptions.Builder#unrecognizedProperties` to set experimental request parameters, and `#getUnrecognizedProperty` to get values from relevant response objects. EV routing parameters documentation is available [here](https://docs.mapbox.com/api/navigation/directions/#electric-vehicle-routing). [#1422](https://github.com/mapbox/mapbox-java/pull/1422)

#### Known issues
- `RouteOptions#toUrl` might still produce invalid URLs (and fail a request or later crash on `RouteOptions#fromUrl`) if query parameters contain `&` chars that do not exactly match the `<white space>&<white space>` pattern. Only this specific pattern is escaped correctly.

### v6.4.1 - April 22, 2022
- Added correct escaping for `<white space>&<white space>` pattern in query parameters for `RouteOptions#toUrl`. [#1410](https://github.com/mapbox/mapbox-java/pull/1410).

Expand Down