Skip to content

Conversation

@ditman
Copy link
Member

@ditman ditman commented Jan 25, 2024

Cocoon's dependabot seems to be ignoring "patch" (+z) releases in packages with version < 1.0.0.

That's caused them to miss a fix in how the Google Sign In button renders into the app that was released as a "patch" version (0.12.3+1).

This PR updates the cocoon dependency to the fixed version of the package, so the Google Sign In button renders normally again.

(It also uses a new API introduced in 0.12.3 to access web_only components much more easily than before, which allows to remove an intermediate dependency).

Issues

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read the Flutter Style Guide recently, and have followed its advice.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Copy link
Contributor

@keyonghan keyonghan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for the fix!

@ditman ditman added the autosubmit Merge PR when tree becomes green via auto submit App. label Jan 25, 2024
@auto-submit auto-submit bot merged commit 48875a0 into flutter:main Jan 25, 2024
@ditman ditman deleted the fix-sign-in-button branch January 25, 2024 23:32
google_sign_in: 6.2.1 # Rolled by dependabot
google_sign_in_platform_interface: any # Match google_sign_in
google_sign_in_web: 0.12.3 # Rolled by dependabot
google_sign_in_web: 0.12.3+2 # Rolled by dependabot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it possible dependabot reverts this?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll give it a try with a dependabot manual run to see if it will try to revert the change

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'm trying to see if we want to move the _web package to something > 1.0.0 so this isn't an issue anymore.

However, if we don't update it to 1.0.0, and then don't do any backwards-incompatible changes, it's likely that this can stay as 0.12.Y+Z for a while!

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[cocoon] Google Sign In button not showing up.

4 participants