|
|
@@ -1,17 +1,31 @@
|
|
|
-# 2020-4-7 -- v6.0.0
|
|
|
+# 6.0.0 (2021-7-14)
|
|
|
- Google Sign-In for iOS is now open source.
|
|
|
-- Swift Package Manager Support.
|
|
|
+- Swift Package Manager support.
|
|
|
- Support for Simulator on M1 Macs.
|
|
|
-
|
|
|
-# 2019-11-7 -- v5.0.2
|
|
|
+- API surface updates
|
|
|
+ - `GIDSignIn`
|
|
|
+ - `signIn` is now `signInWithConfiguration:presentingViewController:callback:` and always requests basic profile scopes.
|
|
|
+ - `addScopes:presentingViewController:callback:` is the new way to add scopes beyond basic profile to a currently signed-in user.
|
|
|
+ - `restorePreviousSignIn` is now `restorePreviousSignInWithCallback:`.
|
|
|
+ - `disconnect` is now `disconnectWithCallback:`.
|
|
|
+ - The `GIDSignInDelegate` protocol has been removed in favor of `GIDSignInCallback` and `GIDDisconnectCallback` blocks.
|
|
|
+ - All sign-in flow configuration properties have been moved to `GIDConfiguration`.
|
|
|
+ - The `GIDConfiguration` class had been added to represent the configuration needed to sign in a user.
|
|
|
+ - `GIDAuthentication`
|
|
|
+ - `getTokensWithHandler:` is now `doWithFreshTokens:`.
|
|
|
+ - The `GIDAuthenticationHandler` typedef has been renamed `GIDAuthenticationAction`.
|
|
|
+ - `refreshTokensWithHandler:` has been removed, use `doWithFreshTokens:` instead.
|
|
|
+ - `GIDSignInButton` no longer makes calls to `GIDSignIn` internally and will need to be wired to 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)
|
|
|
- Fixes the wrong error code being sent to `signIn:didSignInForUser:withError:` when the user
|
|
|
cancels iOS's consent dialog during the sign-in flow.
|
|
|
|
|
|
-# 2019-10-9 -- v5.0.1
|
|
|
+# 5.0.1 (2019-10-9)
|
|
|
- Fixes an issue that the sign in flow cannot be correctly started on iOS 13.
|
|
|
- The zip distribution requires Xcode 11 or above.
|
|
|
|
|
|
-# 2019-8-14 -- v5.0.0
|
|
|
+# 5.0.0 (2019-8-14)
|
|
|
- Changes to GIDSignIn
|
|
|
- `uiDelegate` has been replaced with `presentingViewController`.
|
|
|
- `hasAuthInKeychain` has been replaced with `hasPreviousSignIn`.
|
|
|
@@ -25,40 +39,40 @@
|
|
|
- Removes the dependency on GoogleToolboxForMac.
|
|
|
- Drops support for iOS 7.
|
|
|
|
|
|
-# 2018-11-26 -- v4.4.0
|
|
|
+# 4.4.0 (2018-11-26)
|
|
|
- Removes the dependency on GTM OAuth 2.
|
|
|
|
|
|
-# 2018-10-1 -- v4.3.0
|
|
|
+# 4.3.0 (2018-10-1)
|
|
|
- Supports Google's Enterprise Mobile Management.
|
|
|
|
|
|
-# 2018-8-10 -- v4.2.0
|
|
|
+# 4.2.0 (2018-8-10)
|
|
|
- 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.
|
|
|
|
|
|
-# 2018-1-8 -- v4.1.2
|
|
|
+# 4.1.2 (2018-1-8)
|
|
|
- Add `pod try` support for the GoogleSignIn CocoaPod.
|
|
|
|
|
|
-# 2017-10-17 -- v4.1.1
|
|
|
+# 4.1.1 (2017-10-17)
|
|
|
- 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.
|
|
|
|
|
|
-# 2017-09-13 -- v4.1.0
|
|
|
+# 4.1.0 (2017-09-13)
|
|
|
- Uses SFAuthenticationSession on iOS 11.
|
|
|
|
|
|
-# 2017-02-06 -- v4.0.2
|
|
|
+# 4.0.2 (2017-2-6)
|
|
|
- No longer depends on GoogleAppUtilities.
|
|
|
|
|
|
-# 2016-10-24 -- v4.0.1
|
|
|
+# 4.0.1 (2016-10-24)
|
|
|
- Switches to open source pod dependencies.
|
|
|
- Appearance of sign-in button no longer depends on requested scopes.
|
|
|
|
|
|
-# 2016-04-21 -- v4.0.0
|
|
|
+# 4.0.0 (2016-4-21)
|
|
|
- GoogleSignIn pod now takes form of a static framework. Import with
|
|
|
`#import <GoogleSignIn/GoogleSignIn.h>` in Objective-C.
|
|
|
- Adds module support. You can also use `@import GoogleSignIn;` in Objective-C,
|
|
|
@@ -72,7 +86,7 @@
|
|
|
from `GIDSignIn`.
|
|
|
- No longer requires adding bundle ID as a URL scheme supported by the app.
|
|
|
|
|
|
-# 2016-03-04 -- v3.0.0
|
|
|
+# 3.0.0 (2016-3-4)
|
|
|
- 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.
|
|
|
@@ -84,41 +98,41 @@
|
|
|
- Provides bitcode support.
|
|
|
- Requires Xcode 7.0 or above due to bitcode incompatibilities with Xcode 6.
|
|
|
|
|
|
-# 2015-10-26 -- v2.4.0
|
|
|
+# 2.4.0 (2015-10-26)
|
|
|
- Updates sign-in button with the new Google logo.
|
|
|
- Supports domain restriction for sign-in.
|
|
|
- Allows refreshing ID tokens.
|
|
|
|
|
|
-# 2015-10-09 -- v2.3.2
|
|
|
+# 2.3.2 (2015-10-9)
|
|
|
- No longer requires Xcode 7.
|
|
|
|
|
|
-# 2015-10-01 -- v2.3.1
|
|
|
+# 2.3.1 (2015-10-1)
|
|
|
- Fixes a crash in `GIDProfileData`'s `imageURLWithDimension:`.
|
|
|
|
|
|
-# 2015-09-25 -- v2.3.0
|
|
|
+# 2.3.0 (2015-9-25)
|
|
|
- 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.
|
|
|
|
|
|
-# 2015-07-15 -- v2.2.0
|
|
|
+# 2.2.0 (2015-7-15)
|
|
|
- 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`.
|
|
|
|
|
|
-# 2015-06-17 -- v2.1.0
|
|
|
+# 2.1.0 (2015-6-17)
|
|
|
- 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.
|
|
|
|
|
|
-# 2015-05-28 -- v2.0.1
|
|
|
+# 2.0.1 (2015-5-28)
|
|
|
- Bug fixes
|
|
|
|
|
|
-# 2015-05-21 -- v2.0.0
|
|
|
+# 2.0.0 (2015-5-21)
|
|
|
- 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
|
|
|
@@ -130,7 +144,7 @@
|
|
|
is `NO` as documented
|
|
|
- Other minor bug fixes
|
|
|
|
|
|
-# 2015-03-12 -- v1.0.0
|
|
|
+# 1.0.0 (2015-3-12)
|
|
|
- New sign-in focused SDK with refreshed API
|
|
|
- Dynamically rendered sign-in button with contextual branding
|
|
|
- Basic profile support
|