From b27ae28be91d7a4bc402227656189c5fad5e3a46 Mon Sep 17 00:00:00 2001 From: JaffaKetchup Date: Thu, 7 Aug 2025 23:05:05 +0100 Subject: [PATCH 1/3] Prepare for v8.2.2 release --- CHANGELOG.md | 18 ++++++++++++++++-- example/pubspec.yaml | 2 +- pubspec.yaml | 2 +- windowsApplicationInstallerSetup.iss | 2 +- 4 files changed, 19 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 807adc385..a714a0000 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,13 +2,27 @@ Please consider [donating](https://github.com/sponsors/fleaflet) or [contributing](https://github.com/fleaflet/flutter_map/blob/master/CONTRIBUTING.md) if you're a fan of what we're doing and you'd like to support future releases! -This CHANGELOG does not include every commit and/or PR - it is a hand picked selection of the ones that have an effect on you. For a full list of changes, please check the GitHub repository releases/tags. +This CHANGELOG does not include every commit and/or PR - it is a hand picked selection of the ones that have an effect on most users. For a full list of changes, please check the GitHub repository releases/tags. We also release highlights for some releases on the docs site. + +## [8.2.2] - 2025/08/XX + +Contains the following user-affecting bug fixes: + +- Prevent crash caused by usage of negative `TileLayer.zoomOffset` - [#2133](https://github.com/fleaflet/flutter_map/pull/2133) for [#2127](https://github.com/fleaflet/flutter_map/issues/2127) + +Many thanks to these contributors (in no particular order): + +- @monsieurtanuki +- ... and all the maintainers ## [8.2.1] - 2025/07/11 -Contains the following user-affecting changes: +Contains the following user-affecting bug fixes: - Ensure tiles still load when failing to cache them due to HTTP spec non-compliance - [#2125](https://github.com/fleaflet/flutter_map/pull/2125) for [#2124](https://github.com/fleaflet/flutter_map/issues/2124) + +Contains the following user-affecting changes: + - Log informational warnings to console when a tile fails to cache due to HTTP spec non-compliance or a shortage of information to calculate an accurate freshness age - [#2125](https://github.com/fleaflet/flutter_map/pull/2125) for [#2124](https://github.com/fleaflet/flutter_map/issues/2124) Many thanks to these contributors (in no particular order): diff --git a/example/pubspec.yaml b/example/pubspec.yaml index ce653d89b..df1e3bd89 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -1,7 +1,7 @@ name: flutter_map_example description: Example application for 'flutter_map' package publish_to: "none" -version: 8.2.1 +version: 8.2.2 environment: sdk: ">=3.6.0 <4.0.0" diff --git a/pubspec.yaml b/pubspec.yaml index 1698595aa..6b2c164b1 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_map description: "Flutter's №1 non-commercially aimed map client: it's easy-to-use, versatile, vendor-free, fully cross-platform, and 100% pure-Flutter" -version: 8.2.1 +version: 8.2.2 repository: https://github.com/fleaflet/flutter_map issue_tracker: https://github.com/fleaflet/flutter_map/issues diff --git a/windowsApplicationInstallerSetup.iss b/windowsApplicationInstallerSetup.iss index 4f942e067..6e838072d 100644 --- a/windowsApplicationInstallerSetup.iss +++ b/windowsApplicationInstallerSetup.iss @@ -2,7 +2,7 @@ ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! #define MyAppName "flutter_map Demo" -#define MyAppVersion "for 8.2.1" +#define MyAppVersion "for 8.2.2" #define MyAppPublisher "fleaflet" #define MyAppURL "https://github.com/fleaflet/flutter_map" #define MyAppSupportURL "https://github.com/fleaflet/flutter_map/issues" From 5dec615ee1f37aee9c0b2aa5bddc2ab6c1055973 Mon Sep 17 00:00:00 2001 From: JaffaKetchup Date: Thu, 7 Aug 2025 23:59:52 +0100 Subject: [PATCH 2/3] Add #2141 --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a714a0000..93470d971 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ This CHANGELOG does not include every commit and/or PR - it is a hand picked sel Contains the following user-affecting bug fixes: - Prevent crash caused by usage of negative `TileLayer.zoomOffset` - [#2133](https://github.com/fleaflet/flutter_map/pull/2133) for [#2127](https://github.com/fleaflet/flutter_map/issues/2127) +- Assert that `MapCamera.zoom` is finite (to prevent confusing errors within layers) - [#2141](https://github.com/fleaflet/flutter_map/pull/2141) for [#2135](https://github.com/fleaflet/flutter_map/issues/2135) Many thanks to these contributors (in no particular order): From cb6ac2fcf2fa9ca32c920ca6cf31471df85727ad Mon Sep 17 00:00:00 2001 From: JaffaKetchup Date: Fri, 8 Aug 2025 00:10:05 +0100 Subject: [PATCH 3/3] Minor adjustment to OSM UA warning text to reflect OSMF blocking --- lib/src/layer/tile_layer/tile_layer.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/layer/tile_layer/tile_layer.dart b/lib/src/layer/tile_layer/tile_layer.dart index 3dcba4c0f..8404ad964 100644 --- a/lib/src/layer/tile_layer/tile_layer.dart +++ b/lib/src/layer/tile_layer/tile_layer.dart @@ -349,8 +349,8 @@ class _TileLayerState extends State with TickerProviderStateMixin { When using the OSM tile servers, you must set an HTTP User-Agent which adequately identifies your application to the servers. Set `TileLayer.userAgentPackageName` appropriately, or set a UA header manually. -In a future flutter_map release, usage of the OpenStreetMap public tile servers -without an adequate User-Agent may be blocked in release mode without warning. +OSMF (the tile server operators), and/or flutter_map in future, may block usage +if inadequately identified. '''; final warning = '''\x1B[1m\x1B[3mflutter_map\x1B[0m$uaWarning