Skip to content

Conversation

@stuartmorgan-g
Copy link
Collaborator

Adds compatibility with the latest major version of analyzer and dart_style (the latter being required to actually allow analyzer 7).

The breaking change of dart_style does affect our usage, so this updates rather than expands the allowed version. The range for analyzer is updated to drop versions older thas 6 since dart_style doesn't allow versions older than 6 anyway.

We have to pick a language version to use for formatting; this (somewhat arbitrarily) uses 3.6, to opt in to the new formatter.

Fixes flutter/flutter#161820
Fixes flutter/flutter#161583

Pre-launch Checklist

Adds compatibility with the latest major version of `analyzer` and
`dart_style` (the latter being required to actually allow `analyzer` 7).

The breaking change of `dart_style` does affect our usage, so this
updates rather than expands the allowed version. The range for
`analyzer` is updated to drop versions older thas 6 since `dart_style`
doesn't allow versions older than 6 anyway.

We have to pick a language version to use for formatting; this (somewhat
arbitrarily) uses 3.6, to opt in to the new formatter.

Fixes flutter/flutter#161820
Fixes flutter/flutter#161583
@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption, contact "@test-exemption-reviewer" in the #hackers channel in Discord (don't just cc them here, they won't see it!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. The test exemption team is a small volunteer group, so all reviewers should feel empowered to ask for tests, without delegating that responsibility entirely to the test exemption group.

@stuartmorgan-g
Copy link
Collaborator Author

text-exempt: updating dependencies

@tarrinneal
Copy link
Contributor

I'm assuming you ran the generators and nothing changed?

@parlough
Copy link
Member

We have to pick a language version to use for formatting; this (somewhat arbitrarily) uses 3.6, to opt in to the new formatter.

Just a note, if you want to opt in to the new formatter, you'll need a language version of 3.7 or later, not 3.6.

@stuartmorgan-g
Copy link
Collaborator Author

I'm assuming you ran the generators and nothing changed?

In theory CI would catch that, but I'll double-check that I did run it locally before I land.

Just a note, if you want to opt in to the new formatter, you'll need a language version of 3.7 or later, not 3.6.

Ah, right, I was thinking of the wrong roller that gave us issues. I'll stick with 3.6 to match current stable.

@stuartmorgan-g
Copy link
Collaborator Author

In theory CI would catch that, but I'll double-check that I did run it locally before I land.

Verified locally. Of course, we run everything through the formatter after we generate, so I can't swear the format of the raw output didn't change. But if it did, it shouldn't matter anyway, since it's just formatted to be something other than one giant line, not for some exact output format.

@stuartmorgan-g stuartmorgan-g added the autosubmit Merge PR when tree becomes green via auto submit App label Jan 18, 2025
@auto-submit auto-submit bot merged commit d6bc0f0 into flutter:main Jan 18, 2025
77 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jan 20, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jan 20, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jan 20, 2025
github-merge-queue bot pushed a commit to flutter/flutter that referenced this pull request Jan 20, 2025
flutter/packages@f73cb00...e8f1f63

2025-01-20 mchudy@users.noreply.github.com [in_app_purchase] Update Play
Billing library to 7.1.1 (flutter/packages#8218)
2025-01-20 engine-flutter-autoroll@skia.org Roll Flutter from
5517cc9 to b9e86a5 (22 revisions) (flutter/packages#8458)
2025-01-18 stuartmorgan@google.com [pigeon] Update analyzer and
formatter (flutter/packages#8456)
2025-01-17 49699333+dependabot[bot]@users.noreply.github.com
[dependabot]: Bump the gradle-plugin group across 3 directories with 1
update (flutter/packages#8328)
2025-01-17 magder@google.com [local_auth_darwin] Handle when FaceID
hardware is available but permissions have been denied for the app
(flutter/packages#8348)
2025-01-16 engine-flutter-autoroll@skia.org Roll Flutter from
40c2b86 to 5517cc9 (28 revisions) (flutter/packages#8441)
2025-01-15 louisehsu@google.com [in_app_purchase_storekit] expose
`jsonRepresentation` for Transactions (flutter/packages#8430)
2025-01-15 engine-flutter-autoroll@skia.org Roll Flutter (stable) from
17025dd to 68415ad (4 revisions) (flutter/packages#8434)
2025-01-15 30872003+misos1@users.noreply.github.com
[video_player_avfoundation] fix playback speed resetting
(flutter/packages#7657)

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 flutter-ecosystem@google.com 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
androidseb pushed a commit to androidseb/packages that referenced this pull request Jun 8, 2025
Adds compatibility with the latest major version of `analyzer` and `dart_style` (the latter being required to actually allow `analyzer` 7).

The breaking change of `dart_style` does affect our usage, so this updates rather than expands the allowed version. The range for `analyzer` is updated to drop versions older thas 6 since `dart_style` doesn't allow versions older than 6 anyway.

We have to pick a language version to use for formatting; this (somewhat arbitrarily) uses 3.6, to opt in to the new formatter.

Fixes flutter/flutter#161820
Fixes flutter/flutter#161583
FMorschel pushed a commit to FMorschel/packages that referenced this pull request Jun 9, 2025
Adds compatibility with the latest major version of `analyzer` and `dart_style` (the latter being required to actually allow `analyzer` 7).

The breaking change of `dart_style` does affect our usage, so this updates rather than expands the allowed version. The range for `analyzer` is updated to drop versions older thas 6 since `dart_style` doesn't allow versions older than 6 anyway.

We have to pick a language version to use for formatting; this (somewhat arbitrarily) uses 3.6, to opt in to the new formatter.

Fixes flutter/flutter#161820
Fixes flutter/flutter#161583
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App p: pigeon

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[pigeon] Support Analyzer 7.x [pigeon] Pigeon not working with dart_style version above 3.0.1

3 participants