Skip to content

Commit

Permalink
V10.6 port: bump gl native 10.6.0 rc.1 (#1402)
Browse files Browse the repository at this point in the history
* Bump gl-native to 10.6.0-rc.1, common to 22.0.0-rc.2

* Add changelog

* Update md files

* Temp fix offline test

* Add globe related changelog entries

* Fixes after rebase

* Upd changelog
  • Loading branch information
kiryldz committed Jun 2, 2022
1 parent 1199b7f commit 480ec45
Show file tree
Hide file tree
Showing 16 changed files with 38 additions and 21 deletions.
20 changes: 18 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,26 @@

Mapbox welcomes participation and contributions from everyone.

# main
# 10.6.0-rc.1 June 2, 2022

## Features ✨ and improvements 🏁
* Minimise tiles relayout on camera zooming with globe view. Improve the overall performance and reduce latency of the cached tiles appearance. ([#1396](https://github.com/mapbox/mapbox-maps-android/pull/1396))
* Add minimum and maximum range check for sky layer property `sky-atmosphere-sun` and `sky-gradient-center`. If the input is invalid, the default property value will be used. ([#1396](https://github.com/mapbox/mapbox-maps-android/pull/1396))
* Share render data between vector render tiles referring to the same logical tile. ([#1396](https://github.com/mapbox/mapbox-maps-android/pull/1396))

## Bug fixes 🐞
Fix compass is not showing in "edge-to-edge" mode. ([1391](https://github.com/mapbox/mapbox-maps-android/pull/1391))
* Fix compass is not showing in "edge-to-edge" mode. ([1391](https://github.com/mapbox/mapbox-maps-android/pull/1391))
* Fix an unexpected request update delay for tiles taken from in-memory cache when minimumTileUpdateInterval is set. ([#1396](https://github.com/mapbox/mapbox-maps-android/pull/1396))
* Fix a rare bug where some tiles would not show up correctly on globe. ([#1396](https://github.com/mapbox/mapbox-maps-android/pull/1396))
* Fix a bug where features could be queried without cursor intersecting the globe. ([#1396](https://github.com/mapbox/mapbox-maps-android/pull/1396))
* Fix view annotations disappearing on the globe. ([#1396](https://github.com/mapbox/mapbox-maps-android/pull/1396))
* Fix symbols ignoring both collision and placement on the globe. ([#1396](https://github.com/mapbox/mapbox-maps-android/pull/1396))
* Add anti-aliasing on the globe on low zoom levels. ([#1396](https://github.com/mapbox/mapbox-maps-android/pull/1396))
* Fix globe controls when map orientation is something else than "north". ([#1396](https://github.com/mapbox/mapbox-maps-android/pull/1396))
* Fix circle and heatmap layers not being aligned with globe's surface. ([#1396](https://github.com/mapbox/mapbox-maps-android/pull/1396))

## Dependencies
* Bump gl-native to v10.6.0-rc.1, common to 22.0.0-rc.2. ([#1396](https://github.com/mapbox/mapbox-maps-android/pull/1396))

# 10.6.0-beta.2 May 25, 2022

Expand Down
4 changes: 2 additions & 2 deletions buildSrc/src/main/kotlin/Project.kt
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ object Versions {
const val mapboxGestures = "0.7.0"
const val mapboxJavaServices = "5.4.1"
const val mapboxBase = "0.8.0"
const val mapboxGlNative = "10.6.0-beta.3"
const val mapboxCommon = "22.0.0-beta.1"
const val mapboxGlNative = "10.6.0-rc.1"
const val mapboxCommon = "22.0.0-rc.2"
const val mapboxAndroidCore = "5.0.0"
const val mapboxAndroidTelemetry = "8.1.0"
const val androidxCore = "1.3.1"
Expand Down
2 changes: 1 addition & 1 deletion extension-localization/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ allprojects {
// In the app build.gradle file
dependencies {
implementation 'com.mapbox.extension:maps-localization:10.6.0-beta.2'
implementation 'com.mapbox.extension:maps-localization:10.6.0-rc.1'
}
```

Expand Down
2 changes: 1 addition & 1 deletion extension-style/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ allprojects {
// In the app build.gradle file
dependencies {
implementation 'com.mapbox.extension:maps-style:10.6.0-beta.2'
implementation 'com.mapbox.extension:maps-style:10.6.0-rc.1'
}
```

Expand Down
2 changes: 1 addition & 1 deletion plugin-animation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ allprojects {
// In the app build.gradle file
dependencies {
implementation 'com.mapbox.plugin:maps-animation:10.6.0-beta.2'
implementation 'com.mapbox.plugin:maps-animation:10.6.0-rc.1'
}
```

Expand Down
2 changes: 1 addition & 1 deletion plugin-annotation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ allprojects {
// In the app build.gradle file
dependencies {
implementation 'com.mapbox.plugin:maps-annotation:10.6.0-beta.2'
implementation 'com.mapbox.plugin:maps-annotation:10.6.0-rc.1'
}
```

Expand Down
2 changes: 1 addition & 1 deletion plugin-attribution/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ allprojects {
// In the app build.gradle file
dependencies {
implementation 'com.mapbox.plugin:maps-attribution:10.6.0-beta.2'
implementation 'com.mapbox.plugin:maps-attribution:10.6.0-rc.1'
}
```

Expand Down
4 changes: 2 additions & 2 deletions plugin-compass/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ allprojects {
// In the app build.gradle file
dependencies {
implementation 'com.mapbox.plugin:maps-compass:10.6.0-beta.2'
implementation 'com.mapbox.plugin:maps-compass:10.6.0-rc.1'
// Mapbox Maps Compass Plugin depends on the Mapbox Maps Animation Plugin
implementation 'com.mapbox.plugin:maps-animation:10.6.0-beta.2'
implementation 'com.mapbox.plugin:maps-animation:10.6.0-rc.1'
}
```

Expand Down
6 changes: 3 additions & 3 deletions plugin-gestures/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ allprojects {
// In the app build.gradle file
dependencies {
implementation 'com.mapbox.plugin:maps-gestures:10.6.0-beta.2'
// Mapbox Maps Gestures Plugin depends on the Mapbox Maps Animation Plugin
implementation 'com.mapbox.plugin:maps-animation:10.6.0-beta.2'
implementation 'com.mapbox.plugin:maps-gestures:10.6.0-rc.1'
// Mapbox Maps Gestures Plugin depends on the Mapbox Maps Animation Plugin
implementation 'com.mapbox.plugin:maps-animation:10.6.0-rc.1'
}
```

Expand Down
2 changes: 1 addition & 1 deletion plugin-lifecycle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ allprojects {
// In the app build.gradle file
dependencies {
implementation 'com.mapbox.plugin:maps-lifecycle:10.6.0-beta.2'
implementation 'com.mapbox.plugin:maps-lifecycle:10.6.0-rc.1'
// Make sure the version of appcompat is 1.3.0+
implementation 'androidx.appcompat:appcompat:1.3.0'
}
Expand Down
2 changes: 1 addition & 1 deletion plugin-locationcomponent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ allprojects {
}
// In the app build.gradle file
dependencies {
implementation 'com.mapbox.plugin:maps-locationcomponent:10.6.0-beta.2'
implementation 'com.mapbox.plugin:maps-locationcomponent:10.6.0-rc.1'
}
```

Expand Down
2 changes: 1 addition & 1 deletion plugin-logo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ allprojects {
// In the app build.gradle file
dependencies {
implementation 'com.mapbox.plugin:maps-logo:10.6.0-beta.2'
implementation 'com.mapbox.plugin:maps-logo:10.6.0-rc.1'
}
```

Expand Down
2 changes: 1 addition & 1 deletion plugin-overlay/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ allprojects {
// In the app build.gradle file
dependencies {
implementation 'com.mapbox.plugin:maps-overlay:10.6.0-beta.2'
implementation 'com.mapbox.plugin:maps-overlay:10.6.0-rc.1'
}
```

Expand Down
2 changes: 1 addition & 1 deletion plugin-scalebar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ allprojects {
// In the app build.gradle file
dependencies {
implementation 'com.mapbox.plugin:maps-scalebar:10.6.0-beta.2'
implementation 'com.mapbox.plugin:maps-scalebar:10.6.0-rc.1'
}
```

Expand Down
2 changes: 1 addition & 1 deletion plugin-viewport/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ allprojects {
}
// In the app build.gradle file
dependencies {
implementation 'com.mapbox.plugin:maps-viewport:10.6.0-beta.2'
implementation 'com.mapbox.plugin:maps-viewport:10.6.0-rc.1'
}
```

Expand Down
3 changes: 2 additions & 1 deletion sdk/src/androidTest/java/com/mapbox/maps/OfflineTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,10 @@ class OfflineTest {
downloadProgress?.requiredResourceCount,
downloadProgress?.completedResourceCount
)
// TODO remove -1 when issue will be fixed in gl-native, requiredResourceCount should be equal to completedResourceCount
Assert.assertEquals(
downloadedStyle?.requiredResourceCount,
downloadedStyle?.completedResourceCount
(downloadedStyle?.completedResourceCount ?: 0) - 1L
)
Assert.assertEquals(STYLE, downloadedStyle?.styleURI)
}
Expand Down

0 comments on commit 480ec45

Please sign in to comment.