[go_router_builder] Require analyzer 8.2#10546
Merged
auto-submit[bot] merged 1 commit intoflutter:mainfrom Dec 1, 2025
Merged
Conversation
`go_router_builder` uses a number of analyzer APIs that were experimental prior to 8.2, so having a minimum of 8.1 causes issues when doing a `downgrade` analysis on Flutter `master`. Rather than re-add annotations that were already removed once by accident because we won't catch this in our own CI (we only `downgrade` on `stable`), this ups the minimum version of `analyzer` from 8.1 to 8.2. Also updates the min Flutter SDK to match the `analyzer` 8.2 requirement of Dart 3.9. Fixes flutter/flutter#179296
There was a problem hiding this comment.
Code Review
This pull request updates the go_router_builder package to require analyzer version 8.2.0 or higher. This change is necessary to use analyzer APIs that became stable in version 8.2.0. In line with this, the minimum Dart SDK version is updated to 3.9.0 and the Flutter SDK version to 3.35.0. The package version is bumped to 4.1.3, and the CHANGELOG.md and the example's pubspec.yaml are updated accordingly. The changes are consistent and correctly address the issue described in the pull request.
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/flutter
that referenced
this pull request
Dec 2, 2025
github-merge-queue bot
pushed a commit
to flutter/flutter
that referenced
this pull request
Dec 2, 2025
flutter/packages@c8be05d...148dcd2 2025-12-01 [email protected] [go_router_builder] Require analyzer 8.2 (flutter/packages#10546) 2025-12-01 49699333+dependabot[bot]@users.noreply.github.com [dependabot]: Bump androidx.core:core from 1.13.1 to 1.17.0 in /packages/local_auth/local_auth_android/android (flutter/packages#10505) 2025-12-01 49699333+dependabot[bot]@users.noreply.github.com [dependabot]: Bump the kotlin-gradle-plugin group across 7 directories with 1 update (flutter/packages#10501) 2025-12-01 [email protected] [google_fonts] Replace deprecated FontWeight.index (flutter/packages#10544) 2025-12-01 [email protected] [camera_web] Fix camera initialization failure on Firefox Android (flutter/packages#10341) 2025-12-01 [email protected] Roll Flutter from 2b5fa94 to 05d6005 (3 revisions) (flutter/packages#10543) 2025-12-01 [email protected] [file_selector] Migrate to UIScene (flutter/packages#10429) 2025-11-30 [email protected] [go_router_builder] Add `analyzer` 9 compatibility (flutter/packages#10526) 2025-11-29 [email protected] Roll Flutter from 022b155 to 2b5fa94 (14 revisions) (flutter/packages#10535) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC [email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
mboetger
pushed a commit
to mboetger/flutter
that referenced
this pull request
Dec 2, 2025
…r#179343) flutter/packages@c8be05d...148dcd2 2025-12-01 [email protected] [go_router_builder] Require analyzer 8.2 (flutter/packages#10546) 2025-12-01 49699333+dependabot[bot]@users.noreply.github.com [dependabot]: Bump androidx.core:core from 1.13.1 to 1.17.0 in /packages/local_auth/local_auth_android/android (flutter/packages#10505) 2025-12-01 49699333+dependabot[bot]@users.noreply.github.com [dependabot]: Bump the kotlin-gradle-plugin group across 7 directories with 1 update (flutter/packages#10501) 2025-12-01 [email protected] [google_fonts] Replace deprecated FontWeight.index (flutter/packages#10544) 2025-12-01 [email protected] [camera_web] Fix camera initialization failure on Firefox Android (flutter/packages#10341) 2025-12-01 [email protected] Roll Flutter from 2b5fa94 to 05d6005 (3 revisions) (flutter/packages#10543) 2025-12-01 [email protected] [file_selector] Migrate to UIScene (flutter/packages#10429) 2025-11-30 [email protected] [go_router_builder] Add `analyzer` 9 compatibility (flutter/packages#10526) 2025-11-29 [email protected] Roll Flutter from 022b155 to 2b5fa94 (14 revisions) (flutter/packages#10535) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC [email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
reidbaker
pushed a commit
to AbdeMohlbi/flutter
that referenced
this pull request
Dec 10, 2025
…r#179343) flutter/packages@c8be05d...148dcd2 2025-12-01 [email protected] [go_router_builder] Require analyzer 8.2 (flutter/packages#10546) 2025-12-01 49699333+dependabot[bot]@users.noreply.github.com [dependabot]: Bump androidx.core:core from 1.13.1 to 1.17.0 in /packages/local_auth/local_auth_android/android (flutter/packages#10505) 2025-12-01 49699333+dependabot[bot]@users.noreply.github.com [dependabot]: Bump the kotlin-gradle-plugin group across 7 directories with 1 update (flutter/packages#10501) 2025-12-01 [email protected] [google_fonts] Replace deprecated FontWeight.index (flutter/packages#10544) 2025-12-01 [email protected] [camera_web] Fix camera initialization failure on Firefox Android (flutter/packages#10341) 2025-12-01 [email protected] Roll Flutter from 2b5fa94 to 05d6005 (3 revisions) (flutter/packages#10543) 2025-12-01 [email protected] [file_selector] Migrate to UIScene (flutter/packages#10429) 2025-11-30 [email protected] [go_router_builder] Add `analyzer` 9 compatibility (flutter/packages#10526) 2025-11-29 [email protected] Roll Flutter from 022b155 to 2b5fa94 (14 revisions) (flutter/packages#10535) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC [email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
ivan-vanyusho
pushed a commit
to ivan-vanyusho/packages
that referenced
this pull request
Jan 26, 2026
`go_router_builder` uses a number of analyzer APIs that were experimental prior to 8.2, so having a minimum of 8.1 causes issues when doing a `downgrade` analysis on Flutter `master`. Rather than re-add annotations that were already removed once by accident because we won't catch this in our own CI (we only `downgrade` on `stable`), this ups the minimum version of `analyzer` from 8.1 to 8.2. Also updates the min Flutter SDK to match the `analyzer` 8.2 requirement of Dart 3.9. Fixes flutter/flutter#179296 ## Pre-Review Checklist [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
go_router_builderuses a number of analyzer APIs that were experimental prior to 8.2, so having a minimum of 8.1 causes issues when doing adowngradeanalysis on Fluttermaster.Rather than re-add annotations that were already removed once by accident because we won't catch this in our own CI (we only
downgradeonstable), this ups the minimum version ofanalyzerfrom 8.1 to 8.2. Also updates the min Flutter SDK to match theanalyzer8.2 requirement of Dart 3.9.Fixes flutter/flutter#179296
Pre-Review Checklist
[shared_preferences]pubspec.yamlwith an appropriate new version according to the pub versioning philosophy, or I have commented below to indicate which version change exemption this PR falls under1.CHANGELOG.mdto add a description of the change, following repository CHANGELOG style, or I have commented below to indicate which CHANGELOG exemption this PR falls under1.///).Footnotes
Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling. ↩ ↩2 ↩3