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

Merge changes for 7.0.0 release #779

Merged
merged 20 commits into from
Aug 30, 2023
Merged

Merge changes for 7.0.0 release #779

merged 20 commits into from
Aug 30, 2023

Conversation

mokagio
Copy link
Contributor

@mokagio mokagio commented Aug 24, 2023

The core changes in this PR, #777 and #778, have already been reviewed. What this does is merely updating the CHANGELOG.md and version field.

As a reminder, I used a dedicated branch to work on breaking changes without "compromising" trunk. Also noted the version is suffixed with beta.1. We shall ship a stable version when the time comes.

  • I have considered if this change warrants release notes and have added them to the appropriate section in the CHANGELOG.md if necessary.

mokagio and others added 19 commits August 2, 2023 13:31
The question was whether we should implement some kind of handling on
our hand, but that seems unnecessary given Jetpack and WordPress haven't
shown any issues without it.

Besides, what could we return if not `false`? We no longer have the
Google SDK available, so we cannot "handle" the URL in that way.

Granted, there could be other ways to handle it consistent with our
library implementation, but they don't seem necessary at this time.
The name now better represent what the type is about.
Next, we'll update the type structure to make it easier to use.
The two `enum` cases had the same associate value type. By making
`SocialUser` a `struct` with the properties of that type plus an
additional `enum` property to distinguish between Apple and Google when
simplify the code, avoiding a bunch of switches.
This results in the `SocialUser.Service` type becoming redundant.
Law of Demeter, plus this will allow further refactors down the line.
It turns out that Jetpack/WordPress iOS uses the user name and email
information, so it makes sense to keep surfacing them.
Streamline metadata after GoogleSignIn removal
@mokagio mokagio marked this pull request as draft August 24, 2023 03:23
@mokagio mokagio marked this pull request as ready for review August 29, 2023 01:17
@mokagio
Copy link
Contributor Author

mokagio commented Aug 29, 2023

@crazytonyli I wanted to wait for #780 to land here first, but after the #780 (comment), I think we'd be better off merging this as is.

@mokagio mokagio enabled auto-merge August 29, 2023 01:18
@mokagio mokagio merged commit 9827959 into trunk Aug 30, 2023
@mokagio mokagio deleted the release/7.0.0 branch August 30, 2023 01:06
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