Skip to content

Commit

Permalink
Merge pull request #590 from auth0/release/2.8.0
Browse files Browse the repository at this point in the history
Release 2.8.0
  • Loading branch information
poovamraj authored Jul 5, 2022
2 parents 7190918 + d269e94 commit 8a032a8
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 4 deletions.
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
# Change Log

## [2.8.0](https://github.com/auth0/Auth0.Android/tree/2.8.0) (2022-07-05)
[Full Changelog](https://github.com/auth0/Auth0.Android/compare/2.7.0...2.8.0)

**Added**
- [SDK-3329] Improved ID token exception API [\#577](https://github.com/auth0/Auth0.Android/pull/577) ([poovamraj](https://github.com/poovamraj))
- [SDK-3144] Add user property to Credentials [\#569](https://github.com/auth0/Auth0.Android/pull/569) ([adamjmcgrath](https://github.com/adamjmcgrath))
- [SDK-3353] Validate claims for ID Token received in Authentication API Client [\#575](https://github.com/auth0/Auth0.Android/pull/575) ([poovamraj](https://github.com/poovamraj))
- [SDK-3346] Implemented coroutine support [\#563](https://github.com/auth0/Auth0.Android/pull/563) ([poovamraj](https://github.com/poovamraj))

**Changed**
- [SDK-3358] Improve Android README [\#579](https://github.com/auth0/Auth0.Android/pull/579) ([adamjmcgrath](https://github.com/adamjmcgrath))
- [SDK-3352] Expire credentials based on access token alone [\#572](https://github.com/auth0/Auth0.Android/pull/572) ([adamjmcgrath](https://github.com/adamjmcgrath))

**Deprecated**
- Remove `user_metadata` use case from `addSignUpParameters` [\#567](https://github.com/auth0/Auth0.Android/pull/567) ([adamjmcgrath](https://github.com/adamjmcgrath))

**Fixed**
- [SDK-3452] Network Exception Issue Fix [\#580](https://github.com/auth0/Auth0.Android/pull/580) ([poovamraj](https://github.com/poovamraj))
- [SDK-3350] Empty credentials before continuing should throw CredentialsManagerException [\#576](https://github.com/auth0/Auth0.Android/pull/576) ([poovamraj](https://github.com/poovamraj))
- [SDK-3354] Deserialize UserProfile.createdAt as ISO8601 [\#571](https://github.com/auth0/Auth0.Android/pull/571) ([adamjmcgrath](https://github.com/adamjmcgrath))
- [SDK-3082] Avoid config change to handle authentication [\#566](https://github.com/auth0/Auth0.Android/pull/566) ([poovamraj](https://github.com/poovamraj))
- createdAt should be deserialized as ISO8601 UTC (not local time) [\#564](https://github.com/auth0/Auth0.Android/pull/564) ([adamjmcgrath](https://github.com/adamjmcgrath))

**Security**
- Security: Update OkHttp to 4.10.0 [\#574](https://github.com/auth0/Auth0.Android/pull/574) ([evansims](https://github.com/evansims))
- Security: Bump Kotlin Stdlib to 1.6.20 to address CVE-2022-24329 [\#552](https://github.com/auth0/Auth0.Android/pull/552) ([evansims](https://github.com/evansims))
- Bump OkHttp version [\#551](https://github.com/auth0/Auth0.Android/pull/551) ([lbalmaceda](https://github.com/lbalmaceda))

## [2.7.0](https://github.com/auth0/Auth0.Android/tree/2.7.0) (2022-02-25)
[Full Changelog](https://github.com/auth0/Auth0.Android/compare/2.6.0...2.7.0)

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ To install Auth0.Android with [Gradle](https://gradle.org/), simply add the foll

```gradle
dependencies {
implementation 'com.auth0.android:auth0:2.7.0'
implementation 'com.auth0.android:auth0:2.8.0'
}
```

Expand Down Expand Up @@ -1285,7 +1285,7 @@ authentication
```
</details>

**Note:** This method has been made thread-safe after version 2.7.0.
**Note:** This method has been made thread-safe after version 2.8.0.

3. **Check credentials existence:**
There are cases were you just want to check if a user session is still valid (i.e. to know if you should present the login screen or the main screen). For convenience, we include a `hasValidCredentials` method that can let you know in advance if a non-expired token is available without making an additional network call. The same rules of the `getCredentials` method apply:
Expand Down Expand Up @@ -1348,7 +1348,7 @@ manager.getCredentials(new BaseCallback<Credentials, CredentialsManagerException
```
</details>

**Note:** In the scenario where the stored credentials have expired and a `refresh_token` is available, the newly obtained tokens are automatically saved for you by the Credentials Manager. This method has been made thread-safe after version 2.7.0.
**Note:** In the scenario where the stored credentials have expired and a `refresh_token` is available, the newly obtained tokens are automatically saved for you by the Credentials Manager. This method has been made thread-safe after version 2.8.0.

5. **Clear credentials:**
When you want to log the user out:
Expand Down
2 changes: 1 addition & 1 deletion auth0/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

buildscript {
version = "2.7.0"
version = "2.8.0"
}

plugins {
Expand Down

0 comments on commit 8a032a8

Please sign in to comment.