Skip to content

Commit dfdee57

Browse files
authored
Prepare 2.5.1 (#835)
* Prepare 2.5.1 release * fix lint warning
1 parent fec76ec commit dfdee57

File tree

9 files changed

+38
-53
lines changed

9 files changed

+38
-53
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# main
1+
## 2.5.1
2+
3+
* Bump Maps SDK to 11.9.1
24

35
### 2.5.0
46

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Mapbox Maps SDK Flutter SDK
22

3-
The Mapbox Maps SDK Flutter SDK is an officially developed solution from Mapbox that enables use of our latest Maps SDK product (v11.9.0). The SDK allows developers to embed highly-customized maps using a Flutter widget on Android and iOS.
3+
The Mapbox Maps SDK Flutter SDK is an officially developed solution from Mapbox that enables use of our latest Maps SDK product (v11.9.1). The SDK allows developers to embed highly-customized maps using a Flutter widget on Android and iOS.
44

55
Web and desktop are not supported.
66

@@ -98,7 +98,7 @@ To use the Maps Flutter SDK add the git dependency to the pubspec.yaml:
9898

9999
```
100100
dependencies:
101-
mapbox_maps_flutter: ^2.5.0
101+
mapbox_maps_flutter: ^2.5.1
102102
```
103103

104104
### Configure permissions
@@ -145,7 +145,7 @@ The `MapboxMap` controller instance is provided with `MapWidget.onMapCreated` ca
145145
`MapboxMap` exposes an entry point to the most of the APIs Maps Flutter SDK provides. It allows to control the map, camera, styles, observe map events,
146146
query rendered features, etc.
147147

148-
It's organized similarly to the [Android](https://docs.mapbox.com/android/maps/api/11.7.0/mapbox-maps-android/com.mapbox.maps/-mapbox-map/) and [iOS](https://docs.mapbox.com/ios/maps/api/11.7.0/documentation/mapboxmaps/mapboxmap) counterparts.
148+
It's organized similarly to the [Android](https://docs.mapbox.com/android/maps/api/11.9.1/mapbox-maps-android/com.mapbox.maps/-mapbox-map/) and [iOS](https://docs.mapbox.com/ios/maps/api/11.9.1/documentation/mapboxmaps/mapboxmap) counterparts.
149149

150150
To interact with the map after it's created store the MapboxMap object somewhere :
151151
```

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ if (file("$rootDir/gradle/ktlint.gradle").exists() && file("$rootDir/gradle/lint
5959
}
6060

6161
dependencies {
62-
implementation "com.mapbox.maps:android:11.9.0"
62+
implementation "com.mapbox.maps:android:11.9.1"
6363

6464
implementation "androidx.annotation:annotation:1.5.0"
6565
implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.6.2"

example/ios/Podfile.lock

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,24 @@
11
PODS:
22
- Flutter (1.0.0)
3-
- integration_test (0.0.1):
3+
- mapbox_maps_flutter (2.5.1):
44
- Flutter
5-
- mapbox_maps_flutter (2.5.0-rc.1):
6-
- Flutter
7-
- MapboxMaps (~> 11.9.0)
5+
- MapboxMaps (~> 11.9.1)
86
- Turf (= 4.0.0)
97
- MapboxCommon (24.9.0):
108
- Turf (= 4.0.0)
11-
- MapboxCoreMaps (11.9.0):
9+
- MapboxCoreMaps (11.9.2):
1210
- MapboxCommon (~> 24.9)
13-
- MapboxMaps (11.9.0):
11+
- MapboxMaps (11.9.1):
1412
- MapboxCommon (= 24.9.0)
15-
- MapboxCoreMaps (= 11.9.0)
13+
- MapboxCoreMaps (= 11.9.2)
1614
- Turf (= 4.0.0)
17-
- path_provider_foundation (0.0.1):
18-
- Flutter
19-
- FlutterMacOS
2015
- permission_handler_apple (9.1.1):
2116
- Flutter
2217
- Turf (4.0.0)
2318

2419
DEPENDENCIES:
2520
- Flutter (from `Flutter`)
26-
- integration_test (from `.symlinks/plugins/integration_test/ios`)
2721
- mapbox_maps_flutter (from `.symlinks/plugins/mapbox_maps_flutter/ios`)
28-
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
2922
- permission_handler_apple (from `.symlinks/plugins/permission_handler_apple/ios`)
3023

3124
SPEC REPOS:
@@ -38,24 +31,18 @@ SPEC REPOS:
3831
EXTERNAL SOURCES:
3932
Flutter:
4033
:path: Flutter
41-
integration_test:
42-
:path: ".symlinks/plugins/integration_test/ios"
4334
mapbox_maps_flutter:
4435
:path: ".symlinks/plugins/mapbox_maps_flutter/ios"
45-
path_provider_foundation:
46-
:path: ".symlinks/plugins/path_provider_foundation/darwin"
4736
permission_handler_apple:
4837
:path: ".symlinks/plugins/permission_handler_apple/ios"
4938

5039
SPEC CHECKSUMS:
5140
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
52-
integration_test: 252f60fa39af5e17c3aa9899d35d908a0721b573
53-
mapbox_maps_flutter: 290cae0dc6bc16c6fe29b2cc26b0f9018ac29aa6
41+
mapbox_maps_flutter: 280cc1cf8703137837736dcf03af66b641f4affb
5442
MapboxCommon: 678bfc4b477a804244fd7323c79cc7f2402f844e
55-
MapboxCoreMaps: 5cd77c7251dea10903135e8427c788212bd26346
56-
MapboxMaps: 2ce57c4ec89d8f05eacfebdd39b01216e0c06168
57-
path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46
58-
permission_handler_apple: e76247795d700c14ea09e3a2d8855d41ee80a2e6
43+
MapboxCoreMaps: c22e65380c0e11551081196f083b20cab662a5fe
44+
MapboxMaps: dbe3b02f9adcee903d5217c9b251536828bc6304
45+
permission_handler_apple: 3787117e48f80715ff04a3830ca039283d6a4f29
5946
Turf: c9eb11a65d96af58cac523460fd40fec5061b081
6047

6148
PODFILE CHECKSUM: e9395e37b54f3250ebce302f8de7800b2ba2b828

example/pubspec.lock

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ packages:
5353
dependency: transitive
5454
description:
5555
name: collection
56-
sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
56+
sha256: a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf
5757
url: "https://pub.dev"
5858
source: hosted
59-
version: "1.18.0"
59+
version: "1.19.0"
6060
cupertino_icons:
6161
dependency: "direct main"
6262
description:
@@ -174,18 +174,18 @@ packages:
174174
dependency: transitive
175175
description:
176176
name: leak_tracker
177-
sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05"
177+
sha256: "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06"
178178
url: "https://pub.dev"
179179
source: hosted
180-
version: "10.0.5"
180+
version: "10.0.7"
181181
leak_tracker_flutter_testing:
182182
dependency: transitive
183183
description:
184184
name: leak_tracker_flutter_testing
185-
sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806"
185+
sha256: "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379"
186186
url: "https://pub.dev"
187187
source: hosted
188-
version: "3.0.5"
188+
version: "3.0.8"
189189
leak_tracker_testing:
190190
dependency: transitive
191191
description:
@@ -200,7 +200,7 @@ packages:
200200
path: ".."
201201
relative: true
202202
source: path
203-
version: "2.5.0-rc.1"
203+
version: "2.5.1"
204204
matcher:
205205
dependency: transitive
206206
description:
@@ -357,7 +357,7 @@ packages:
357357
dependency: transitive
358358
description: flutter
359359
source: sdk
360-
version: "0.0.99"
360+
version: "0.0.0"
361361
source_span:
362362
dependency: transitive
363363
description:
@@ -370,10 +370,10 @@ packages:
370370
dependency: transitive
371371
description:
372372
name: stack_trace
373-
sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
373+
sha256: "9f47fd3630d76be3ab26f0ee06d213679aa425996925ff3feffdec504931c377"
374374
url: "https://pub.dev"
375375
source: hosted
376-
version: "1.11.1"
376+
version: "1.12.0"
377377
stream_channel:
378378
dependency: transitive
379379
description:
@@ -386,10 +386,10 @@ packages:
386386
dependency: transitive
387387
description:
388388
name: string_scanner
389-
sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
389+
sha256: "688af5ed3402a4bde5b3a6c15fd768dbf2621a614950b17f04626c431ab3c4c3"
390390
url: "https://pub.dev"
391391
source: hosted
392-
version: "1.2.0"
392+
version: "1.3.0"
393393
sweepline_intersections:
394394
dependency: transitive
395395
description:
@@ -418,10 +418,10 @@ packages:
418418
dependency: transitive
419419
description:
420420
name: test_api
421-
sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb"
421+
sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c"
422422
url: "https://pub.dev"
423423
source: hosted
424-
version: "0.7.2"
424+
version: "0.7.3"
425425
turf:
426426
dependency: "direct dev"
427427
description:
@@ -466,18 +466,18 @@ packages:
466466
dependency: transitive
467467
description:
468468
name: vm_service
469-
sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d"
469+
sha256: f6be3ed8bd01289b34d679c2b62226f63c0e69f9fd2e50a6b3c1c729a961041b
470470
url: "https://pub.dev"
471471
source: hosted
472-
version: "14.2.5"
472+
version: "14.3.0"
473473
webdriver:
474474
dependency: transitive
475475
description:
476476
name: webdriver
477-
sha256: "003d7da9519e1e5f329422b36c4dcdf18d7d2978d1ba099ea4e45ba490ed845e"
477+
sha256: "3d773670966f02a646319410766d3b5e1037efb7f07cc68f844d5e06cd4d61c8"
478478
url: "https://pub.dev"
479479
source: hosted
480-
version: "3.0.3"
480+
version: "3.0.4"
481481
xdg_directories:
482482
dependency: transitive
483483
description:

ios/mapbox_maps_flutter.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
Pod::Spec.new do |s|
66
s.name = 'mapbox_maps_flutter'
7-
s.version = '2.5.0'
7+
s.version = '2.5.1'
88

99
s.summary = 'Mapbox Maps SDK Flutter Plugin.'
1010
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|
1717
s.dependency 'Flutter'
1818
s.platform = :ios, '12.0'
1919

20-
s.dependency 'MapboxMaps', '~> 11.9.0'
20+
s.dependency 'MapboxMaps', '~> 11.9.1'
2121
s.dependency 'Turf', '4.0.0'
2222

2323
# Flutter.framework does not contain a i386 slice.

lib/src/extensions.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ extension _MbxEdgeInsetsCodable on MbxEdgeInsets {
3939
right: edgeInsets.right,
4040
);
4141
}
42-
43-
EdgeInsets toEdgeInsets() {
44-
return EdgeInsets.fromLTRB(left, top, right, bottom);
45-
}
4642
}
4743

4844
extension ScreenBoxToJson on ScreenBox {

lib/src/map_widget.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ class _MapWidgetState extends State<MapWidget> {
203203
'textureView': widget.textureView,
204204
'styleUri': widget.styleUri,
205205
'channelSuffix': _mapboxMapsPlatform.channelSuffix,
206-
'mapboxPluginVersion': '2.5.0',
206+
'mapboxPluginVersion': '2.5.1',
207207
'eventTypes': _events.eventTypes.map((e) => e.index).toList(),
208208
};
209209
_events.subscribedEventTypes = _events.eventTypes;

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: mapbox_maps_flutter
22
description: Interactive, thoroughly customizable maps powered by Mapbox Maps mobile SDKs.
3-
version: 2.5.0
3+
version: 2.5.1
44
homepage: https://github.com/mapbox/mapbox-maps-flutter
55

66
environment:

0 commit comments

Comments
 (0)