|
1 | | -# 6.0.0 (2021-7-14) |
| 1 | +# 6.0.0 (2021-7-13) |
2 | 2 | - Google Sign-In for iOS is now open source. |
3 | 3 | - Swift Package Manager support. |
4 | 4 | - Support for Simulator on M1 Macs. |
5 | 5 | - API surface updates |
6 | | - - `GIDSignIn` |
7 | | - - `sharedInstance` is now a class property. |
8 | | - - `signIn` is now `signInWithConfiguration:presentingViewController:callback:` and always requests basic profile scopes. |
9 | | - - `addScopes:presentingViewController:callback:` is the new way to add scopes beyond basic profile to a currently signed-in user. |
10 | | - - `restorePreviousSignIn` is now `restorePreviousSignInWithCallback:`. |
11 | | - - `disconnect` is now `disconnectWithCallback:`. |
12 | | - - The `GIDSignInDelegate` protocol has been removed in favor of `GIDSignInCallback` and `GIDDisconnectCallback` blocks. |
13 | | - - All sign-in flow configuration properties have been moved to `GIDConfiguration`. |
14 | | - - The `GIDConfiguration` class had been added to represent the configuration needed to sign in a user. |
15 | | - - `GIDAuthentication` |
16 | | - - `getTokensWithHandler:` is now `doWithFreshTokens:`. |
17 | | - - The `GIDAuthenticationHandler` typedef has been renamed `GIDAuthenticationAction`. |
18 | | - - `refreshTokensWithHandler:` has been removed, use `doWithFreshTokens:` instead. |
19 | | - - `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. |
| 6 | + - `GIDSignIn` |
| 7 | + - `sharedInstance` is now a class property. |
| 8 | + - `signIn` is now `signInWithConfiguration:presentingViewController:callback:` and always |
| 9 | + requests basic profile scopes. |
| 10 | + - `addScopes:presentingViewController:callback:` is the new way to add scopes beyond basic |
| 11 | + profile to a currently signed-in user. |
| 12 | + - `restorePreviousSignIn` is now `restorePreviousSignInWithCallback:`. |
| 13 | + - `disconnect` is now `disconnectWithCallback:`. |
| 14 | + - The `GIDSignInDelegate` protocol has been removed in favor of `GIDSignInCallback` and |
| 15 | + `GIDDisconnectCallback` blocks. |
| 16 | + - All sign-in flow configuration properties have been moved to `GIDConfiguration`. |
| 17 | + - The `GIDConfiguration` class had been added to represent the configuration needed to sign in a |
| 18 | + user. |
| 19 | + - `GIDAuthentication` |
| 20 | + - `getTokensWithHandler:` is now `doWithFreshTokens:`. |
| 21 | + - The `GIDAuthenticationHandler` typedef has been renamed `GIDAuthenticationAction`. |
| 22 | + - `refreshTokensWithHandler:` has been removed, use `doWithFreshTokens:` instead. |
| 23 | + - `GIDSignInButton` no longer makes calls to `GIDSignIn` internally and will need to be wired to |
| 24 | + an `IBAction` or similar in order for you to call |
| 25 | + `signInWithConfiguration:presentingViewController:callback:` to initiate a sign-in flow. |
20 | 26 |
|
21 | 27 | # 5.0.2 (2019-11-7) |
22 | 28 | - Fixes the wrong error code being sent to `signIn:didSignInForUser:withError:` when the user |
|
28 | 34 |
|
29 | 35 | # 5.0.0 (2019-8-14) |
30 | 36 | - Changes to GIDSignIn |
31 | | - - `uiDelegate` has been replaced with `presentingViewController`. |
32 | | - - `hasAuthInKeychain` has been replaced with `hasPreviousSignIn`. |
33 | | - - `signInSilently` has been replaced with `restorePreviousSignIn`. |
34 | | - - Removed deprecated `kGIDSignInErrorCodeNoSignInHandlersInstalled` error code. |
| 37 | + - `uiDelegate` has been replaced with `presentingViewController`. |
| 38 | + - `hasAuthInKeychain` has been replaced with `hasPreviousSignIn`. |
| 39 | + - `signInSilently` has been replaced with `restorePreviousSignIn`. |
| 40 | + - Removed deprecated `kGIDSignInErrorCodeNoSignInHandlersInstalled` error code. |
35 | 41 | - Changes to GIDAuthentication |
36 | | - - Removed deprecated methods `getAccessTokenWithHandler:` and `refreshAccessTokenWithHandler:`. |
| 42 | + - Removed deprecated methods `getAccessTokenWithHandler:` and `refreshAccessTokenWithHandler:`. |
37 | 43 | - Changes to GIDGoogleUser |
38 | | - - Removed deprecated property `accessibleScopes`, use `grantedScopes` instead. |
| 44 | + - Removed deprecated property `accessibleScopes`, use `grantedScopes` instead. |
39 | 45 | - Adds dependencies on AppAuth and GTMAppAuth. |
40 | 46 | - Removes the dependency on GoogleToolboxForMac. |
41 | 47 | - Drops support for iOS 7. |
|
0 commit comments