diff --git a/.github/workflows/flutter_ci.yml b/.github/workflows/flutter_ci.yml index af062a63b..d8fa882d3 100644 --- a/.github/workflows/flutter_ci.yml +++ b/.github/workflows/flutter_ci.yml @@ -51,11 +51,12 @@ jobs: echo "machine api.mapbox.com login mapbox password $SDK_REGISTRY_TOKEN" >> ~/.netrc + chmod 600 ~/.netrc cd ./example flutter build ios --release --no-codesign env: SDK_REGISTRY_TOKEN: ${{ secrets.SDK_REGISTRY_IOS}} - + build-web: name: "Build web" runs-on: ubuntu-latest diff --git a/CHANGELOG.md b/CHANGELOG.md index f553615a2..5799a56f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,14 @@ -## 0.12.0, April 12, 2020 +## 0.13.0, October 21, 2021 +* Migrate to null-safety [#607](https://github.com/tobrun/flutter-mapbox-gl/pull/607) +* Add missing removeLines removeCircles and removeFills [#622](https://github.com/tobrun/flutter-mapbox-gl/pull/622) +* Add support for colors with alpha [#561](https://github.com/tobrun/flutter-mapbox-gl/pull/561) +* Support override of attribution click action (iOS) [#605](https://github.com/tobrun/flutter-mapbox-gl/pull/605) +* Update to Mapbox-Android-SDK 9.6.2 [#674](https://github.com/tobrun/flutter-mapbox-gl/pull/674) +* Fix Warning: Operand of null-aware operation '!' has type 'Locale' which excludes null [#676](https://github.com/tobrun/flutter-mapbox-gl/pull/676) +* Make build work with instructions in docs (android) [#698](https://github.com/tobrun/flutter-mapbox-gl/pull/698) +* Fix requestMyLocationLatLng in the platform interface [#697](https://github.com/tobrun/flutter-mapbox-gl/pull/697) + +## 0.12.0, April 12, 2021 * Update to Mapbox-Android-SDK 9.6.0 [#489](https://github.com/tobrun/flutter-mapbox-gl/pull/489) * Update to Mapbox-iOS-SDK 6.3.0 [#513](https://github.com/tobrun/flutter-mapbox-gl/pull/513) * Batch creation/removal for circles, fills and lines [#576](https://github.com/tobrun/flutter-mapbox-gl/pull/576) @@ -8,7 +18,7 @@ * Emit onTap only for the feature above the others [#589](https://github.com/tobrun/flutter-mapbox-gl/pull/589) * Add annotationOrder to web [#588](https://github.com/tobrun/flutter-mapbox-gl/pull/588) -## 0.11.0, March 30, 2020 +## 0.11.0, March 30, 2021 * Fixed issues caused by new android API [#544](https://github.com/tobrun/flutter-mapbox-gl/pull/544) * Add option to set maximum offline tile count [#549](https://github.com/tobrun/flutter-mapbox-gl/pull/549) * Fixed web build failure due to http package upgrade [#550](https://github.com/tobrun/flutter-mapbox-gl/pull/550) @@ -21,7 +31,7 @@ * Define which annotations consume the tap events [#575](https://github.com/tobrun/flutter-mapbox-gl/pull/575) * Remove failed offline region downloads [#583](https://github.com/tobrun/flutter-mapbox-gl/pull/583) -## 0.10.0, February 12, 2020 +## 0.10.0, February 12, 2021 * Merge offline regions [#532](https://github.com/tobrun/flutter-mapbox-gl/pull/532) * Update offline region metadata [#530](https://github.com/tobrun/flutter-mapbox-gl/pull/530) * Added web support for fills [#501](https://github.com/tobrun/flutter-mapbox-gl/pull/501) diff --git a/android/build.gradle b/android/build.gradle index 3dbd12f7e..cf9f8b92f 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -8,7 +8,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:4.1.1' + classpath 'com.android.tools.build:gradle:4.2.0' } } @@ -38,6 +38,7 @@ apply plugin: 'com.android.library' android { compileSdkVersion 29 + ndkVersion "20.1.5948944" defaultConfig { minSdkVersion 20 diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 000000000..e7a6f4b2f --- /dev/null +++ b/android/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,5 @@ +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-6.9.1-all.zip \ No newline at end of file diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index 6d6819d3d..cfe29c302 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -26,7 +26,8 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { compileSdkVersion 29 - + ndkVersion "20.1.5948944" + lintOptions { disable 'InvalidPackage' } diff --git a/example/android/build.gradle b/example/android/build.gradle index e0d7ae2c1..c0a595846 100644 --- a/example/android/build.gradle +++ b/example/android/build.gradle @@ -5,7 +5,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:3.5.0' + classpath 'com.android.tools.build:gradle:4.2.0' } } diff --git a/example/android/gradle/wrapper/gradle-wrapper.properties b/example/android/gradle/wrapper/gradle-wrapper.properties index 1b855228d..8428c0be2 100644 --- a/example/android/gradle/wrapper/gradle-wrapper.properties +++ b/example/android/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,5 @@ -#Wed Jun 03 09:18:08 CEST 2020 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-6.9.1-all.zip \ No newline at end of file diff --git a/mapbox_gl_platform_interface/CHANGELOG.md b/mapbox_gl_platform_interface/CHANGELOG.md index 635770164..f28d56142 100644 --- a/mapbox_gl_platform_interface/CHANGELOG.md +++ b/mapbox_gl_platform_interface/CHANGELOG.md @@ -1,10 +1,15 @@ -## 0.12.0, April 12, 2020 +## 0.13.0, October 21, 2021 +* Migrate to null-safety [#607](https://github.com/tobrun/flutter-mapbox-gl/pull/607) +* Support override of attribution click action (iOS) [#605](https://github.com/tobrun/flutter-mapbox-gl/pull/605) +* Fix requestMyLocationLatLng in the platform interface [#697](https://github.com/tobrun/flutter-mapbox-gl/pull/697) + +## 0.12.0, April 12, 2021 * Batch creation/removal for circles, fills and lines [#576](https://github.com/tobrun/flutter-mapbox-gl/pull/576) -## 0.11.0, March 30, 2020 +## 0.11.0, March 30, 2021 * Add batch mode of screen locations [#554](https://github.com/tobrun/flutter-mapbox-gl/pull/554) -## 0.10.0, February 12, 2020 +## 0.10.0, February 12, 2021 * Added web support for fills [#501](https://github.com/tobrun/flutter-mapbox-gl/pull/501) * Add heading to UserLocation and expose UserLocation type [#522](https://github.com/tobrun/flutter-mapbox-gl/pull/522) * Update tracked camera position in camera#onIdle [#500](https://github.com/tobrun/flutter-mapbox-gl/pull/500) diff --git a/mapbox_gl_web/CHANGELOG.md b/mapbox_gl_web/CHANGELOG.md index 4419cbfc5..0a3e83a47 100644 --- a/mapbox_gl_web/CHANGELOG.md +++ b/mapbox_gl_web/CHANGELOG.md @@ -1,10 +1,15 @@ -## 0.12.0, April 12, 2020 +## 0.13.0, October 21, 2021 +* Migrate to null-safety [#607](https://github.com/tobrun/flutter-mapbox-gl/pull/607) +* Add missing removeLines removeCircles and removeFills [#622](https://github.com/tobrun/flutter-mapbox-gl/pull/622) +* Fix Warning: Operand of null-aware operation '!' has type 'Locale' which excludes null [#676](https://github.com/tobrun/flutter-mapbox-gl/pull/676) + +## 0.12.0, April 12, 2021 * Dependencies: updated image package [#598](https://github.com/tobrun/flutter-mapbox-gl/pull/598) * Fix feature manager on release build [#593](https://github.com/tobrun/flutter-mapbox-gl/pull/593) * Emit onTap only for the feature above the others [#589](https://github.com/tobrun/flutter-mapbox-gl/pull/589) * Add annotationOrder to web [#588](https://github.com/tobrun/flutter-mapbox-gl/pull/588) -## 0.11.0, March 30, 2020 +## 0.11.0, March 30, 2021 * Fix Mapbox GL JS CSS embedding on web [#551](https://github.com/tobrun/flutter-mapbox-gl/pull/551) * Add batch mode of screen locations [#554](https://github.com/tobrun/flutter-mapbox-gl/pull/554)