Skip to content
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

Merged
merged 7 commits into from
May 30, 2024
Merged

Upgrade dependencies, 2024-05 #709

merged 7 commits into from
May 30, 2024

Conversation

gnprice
Copy link
Member

@gnprice gnprice commented May 29, 2024

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.

@gnprice gnprice requested a review from chrisbobbe May 29, 2024 01:20
Copy link
Collaborator

@chrisbobbe chrisbobbe left a 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.
Copy link
Collaborator

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.

Copy link
Member Author

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.

gnprice and others added 7 commits May 29, 2024 17:22
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
@gnprice gnprice merged commit d59ec76 into zulip:main May 30, 2024
1 check passed
@gnprice gnprice deleted the pr-deps branch May 30, 2024 00:24
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.

2 participants