Skip to content

fix: support build 5 and package_config 3 - #784

Open
Carapacik wants to merge 1 commit into
FlutterGen:mainfrom
Carapacik:main
Open

Carapacik wants to merge 1 commit into
FlutterGen:mainfrom
Carapacik:main

Conversation

@Carapacik

@Carapacik Carapacik commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

What does this change?

Resolves dependency conflicts when using flutter_gen_runner with build 5.x or package_config 3.x by widening the supported version ranges:

  • build: ^4.0.0 → >=4.0.0 <6.0.0
  • package_config: ^2.1.0 → >=2.2.0 <4.0.0

Retains support for build 4.x and package_config 2.2.x. Updates the changelog; no generator code changes are required.

Fixes #783.

Validation

  • All 3 workspace integration tests passed with build 5.0.0, package_config 3.0.0, and build_runner 2.17.1.
  • All 89 core tests passed.
  • Static analysis passed for the runner and core packages.

Type of change

  • Bug fix

@codecov

codecov Bot commented Sep 2, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.37%. Comparing base (7c7200d) to head (aa88ea8).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #784   +/-   ##
=======================================
  Coverage   97.37%   97.37%           
=======================================
  Files          24       24           
  Lines         989      989           
=======================================
  Hits          963      963           
  Misses         26       26           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Carapacik

Copy link
Copy Markdown
Contributor Author

@AlexV525

Widen flutter_gen_runner dependency constraints to allow build 5.x and package_config 3.x, and document the compatibility update.

Validated with build 5.0.0, package_config 3.0.0, and build_runner 2.17.1: all 3 workspace integration tests and 89 core tests pass; static analysis reports no issues.
@Carapacik Carapacik changed the title Support package_config 3.0.0 fix: support build 5 and package_config 3 Oct 19, 2026

This branch has not been deployed

No deployments
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.

[BUG]: update package_config to v3

1 participant