Skip to content

Commit bd4d19f

Browse files
committed
Update README and CHANGELOG, fix route removal logic, and update version to 3.4.1
1 parent c131881 commit bd4d19f

File tree

7 files changed

+41
-5
lines changed

7 files changed

+41
-5
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
Extension Discovery Cache
2+
=========================
3+
4+
This folder is used by `package:extension_discovery` to cache lists of
5+
packages that contains extensions for other packages.
6+
7+
DO NOT USE THIS FOLDER
8+
----------------------
9+
10+
* Do not read (or rely) the contents of this folder.
11+
* Do write to this folder.
12+
13+
If you're interested in the lists of extensions stored in this folder use the
14+
API offered by package `extension_discovery` to get this information.
15+
16+
If this package doesn't work for your use-case, then don't try to read the
17+
contents of this folder. It may change, and will not remain stable.
18+
19+
Use package `extension_discovery`
20+
---------------------------------
21+
22+
If you want to access information from this folder.
23+
24+
Feel free to delete this folder
25+
-------------------------------
26+
27+
Files in this folder act as a cache, and the cache is discarded if the files
28+
are older than the modification time of `.dart_tool/package_config.json`.
29+
30+
Hence, it should never be necessary to clear this cache manually, if you find a
31+
need to do please file a bug.

flutter_modular/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## [6.4.1] - 2025/06/12
2+
- Fix AppModule Dispose.
3+
14
## [6.4.0] - 2025-06-10
25
- Fix Deep Link query parameters.
36
- Update Result.

flutter_modular/lib/src/presenter/navigation/modular_router_delegate.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ class ModularRouterDelegate extends RouterDelegate<ModularBook>
116116
final parallel = page.route;
117117
parallel.popCallback?.call(result);
118118
currentConfiguration?.routes.remove(parallel);
119-
currentConfiguration?.routes.removeWhere((element) => element.parent == parallel.uri.toString());
120119
if (currentConfiguration?.routes.indexWhere(
121120
(element) => element.uri.toString() == parallel.uri.toString()) ==
122121
-1) {

flutter_modular/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_modular
22
description: Smart project structure with dependency injection and route management
3-
version: 6.4.0
3+
version: 6.4.1
44
homepage: https://github.com/Flutterando/modular
55

66
resolution: workspace
@@ -9,7 +9,7 @@ environment:
99
sdk: ">=3.6.0 <4.0.0"
1010

1111
dependencies:
12-
modular_core: ">=3.4.0 <4.0.0"
12+
modular_core: ">=3.4.1 <4.0.0"
1313
meta: ">=1.3.0 <2.0.0"
1414
result_dart: ">=2.1.0 <3.0.0"
1515
flutter:

modular_core/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 3.4.1 - 2025/06/12
2+
- Fix AppModule Dispose.
3+
14
## 3.4.0 - 2025/06/10
25

36
- Fix Deep Link query parameters.

modular_core/lib/src/tracker.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ class _Tracker implements Tracker {
162162
continue;
163163
}
164164

165-
moduleTags.removeWhere((element) => element.startsWith(tag));
165+
moduleTags.remove(tag);
166166
if (tag.characters.last == '/') {
167167
moduleTags.remove('$tag/'.replaceAll('//', ''));
168168
}

modular_core/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: modular_core
22
description: Smart project structure with dependency injection and route management
3-
version: 3.4.0
3+
version: 3.4.1
44
homepage: https://github.com/Flutterando/modular
55

66
resolution: workspace

0 commit comments

Comments
 (0)