From c95d05a000c2099c8423e3399042db6c0e6af1ab Mon Sep 17 00:00:00 2001 From: Peter Andrews Date: Thu, 3 Nov 2022 14:02:41 -0700 Subject: [PATCH 01/10] Update changelog for 7.0.0 release. --- CHANGELOG.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 247e511c..d7924905 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ +# 7.0.0 +- Support for [Swift Concurrency](https://docs.swift.org/swift-book/LanguageGuide/Concurrency.html). ([#187](https://github.com/google/GoogleSignIn-iOS/pull/187), [#191](https://github.com/google/GoogleSignIn-iOS/pull/191)) +- Configuration now provided via Info.plist. ([#228](https://github.com/google/GoogleSignIn-iOS/pull/228)) +- Improved `GIDGoogleUser` API surface. ([#249](https://github.com/google/GoogleSignIn-iOS/pull/249)) + # 6.2.4 (2022-9-13) -- Updated the GTMSessionFetcher dependency to allow 2.x versions. ([#207](https://github.com/google/GoogleSignIn-iOS/pull/207)) +- Updated the GTMSessionFetcher dependency to allow 2.x versions. ([#207](https://github.com/google/GoogleSignIn-iOS/pull/207), [#191](https://github.com/google/GoogleSignIn-iOS/pull/191)) # 6.2.3 (2022-8-18) - Fix resource loading in GoogleSignInSwift with CocoaPods use_frameworks! ([#197](https://github.com/google/GoogleSignIn-iOS/pull/197)) From 46576fb2e761085e538b70bc883ca94111eae092 Mon Sep 17 00:00:00 2001 From: Peter Andrews Date: Thu, 3 Nov 2022 14:04:15 -0700 Subject: [PATCH 02/10] Remove unintended change. --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d7924905..da30b029 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ - Improved `GIDGoogleUser` API surface. ([#249](https://github.com/google/GoogleSignIn-iOS/pull/249)) # 6.2.4 (2022-9-13) -- Updated the GTMSessionFetcher dependency to allow 2.x versions. ([#207](https://github.com/google/GoogleSignIn-iOS/pull/207), [#191](https://github.com/google/GoogleSignIn-iOS/pull/191)) +- Updated the GTMSessionFetcher dependency to allow 2.x versions. ([#207](https://github.com/google/GoogleSignIn-iOS/pull/207)) # 6.2.3 (2022-8-18) - Fix resource loading in GoogleSignInSwift with CocoaPods use_frameworks! ([#197](https://github.com/google/GoogleSignIn-iOS/pull/197)) From a69c739c1566dc794ffcb824075c13e44ceb4c6e Mon Sep 17 00:00:00 2001 From: Peter Andrews Date: Wed, 30 Nov 2022 12:42:29 -0800 Subject: [PATCH 03/10] Update CHANGELOG.md --- CHANGELOG.md | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index da30b029..be320ab7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,27 @@ # 7.0.0 -- Support for [Swift Concurrency](https://docs.swift.org/swift-book/LanguageGuide/Concurrency.html). ([#187](https://github.com/google/GoogleSignIn-iOS/pull/187), [#191](https://github.com/google/GoogleSignIn-iOS/pull/191)) -- Configuration now provided via Info.plist. ([#228](https://github.com/google/GoogleSignIn-iOS/pull/228)) -- Improved `GIDGoogleUser` API surface. ([#249](https://github.com/google/GoogleSignIn-iOS/pull/249)) +- All configuration can now provided via Info.plist. ([#228](https://github.com/google/GoogleSignIn-iOS/pull/228)) + - Use the following keys in `` / `` pairs to configure the SDK: + - `GIDClientID` (required) + - `GIDServerClientID` (optional) + - `GIDHostedDomain` (optional) + - `GIDOpenIDRealm` (optional) +- Support for [Swift Concurrency](https://docs.swift.org/swift-book/LanguageGuide/Concurrency.html). ([#187](https://github.com/google/GoogleSignIn-iOS/pull/187)) +- API surface improvements ([#249](https://github.com/google/GoogleSignIn-iOS/pull/249), [#228](https://github.com/google/GoogleSignIn-iOS/pull/228), [#187](https://github.com/google/GoogleSignIn-iOS/pull/187)) + - `GIDSignIn` + - New `configuration` property. + - Removed `addScopes:` and added it to `GIDGoogleUser`. + - `callback:` arguments renamed to `completion:` for asynchronous methods taking blocks. + - `GIDGoogleUser` + - New `configuration` property. + - New `addScopes:` method moved from `GIDGoogleUser`. + - Removed `authetication` property and replaced it with + - New `accessToken` property. + - New `refreshToken` property. + - New `idToken` property. + - New `fetcherAuthorizer` property. + - New `refreshTokensIfNeededWithCompletion:` method. + - New `GIDToken` class introduced to represent access, refresh, and ID tokens in `GIDGoogleUser`. + - New `GIDUserAuth` class introduced to represent the result of a successful auth flow in completetion blocks. # 6.2.4 (2022-9-13) - Updated the GTMSessionFetcher dependency to allow 2.x versions. ([#207](https://github.com/google/GoogleSignIn-iOS/pull/207)) From fb754ed0e275f308b5ef27ab0cb89ec9c937797a Mon Sep 17 00:00:00 2001 From: Peter Andrews Date: Wed, 30 Nov 2022 13:53:56 -0800 Subject: [PATCH 04/10] Update CHANGELOG.md --- CHANGELOG.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index be320ab7..06ad7c67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # 7.0.0 -- All configuration can now provided via Info.plist. ([#228](https://github.com/google/GoogleSignIn-iOS/pull/228)) - - Use the following keys in `` / `` pairs to configure the SDK: +- All configuration can now be provided via your `Info.plist` file. ([#228](https://github.com/google/GoogleSignIn-iOS/pull/228)) + - Use the following keys in `KEYVALUE` pairs to configure the SDK: - `GIDClientID` (required) - `GIDServerClientID` (optional) - `GIDHostedDomain` (optional) @@ -14,7 +14,7 @@ - `GIDGoogleUser` - New `configuration` property. - New `addScopes:` method moved from `GIDGoogleUser`. - - Removed `authetication` property and replaced it with + - Removed `authentication` property and replaced it with: - New `accessToken` property. - New `refreshToken` property. - New `idToken` property. From d06417596a9e035ed31d96213bb2bdb7b21d14d2 Mon Sep 17 00:00:00 2001 From: Peter Andrews Date: Wed, 30 Nov 2022 13:56:40 -0800 Subject: [PATCH 05/10] Remove dates from previous releases. --- CHANGELOG.md | 62 ++++++++++++++++++++++++++-------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 06ad7c67..cdf94a43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,27 +23,27 @@ - New `GIDToken` class introduced to represent access, refresh, and ID tokens in `GIDGoogleUser`. - New `GIDUserAuth` class introduced to represent the result of a successful auth flow in completetion blocks. -# 6.2.4 (2022-9-13) +# 6.2.4 - Updated the GTMSessionFetcher dependency to allow 2.x versions. ([#207](https://github.com/google/GoogleSignIn-iOS/pull/207)) -# 6.2.3 (2022-8-18) +# 6.2.3 - Fix resource loading in GoogleSignInSwift with CocoaPods use_frameworks! ([#197](https://github.com/google/GoogleSignIn-iOS/pull/197)) - Prevent build errors for GoogleSignInSwift in certain scenarios when using Swift Package Manager. ([#166](https://github.com/google/GoogleSignIn-iOS/pull/166)) -# 6.2.2 (2022-5-27) +# 6.2.2 - Prevent build errors for GoogleSignInSwift when using Swift Package Manager. ([#157](https://github.com/google/GoogleSignIn-iOS/pull/157)) - Prevent a build error on Xcode 12 and earlier. ([#158](https://github.com/google/GoogleSignIn-iOS/pull/158)) -# 6.2.1 (2022-5-19) +# 6.2.1 - Use `GoogleSignInSwiftSupport` as the name of the Swift support CocoaPod. ([#137](https://github.com/google/GoogleSignIn-iOS/pull/137)) -# 6.2.0 (2022-5-18) +# 6.2.0 - Support for macOS. ([#104](https://github.com/google/GoogleSignIn-iOS/pull/104)) - Added a SwiftUI "Sign in with Google" button. ([#103](https://github.com/google/GoogleSignIn-iOS/pull/103)) - Added the ability to request additional scopes at sign-in time. ([#30](https://github.com/google/GoogleSignIn-iOS/pull/30)) - Fixed several issues. ([#87](https://github.com/google/GoogleSignIn-iOS/pull/87), [#106](https://github.com/google/GoogleSignIn-iOS/issues/106)) -# 6.1.0 (2021-12-16) +# 6.1.0 - New Swift sample app demonstrating SwiftUI. ([#63](https://github.com/google/GoogleSignIn-iOS/pull/63)) - Support for Mac Catalyst. @@ -51,15 +51,15 @@ ([#68](https://github.com/google/GoogleSignIn-iOS/pull/68), [#70](https://github.com/google/GoogleSignIn-iOS/pull/70)) -# 6.0.2 (2021-8-20) +# 6.0.2 - Ensure that module imports can be used when built as a library. ([#53](https://github.com/google/GoogleSignIn-iOS/pull/53)) -# 6.0.1 (2021-7-21) +# 6.0.1 - Fixes nested callbacks not being called for signIn and addScopes methods. ([#29](https://github.com/google/GoogleSignIn-iOS/pull/29)) -# 6.0.0 (2021-7-13) +# 6.0.0 - Google Sign-In for iOS is now open source. - Swift Package Manager support. - Support for Simulator on M1 Macs. @@ -85,15 +85,15 @@ an `IBAction` or similar in order for you to call `signInWithConfiguration:presentingViewController:callback:` to initiate a sign-in flow. -# 5.0.2 (2019-11-7) +# 5.0.2 - Fixes the wrong error code being sent to `signIn:didSignInForUser:withError:` when the user cancels iOS's consent dialog during the sign-in flow. -# 5.0.1 (2019-10-9) +# 5.0.1 - Fixes an issue that the sign in flow cannot be correctly started on iOS 13. - The zip distribution requires Xcode 11 or above. -# 5.0.0 (2019-8-14) +# 5.0.0 - Changes to GIDSignIn - `uiDelegate` has been replaced with `presentingViewController`. - `hasAuthInKeychain` has been replaced with `hasPreviousSignIn`. @@ -107,40 +107,40 @@ - Removes the dependency on GoogleToolboxForMac. - Drops support for iOS 7. -# 4.4.0 (2018-11-26) +# 4.4.0 - Removes the dependency on GTM OAuth 2. -# 4.3.0 (2018-10-1) +# 4.3.0 - Supports Google's Enterprise Mobile Management. -# 4.2.0 (2018-8-10) +# 4.2.0 - Adds `grantedScopes` to `GIDGoogleUser`, allowing confirmation of which scopes have been granted after a successful sign-in. - Deprecates `accessibleScopes` in `GIDGoogleUser`, use `grantedScopes` instead. - Localizes `GIDSignInButton` for hi (Hindi) and fr-CA (French (Canada)). - Adds dependency to the system `LocalAuthentication` framework. -# 4.1.2 (2018-1-8) +# 4.1.2 - Add `pod try` support for the GoogleSignIn CocoaPod. -# 4.1.1 (2017-10-17) +# 4.1.1 - Fixes an issue that `GIDSignInUIDelegate`'s `signInWillDispatch:error:` was not called on iOS 11. Please note that it is intended that neither `signIn:presentViewController:` nor `signIn:dismissViewController:` is called on iOS 11 because SFAuthenticationSession is not presented by the app's view controller. -# 4.1.0 (2017-09-13) +# 4.1.0 - Uses SFAuthenticationSession on iOS 11. -# 4.0.2 (2017-2-6) +# 4.0.2 - No longer depends on GoogleAppUtilities. -# 4.0.1 (2016-10-24) +# 4.0.1 - Switches to open source pod dependencies. - Appearance of sign-in button no longer depends on requested scopes. -# 4.0.0 (2016-4-21) +# 4.0.0 - GoogleSignIn pod now takes form of a static framework. Import with `#import ` in Objective-C. - Adds module support. You can also use `@import GoogleSignIn;` in Objective-C, @@ -154,7 +154,7 @@ from `GIDSignIn`. - No longer requires adding bundle ID as a URL scheme supported by the app. -# 3.0.0 (2016-3-4) +# 3.0.0 - Provides `givenName` and `familyName` properties on `GIDProfileData`. - Allows setting the `loginHint` property on `GIDSignIn` to prefill the user's ID or email address in the sign-in flow. @@ -166,41 +166,41 @@ - Provides bitcode support. - Requires Xcode 7.0 or above due to bitcode incompatibilities with Xcode 6. -# 2.4.0 (2015-10-26) +# 2.4.0 - Updates sign-in button with the new Google logo. - Supports domain restriction for sign-in. - Allows refreshing ID tokens. -# 2.3.2 (2015-10-9) +# 2.3.2 - No longer requires Xcode 7. -# 2.3.1 (2015-10-1) +# 2.3.1 - Fixes a crash in `GIDProfileData`'s `imageURLWithDimension:`. -# 2.3.0 (2015-9-25) +# 2.3.0 - Requires Xcode 7.0 or above. - Uses SFSafariViewController for signing in on iOS 9. `uiDelegate` must be set for this to work. - Optimizes fetching user profile. - Supports GTMFetcherAuthorizationProtocol in GIDAuthentication. -# 2.2.0 (2015-7-15) +# 2.2.0 - Compatible with iOS 9 (beta). Note that this version of the Sign-In SDK does not include bitcode, so you must set ENABLE_BITCODE to NO in your project if you use Xcode 7. - Adds descriptive identifiers for GIDSignInButton's Auto Layout constraints. - `signInSilently` no longer requires setting `uiDelegate`. -# 2.1.0 (2015-6-17) +# 2.1.0 - Fixes Auto Layout issues with GIDSignInButton. - Adds API to refresh access token in GIDAuthentication. - Better exception description for unassigned clientID in GIDSignIn. - Other minor bug fixes. -# 2.0.1 (2015-5-28) +# 2.0.1 - Bug fixes -# 2.0.0 (2015-5-21) +# 2.0.0 - Supports sign-in via UIWebView rather than app switching to a browser, configurable with the new `allowsSignInWithWebView` property. - Now apps which have disabled the app switch to a browser via the @@ -212,7 +212,7 @@ is `NO` as documented - Other minor bug fixes -# 1.0.0 (2015-3-12) +# 1.0.0 - New sign-in focused SDK with refreshed API - Dynamically rendered sign-in button with contextual branding - Basic profile support From 8289f81e82e8daa61cf3ae24a84fa6e590233485 Mon Sep 17 00:00:00 2001 From: Peter Andrews Date: Wed, 30 Nov 2022 14:15:51 -0800 Subject: [PATCH 06/10] Update CHANGELOG.md --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cdf94a43..2a3b3884 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,11 +9,12 @@ - API surface improvements ([#249](https://github.com/google/GoogleSignIn-iOS/pull/249), [#228](https://github.com/google/GoogleSignIn-iOS/pull/228), [#187](https://github.com/google/GoogleSignIn-iOS/pull/187)) - `GIDSignIn` - New `configuration` property. + - `Configuration:` arguments removed from `signIn:` methods. - Removed `addScopes:` and added it to `GIDGoogleUser`. - `callback:` arguments renamed to `completion:` for asynchronous methods taking blocks. - `GIDGoogleUser` - New `configuration` property. - - New `addScopes:` method moved from `GIDGoogleUser`. + - New `addScopes:` method moved from `GIDSignIn`. - Removed `authentication` property and replaced it with: - New `accessToken` property. - New `refreshToken` property. From 640574a46a1085c9a535c33dd24d5580df88fe0a Mon Sep 17 00:00:00 2001 From: Peter Andrews Date: Wed, 30 Nov 2022 14:22:55 -0800 Subject: [PATCH 07/10] Update CHANGELOG.md --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a3b3884..e6bbcb53 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,9 +9,9 @@ - API surface improvements ([#249](https://github.com/google/GoogleSignIn-iOS/pull/249), [#228](https://github.com/google/GoogleSignIn-iOS/pull/228), [#187](https://github.com/google/GoogleSignIn-iOS/pull/187)) - `GIDSignIn` - New `configuration` property. - - `Configuration:` arguments removed from `signIn:` methods. + - Removed `Configuration:` arguments from `signIn:` methods. - Removed `addScopes:` and added it to `GIDGoogleUser`. - - `callback:` arguments renamed to `completion:` for asynchronous methods taking blocks. + - Renamed `callback:` arguments to `completion:` for asynchronous methods taking blocks. - `GIDGoogleUser` - New `configuration` property. - New `addScopes:` method moved from `GIDSignIn`. From 7ef912ed4bfe6ee4fa9bf4a64ce6f06960c524f5 Mon Sep 17 00:00:00 2001 From: Peter Andrews Date: Mon, 12 Dec 2022 11:36:47 -0800 Subject: [PATCH 08/10] Mention the removal of block typedefs. --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e6bbcb53..01f38294 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ - New `refreshTokensIfNeededWithCompletion:` method. - New `GIDToken` class introduced to represent access, refresh, and ID tokens in `GIDGoogleUser`. - New `GIDUserAuth` class introduced to represent the result of a successful auth flow in completetion blocks. + - Removed `GIDSignInCallback`, `GIDDisconnectCallback`, and `GIDAuthenticationAction` block type definitions. # 6.2.4 - Updated the GTMSessionFetcher dependency to allow 2.x versions. ([#207](https://github.com/google/GoogleSignIn-iOS/pull/207)) From e7da304e8728a8f962c558aed1cbe5918c4c3386 Mon Sep 17 00:00:00 2001 From: Peter Andrews Date: Mon, 12 Dec 2022 12:05:49 -0800 Subject: [PATCH 09/10] GIDUserAuth renamed to GIDSignInResult. --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 01f38294..32fd0179 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,8 +21,8 @@ - New `idToken` property. - New `fetcherAuthorizer` property. - New `refreshTokensIfNeededWithCompletion:` method. - - New `GIDToken` class introduced to represent access, refresh, and ID tokens in `GIDGoogleUser`. - - New `GIDUserAuth` class introduced to represent the result of a successful auth flow in completetion blocks. + - New `GIDToken` class to represent access, refresh, and ID tokens in `GIDGoogleUser`. + - New `GIDSignInResult` class to represent the result of a successful signIn or addScopes flow in completetion blocks. - Removed `GIDSignInCallback`, `GIDDisconnectCallback`, and `GIDAuthenticationAction` block type definitions. # 6.2.4 From 57079ee6365f99eb314d0c4e21d62c61fff68bb0 Mon Sep 17 00:00:00 2001 From: Peter Andrews Date: Mon, 12 Dec 2022 12:07:12 -0800 Subject: [PATCH 10/10] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 32fd0179..9b90ccfa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,7 +22,7 @@ - New `fetcherAuthorizer` property. - New `refreshTokensIfNeededWithCompletion:` method. - New `GIDToken` class to represent access, refresh, and ID tokens in `GIDGoogleUser`. - - New `GIDSignInResult` class to represent the result of a successful signIn or addScopes flow in completetion blocks. + - New `GIDSignInResult` class to represent the result of a successful signIn or addScopes flow. - Removed `GIDSignInCallback`, `GIDDisconnectCallback`, and `GIDAuthenticationAction` block type definitions. # 6.2.4