diff --git a/CHANGELOG.md b/CHANGELOG.md index 8dd6af0375..38c369171c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,51 @@ Mapbox welcomes participation and contributions from everyone. +# 10.0.0-beta.20 - May 20, 2021 +## Breaking changes ⚠️ +* Introduce ResourceOptionsManager to configure the default resource options, and removed the xml configuration options for cache path and tile store path. ([#339](https://github.com/mapbox/mapbox-maps-android/pull/339)) +* Rename default ambient cache database to mapbox/maps/ambient_cache.db ([#314](https://github.com/mapbox/mapbox-maps-android/pull/314)) +* Remove the usage of asset path from the codebase, as it is not useful in Android Maps SDK. ([#334](https://github.com/mapbox/mapbox-maps-android/pull/334)) +* CameraManager#setBounds return type changed from void to expected +* Expose tileset version for sources that use TileJSON metadata +* ResourceRequest offline-data boolean field is replaced with the source string field, which whether the response came from network, cache or tile store +* Remove GeoJSON specific methods from `StyleManager`. `Map#queryFeatureExtensions` provides the same functionality +* Parsing geojson on a worker thread. Using DSL GeoJsonSource builders with the following functions `GeoJsonSource.Builder#feature`, `GeoJsonSource.Builder#featureCollection`, `GeoJsonSource.Builder#geometry` will immediately returns GeoJsonSource with no data set and starts preparing actual data using a worker thread. The data will be set to the GeoJsonSource once parsed. ([#327](https://github.com/mapbox/mapbox-maps-android/pull/327)) + +## Features ✨ and improvements 🏁 +* Add a `cameraOptions(cameraState, builderBlock)` inline method that helps mutate an existing `CameraState` object. ([#317](https://github.com/mapbox/mapbox-maps-android/pull/317)) +* Add selected state handling to annotation plugin ([#316](https://github.com/mapbox/mapbox-maps-android/pull/316)) +* Add API for disabling vertical/horizontal scroll gestures ([#319](https://github.com/mapbox/mapbox-maps-android/pull/319)) +* Introduce API to enable render cache feature that could bring up rendering performance improvement. ([#326](https://github.com/mapbox/mapbox-maps-android/pull/326)) +* Add `removeAnnotationManager` API. ([#330](https://github.com/mapbox/mapbox-maps-android/pull/330)) +* Improve terrain's rendering performance +* Set `begin` and `end` timestamps for StyleLoaded and MapLoaded events, so that developers could check how much time it takes to load style and map, respectively +* Added `tile-requests-delay` and `tile-network-requests-delay` runtime source properties - an API for tile requests delay +* Introduce MapOptions.optimizeForTerrain option that allow style rendering optimizations for terrain rendering +* The `text-line-height` is now data-driven property +* MapLoaded, StyleLoaded and StyleDataLoaded events now contain begin and end timestamps reflecting the effective duration timespan +* When line lablels are inside the flip state retaining range (+/- 5 degrees around the vertical direction), the lables' flip state will be kept the same +* Improve rendering quality of fill outlines when using render cache + +## Bug fixes 🐞 +* Fix scalebar doesn't refresh issue. ([#331](https://github.com/mapbox/mapbox-maps-android/pull/331)) +* Trigger nested high-level animator listener correctly. ([#335](https://github.com/mapbox/mapbox-maps-android/pull/335)) +* Make compass visible when camera was mutated while compass was disabled. ([#322](https://github.com/mapbox/mapbox-maps-android/pull/322)) +* Enable LocationComponent automatically when style loaded; fix null island location puck ([#333](https://github.com/mapbox/mapbox-maps-android/pull/333)) +* Fix crash if the belowLayerId doesn't exist on the current style ([#330](https://github.com/mapbox/mapbox-maps-android/pull/330)) +* Fix skybox cubemap sampling with metal rendering backend +* Fixed an issue that style pack download cancels pending tileset descriptor resolving, now tile region loading and style pack loading can work in parallel. +* Fixed the excessive network usage during map browsing caused by losing of the expiration date and the etag for the cached files +* Fix excessive network usage for delayed tile requests +* On style pack update we reset only glyphs and only when the updated options require less glyphs than currently available and we make sure ambient cache size limit is never exceeded +* Emit `StyleDataLoaded` and `SourceDataLoaded` synchronously if possible, so that developers could modify style and sources before map starts rendering style +* Fix occasional Adreno 640 and 620 driver warnings and deadlock when terrain is used +* Fix rendering order of transparent terrain proxy tiles + +## Dependencies +* Update telemetry (v7.0.1) and core (v4.0.1) dependencies to latest major version releases ([#337](https://github.com/mapbox/mapbox-maps-android/pull/337)) +* Bump gl-native to v10.0.0-beta.22 and common to v12.0.0. ([#338](https://github.com/mapbox/mapbox-maps-android/pull/338)) + # 10.0.0-beta.19 - May 5, 2021 ## Breaking changes ⚠️ * Remove temporary CustomMapInterface used for testing, obsolete with having interface inheritance from upstream. ([#296](https://github.com/mapbox/mapbox-maps-android/pull/296)) diff --git a/extension-style/README.md b/extension-style/README.md index 08a2c4482e..2d10079838 100644 --- a/extension-style/README.md +++ b/extension-style/README.md @@ -32,7 +32,7 @@ allprojects { // In the app build.gradle file dependencies { - implementation 'com.mapbox.extension:maps-style:10.0.0-beta.19' + implementation 'com.mapbox.extension:maps-style:10.0.0-beta.20' } ``` diff --git a/plugin-animation/README.md b/plugin-animation/README.md index a6841241d4..72f4a260df 100644 --- a/plugin-animation/README.md +++ b/plugin-animation/README.md @@ -34,7 +34,7 @@ allprojects { // In the app build.gradle file dependencies { - implementation 'com.mapbox.plugin:maps-animation:10.0.0-beta.19' + implementation 'com.mapbox.plugin:maps-animation:10.0.0-beta.20' } ``` diff --git a/plugin-attribution/README.md b/plugin-attribution/README.md index c885d9561e..08ff9ba2ed 100644 --- a/plugin-attribution/README.md +++ b/plugin-attribution/README.md @@ -33,7 +33,7 @@ allprojects { // In the app build.gradle file dependencies { - implementation 'com.mapbox.plugin:maps-attribution:10.0.0-beta.19' + implementation 'com.mapbox.plugin:maps-attribution:10.0.0-beta.20' } ``` diff --git a/plugin-compass/README.md b/plugin-compass/README.md index 3c8c15cc0d..fdfa971504 100644 --- a/plugin-compass/README.md +++ b/plugin-compass/README.md @@ -32,9 +32,9 @@ allprojects { // In the app build.gradle file dependencies { - implementation 'com.mapbox.plugin:maps-compass:10.0.0-beta.19' + implementation 'com.mapbox.plugin:maps-compass:10.0.0-beta.20' // Mapbox Maps Compass Plugin depends on the Mapbox Maps Animation Plugin - implementation 'com.mapbox.plugin:maps-animation:10.0.0-beta.19' + implementation 'com.mapbox.plugin:maps-animation:10.0.0-beta.20' } ``` diff --git a/plugin-gestures/README.md b/plugin-gestures/README.md index 3648ab51d8..b4cc97dec0 100644 --- a/plugin-gestures/README.md +++ b/plugin-gestures/README.md @@ -30,7 +30,9 @@ allprojects { // In the app build.gradle file dependencies { - implementation 'com.mapbox.plugin:maps-gestures:10.0.0-beta.19' + implementation 'com.mapbox.plugin:maps-gestures:10.0.0-beta.20' + // Mapbox Maps Gestures Plugin depends on the Mapbox Maps Animation Plugin + implementation 'com.mapbox.plugin:maps-animation:10.0.0-beta.20' } ``` diff --git a/plugin-locationcomponent/README.md b/plugin-locationcomponent/README.md index 51a4b45320..0c8c05b5ac 100644 --- a/plugin-locationcomponent/README.md +++ b/plugin-locationcomponent/README.md @@ -29,7 +29,7 @@ allprojects { } // In the app build.gradle file dependencies { - implementation 'com.mapbox.plugin:maps-locationcomponent:10.0.0-beta.19' + implementation 'com.mapbox.plugin:maps-locationcomponent:10.0.0-beta.20' } ``` diff --git a/plugin-logo/README.md b/plugin-logo/README.md index e21e340746..abdfe96297 100644 --- a/plugin-logo/README.md +++ b/plugin-logo/README.md @@ -30,7 +30,7 @@ allprojects { // In the app build.gradle file dependencies { - implementation 'com.mapbox.plugin:maps-logo:10.0.0-beta.19' + implementation 'com.mapbox.plugin:maps-logo:10.0.0-beta.20' } ``` diff --git a/plugin-overlay/README.md b/plugin-overlay/README.md index 0d02449c5f..638dfae0b6 100644 --- a/plugin-overlay/README.md +++ b/plugin-overlay/README.md @@ -32,7 +32,7 @@ allprojects { // In the app build.gradle file dependencies { - implementation 'com.mapbox.plugin:maps-overlay:10.0.0-beta.19' + implementation 'com.mapbox.plugin:maps-overlay:10.0.0-beta.20' } ``` diff --git a/plugin-scalebar/README.md b/plugin-scalebar/README.md index 0f6e603cf8..7f7e5004ed 100644 --- a/plugin-scalebar/README.md +++ b/plugin-scalebar/README.md @@ -32,7 +32,7 @@ allprojects { // In the app build.gradle file dependencies { - implementation 'com.mapbox.plugin:maps-scalebar:10.0.0-beta.19' + implementation 'com.mapbox.plugin:maps-scalebar:10.0.0-beta.20' } ```