Skip to content

Commit 999cc4c

Browse files
v7.0.1: Minor bug fixes and improvements (#88)
* Increased protection from null check errors triggered by incorrect usage Hidden Isar Inspector console links * Built Example Applications * Minor bug fix * Built Example Applications * Improved GitHub issue tracker configuration * Added `_StoreDb` to simplify structural feature classes * Built Example Applications * Updated changelog --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Former-commit-id: b4f3a31c4bd33940312c1c69d8d026186ab2a903 [formerly 7dcf2d1] Former-commit-id: be83319a553be4c247fe6906318776dd60480614
1 parent 426c26f commit 999cc4c

27 files changed

+148
-154
lines changed

.github/ISSUE_TEMPLATE/bug-report.yaml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ body:
3434
description: |
3535
Please include a [minimal reproducible example](https://en.wikipedia.org/wiki/Minimal_reproducible_example) (preferable), otherwise detail the exact steps to reproduce this issue.
3636
If you do not include any information here, it will take longer for us to verify your issue.
37-
placeholder: Text automatically formatted as Dart code, on submission
38-
render: dart
3937
- type: textarea
4038
id: solution
4139
attributes:
@@ -63,7 +61,6 @@ body:
6361
- Windows
6462
- MacOS
6563
- Linux
66-
- Other
6764
validations:
6865
required: true
6966
- type: dropdown
@@ -97,15 +94,13 @@ body:
9794
id: terms
9895
attributes:
9996
label: Requirements
100-
description: These are in place to prevent spam and unnecessary reports.
97+
description: These are in place to prevent spam and unnecessary reports. Please read and understand them fully before posting.
10198
options:
10299
- label: I agree to follow this project's [Code of Conduct](https://github.com/jaffaketchup/flutter_map_tile_caching/blob/main/CODE_OF_CONDUCT.md)
103100
required: true
104-
- label: My Flutter/Dart installation is unaltered, and `flutter doctor` finds no relevant issues
101+
- label: I have checked for known issues in the GitHub tracker and [on the docs site](https://fmtc.jaffaketchup.dev/known-issues-and-reporting#known-issues)
105102
required: true
106-
- label: I am using the [latest stable version](https://pub.dev/packages/flutter_map_tile_caching) of this package
103+
- label: I have completed the pre-report checks listed [on the docs site](https://fmtc.jaffaketchup.dev/known-issues-and-reporting#reporting-a-bug)
107104
required: true
108-
- label: I have checked the FAQs section on the documentation website
109-
required: true
110-
- label: I have checked for similar issues which may be duplicates
105+
- label: If I am using FMTC in a proprietary project, I have read and understood [this important legal notice](https://fmtc.jaffaketchup.dev/#proprietary-licensing)
111106
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
blank_issues_enabled: false
22
contact_links:
3-
- name: Official Discord Server
3+
- name: Official 'flutter_map' Discord Server
44
url: https://discord.gg/egEGeByf4q
5-
about: Need more generalised help, or just want to talk? Join the Discord server, which has a dedicated channel for plugins!
6-
- name: flutter_map Issues
7-
url: https://github.com/fleaflet/flutter_map/issues
8-
about: If your issue is due to a problem in 'flutter_map', please post your issue there instead
5+
about: Need more generalised help? Join the Discord server, which has a dedicated channel for plugins!

.github/ISSUE_TEMPLATE/feature-request.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ body:
4747
- Windows
4848
- MacOS
4949
- Linux
50-
- Other
5150
validations:
5251
required: true
5352
- type: dropdown
@@ -68,11 +67,13 @@ body:
6867
id: terms
6968
attributes:
7069
label: Requirements
71-
description: These are in place to prevent spam and unnecessary reports.
70+
description: These are in place to prevent spam. Please read and understand them fully before posting.
7271
options:
7372
- label: I agree to follow this project's [Code of Conduct](https://github.com/jaffaketchup/flutter_map_tile_caching/blob/main/CODE_OF_CONDUCT.md)
7473
required: true
74+
- label: I have checked for similar feature requests which may be duplicates
75+
required: true
7576
- label: I am using the [latest stable version](https://pub.dev/packages/flutter_map_tile_caching) of this package
7677
required: true
77-
- label: I have checked for similar feature requests which may be duplicates
78+
- label: If I am using FMTC in a proprietary project, I have read and understood [this important legal notice](https://fmtc.jaffaketchup.dev/#proprietary-licensing)
7879
required: true

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@ Many thanks to my sponsors, no matter how much or how little they donated. Spons
1313

1414
# Changelog
1515

16-
## [7.0.0] - 2023/01/XX
16+
## [7.0.1] - 2023/02/11
17+
18+
* Minor bug fixes
19+
* Minor improvements
20+
21+
## [7.0.0] - 2023/02/04
1722

1823
* Migrated to Isar database
1924
* Major performance improvements, thanks to Isar

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ However, I am willing to sell alternative (proprietary) licenses on a case-by-ca
4343

4444
I learnt (and am still learning) to code with free, open-source software due to my age and lack of money, and for that reason, I believe in promoting open-source wherever possible to give equal opportunities to everybody, no matter their age or financial position. I'm not sure it's fair for commercial proprietary applications to use software made by people for free out of generosity. On the other hand, I am also trying to make a small amount of money from my projects, by donations or by selling licenses. And I recognise that commercial businesses may want to use my projects for their own proprietary applications.
4545

46-
Therefore, if you would like a license to use this software within a proprietary, I am willing to sell a (preferably yearly or usage based) license for a reasonable price. If this seems like what you want/need, please do not hesitate to get in touch via [github@jaffaketchup.com](mailto://github@jaffaketchup.com).
46+
Therefore, if you would like a license to use this software within a proprietary, I am willing to sell a (preferably yearly or usage based) license for a reasonable price. If this seems like what you want/need, please do not hesitate to get in touch via [fmtc@jaffaketchup.com](mailto:fmtc@jaffaketchup.com).

example/currentAppVersion.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.0.0
1+
7.0.1

example/lib/screens/main/pages/settingsAndAbout/settings_and_about.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class _SettingsAndAboutPageState extends State<SettingsAndAboutPage> {
8080
context: context,
8181
applicationName: 'FMTC Demo',
8282
applicationVersion:
83-
'for v6.0.0\n(on ${Platform().operatingSystemFormatted})',
83+
'for v7.0.0\n(on ${Platform().operatingSystemFormatted})',
8484
applicationIcon: Image.asset(
8585
'assets/icons/ProjectIcon.png',
8686
height: 48,

example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: The example application for 'flutter_map_tile_caching', showcasing
33
it's functionality and use-cases.
44
publish_to: "none"
55

6-
version: 7.0.0
6+
version: 7.0.1
77

88
environment:
99
sdk: ">=2.18.0 <3.0.0"

lib/flutter_map_tile_caching.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export 'src/settings/tile_provider_settings.dart';
5252

5353
part 'src/bulk_download/download_progress.dart';
5454
part 'src/fmtc.dart';
55+
part 'src/misc/store_db_impl.dart';
5556
part 'src/misc/typedefs.dart';
5657
part 'src/providers/tile_provider.dart';
5758
part 'src/regions/base_region.dart';

lib/fmtc_module_api.dart

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,25 @@
66
/// Restricted API which exports internal functionality, necessary for the FMTC
77
/// modules to work correctly
88
///
9-
/// **Do not use in normal applications. Prefer importing
10-
/// 'flutter_map_tile_caching.dart'.**
9+
/// When importing this library, also import 'flutter_map_tile_caching.dart' for
10+
/// the full functionality set.
11+
///
12+
/// ---
13+
///
14+
/// "With great power comes great responsibility" - Someone
15+
///
16+
/// This library forms part of a layer of abstraction between you, FMTC
17+
/// internals, and underlying databases. Importing this library removes that
18+
/// abstraction, making it easy to disrupt FMTC's normal operations with
19+
/// incorrect usage. For example, it is possible to force close an open Isar
20+
/// database, leading to an erroneous & invalid state.
21+
///
22+
/// If you are using this to create a custom module, go ahead! Please do get in
23+
/// touch, I'm always interested to hear what the community is making, and I may
24+
/// be able to offer some insight into the darker corners and workings of FMTC.
25+
/// Note that not necessarily all internal APIs are exposed through this library.
26+
///
27+
/// **Do not use in normal applications. I may be unable to offer support.**
1128
library fmtc_module_api;
1229

1330
export 'src/db/defs/metadata.dart';

0 commit comments

Comments
 (0)