Skip to content

Commit 4dcb3d5

Browse files
authored
chore: prepare for v8 release (#2021)
1 parent a4c30ad commit 4dcb3d5

27 files changed

+212
-319
lines changed
Lines changed: 12 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,35 @@
11
name: Bug Report
2-
description: Create a bug report to help us improve
3-
title: "[BUG] <title>"
4-
labels: ["bug", "needs triage"]
2+
description: Let us know about something that isn't working
3+
labels: ["needs triage"]
4+
type: Bug
55
body:
66
- type: markdown
77
attributes:
88
value: "
99
# Bug Report
1010
1111
Thanks for taking the time to fill out this bug report! To help us verify the issue quicker, please include as much information as you can.
12-
13-
12+
13+
1414
---
15-
16-
15+
16+
1717
Before reporting a bug, please:
1818
1919
* Check if there is already an open or closed issue that is similar to yours
20-
21-
* Ensure that you have fully read the documentation (both the website and API docs) that pertains to the function you're having problems with
2220
23-
* Ensure that your Flutter environment is correctly installed & set-up
21+
* Ensure that you have fully read the documentation (both the website and API docs) that relates to the feature(s) you're having problems with
2422
2523
* Remember that we're volunteers trying our best to help, so please be polite
26-
27-
24+
25+
2826
---
2927
"
3028
- type: textarea
3129
id: details
3230
attributes:
3331
label: What is the bug?
34-
description: What were you implementing when you found this issue? What happens when the bug triggers? What do you think should have happened instead? Please include as much detail as possible, including screenshots and screen-recordings if you can.
32+
description: What were you implementing when you found this issue? What happens when the bug triggers? What do you think should have happened instead? Does it only occur on a specific platform? Please include as much detail as possible, including screenshots and screen-recordings if you can.
3533
validations:
3634
required: true
3735
- type: textarea
@@ -47,27 +45,4 @@ body:
4745
id: solution
4846
attributes:
4947
label: Do you have a potential solution?
50-
description: "If so, please detail it: it will make it quicker for us to fix the issue."
51-
- type: markdown
52-
attributes:
53-
value: ---
54-
- type: input
55-
id: platform
56-
attributes:
57-
label: Platforms
58-
description: Please detail the devices and operating systems you can reproduce this bug on, separated by commas.
59-
placeholder: eg. Android 13 (Samsung Galaxy S99), Windows 11 (x64)
60-
validations:
61-
required: true
62-
- type: dropdown
63-
id: severity
64-
attributes:
65-
label: Severity
66-
description: How much of a problem is this issue, when it does occur?
67-
options:
68-
- "Minimum: Allows normal functioning"
69-
- "Obtrusive: Prevents normal functioning but causes no errors in the console"
70-
- "Erroneous: Prevents normal functioning and causes errors in the console"
71-
- "Fatal: Causes the application to crash"
72-
validations:
73-
required: true
48+
description: "If so, please detail it: it will make it quicker for us to fix the issue. We also hugely appriciate PRs!"

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
blank_issues_enabled: false
22
contact_links:
3-
- name: Get Help
3+
- name: Get help
44
url: https://discord.gg/BwpEsjqMAH
55
about: Don't quite understand how to implement something, or just want to talk? Join the Discord server!
6-
- name: Frequently Asked Questions
7-
url: https://docs.fleaflet.dev/frequently-asked-questions
6+
- name: Check the FAQs
7+
url: https://docs.fleaflet.dev/#faqs
88
about: Before posting an issue or asking for help, please check whether your question has already been answered!
9-
- name: Documentation
9+
- name: Read the documentation
1010
url: https://docs.fleaflet.dev/
1111
about: Before posting an issue or asking for help, please ensure you read the documentation thoroughly
Lines changed: 11 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
name: Feature Request
22
description: Suggest functionality that you'd like to see
3-
title: "[FEATURE] <title>"
4-
labels: ["feature", "P3 (low)"]
3+
labels: ["P3 (low)"]
4+
type: Feature
55
body:
66
- type: markdown
77
attributes:
88
value: "
99
# Feature Request
1010
11-
Thanks for taking the time to let us know what you want to see!
11+
Thanks for taking the time to let us know what you want to see in flutter_map!
1212
Unfortunately, response times for feature requests are longer than bug reports, as they are lower priority. If you want this functionality implemented quickly, please make a Pull Request to go alongside this feature request.
13-
14-
13+
14+
1515
---
16-
17-
16+
17+
1818
Before requesting a feature, please:
1919
2020
* Check if there is already an open or closed issue that is similar to yours
21-
21+
2222
* Ensure that you're using the latest version of flutter_map
23-
23+
2424
* Ensure that you've read the documentation (both the website and API docs) thoroughly
25-
26-
25+
26+
2727
---
2828
"
2929
- type: textarea
@@ -46,14 +46,3 @@ body:
4646
attributes:
4747
label: Can you provide any other information?
4848
description: Is there anything else you'd like to say?
49-
- type: dropdown
50-
id: severity
51-
attributes:
52-
label: Severity
53-
description: How much of a problem is the lack of functionality for you?
54-
options:
55-
- "Minimum: Not required for my use"
56-
- "Annoying: Currently have to use workarounds"
57-
- "Obtrusive: No workarounds are available, and this is essential to me"
58-
validations:
59-
required: true

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
.pub-cache/
3131
.pub/
3232
build/
33-
# TODO: document why we don't want this file
3433
pubspec.lock
3534

3635
# Android related
@@ -41,6 +40,7 @@ pubspec.lock
4140
**/android/gradlew.bat
4241
**/android/local.properties
4342
**/android/**/GeneratedPluginRegistrant.java
43+
**/android/app/.cxx
4444

4545
# iOS/XCode related
4646
**/ios/**/*.mode1v3

CHANGELOG.md

Lines changed: 32 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,44 @@
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-
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.
5+
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.
66

7-
## [8.0.0] - 2024/07/02
7+
## [8.0.0] - 2025/XX/XX
88

9-
Migration from `Point` class internally, but this also affects the external API.
9+
**"Infinite Worlds**
1010

11-
Migration Guide:
12-
- any methods that previously required `Point<double>` now require `Offset`, `Size`, or `Rect` as return values and parameters
13-
- `pointToLatLng` -> `offsetToLatLng`
14-
- `PointExtension` and `OffsetToPointExtension` marked as internal
15-
- `MapController.rotateAroundPoint` now only accepts an Offset
11+
Contains the following user-affecting changes:
1612

13+
- 🟢 Added unbounded horizontal scroll (with the default projection) and support for layers to cross anti-meridian - [#1948 (💰)](https://github.com/fleaflet/flutter_map/pull/1948), [#1969](https://github.com/fleaflet/flutter_map/pull/1969), [#1978](https://github.com/fleaflet/flutter_map/pull/1978), [#2000](https://github.com/fleaflet/flutter_map/pull/2000), [#2018](https://github.com/fleaflet/flutter_map/pull/2018), [#2025](https://github.com/fleaflet/flutter_map/pull/2025) for [#1582](https://github.com/fleaflet/flutter_map/issues/1582)
14+
- 🟢 Added animated keyboard controls for gestures - [#1987](https://github.com/fleaflet/flutter_map/pull/1987)
15+
- 🟢 Added `filterQuality` parameter to `(Base)OverlayImage` - [#1989](https://github.com/fleaflet/flutter_map/pull/1989)
16+
- 🟢 Exposed `BaseOverlayImage` for external implementation/extension - [#1990](https://github.com/fleaflet/flutter_map/pull/1990)
17+
- 🟡 Changed the majority of references to `Point` to `Offset`, and method names accordingly - [#1996](https://github.com/fleaflet/flutter_map/pull/1996)
18+
- 🟡 Added integer `tileDimension` & deprecated `TileLayer.tileSize` - [#1940](https://github.com/fleaflet/flutter_map/pull/1940)
1719

1820
Contains the following user-affecting bug fixes:
1921

22+
- Fixed polygon hit detection when map rotated - [#1942](https://github.com/fleaflet/flutter_map/pull/1942) for [#1934](https://github.com/fleaflet/flutter_map/issues/1934)
23+
- Fixed polygon hit detection when polygon invalid - [#1964](https://github.com/fleaflet/flutter_map/pull/1964) for [#1933](https://github.com/fleaflet/flutter_map/issues/1933)
24+
- Eagerly listen to `TileLayer.reset` stream internally to ensure handler is fired - [#1943](https://github.com/fleaflet/flutter_map/pull/1943) for [#1808](https://github.com/fleaflet/flutter_map/issues/1808)
25+
- Fixed some tile loading/pruning state issues - [#2007](https://github.com/fleaflet/flutter_map/pull/2007) for partially [#1837](https://github.com/fleaflet/flutter_map/issues/1837)
26+
- Use `Client` instead of `BaseClient` in network tile/image provider - [#2011](https://github.com/fleaflet/flutter_map/pull/2011) for [#2010](https://github.com/fleaflet/flutter_map/issues/2010)
27+
- Avoid closing externally created `http.Client` in `NetworkTileProvider` - [#2012](https://github.com/fleaflet/flutter_map/pull/2012) for [#2009](https://github.com/fleaflet/flutter_map/issues/2009)
28+
29+
Contains the following user-affecting performance improvements:
30+
31+
- Fixed performance-related bug where `Polyline.renderHashCode` included `hashCode` unnecessarily causing internal draw batching to fail - [#1967](https://github.com/fleaflet/flutter_map/pull/1967)
32+
- Fixed massive performance-related bug where the simplification cache for the `Polyline/gonLayer`s was incorrectly used - [#1991](https://github.com/fleaflet/flutter_map/pull/1991)
33+
- Perform bounding-box culling prior to aggressive culling for `Polyline`s - [#1993](https://github.com/fleaflet/flutter_map/pull/1993)
34+
35+
Many thanks to these contributors (in no particular order):
36+
37+
- @monsieurtanuki
38+
- @alestiago
39+
- @RBT22
40+
- @TechnicJelle
41+
- @slightfoot
42+
- ... and all the maintainers
2043

2144
## [7.0.2] - 2024/07/02
2245

@@ -90,7 +113,7 @@ Many thanks to these contributors (in no particular order):
90113
## [6.2.1] - 2024/05/27
91114

92115
> If possible, prefer to update directly to v7. This version is provided only to enable Flutter 3.22 compatibility without requiring a breaking change.
93-
116+
>
94117
> v6.2.0 was retracted from pub.dev due to a mistake in the release preparation. For more information, see [this comment](https://github.com/fleaflet/flutter_map/pull/1891#issuecomment-2134069848). v6.2.1 is the replacement without the issues.
95118
96119
Contains the following user-affecting changes:

analysis_options.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ linter:
1717
cancel_subscriptions: true
1818
close_sinks: true
1919
directives_ordering: true
20-
package_api_docs: true
2120
prefer_constructors_over_static_methods: true
2221
prefer_final_in_for_each: true
2322
prefer_final_locals: true

example/.metadata

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# This file should be version controlled and should not be manually edited.
55

66
version:
7-
revision: "7c6b7e9ca485f7eaaed913c6bb50f4be6da47e30"
7+
revision: "53c27e519d33b4e13b01a8710b38a3591d6ca6f1"
88
channel: "beta"
99

1010
project_type: app
@@ -13,11 +13,11 @@ project_type: app
1313
migration:
1414
platforms:
1515
- platform: root
16-
create_revision: 7c6b7e9ca485f7eaaed913c6bb50f4be6da47e30
17-
base_revision: 7c6b7e9ca485f7eaaed913c6bb50f4be6da47e30
18-
- platform: web
19-
create_revision: 7c6b7e9ca485f7eaaed913c6bb50f4be6da47e30
20-
base_revision: 7c6b7e9ca485f7eaaed913c6bb50f4be6da47e30
16+
create_revision: 53c27e519d33b4e13b01a8710b38a3591d6ca6f1
17+
base_revision: 53c27e519d33b4e13b01a8710b38a3591d6ca6f1
18+
- platform: windows
19+
create_revision: 53c27e519d33b4e13b01a8710b38a3591d6ca6f1
20+
base_revision: 53c27e519d33b4e13b01a8710b38a3591d6ca6f1
2121

2222
# User provided section
2323

example/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Example Application For '[flutter_map](https://github.com/fleaflet/flutter_map)'
1+
# Demo app for '[flutter_map](https://github.com/fleaflet/flutter_map)'
22

33
Showcases functionality of the library in a neat and useful format that can be used for further API references, and just to see if you want this library for your app.
44

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
plugins {
2-
id "com.android.application"
3-
id "kotlin-android"
2+
id("com.android.application")
3+
id("kotlin-android")
44
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
5-
id "dev.flutter.flutter-gradle-plugin"
5+
id("dev.flutter.flutter-gradle-plugin")
66
}
77

88
android {
@@ -17,7 +17,7 @@ android {
1717
}
1818

1919
kotlinOptions {
20-
jvmTarget = JavaVersion.VERSION_1_8
20+
jvmTarget = JavaVersion.VERSION_1_8.toString()
2121
}
2222

2323
defaultConfig {
@@ -30,7 +30,7 @@ android {
3030

3131
buildTypes {
3232
release {
33-
signingConfig = signingConfigs.debug
33+
signingConfig = signingConfigs.getByName("debug")
3434
}
3535
}
3636
}

example/android/build.gradle

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)