Closed Carapacik closed 1 year ago
Yeah.... I can't upgrade http package and packages depending on http.
I agree with rxdart, and upgraded the rest to support null safety.
Patch coverage: 83.33
% and project coverage change: -0.22
:warning:
Comparison is base (
28e081e
) 75.39% compared to head (06dbb27
) 75.18%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Analyzer and format issues fixed
Hi thanks for the nice PR. Also thanks for the cleanup throughout the code. However, this makes it a bit harder for me to spot the really important differences.
It might be helpful to update CONTRIBUTING.md
with guidelines to keep the diffs minimal in a pull request to aid the review process, and to avoid addressing multiple unrelated issues in a single pull request. I can see how reviewing 110 changed files for a PR that upgrades a dependency could be somewhat uncomfortable.
@renefloor, Is it worth updating build_runner min version to 2.0.0? Since previous versions support Dart < 2.12. build_runner
is still only needed to generate for mockito.
I'm testing the code now on the oldest and newest Flutter versions, hope you don't mind pushing some fixes directly?
I'm testing the code now on the oldest and newest Flutter versions, hope you don't mind pushing some fixes directly?
No problem
@renefloor Do you mind if I make some changes to delete unused rows in example to pass analysis?
I'm currently also still making some changes, so maybe better to wait and not create (many) merge conflicts.
It's too hard to keep the current minimum. I would have to allow flutter_lints 1.0.4, but that means that various developers can have different set of warnings. Setting the minimum to Dart 2.17.0 and Flutter 3.0.0, which are both over 1 year old.
I'm currently also still making some changes, so maybe better to wait and not create (many) merge conflicts.
It's too hard to keep the current minimum. I would have to allow flutter_lints 1.0.4, but that means that various developers can have different set of warnings. Setting the minimum to Dart 2.17.0 and Flutter 3.0.0, which are both over 1 year old.
flutter_lines and other dev_dependencies dependencies do not affect the operation of package versions. That is, if dev_dependencies has the minimum version 2.17, and dependencies 2.12, then the package will have version 2.12.
If anything, I would recommend putting a minimum 2.19 version of dart for the package. Since it is the last one that supports no-sound-null-safety.
That is, if dev_dependencies has the minimum version 2.17, and dependencies 2.12, then the package will have version 2.12.
I expect so as well, but it did complain if I try to add it as a dependency in another clean project.
@Carapacik it looks good to me now, you agree? I'm ignoring the code coverage now.
Now yes
I wonder if anybody will ever run this as real compiled app 😆
of course it will compile
I meant for this change in the example:
if (kDebugMode) {
print(error);
}
@renefloor cached_network_image next?
cached_network_image next?
I now have to start really working, but probably can look at it tomorrow.
I think it should work fine already though.
flutter_cache_manager: ^3.3.0
should automatically resolve to 3.3.1 and I don't see any other conflicting dependencies. Only the sdk should be <4.0.0, but I believe that is basically ignored for Dart 3.0.0?
cached_network_image next?
I now have to start really working, but probably can look at it tomorrow.
I think it should work fine already though.
flutter_cache_manager: ^3.3.0
should automatically resolve to 3.3.1 and I don't see any other conflicting dependencies. Only the sdk should be <4.0.0, but I believe that is basically ignored for Dart 3.0.0?
There is still file ^7.0.0 used and there is an error with types somewhere. Also in that PR, the example has been updated.
@Carapacik published flutter_cache_manager: https://pub.dev/packages/flutter_cache_manager/versions/3.3.1
Update dependencies Update example to latest version Fix analysis and format issues
Also update cached_network_image PR