From be63feeeba638c2d025a408dc767f66064a669ad Mon Sep 17 00:00:00 2001 From: Mai Mai Date: Tue, 12 Nov 2024 15:46:03 +0200 Subject: [PATCH] Prepare v2.4.0 release (#767) --- CHANGELOG.md | 10 +++++----- README.md | 4 ++-- android/build.gradle | 2 +- example/ios/Podfile.lock | 24 ++++++++++++------------ example/pubspec.lock | 2 +- ios/mapbox_maps_flutter.podspec | 4 ++-- lib/src/map_widget.dart | 2 +- pubspec.yaml | 2 +- 8 files changed, 25 insertions(+), 25 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6228254e..7806b304 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,11 @@ -### 2.4.0-rc.1 +> [!IMPORTANT] +> Configuring Mapbox's secret token is no longer required when installing our SDKs. +### 2.4.0 + +* Update Maps SDK to 11.8.0 * Updated the minimum required Flutter SDK to version 3.22.3 and Dart to version 3.4.4. With the fix for Virtual Display hosting mode on Android in Flutter 3.22, we’ve changed the default map view hosting mode to Virtual Display composition. This update should eliminate the brief visibility of the map after it has been dismissed. * Introduce experimental property `MapboxMap.styleGlyphURL`. Use this property to apply custom fonts to the map at runtime, without modifying the base style. -* Update Maps SDK to 11.8.0-rc.1. - -# 2.4.0-beta.1 - * Expose current map's camera state on `CameraChanged` event. [#704](https://github.com/mapbox/mapbox-maps-flutter/pull/704) You can now observe the map's camera updates with `onCameraChangeListener` diff --git a/README.md b/README.md index 036c4a3a..25276b3b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Mapbox Maps SDK Flutter SDK -The Mapbox Maps SDK Flutter SDK is an officially developed solution from Mapbox that enables use of our latest Maps SDK product (v11.8.0-rc.1). The SDK allows developers to embed highly-customized maps using a Flutter widget on Android and iOS. +The Mapbox Maps SDK Flutter SDK is an officially developed solution from Mapbox that enables use of our latest Maps SDK product (v11.8.0). The SDK allows developers to embed highly-customized maps using a Flutter widget on Android and iOS. Web and desktop are not supported. @@ -98,7 +98,7 @@ To use the Maps Flutter SDK add the git dependency to the pubspec.yaml: ``` dependencies: - mapbox_maps_flutter: ^2.4.0-rc.1 + mapbox_maps_flutter: ^2.4.0 ``` ### Configure permissions diff --git a/android/build.gradle b/android/build.gradle index cd295961..4235537a 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -78,7 +78,7 @@ if (file("$rootDir/gradle/ktlint.gradle").exists() && file("$rootDir/gradle/lint } dependencies { - implementation "com.mapbox.maps:android:11.8.0-rc.1" + implementation "com.mapbox.maps:android:11.8.0" implementation "androidx.annotation:annotation:1.5.0" implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.6.2" diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index d7c6c87c..429d47b2 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -2,16 +2,16 @@ PODS: - Flutter (1.0.0) - integration_test (0.0.1): - Flutter - - mapbox_maps_flutter (2.4.0-rc.1): + - mapbox_maps_flutter (2.4.0): - Flutter - - MapboxMaps (~> 11.8.0-rc.1) + - MapboxMaps (~> 11.8.0) - Turf (= 3.0.0) - - MapboxCommon (24.8.0-rc.1) - - MapboxCoreMaps (11.8.0-rc.1): - - MapboxCommon (~> 24.8.0-rc) - - MapboxMaps (11.8.0-rc.1): - - MapboxCommon (= 24.8.0-rc.1) - - MapboxCoreMaps (= 11.8.0-rc.1) + - MapboxCommon (24.8.0) + - MapboxCoreMaps (11.8.0): + - MapboxCommon (~> 24.8) + - MapboxMaps (11.8.0): + - MapboxCommon (= 24.8.0) + - MapboxCoreMaps (= 11.8.0) - Turf (= 3.0.0) - path_provider_foundation (0.0.1): - Flutter @@ -49,10 +49,10 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 integration_test: 252f60fa39af5e17c3aa9899d35d908a0721b573 - mapbox_maps_flutter: 1c340c60961f24932b7ce9a160e06f0a3d765317 - MapboxCommon: 5dde392fb632f1db082c7d0d3edbf0ef771076f0 - MapboxCoreMaps: 4334be5542f95c44b1d4b7176faab197ae777b29 - MapboxMaps: f993b950655e77eaaa1b6b23a306d89d4d0a52b3 + mapbox_maps_flutter: 564903a43401bad6b277ffef34b0ab03329a34c1 + MapboxCommon: 95fe03b74d0d0ca39dc646ca14862deb06875151 + MapboxCoreMaps: f2a82182c5f6c6262220b81547c6df708012932b + MapboxMaps: dbe1869006c5918d62efc6b475fb884947ea2ecd path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46 permission_handler_apple: e76247795d700c14ea09e3a2d8855d41ee80a2e6 Turf: a1604e74adce15c58462c9ae2acdbf049d5be35e diff --git a/example/pubspec.lock b/example/pubspec.lock index f77325f7..ed05e304 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -200,7 +200,7 @@ packages: path: ".." relative: true source: path - version: "2.4.0-rc.1" + version: "2.4.0" matcher: dependency: transitive description: diff --git a/ios/mapbox_maps_flutter.podspec b/ios/mapbox_maps_flutter.podspec index ce67f627..25f6536b 100644 --- a/ios/mapbox_maps_flutter.podspec +++ b/ios/mapbox_maps_flutter.podspec @@ -4,7 +4,7 @@ # Pod::Spec.new do |s| s.name = 'mapbox_maps_flutter' - s.version = '2.4.0-rc.1' + s.version = '2.4.0' s.summary = 'Mapbox Maps SDK Flutter Plugin.' s.description = 'An officially developed solution from Mapbox that enables use of our latest Maps SDK product.' @@ -17,7 +17,7 @@ Pod::Spec.new do |s| s.dependency 'Flutter' s.platform = :ios, '12.0' - s.dependency 'MapboxMaps', '~> 11.8.0-rc.1' + s.dependency 'MapboxMaps', '~> 11.8.0' s.dependency 'Turf', '3.0.0' # Flutter.framework does not contain a i386 slice. diff --git a/lib/src/map_widget.dart b/lib/src/map_widget.dart index 0dfc6bb6..9aaece9c 100644 --- a/lib/src/map_widget.dart +++ b/lib/src/map_widget.dart @@ -185,7 +185,7 @@ class _MapWidgetState extends State { 'textureView': widget.textureView, 'styleUri': widget.styleUri, 'channelSuffix': _mapboxMapsPlatform.channelSuffix, - 'mapboxPluginVersion': '2.4.0-rc.1', + 'mapboxPluginVersion': '2.4.0', 'eventTypes': _events.eventTypes.map((e) => e.index).toList(), }; diff --git a/pubspec.yaml b/pubspec.yaml index e329ff72..1e8c38db 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: mapbox_maps_flutter description: Interactive, thoroughly customizable maps powered by Mapbox Maps mobile SDKs. -version: 2.4.0-rc.1 +version: 2.4.0 homepage: https://github.com/mapbox/mapbox-maps-flutter environment: