-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade dependencies, 2024-05 #709
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Just one small comment below, then please merge at will.
@@ -1,5 +1,6 @@ | |||
// Autogenerated from Pigeon (v18.0.0), do not edit directly. | |||
// Autogenerated from Pigeon (v18.0.1), do not edit directly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting, it sounds like you didn't run into #622, or if you did, you found a workaround.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did, and I ended up running dart run pigeon
which fixed it. (Just like you did at #621 (comment) .) So the commit message is a bit idealized; I'll clarify.
Done with: $ flutter pub upgrade pigeon $ dart run pigeon $ tools/check --all-files --fix pigeon The `dart run pigeon` step just ends up printing the command's CLI help... but first it causes the `pigeon` package's CLI binary to get rebuilt. So it serves as a workaround for zulip#622.
Done with: $ flutter pub upgrade json_serializable json_annotation $ tools/check --fix --all-files build_runner
Done with: $ flutter pub upgrade drift drift_dev $ tools/check --fix --all-files build_runner drift
This is the result of `tools/upgrade pod-major`. All of these are dev-only dependencies, so what you see is what you get. The only effect of the `pigeon` upgrade is the changes below (which are only in comments noting the version itself); and given that the `lints` and `flutter_lints` upgrades don't cause the analyzer to complain, there's nothing else they could do to break things. Looking at changelogs, the linter upgrades add and remove some lints to the list, and the Pigeon upgrade has a breaking change for Swift. Changelogs: https://pub.dev/packages/pigeon/changelog https://pub.dev/packages/lints/changelog https://pub.dev/packages/flutter_lints/changelog
This was a bit more involved than usual because it turns out several of our dependencies had releases recently that changed generated files. I might follow up by extending
tools/upgrade
to automate those too, either now or next time it happens.We should also upgrade Flutter itself, but it's getting to the end of the day so sending what I have.