[go_router_builder] Support analyzer 13#12189
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the analyzer dependency constraint in packages/go_router_builder/pubspec.yaml to support version 13 (allowing <14.0.0) and updates the CHANGELOG.md accordingly. There are no review comments, and I have no feedback to provide.
|
Thank you for your contribution! Because of the volume of PRs we receive, we require that new contributors use our checklist to guide them through critical steps in creating a Flutter PR. This PR's description is missing that checklist, so it is being marked as a Draft. Please edit the PR description to add the checklist, then ensure that you have completed all of the steps. Once you've done that, please mark the PR as ready for review. If you need help, consider asking for advice on the #hackers-new channel on Discord. |
There was a problem hiding this comment.
Code Review
This pull request updates the go_router_builder package to version 4.3.1, extending the supported range of the analyzer dependency to <14.0.0 and updating the changelog accordingly. There are no review comments, and I have no feedback to provide.
|
Apologies for causing extra work here, I assumed it would be fine for a tiny change but I shouldn't have skipped that. I have created an issue and filled out the checklist now. |
stuartmorgan-g
left a comment
There was a problem hiding this comment.
LGTM. @chunhtai for secondary approval
Did you only try 13, or did 14 require code changes? (It's fine to add just 13 in this PR, just wondering if there's information to capture in another issue about work required to adopt support for 14.)
I couldn't even get 14 to resolve, I believe Flutter stable currently pins an older version of (and just to point it out again in case it's relevant, |
Thanks, good to know. We'll have to test with
That's flutter/flutter#187145 |
|
Just checked, with the latest Flutter from |
chunhtai
left a comment
There was a problem hiding this comment.
LGTM, just checked the changelog for analyzer v14 https://pub.dev/packages/analyzer/changelog
it doesn't seem it will impact the go_router_builder
This declares support for analyzer versions 13.x in the
go_router_builderpackage.I ran
tool/run_tests.dartafter upgrading, no code changes are necessary and existing tests pass. Note that another package in this repository,pigeon, also depends on an olderanalyzerversion but would require code changes to support analyzer version 13.x.Closes flutter/flutter#189357.
Pre-Review Checklist
[shared_preferences]///).Comments below: