diff --git a/CHANGELOG.md b/CHANGELOG.md index 03080fe..02b503c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## [3.1.1] - 2025/07/09 + +* Prepare for deprecation + ## [3.1.0] - 2025/02/02 * Support flutter_map v8 diff --git a/README.md b/README.md index e55bf8b..59e49cb 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,16 @@ # flutter_map_cancellable_tile_provider +### This plugin is deprecated since flutter_map v8.2 + +This plugin was intended as a stopgap to support aborting in-flight HTTP requests of tiles which were no longer required for display. + +Since 'package:http' v1.5.0-beta ([#1773](https://github.com/dart-lang/http/pull/1773)), the 3 core HTTP clients (`IOClient`, `BrowserClient`, and `RetryClient`) support this functionality natively (with other clients soon to follow). + +flutter_map v8.2's `NetworkTileProvider` depends on this version of 'pkg:http', and supports aborting requests natively. Therefore, this package +is now redundant. + +--- + Plugin for [flutter_map](https://github.com/fleaflet/flutter_map) that provides a `TileProvider` that fetches tiles from the network, with the capability to cancel unnecessary HTTP tile requests Tiles that are removed/pruned before they are fully loaded do not need to complete (down)loading, and therefore do not need to complete the HTTP interaction. Cancelling these unnecessary tile requests early could: diff --git a/pubspec.yaml b/pubspec.yaml index b3b2ba2..193e7cf 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,15 +1,12 @@ name: flutter_map_cancellable_tile_provider description: Plugin for flutter_map that provides a `TileProvider` with the capability to cancel unnecessary HTTP tile requests -version: 3.1.0 +version: 3.1.1 homepage: https://github.com/fleaflet/flutter_map repository: https://github.com/fleaflet/flutter_map_cancellable_tile_provider issue_tracker: https://github.com/fleaflet/flutter_map/issues documentation: https://docs.fleaflet.dev -funding: - - https://docs.fleaflet.dev/supporters#support-us - topics: - flutter-map - map