diff --git a/.dart_tool/extension_discovery/README.md b/.dart_tool/extension_discovery/README.md new file mode 100644 index 00000000..9dc6757b --- /dev/null +++ b/.dart_tool/extension_discovery/README.md @@ -0,0 +1,31 @@ +Extension Discovery Cache +========================= + +This folder is used by `package:extension_discovery` to cache lists of +packages that contains extensions for other packages. + +DO NOT USE THIS FOLDER +---------------------- + + * Do not read (or rely) the contents of this folder. + * Do write to this folder. + +If you're interested in the lists of extensions stored in this folder use the +API offered by package `extension_discovery` to get this information. + +If this package doesn't work for your use-case, then don't try to read the +contents of this folder. It may change, and will not remain stable. + +Use package `extension_discovery` +--------------------------------- + +If you want to access information from this folder. + +Feel free to delete this folder +------------------------------- + +Files in this folder act as a cache, and the cache is discarded if the files +are older than the modification time of `.dart_tool/package_config.json`. + +Hence, it should never be necessary to clear this cache manually, if you find a +need to do please file a bug. diff --git a/flutter_modular/CHANGELOG.md b/flutter_modular/CHANGELOG.md index 4b890880..6461c58a 100644 --- a/flutter_modular/CHANGELOG.md +++ b/flutter_modular/CHANGELOG.md @@ -1,3 +1,6 @@ +## [6.4.1] - 2025/06/12 +- Fix AppModule Dispose. + ## [6.4.0] - 2025-06-10 - Fix Deep Link query parameters. - Update Result. diff --git a/flutter_modular/lib/src/presenter/navigation/modular_router_delegate.dart b/flutter_modular/lib/src/presenter/navigation/modular_router_delegate.dart index d71471ba..db70942f 100644 --- a/flutter_modular/lib/src/presenter/navigation/modular_router_delegate.dart +++ b/flutter_modular/lib/src/presenter/navigation/modular_router_delegate.dart @@ -116,7 +116,6 @@ class ModularRouterDelegate extends RouterDelegate final parallel = page.route; parallel.popCallback?.call(result); currentConfiguration?.routes.remove(parallel); - currentConfiguration?.routes.removeWhere((element) => element.parent == parallel.uri.toString()); if (currentConfiguration?.routes.indexWhere( (element) => element.uri.toString() == parallel.uri.toString()) == -1) { diff --git a/flutter_modular/pubspec.yaml b/flutter_modular/pubspec.yaml index f1c96fd8..168e2714 100644 --- a/flutter_modular/pubspec.yaml +++ b/flutter_modular/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_modular description: Smart project structure with dependency injection and route management -version: 6.4.0 +version: 6.4.1 homepage: https://github.com/Flutterando/modular resolution: workspace @@ -9,7 +9,7 @@ environment: sdk: ">=3.6.0 <4.0.0" dependencies: - modular_core: ">=3.4.0 <4.0.0" + modular_core: ">=3.4.1 <4.0.0" meta: ">=1.3.0 <2.0.0" result_dart: ">=2.1.0 <3.0.0" flutter: diff --git a/modular_core/CHANGELOG.md b/modular_core/CHANGELOG.md index 421c8ddb..6e098998 100644 --- a/modular_core/CHANGELOG.md +++ b/modular_core/CHANGELOG.md @@ -1,3 +1,6 @@ +## 3.4.1 - 2025/06/12 +- Fix AppModule Dispose. + ## 3.4.0 - 2025/06/10 - Fix Deep Link query parameters. diff --git a/modular_core/lib/src/tracker.dart b/modular_core/lib/src/tracker.dart index 1492da54..4721f97b 100644 --- a/modular_core/lib/src/tracker.dart +++ b/modular_core/lib/src/tracker.dart @@ -162,7 +162,7 @@ class _Tracker implements Tracker { continue; } - moduleTags.removeWhere((element) => element.startsWith(tag)); + moduleTags.remove(tag); if (tag.characters.last == '/') { moduleTags.remove('$tag/'.replaceAll('//', '')); } diff --git a/modular_core/pubspec.yaml b/modular_core/pubspec.yaml index c3e36b4f..f9388f37 100644 --- a/modular_core/pubspec.yaml +++ b/modular_core/pubspec.yaml @@ -1,6 +1,6 @@ name: modular_core description: Smart project structure with dependency injection and route management -version: 3.4.0 +version: 3.4.1 homepage: https://github.com/Flutterando/modular resolution: workspace