diff --git a/CHANGELOG.md b/CHANGELOG.md index 8aae50c85a..5d68e529c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,10 +2,30 @@ Mapbox welcomes participation and contributions from everyone. -# 10.0.0-rc.5 July 28, 2021 +# 10.0.0-rc.6 August 11, 2021 **The Mapbox Maps SDK for Android has moved to release candidate status and is now ready for production use.** +## Breaking changes ⚠️ +* Update extension function signatures making them easier to use from Java. ([#539](https://github.com/mapbox/mapbox-maps-android/pull/539)) +* Rename `mapView#overlay()` to `mapView#mapboxOverlay`. ([#539](https://github.com/mapbox/mapbox-maps-android/pull/539)) + +## Features ✨ and improvements 🏁 +* Support adding 9-patch images to the style. ([#536](https://github.com/mapbox/mapbox-maps-android/pull/536)) +* Outdated data for volatile sources gets hidden if cannot be updated due to no Internet connection. ([#543](https://github.com/mapbox/mapbox-maps-android/pull/543)) + +## Bug fixes 🐞 +* Fix several memory leaks: clean up OnFpsChangeListener on render thread destroy / introduce Snapshotter#destroy method that must be called in Activity#onDestroy ([#546](https://github.com/mapbox/mapbox-maps-android/pull/546)) +* Add layer and source check when creating annotations and init them if not initiated before which creates `AnnotationManager` before loading style. ([#549](https://github.com/mapbox/mapbox-maps-android/pull/549)) +* Fix error messages returned by `Style#removeStyleSource` method. ([#543](https://github.com/mapbox/mapbox-maps-android/pull/543)) +* Store persistent layer's LayerPosition, so that layer can be re-added to correct position if LayerPosition.above or LayerPosition.at is used. ([#543](https://github.com/mapbox/mapbox-maps-android/pull/543)) + +## Dependencies +* Update gl-native to v10.0.0-rc.6 and common to v16.2.0. ([#543](https://github.com/mapbox/mapbox-maps-android/pull/543)) +* Remove turf dependency of location component plugin. ([#551](https://github.com/mapbox/mapbox-maps-android/pull/551)) + +# 10.0.0-rc.5 July 28, 2021 + ## Breaking changes ⚠️ * Improve camera API consumption from java programming language by adding `CameraAnimationsUtils` and `getCamera` JvmName annotations. ([#495](https://github.com/mapbox/mapbox-maps-android/pull/495)) * Rename `AttributionView#setOnClickListener` to `setViewOnClickListener` to avoid overloading the Android SDK method. Results in compilation on Android P and above. Adjust codebase to changes in enforced nullability of Android SDK code. ([#497](https://github.com/mapbox/mapbox-maps-android/pull/497)) diff --git a/extension-androidauto/README.md b/extension-androidauto/README.md index 290ed49fae..32f4e8602b 100644 --- a/extension-androidauto/README.md +++ b/extension-androidauto/README.md @@ -30,7 +30,7 @@ allprojects { // In the app build.gradle file dependencies { - implementation 'com.mapbox.extension:maps-androidauto:10.0.0-rc.5' + implementation 'com.mapbox.extension:maps-androidauto:10.0.0-rc.6' } ``` diff --git a/extension-localization/README.md b/extension-localization/README.md index d68eb55c19..1c75270c47 100644 --- a/extension-localization/README.md +++ b/extension-localization/README.md @@ -31,7 +31,7 @@ allprojects { // In the app build.gradle file dependencies { - implementation 'com.mapbox.extension:maps-localization:10.0.0-rc.5' + implementation 'com.mapbox.extension:maps-localization:10.0.0-rc.6' } ``` diff --git a/extension-style/README.md b/extension-style/README.md index 73fd06a68e..18edc24b2a 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-rc.5' + implementation 'com.mapbox.extension:maps-style:10.0.0-rc.6' } ``` diff --git a/plugin-animation/README.md b/plugin-animation/README.md index 3c59e2903d..ba9948ea04 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-rc.5' + implementation 'com.mapbox.plugin:maps-animation:10.0.0-rc.6' } ``` diff --git a/plugin-annotation/README.md b/plugin-annotation/README.md index 918908f4d0..4ca83aad88 100644 --- a/plugin-annotation/README.md +++ b/plugin-annotation/README.md @@ -30,7 +30,7 @@ allprojects { // In the app build.gradle file dependencies { - implementation 'com.mapbox.plugin:maps-annotation:10.0.0-rc.5' + implementation 'com.mapbox.plugin:maps-annotation:10.0.0-rc.6' } ``` diff --git a/plugin-attribution/README.md b/plugin-attribution/README.md index 95dfc31f02..697b89069f 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-rc.5' + implementation 'com.mapbox.plugin:maps-attribution:10.0.0-rc.6' } ``` diff --git a/plugin-compass/README.md b/plugin-compass/README.md index b6ebc3ff5d..ea71555d82 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-rc.5' + implementation 'com.mapbox.plugin:maps-compass:10.0.0-rc.6' // Mapbox Maps Compass Plugin depends on the Mapbox Maps Animation Plugin - implementation 'com.mapbox.plugin:maps-animation:10.0.0-rc.5' + implementation 'com.mapbox.plugin:maps-animation:10.0.0-rc.6' } ``` diff --git a/plugin-gestures/README.md b/plugin-gestures/README.md index 1f4b899c46..32ce3167f9 100644 --- a/plugin-gestures/README.md +++ b/plugin-gestures/README.md @@ -30,9 +30,9 @@ allprojects { // In the app build.gradle file dependencies { - implementation 'com.mapbox.plugin:maps-gestures:10.0.0-rc.5' + implementation 'com.mapbox.plugin:maps-gestures:10.0.0-rc.6' // Mapbox Maps Gestures Plugin depends on the Mapbox Maps Animation Plugin - implementation 'com.mapbox.plugin:maps-animation:10.0.0-rc.5' + implementation 'com.mapbox.plugin:maps-animation:10.0.0-rc.6' } ``` diff --git a/plugin-lifecycle/README.md b/plugin-lifecycle/README.md index d380552b07..84faa517b0 100644 --- a/plugin-lifecycle/README.md +++ b/plugin-lifecycle/README.md @@ -30,7 +30,7 @@ allprojects { // In the app build.gradle file dependencies { - implementation 'com.mapbox.plugin:maps-lifecycle:10.0.0-rc.5' + implementation 'com.mapbox.plugin:maps-lifecycle:10.0.0-rc.6' // Make sure the version of appcompat is 1.3.0+ implementation 'androidx.appcompat:appcompat:1.3.0' } diff --git a/plugin-locationcomponent/README.md b/plugin-locationcomponent/README.md index 4005aa88f7..4a08b8dee8 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-rc.5' + implementation 'com.mapbox.plugin:maps-locationcomponent:10.0.0-rc.6' } ``` diff --git a/plugin-logo/README.md b/plugin-logo/README.md index 1e6de8d3ad..d099d7a56d 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-rc.5' + implementation 'com.mapbox.plugin:maps-logo:10.0.0-rc.6' } ``` diff --git a/plugin-overlay/README.md b/plugin-overlay/README.md index c167ceda3d..944c2fb9d8 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-rc.5' + implementation 'com.mapbox.plugin:maps-overlay:10.0.0-rc.6' } ``` diff --git a/plugin-scalebar/README.md b/plugin-scalebar/README.md index f84a4efda6..5bbf6d7f88 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-rc.5' + implementation 'com.mapbox.plugin:maps-scalebar:10.0.0-rc.6' } ```