Skip to content

Release 3.0-beta.2 #701

Description

@cammace

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

  • Change version name to 3.0.0-beta.2 in gradle.properties
  • Publish 3.0.0-beta.2 artifact to Maven Central
  • Change version name back to 3.0.0-SNAPSHOT
  • Update CHANGELOG.md
  • Tag v3.0.0-beta.2 in GitHub
  • Update dependencies in the Maps SDK

Post-release @langsmith

  • If there's a new SNAPSHOT version, then update this repo's README.md file
  • Update Javadoc for the MAS docs section
  • Update the constants.js file in android-docs repo so that compile 'com.mapbox.mapboxsdk:mapbox-android-services:x.x.x' line is updated in the Gradle section of the MAS overview page
  • Update version # in config files in /help @langsmith
  • Update version # in Store Locator project
  • Update version # in Studio Preview
  • Update version # in cndocs in /help
  • Update version # in cnplgn

/cc: @mapbox/android

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions