Skip to content

Latest commit

 

History

History
347 lines (277 loc) · 20.5 KB

CHANGELOG.md

File metadata and controls

347 lines (277 loc) · 20.5 KB

Changelog for Mapbox Java and Android Services

Mapbox welcomes participation and contributions from everyone.

v4.0.0 - September 19, 2018

  • downgrade to java 7 #876
  • The first and last positions should be equivalent in polygon ring Bug Ready For Review refactor #886
  • Fix circle generation in TurfTransformation #885
  • coordinates() should have @NotNull annotation in Geometry implementations #882
  • Tilequery API #879
  • all accesToken fields should be annotated with @nonnull #875

v3.4.1 - August 9, 2018

  • DirectionsRoute#fromJson RuntimeException (#864)

v3.4.0 - August 6, 2018

  • Fixed typo in static map annotations and added tests for map annotations (#855)
  • Added toJson and fromJson to Directions models (#854)
  • Upgraded dependencies (#853)
  • Missing space (#846)
  • Add voiceLanguage to MapMatchingMatching (#847)

v3.3.0

  • add reverseMode parameter to Geocoding Service (#843)
  • doc changes (#840) (#835)
  • static map request format #836 (#839)
  • add waypoint names (#831)
  • add approaches to RouteOptions (#830)

v3.2.0

  • Added sub - to BannerInstructions (#823)
  • Added directions & active - to BannerText (#823)
  • Properties passed to Feature.fromGeometry and CarmenFeature.properties should be Nullable (#815)
  • Move TurfAssertions.getCoord() to TurfMeta.getCoord() to follow Turf.js (#818)
  • Semicolon should be used as radiuses and timestamps delimiters (#821)
  • Added approaches request paramenter to Directions and MapMatching (#827)

v3.1.0

  • Added voiceLocale to DirectionsRoute (#804)
  • Added line-slice-along() and degreesToRadians() to Turf functions(#800)
  • Removed java.awt.Color dependency in static map (#793)
  • Add missing RouteOptions params for MapMatching (#792)
  • Added BoundingBox.fromLngLats() for consistency (#789)
  • added toBuilder() to model classes (#787)

v3.0.1

  • Adjust maxspeed annotation #777

v3.0.0

  • Added MapMatching Error reporting #758
  • MapMaptchingMatching to DirectionsRoute #759
  • Add Abbreviations and type to BannerComponent #762
  • Add voiceUnits to MapMatching #764
  • Implemented Comparable in BannerComponents #768
  • Adds a bbox() utility method for Geometry #769
  • Adds a method to Geometry to load from json #770
  • Add MaxSpeed Annotation to Directions API #772

v3.0.0-beta.4

  • Rework dependency tree, add api instead of implementation
  • Remove unprintable chars in api request
  • Make GeometryCollection a Geometry as specified in the spec at sections 1.4 and 3.1.8
  • Add Degrees and Driving Side to BannerText
  • Add tunnel and restricted to possible values of exclude criteria
  • Turf functions name changes
  • Make getOkHttpClient synchronized
  • Add type and modifier to BannerText
  • Add baseUrl to RouteOptions

v3.0.0-beta.3

  • Added back fromLngLats() that take double arrays for coordinates #722
  • Adds waypoints, roundaboutExits, voiceInstructions, bannerInstructions params to MapMatching API #718
  • Added back Bounding box deserializer to CarmenFeature #712

v3.0.0-beta.2

  • 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

v3.0.0-beta.1

  • 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.

v2.2.10

  • Updates OkHttp version to 3.10.0 #727
  • Moves internal method previously used in OkHttp and places it directly into telemetry package #727

v2.2.9

  • Deactivate location engine when shutting down telemetry service #638
  • Add obtain location engine type javadoc #635
  • Bump Lost version to 3.0.4 #636
  • Downgrade minimum sdk version to 14 #630

v2.2.8

  • Revert mapbox-android-core dependency PR #627

v2.2.7

  • mapbox-android-core dependency #622
  • Add telem audio type support #604
  • Add telem cancel rating and comment track support #617
  • Add telem percent time in foreground and in portrait track support #616
  • Add telem absolute distance to destination support #615
  • Add telem current location engine being used track support #605
  • Get correct volume level #600
  • Flush Navigation Events Manually #601
  • NPE for BatteryStatus #602

v2.2.6

  • Fix for Matrix source and destination returning null rather than the true value #588
  • Add optional locationEngine dependencies #502

v2.2.5

  • set sdkIdentifier and sdkVersion when pushing turnstile event #574

v2.2.4

  • Bumped Navigation Events EVENT_VERSION variable to version 3 #570
  • Adds missing event parameters to the NavigationEvent methods #569
  • Adds newUserAgent to telemetry #568
  • Fixes arrival timestamp formatting #567
  • Omit null optional fields in Nav events #566
  • Adds missing device attribute to Navigation events #565
  • Adds roundaboutExits param to MapboxDirections #562

v2.2.3

  • Introduce setDebugLoggingEnabled API #549

v2.2.2

  • Adds setter for session rotation time #544

v2.2.1

  • Updates release script for CircleCI #541

v2.2.0

  • Adds ProGuard rules for Optimization and Directions Matrix API #516
  • Adds support for multiple languages in geocoder auto complete widget: [#512}(mapbox#512)
  • Adds support for multiple languages in geocoder API: #512
  • Reduced API access in GeocoderAdapter.java to non-public since user has no reason for using: #512
  • Auto complete widget now extends to Support Library widget: #512
  • TYPE_DISTRICT and TYPE_LOCALITY result filters added: #512
  • Adds place_type support in Carman Feature: #512
  • Adds matching_text support in Carman Feature: #512
  • Adds matching_place_name support in Carman Feature: #512
  • Adds language support in Carman Feature: #512
  • Several Javadoc improvements: #512
  • Updated fixtures and test: #512
  • Adds exception and test for Turf methods which require at least 2 coordinates: #513
  • Resolves Fatal Exception: java.lang.OutOfMemoryError with the TelemetryClient: #467
  • Fixes Optimization API getRadius() method which wasn't being converted to a string: #506
  • Fixes Optimization API getBearing() method which wasn't being converted to a string: #506
  • Adds support for Optimization API language parameter: #506
  • Adds support for Optimization API distributions parameter: #506
  • Adds missing Optimization API waypoint_index inside the OptimizationWaypoint class: #506
  • Deprecates Optimization API annotation in favor of the correct name annotations: #506
  • Adds directions API support for languages #504
  • Adds directions API support for congestions annotation: #469
  • Adds alternatives_count to MapMatchingTraceoint class: #507
  • Adds support for the language param in MapMatching API: #507
  • Mock LocationEngine exposed in libandroid-services: #476
  • Adds Convert distance methods in TurfHelper class: #476

v2.1.3

  • Downgrade LOST to v1.1.1 to address stability issues #493

v2.1.2

  • Update to LOST 3.0.1 which fixes a bug where location requests were too aggressive #486
  • Expose MockLocationEngine as part of the public API #476
  • Update style versions to v10 and add traffic styles #478
  • Fix static marker annotation URL generation #479
  • Add convert distance method to TurfHelper #481
  • Add new SSL certs for 2018/2019 #484

v2.1.1

v2.1.0

  • The Mapbox Navigation SDK for Android has been moved into its own repository. Code and tickets can now be followed on mapbox-navigation-android #439
  • Introduced support for the Optimized Trips API #437
  • Added support for the Directions Matrix API. This replaces the Distance API #418, which is now deprectated #405
  • Added support for direction annotations #417
  • Added setInterval, setFastestInterval and setSmallestDisplacement to allow configurable LocationEngine parameters #402
  • Added setters in DirectionsResponse to simplify object creation #422
  • Added weight and weight_name support to the Directions API response #438
  • Fixed issue where some coordinates were overwritten when setting all origin, destination and a coordinates list inside the directions builder #420
  • Fixed bug when using TurfMisc.pointOnLine() where incorrect warnings would state your Position values were outside the recommended range #416
  • Enhanced coordinates formatting to remove trailing zeros #424

v2.0.0 - March 17th, 2017

  • Mapbox Navigation SDK #346
  • Introduce support for Mapbox Distance API #219
  • Update Map Matching API to support new v5
  • Divide library into smaller modules to reduce method count on Android projects #251
  • AppEngine support #344
  • Introduce support for Mapbox Telemetry #282
    • Added reusable components for permission and connectivity management #276
    • Abstracted the location engine from a specific provider #269 and provide default implementations #320
  • Shared improvements across clients
    • RxJava support #304
    • Enabled setting a base URL to facilitate testing #245
  • Directions improvements:
    • Added direction v5 lanes #214
    • Added support for the driving-traffic profile #292
    • Added support for polyline6 #287
    • Added rotary convenience methods #329
    • Added bearing query parameter #337
    • Remove support for v4 #260
  • Geocoding improvements:
    • Batch requests support #267
    • Added landmark, limit, country parameters support #209 #217
    • Added cancel method #226, setting multiple types #230, and language, base URL method setting to autocomplete widget #315 #328

v2.0.0-beta.3

  • Make ServicesException and TurfException unchecked exceptions

v2.0.0-beta.2

  • Mapbox Navigation SDK
  • Bearing query parameter and rotary convenience methods added to the Directions API
  • Base URL method setting added to geocoder autocomplete widget
  • AppEngine support

v2.0.0-beta.1

  • Introduce support for Mapbox Distance API
  • Update Map Matching API to support new v5
  • Divide library into smaller modules to reduce method count on Android projects (libjava-core, libjava-geojson, libjava-services, libjava-services-rx, libandroid-telemetry, libandroid-services, libandroid-ui)
  • Introduce support for Mapbox Telemetry
    • Added reusable components for permission and connectivity management
    • Abstracted the location engine from a specific provider and provide default implementations
  • Shared improvements across clients:
    • RxJava support
    • Enabled setting a base URL to facilitate testing
  • Directions improvements:
    • Added direction v5 lanes
    • Added support for the driving-traffic profile
    • Added support for polyline6
    • Remove support for v4
  • Geocoding improvements:
    • Batch requests support
    • Added landmark, limit, country parameters support
    • Added cancel method, setting multiple types, and language method setting to autocomplete widget

v1.3.2

  • Geocoding: added poi.landmark type

v1.3.1

  • GeoJson: Feature properties are now properly serialized and raw array tests have been added
  • Introduce checkstyle to the project

v1.3.0

  • RouteUtils class to simplify work with RouteLeg objects
  • geojson-tidy integrated with Map Matching client
  • Added Turf's midpoint, along, and within methods
  • Added an example to showcase Turf's lineslice
  • Geocoding widget now supports the bbox parameter

v1.2.1

  • Bring back toString() method in CarmenFeature
  • Fixes regresion in GeocoderAutoCompleteView

Full changelog: https://github.com/mapbox/mapbox-java/issues?q=milestone%3Av1.2.1+is%3Aclosed

v1.2.0

  • Support for the Map Matching API
  • Improved Geocoder API (including support for wikidata and bbox)
  • Better Static Image API
  • Some Turf methods ported to Java: TurfMeasurement.bearing, TurfMeasurement.destination, TurfMeasurement.distance, TurfMeasurement.lineDistance, TurfHelpers.distanceToRadians, TurfHelpers.radiansToDistance, TurfMisc.lineSlice
  • simplify-js ported to Java
  • Updated to libjava v1.2.0
  • Several examples added to the TestApp
  • Improved documentation

Full changelog: https://github.com/mapbox/mapbox-java/issues?q=milestone%3Av1.2.0+is%3Aclosed

v1.1.0

  • Support for directions API v5
  • Support for Maki 3 and directions icons in Test App
  • Fixed a bug where locale was different from Locale.US
  • Updated to libjava v1.1.0
  • Removed extra dependencies to reduce method count

Full changelog: https://github.com/mapbox/mapbox-java/issues?q=milestone%3Av1.1.0+is%3Aclosed

v1.0.0

  • Initial release: Java module with no Android dependencies
  • Support for Geocoding API v5
  • Support for Directions API v4 and v5
  • Support for Static API v1
  • RxJava support
  • Support for GeoJSON objects
  • Polyline encoder and decoder
  • Initial release
  • Full replacement for the stock AndroidGeocoder
  • Geocoder autocomplete widget based on Android's AutoCompleteTextView
  • Utility class to handle the new permission system in 6.0
  • TestApp with sample code for directions v4 and v5, geocoding (reverse, widget, service), and static image with Picasso