Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package updates / chores for suppressing a warning and fixing for a typo #744

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

chunghha
Copy link

✨ What kind of change does this PR introduce? (Bug fix, feature, docs update...)

Just chores which seem missed with the 3.2.1 release

⤵️ What is the current behavior?

no behavior change by the commits in this PR

🆕 What is the new behavior (if this is a feature change)?

💥 Does this PR introduce a breaking change?

No.

🐛 Recommendations for testing

📝 Links to relevant issues/docs

v3.2.1 bumped Flutter version to v3. However, packages like flutter_lints were not updated. So this PR addresses that. Also, chores for suppressing a lint warning and fixing a typo are included.

🤔 Checklist before submitting

N/A for not checked on

  • [x ] All projects build
  • Follows style guide lines (code style guide)
  • Relevant documentation was updated
  • [ x] Rebased onto current develop

update the packages' version to match with as Flutter was bumped up to v3
@chunghha chunghha changed the title Packages Package updates / chores for suppressing a warning and fixing for a typo May 17, 2022
@chunghha
Copy link
Author

@renefloor please review.

@@ -1,6 +1,7 @@
import 'package:cached_network_image/cached_network_image.dart';
import 'package:flutter/material.dart';
import 'package:baseflow_plugin_template/baseflow_plugin_template.dart';
// ignore: depend_on_referenced_packages
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't be ignored, the example should depend on it

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To fix this warning without this comment, we then need to specify flutter_blurhash to the pubspec. I wasn't sure that's what you'd like because the package is transitive dependency. But, I can make an update per what's you'd like to have, just let me know.

flutter_lints: ^1.0.4
flutter_lints: ^2.0.1
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not really missed, I was planning to do this later.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay. So leave it as this change? Basically no impact by this update though because new rules in updated packages are not used anyway. In a separate commit, I'd like to suggest using all_lint_rules_community to include new rules automatically.

///If there is no placeholer OctoImage does not fade, so always set an
///If there is no placeholder OctoImage does not fade, so always set an
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good one

cached_network_image/pubspec.yaml Outdated Show resolved Hide resolved
cached_network_image_platform_interface: ^1.0.0
cached_network_image_web: ^1.0.0


dev_dependencies:
flutter_test:
sdk: flutter
mocktail: ^0.1.1
flutter_lints: ^1.0.4
mocktail: ^0.3.0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this upgrade bring any benefits?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, because tests don't use any breaking changes in updated mocktail. This update just verifies that.

@codecov
Copy link

codecov bot commented May 17, 2022

Codecov Report

Merging #744 (1d2764e) into develop (607a2eb) will not change coverage.
The diff coverage is n/a.

❗ Current head 1d2764e differs from pull request most recent head 875b974. Consider uploading reports for the commit 875b974 to get more accurate results

@@           Coverage Diff            @@
##           develop     #744   +/-   ##
========================================
  Coverage    95.67%   95.67%           
========================================
  Files            4        4           
  Lines          162      162           
========================================
  Hits           155      155           
  Misses           7        7           
Impacted Files Coverage Δ
...hed_network_image/lib/src/cached_image_widget.dart 86.66% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 607a2eb...875b974. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants