Skip to content

Bump CI Flutter version to 3.47.4 - #525

Merged
rickdijk merged 2 commits into
developfrom
chore/bump-flutter-3.47.4
Sep 15, 2026
Merged

rickdijk merged 2 commits into
developfrom
chore/bump-flutter-3.47.4

Conversation

@rickdijk

@rickdijk rickdijk commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

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

CI / maintenance — bumps the pinned Flutter version used by both packages' workflows to the current stable, plus the small source change needed to keep flutter analyze green on the newer Dart.

⤵️ What is the current behavior?

Both workflows pin Flutter 3.44.4 via a top-level env.FLUTTER_VERSION that every job reads. AGENTS.md and the [Unreleased] CHANGELOG bullets in both packages quote that same version, so they go stale whenever the pin moves.

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

  • .github/workflows/build.yaml and .github/workflows/build-firebase.yaml now pin Flutter 3.47.4 (current stable, ships Dart 3.13.3). The version literal lives in env: once per workflow, so no per-job subosito/flutter-action block needed touching.
  • Dart 3.13 tightens use_super_parameters, which flagged two existing constructors. Since flutter analyze exits non-zero on info-level lints, the bump alone would have turned the quality job red, so both now use super parameters.
  • The packages' SDK floors are deliberately not raised — flutter_cache_manager stays at >=3.8.0 and flutter_cache_manager_firebase at >=3.10.0. This bumps what CI tests on, not what consumers must run; flutter_cache_manager sits under cached_network_image, so raising the floor deserves its own deliberate change.

💥 Does this PR introduce a breaking change?

No.

🐛 Recommendations for testing

CI's platform build jobs (Android/iOS/macOS/Windows/Linux/Web) are what actually verify this bump. dart format and flutter analyze pass locally on both packages; flutter test couldn't be run locally (unrelated native-assets/Xcode issue, also present on unmodified develop) — confirm the quality job passes on CI.

📝 Links to relevant issues/docs

🤔 Checklist before submitting

  • All projects build — format + analyze clean on both packages; platform builds delegated to CI (see testing note above)
  • Follows style guide lines (code style guide)
  • Relevant documentation was updated — AGENTS.md and both CHANGELOG.md files
  • Rebased onto current develop

Note for reviewers: Flutter 3.47's pub get also wants to rewrite analysis_options.yaml in both packages and the example, adding analyzer: exclude: blocks for build/ and the example's platform directories. Those rewrites were reverted here to keep this a pure version bump — CI regenerates them on every run either way, so behavior is identical. Committing them deliberately is worth a follow-up, otherwise every contributor's pub get will dirty their working tree.

🤖 Generated with Claude Code

rickdijk and others added 2 commits September 15, 2026 12:11
Updates the pinned Flutter version in both workflows from 3.44.4 to
3.47.4 (latest stable, ships Dart 3.13.3), and refreshes the AGENTS.md
prerequisite and the unreleased CHANGELOG bullets that quote it.

Dart 3.13 tightens `use_super_parameters`, which flagged two existing
constructors and would have failed CI's `flutter analyze` step. Both now
use super parameters; `HttpExceptionWithStatus` keeps an identical public
signature, since `HttpException` declares `const HttpException(this.message,
{this.uri})` with `String message` / `Uri? uri`. Dropping the explicit
`WebHelper?` parameter in the test helper left its `src/web/web_helper.dart`
import unused, so that import is removed too.

Package SDK floors are deliberately untouched, so the published packages
stay usable on older Flutter.

Co-Authored-By: Claude <noreply@anthropic.com>
Codifies feedback from reviewing this branch's own PR description:
state facts instead of narrating the editing process, skip repeating
file paths already visible in the diff, answer yes/no questions
plainly (with a short breaking-change explanation only when the
answer is yes), and keep testing recommendations to what a reviewer
needs to act on.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@rickdijk
rickdijk enabled auto-merge September 15, 2026 22:26
@rickdijk
rickdijk merged commit a2ab4d4 into develop Sep 15, 2026
10 checks passed
@rickdijk
rickdijk deleted the chore/bump-flutter-3.47.4 branch September 15, 2026 22:30
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.

1 participant