Skip to content

Commit 201c231

Browse files
authored
chore: prepare for v7 & v6.2.0 releases (#1890)
1 parent 8114a16 commit 201c231

File tree

3 files changed

+69
-18
lines changed

3 files changed

+69
-18
lines changed

CHANGELOG.md

+54-3
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,60 @@
22

33
Please consider [donating](https://docs.fleaflet.dev/supporters#support-us) or [contributing](https://docs.fleaflet.dev/credits#contributing) if you're a fan of what we're doing and you'd like to support future releases!
44

5-
## [7.0.0-dev.1] - 2024/03/13
5+
This CHANGELOG does not include every commit and/or PR - it is a hand picked selection of the most important ones. For a full list of changes, please check the GitHub repository releases/tags.
66

7-
We've changed the format of the CHANGELOG, to make releases faster!
8-
**Check the [latest GitHub release](https://github.com/fleaflet/flutter_map/releases/tag/v7.0.0-dev.1), where you can find an auto-generated list of all the latest commits.**
7+
## [7.0.0] - 2024/05/XX
8+
9+
**"`onTap`-ish At Last!"**
10+
11+
Contains the following user-affecting changes:
12+
13+
- 🟢 Added interactivity & hit detection to `Polyline(Layer)`, `Polygon(Layer)`, and `Circle(Layer)` - [#1822](https://github.com/fleaflet/flutter_map/pull/1822) (for [#1740](https://github.com/fleaflet/flutter_map/issues/1740) and [#385](https://github.com/fleaflet/flutter_map/issues/385)), [#1728](https://github.com/fleaflet/flutter_map/pull/1728), [#1886](https://github.com/fleaflet/flutter_map/pull/1886)
14+
- 🟢 Made `FlutterMap.options` an optional parameter - [#1816](https://github.com/fleaflet/flutter_map/pull/1816)
15+
- 🟢 Added alternative (`Canvas.drawVertices`) render pathway for `PolygonLayer` - [#1800](https://github.com/fleaflet/flutter_map/pull/1800)
16+
- 🟢 Added `Scalebar` layer - [#1821](https://github.com/fleaflet/flutter_map/pull/1821)
17+
- 🟢 Added `TileUpdateTransformers.debounce` to debounce tile requests - [#1850](https://github.com/fleaflet/flutter_map/pull/1850) (replaces [#1840](https://github.com/fleaflet/flutter_map/pull/1840))
18+
- 🟢 Added static `Marker.computePixelAlignment` method to calculate absolute alignment - [#1847](https://github.com/fleaflet/flutter_map/pull/1847)
19+
- 🟢 Added `StrokePattern`, which supports `solid`, `dotted`, and `dashed` styles for `Polyline`s and the border of `Polygon`s - [#1855](https://github.com/fleaflet/flutter_map/pull/1855) (replaces [#1845](https://github.com/fleaflet/flutter_map/pull/1845)), [#1865](https://github.com/fleaflet/flutter_map/pull/1865), [#1871](https://github.com/fleaflet/flutter_map/pull/1871), [#1875](https://github.com/fleaflet/flutter_map/pull/1875), [#1876](https://github.com/fleaflet/flutter_map/pull/1876)
20+
- 🔴 Deprecated `MapOptions.applyPointerTranslucencyToLayers` - [#1822](https://github.com/fleaflet/flutter_map/pull/1822) for [#1740](https://github.com/fleaflet/flutter_map/issues/1740)
21+
22+
Contains the following user-affecting bug fixes:
23+
24+
- Fixed `NetworkTileProvider` poor performance and `ClientException`s/`SocketException`s on disposal - [#1742](https://github.com/fleaflet/flutter_map/pull/1742) for [#1761](https://github.com/fleaflet/flutter_map/issues/1761), [#1703](https://github.com/fleaflet/flutter_map/issues/1703), [#1698](https://github.com/fleaflet/flutter_map/issues/1698)
25+
- Fixed `Polygon/PolylineLayer` failing to move on changes - [#1825](https://github.com/fleaflet/flutter_map/pull/1825)
26+
- Prevented fatal crash due to infinite loop/memory leak at high zoom levels over some types of `Polygon` - [#1854](https://github.com/fleaflet/flutter_map/pull/1854) for [#1829](https://github.com/fleaflet/flutter_map/issues/1829)
27+
- Fixed `PolylineLayer` exception: "The west longitude can't be smaller than the east longitude" - [#1879](https://github.com/fleaflet/flutter_map/pull/1879)
28+
- Fixed `LatLngBounds.center` to work across world bounds - [#1860](https://github.com/fleaflet/flutter_map/pull/1860)
29+
30+
Contains the following user-affecting performance improvements:
31+
32+
- Added `Polyline` and `Polygon` simplification, and enhanced `Polyline` culling algorithm to work within the same `Polyline` - [#1704](https://github.com/fleaflet/flutter_map/pull/1704), [#1795](https://github.com/fleaflet/flutter_map/pull/1795), [#1805](https://github.com/fleaflet/flutter_map/pull/1805), [#1812](https://github.com/fleaflet/flutter_map/pull/1812)
33+
- Cached projection of `Polygon` points & improved CRS internals - [#1801](https://github.com/fleaflet/flutter_map/pull/1801)
34+
- Fixed `PolygonLayer` bundled drawing system - [#1800](https://github.com/fleaflet/flutter_map/pull/1800)
35+
- Other miscellaneous generic performance enhancements across the board, and addition of stress tests to example application
36+
37+
Contains the following important internal changes (does not include changes to the example app, meta changes to the repo/org configuration, or minor changes):
38+
39+
- Merged `MapInternalController` & `MapControllerImpl`, and removed "FlutterMap" prefix from some members - [#1738](https://github.com/fleaflet/flutter_map/pull/1738)
40+
- Made `LatLngBounds` mutable - [#1834](https://github.com/fleaflet/flutter_map/pull/1834)
41+
42+
Many thanks to these contributors (in no particular order):
43+
44+
- @androidseb
45+
- @ignatz
46+
- @Alexays
47+
- @ReinisSprogis
48+
- @gnassro
49+
- @monsieurtanuki
50+
- ... and all the maintainers
51+
52+
## [6.2.0] - 2024/05/XX
53+
54+
> If possible, prefer to update directly to v7. This version is provided only to enable Flutter 3.22 compatibility without requiring a breaking change.
55+
56+
Contains the following user-affecting changes:
57+
58+
- Added support for Flutter 2.22 - [#1883](https://github.com/fleaflet/flutter_map/pull/1883)
959

1060
## [6.1.0] - 2023/12/02
1161

@@ -34,6 +84,7 @@ Many thanks to these contributors (in no particular order):
3484
- @ignatz
3585
- @amal-stack
3686
- @Robbendebiene
87+
- @leiflinse-trivector
3788
- ... and all the maintainers
3889

3990
And an additional special thanks to @ignatz for investing so much of their time into this project recently - we appreciate it!

example/pubspec.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ dependencies:
1212
sdk: flutter
1313
flutter_map:
1414
flutter_map_cancellable_tile_provider:
15-
flutter_map_geojson: ^1.0.6
16-
http: ^1.2.0
17-
latlong2: ^0.9.0
15+
flutter_map_geojson: ^1.0.8
16+
http: ^1.2.1
17+
latlong2: ^0.9.1
1818
proj4dart: ^2.1.0
19-
shared_preferences: ^2.2.2
20-
url_launcher: ^6.2.4
19+
shared_preferences: ^2.2.3
20+
url_launcher: ^6.2.6
2121
url_strategy: ^0.2.0
2222
vector_math: ^2.1.4
2323

pubspec.yaml

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_map
22
description: A versatile mapping package for Flutter, that's simple and easy to learn, yet completely customizable and configurable
3-
version: 7.0.0-dev.1
3+
version: 7.0.0
44

55
repository: https://github.com/fleaflet/flutter_map
66
issue_tracker: https://github.com/fleaflet/flutter_map/issues
@@ -26,25 +26,25 @@ environment:
2626
flutter: ">=3.10.0"
2727

2828
dependencies:
29-
async: ^2.9.0
30-
collection: ^1.17.1
29+
async: ^2.11.0
30+
collection: ^1.18.0
3131
dart_earcut: ^1.1.0
3232
flutter:
3333
sdk: flutter
34-
http: ^1.0.0
35-
latlong2: ^0.9.0
36-
logger: ^2.0.1
37-
meta: ^1.9.1
34+
http: ^1.2.1
35+
latlong2: ^0.9.1
36+
logger: ^2.3.0
37+
meta: ^1.12.0
3838
polylabel: ^1.0.1
3939
proj4dart: ^2.1.0
40-
vector_math: ^2.1.2
40+
vector_math: ^2.1.4
4141

4242
dev_dependencies:
4343
flutter_lints: ^4.0.0
4444
flutter_test:
4545
sdk: flutter
46-
mocktail: ^1.0.1
47-
test: ^1.24.3
46+
mocktail: ^1.0.3
47+
test: ^1.25.0
4848

4949
flutter:
5050
assets:

0 commit comments

Comments
 (0)