Skip to content

Commit

Permalink
PR #1329 port to release branch (#1332)
Browse files Browse the repository at this point in the history
* Add beta and rc entries to 10.5.0 changelog.

* Update version name in README.
  • Loading branch information
yunikkk authored May 5, 2022
1 parent d6cae42 commit 138f223
Show file tree
Hide file tree
Showing 14 changed files with 28 additions and 16 deletions.
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,23 @@ Mapbox welcomes participation and contributions from everyone.
# 10.5.0 May 4, 2022

## Features ✨ and improvements 🏁
* Make map projection part of the style-spec and introduce new methods `StyleInterface#setProjection` / `StyleInterface#getProjection`. Setting projection supports Style DSL as well. ([#1255](https://github.com/mapbox/mapbox-maps-android/pull/1255), [#1314](https://github.com/mapbox/mapbox-maps-android/pull/1314))
* Make map projection part of the style-spec and introduce new methods `StyleInterface.setProjection` / `StyleInterface.getProjection`. Setting projection supports Style DSL as well. ([#1255](https://github.com/mapbox/mapbox-maps-android/pull/1255), [#1314](https://github.com/mapbox/mapbox-maps-android/pull/1314))
* Automatic transition between the globe and mercator projection updated to appear visually more subtle. ([#1315](https://github.com/mapbox/mapbox-maps-android/pull/1315))
* Avoid repeated tile loading from network (or repeated tile decompression when the tile is fetched from the cache database) and repeated vector tile data allocation and parsing when loading render tiles referring to the same logical tile. ([#1315](https://github.com/mapbox/mapbox-maps-android/pull/1315))
* Switch to use shader to calculate the 'line-trim-offset' property update. ([#1315](https://github.com/mapbox/mapbox-maps-android/pull/1315))
* Layer properties transitions performance improved if the layer is transitioning to the same constant value or if transitioning from/to data-driven property. ([#1315](https://github.com/mapbox/mapbox-maps-android/pull/1315))
* New line layer paint property introduced: '{"line-trim-offset", [trim-start, trim-end]}', to take the line trim-off percentage range based on the whole line range [0.0, 1.0]. The property will only be effective when 'line-gradient' property is set. The line part between [trim-start, trim-end] will be marked as transparent to make a line gradient a vanishing effect. If either 'trim-start' or 'trim-end' offset is out of valid range, the default range [0.0, 0.0] will be set. ([#1315](https://github.com/mapbox/mapbox-maps-android/pull/1315))
* Globe view controls revamped for more intuitive interaction with touch controls. ([#1315](https://github.com/mapbox/mapbox-maps-android/pull/1315))
* OfflineRegion::getStatus() API added to get the completion status and the local size of the existing legacy offline regions. ([#1315](https://github.com/mapbox/mapbox-maps-android/pull/1315))
* Refactor all Mapbox logs so that Logcat tag will always be 'Mapbox' allowing easier filtering. Previous log tag will become part of the log message now. ([#1276](https://github.com/mapbox/mapbox-maps-android/pull/1276))
* Optimize how plugins handle settings changes. Call `applySettings` only when settings value changes. ([#1189](https://github.com/mapbox/mapbox-maps-android/pull/1189))
* Add `MapboxMap.isValid()` and `Style.isValid()` methods. `MapboxMap` becomes invalid when `MapView.onDestroy()` is called. `Style` becomes invalid when `MapView.onDestroy()` is called or new style has been loaded. Accessing any method on invalid object will print an error log. Also unsubscribe map observers automatically when `MapboxMap.onDestroy()` is invoked. ([1193](https://github.com/mapbox/mapbox-maps-android/pull/1193)) ([1202](https://github.com/mapbox/mapbox-maps-android/pull/1202) ([1230](https://github.com/mapbox/mapbox-maps-android/pull/1230)) ([1241](https://github.com/mapbox/mapbox-maps-android/pull/1241)))
* Add `MapboxMap.coordinateBoundsForCameraUnwrapped` method for API consistency. ([1222](https://github.com/mapbox/mapbox-maps-android/pull/1222))
* Add `LocationIndicatorLayer.bearingTransition` API to control transition of bearing property. ([1207](https://github.com/mapbox/mapbox-maps-android/pull/1207))
* Add `MapboxConcurrentGeometryModificationException` with detailed information instead of `ConcurrentModificationException` that is thrown when GeoJson data is mutated. ([1248](https://github.com/mapbox/mapbox-maps-android/pull/1248))
* Introduce `line-trim-offset` property for LineLayer. ([1252](https://github.com/mapbox/mapbox-maps-android/pull/1252))
* Deprecate `FollowPuckViewportStateOptions.animationDurationMs`, the initial transition will be handled properly by the Viewport plugin internally. ([1256](https://github.com/mapbox/mapbox-maps-android/pull/1256), [1261](https://github.com/mapbox/mapbox-maps-android/pull/1261), [1262](https://github.com/mapbox/mapbox-maps-android/pull/1262))
* Mark `MapView.viewAnnotationManager` as non-experimental meaning View Annotation API will not have breaking changes in upcoming minor releases. ([1260](https://github.com/mapbox/mapbox-maps-android/pull/1260))

## Bug fixes 🐞
* Fix geojson missing updates with persistent layer after style change. ([#1324](https://github.com/mapbox/mapbox-maps-android/pull/1324))
Expand All @@ -33,6 +42,9 @@ Mapbox welcomes participation and contributions from everyone.
* Disable terrain rendering if GPU does not support Vertex Texture Fetch. [#1315](https://github.com/mapbox/mapbox-maps-android/pull/1315)
* Fixed a bug that occasionally prevents symbols from loading. [#1315](https://github.com/mapbox/mapbox-maps-android/pull/1315)
* Fixed a bug that causes line layers to flicker. [#1325](https://github.com/mapbox/mapbox-maps-android/pull/1325)
* Fix NaN latitude native crash rarely happening during `MapboxMap.flyTo`. ([#1271](https://github.com/mapbox/mapbox-maps-android/pull/1271))
* Limit `MapboxMap.pixelForCoordinate` to the bounds of MapView. ([#1226](https://github.com/mapbox/mapbox-maps-android/pull/1226))
* Fix PolygonAnnotation and PolylineAnnotation being distorted while dragging with 3D terrain. ([#1223](https://github.com/mapbox/mapbox-maps-android/pull/1223))

## Dependencies
* Bump gl-native to v10.5.1, mapbox-common to v21.3.1 ([#1315](https://github.com/mapbox/mapbox-maps-android/pull/1315), [#1325](https://github.com/mapbox/mapbox-maps-android/pull/1325))
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.5.0-rc.1'
implementation 'com.mapbox.extension:maps-localization:10.5.0'
}
```

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.5.0-rc.1'
implementation 'com.mapbox.extension:maps-style:10.5.0'
}
```

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.5.0-rc.1'
implementation 'com.mapbox.plugin:maps-animation:10.5.0'
}
```

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.5.0-rc.1'
implementation 'com.mapbox.plugin:maps-annotation:10.5.0'
}
```

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.5.0-rc.1'
implementation 'com.mapbox.plugin:maps-attribution:10.5.0'
}
```

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.5.0-rc.1'
implementation 'com.mapbox.plugin:maps-compass:10.5.0'
// Mapbox Maps Compass Plugin depends on the Mapbox Maps Animation Plugin
implementation 'com.mapbox.plugin:maps-animation:10.5.0-rc.1'
implementation 'com.mapbox.plugin:maps-animation:10.5.0'
}
```

Expand Down
4 changes: 2 additions & 2 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.5.0-rc.1'
implementation 'com.mapbox.plugin:maps-gestures:10.5.0'
// Mapbox Maps Gestures Plugin depends on the Mapbox Maps Animation Plugin
implementation 'com.mapbox.plugin:maps-animation:10.5.0-rc.1'
implementation 'com.mapbox.plugin:maps-animation:10.5.0'
}
```

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.5.0-rc.1'
implementation 'com.mapbox.plugin:maps-lifecycle:10.5.0'
// 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.5.0-rc.1'
implementation 'com.mapbox.plugin:maps-locationcomponent:10.5.0'
}
```

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.5.0-rc.1'
implementation 'com.mapbox.plugin:maps-logo:10.5.0'
}
```

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.5.0-rc.1'
implementation 'com.mapbox.plugin:maps-overlay:10.5.0'
}
```

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.5.0-rc.1'
implementation 'com.mapbox.plugin:maps-scalebar:10.5.0'
}
```

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.5.0-rc.1'
implementation 'com.mapbox.plugin:maps-viewport:10.5.0'
}
```

Expand Down

0 comments on commit 138f223

Please sign in to comment.