A few weeks have passed since the last beta release of 3.0. Quite a few bugs have been squashed since then including:
- Added static initializer methods with parameters accepting single objects rather than list in GeoJSON classes - #691
- Annotations added to the
PolylineUtils class. - #687
- Adds check to
PointOnLine Turf method to ensure 2 or more non-identical Points are used. - #689
- Added a missing return statement inside the internal
MapboxDirections response code. - #685
- User header agent constant is now using the generated BuildConfig file to add device information (Identical behavior to what was happening in 2.X). - #679
- Save access token in RouteOptions. - #669
- Resolved bug where the generated type adapter in
CarmenFeature class wasn't being used causing the SeralizedName annotation to be ignored. - #698
The 3.0 release includes these fixes:
- Banner instructions added to the Directions API.
- DrivingSide API in
RouteStep class added.
CarmenFeature class now has toJson and fromJson APIs.
- Direction Bearing param is no longer placed in order added, but rather, the matching of coordinate.
RouteOptions object added to Directions API to allow for making identical request.
- In the Directions API, errors returned from server are now returned in the
message API.
- Exclusions added to the directions API.
- Mapbox builders no longer require unnecessary generics.
- Model classes are now serializable.
- Directions Matrix API changed to Matrix API.
- Directions Optimization API name changed to Optimization API.
- Object classes now contains
equals, hash, and toString methods.
- Gradle
java plugin switched to java-library.
- Annotations library added so methods and classes can convey more information.
- Model and GeoJSON classes made immutable using AutoValue.
- Directions API UUID added inside the
DirectionsResponse model.
- Position object removed in favor of GeoJSON
Point for coordinate representation.
- Support for direction
class has been added.
- Requesting
RoundaboutExit is now possible and adds an additional instruction when traversing inside a roundabout or rotary.
- Retrofit, OkHttp, and other dependencies updated to use the latest.
- API service module split up in project to reflect individual Mapbox APIs.
Release checklist @cammace
/cc: @mapbox/android
A few weeks have passed since the last beta release of 3.0. Quite a few bugs have been squashed since then including:
PolylineUtilsclass. - #687PointOnLineTurf method to ensure 2 or more non-identicalPoints are used. - #689MapboxDirectionsresponse code. - #685CarmenFeatureclass wasn't being used causing theSeralizedNameannotation to be ignored. - #698The 3.0 release includes these fixes:
RouteStepclass added.CarmenFeatureclass now hastoJsonandfromJsonAPIs.RouteOptionsobject added to Directions API to allow for making identical request.messageAPI.equals,hash, andtoStringmethods.javaplugin switched tojava-library.DirectionsResponsemodel.Pointfor coordinate representation.classhas been added.RoundaboutExitis now possible and adds an additional instruction when traversing inside a roundabout or rotary.Release checklist @cammace
3.0.0-beta.2ingradle.properties3.0.0-beta.2artifact to Maven Central3.0.0-SNAPSHOTCHANGELOG.mdv3.0.0-beta.2in GitHubPost-release @langsmith
If there's a new SNAPSHOT version, then update this repo'sREADME.mdfileconstants.jsfile inandroid-docsrepo so thatcompile 'com.mapbox.mapboxsdk:mapbox-android-services:x.x.x'line is updated in the Gradle section of the MAS overview page/cc: @mapbox/android