Skip to content

Commit

Permalink
Release v2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lbalmaceda committed Jun 9, 2020
1 parent 3dbc6ee commit 11ee0ef
Show file tree
Hide file tree
Showing 14 changed files with 49 additions and 32 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Change Log

## [v2.5.0](https://github.com/auth0/react-native-auth0/tree/v2.5.0) (2020-06-09)

[Full Changelog](https://github.com/auth0/react-native-auth0/compare/v2.4.0...v2.5.0)

**Added**

- Warn when bundle identifier contains uppercase characters [\#316](https://github.com/auth0/react-native-auth0/pull/316) ([lbalmaceda](https://github.com/lbalmaceda))

**Security**

- Breaking: Require ReactNative version 0.62.2 [\#315](https://github.com/auth0/react-native-auth0/pull/315) ([lbalmaceda](https://github.com/lbalmaceda))

## [v2.4.0](https://github.com/auth0/react-native-auth0/tree/v2.4.0) (2020-06-05)

[Full Changelog](https://github.com/auth0/react-native-auth0/compare/v2.3.1...v2.4.0)
Expand Down
2 changes: 1 addition & 1 deletion docs/Auth.html
Original file line number Diff line number Diff line change
Expand Up @@ -2068,7 +2068,7 @@ <h5>Returns:</h5>

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.4</a> on
Fri Jun 05 2020 13:51:54 GMT-0300 (Argentina Standard Time) using the
Tue Jun 09 2020 12:41:15 GMT-0300 (Argentina Standard Time) using the
Minami theme.
</footer>

Expand Down
2 changes: 1 addition & 1 deletion docs/Auth0.html
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ <h3 class="subsection-title">Classes</h3>

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.4</a> on
Fri Jun 05 2020 13:51:54 GMT-0300 (Argentina Standard Time) using the
Tue Jun 09 2020 12:41:15 GMT-0300 (Argentina Standard Time) using the
Minami theme.
</footer>

Expand Down
2 changes: 1 addition & 1 deletion docs/Auth0.module.exports.html
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ <h5>Parameters:</h5>

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.4</a> on
Fri Jun 05 2020 13:51:54 GMT-0300 (Argentina Standard Time) using the
Tue Jun 09 2020 12:41:15 GMT-0300 (Argentina Standard Time) using the
Minami theme.
</footer>

Expand Down
2 changes: 1 addition & 1 deletion docs/Users.html
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ <h5>Returns:</h5>

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.4</a> on
Fri Jun 05 2020 13:51:54 GMT-0300 (Argentina Standard Time) using the
Tue Jun 09 2020 12:41:15 GMT-0300 (Argentina Standard Time) using the
Minami theme.
</footer>

Expand Down
8 changes: 4 additions & 4 deletions docs/WebAuth.html
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ <h4 class="name" id="WebAuth">
<li>
<a href="src_webauth_index.js.html"
>src/webauth/index.js</a
>, <a href="src_webauth_index.js.html#line17">line 17</a>
>, <a href="src_webauth_index.js.html#line21">line 21</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -266,7 +266,7 @@ <h4 class="name" id=".authorize">
<ul class="dummy">
<li>
<a href="src_webauth_index.js.html">src/webauth/index.js</a
>, <a href="src_webauth_index.js.html#line59">line 59</a>
>, <a href="src_webauth_index.js.html#line63">line 63</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -535,7 +535,7 @@ <h4 class="name" id=".clearSession">
<ul class="dummy">
<li>
<a href="src_webauth_index.js.html">src/webauth/index.js</a
>, <a href="src_webauth_index.js.html#line128">line 128</a>
>, <a href="src_webauth_index.js.html#line132">line 132</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -631,7 +631,7 @@ <h5>Returns:</h5>

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.4</a> on
Fri Jun 05 2020 13:51:54 GMT-0300 (Argentina Standard Time) using the
Tue Jun 09 2020 12:41:15 GMT-0300 (Argentina Standard Time) using the
Minami theme.
</footer>

Expand Down
2 changes: 1 addition & 1 deletion docs/global.html
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ <h5>Returns:</h5>

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.4</a> on
Fri Jun 05 2020 13:51:54 GMT-0300 (Argentina Standard Time) using the
Tue Jun 09 2020 12:41:15 GMT-0300 (Argentina Standard Time) using the
Minami theme.
</footer>

Expand Down
29 changes: 15 additions & 14 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,10 @@ <h3>Compatibility Matrix</h3>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">v0.62.2</td>
<td style="text-align:center">v2.5.0</td>
</tr>
<tr>
<td style="text-align:center">v0.60.5</td>
<td style="text-align:center">v2.0.0</td>
Expand Down Expand Up @@ -475,19 +479,16 @@ <h3>Callback URL(s)</h3>
security. This will enable Auth0 to recognize these URLs as valid.
If omitted, authentication will not be successful.
</p>
<blockquote>
<p>
Callback URLs must have a valid scheme value as defined by the
<a href="https://tools.ietf.org/html/rfc3986#page-17"
>specification</a
>. Note however that platforms like Android don't follow this RFC
and define the scheme and host values as case-sensitive. Since
this SDK makes use of the Android's Package Name and its analogous
iOS's Product Bundle Identifier to generate the redirect URL, it's
advised to use lower case values for such. A &quot;Redirect URI is
not valid&quot; error will raise if this format is not respected.
</p>
</blockquote>
<p>
On the Android platform this URL is case-sensitive. Because of that,
this SDK will auto convert the Bundle Identifier (iOS) and
Application ID (Android) values to lowercase in order to build the
Callback URL with them. If any of these values contains uppercase
characters a warning message will be printed in the console. Make
sure to check that the right Callback URL is whitelisted in the
Auth0 dashboard or the browser will not route succesfully back to
your application.
</p>
<p>
Go to the
<a href="https://manage.auth0.com/#/applications">Auth0 Dashboard</a
Expand Down Expand Up @@ -785,7 +786,7 @@ <h2>License</h2>

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.4</a> on
Fri Jun 05 2020 13:51:54 GMT-0300 (Argentina Standard Time) using the
Tue Jun 09 2020 12:41:15 GMT-0300 (Argentina Standard Time) using the
Minami theme.
</footer>

Expand Down
2 changes: 1 addition & 1 deletion docs/index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ <h1 class="page-title">index.js</h1>

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.4</a> on
Fri Jun 05 2020 13:51:53 GMT-0300 (Argentina Standard Time) using the
Tue Jun 09 2020 12:41:15 GMT-0300 (Argentina Standard Time) using the
Minami theme.
</footer>

Expand Down
2 changes: 1 addition & 1 deletion docs/src_auth_index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ <h1 class="page-title">src/auth/index.js</h1>

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.4</a> on
Fri Jun 05 2020 13:51:53 GMT-0300 (Argentina Standard Time) using the
Tue Jun 09 2020 12:41:15 GMT-0300 (Argentina Standard Time) using the
Minami theme.
</footer>

Expand Down
2 changes: 1 addition & 1 deletion docs/src_management_users.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ <h1 class="page-title">src/management/users.js</h1>

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.4</a> on
Fri Jun 05 2020 13:51:53 GMT-0300 (Argentina Standard Time) using the
Tue Jun 09 2020 12:41:15 GMT-0300 (Argentina Standard Time) using the
Minami theme.
</footer>

Expand Down
12 changes: 8 additions & 4 deletions docs/src_webauth_index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,13 @@ <h1 class="page-title">src/webauth/index.js</h1>

const callbackUri = domain => {
const bundleIdentifier = A0Auth0.bundleIdentifier;
return `${bundleIdentifier.toLowerCase()}://${domain}/${
Platform.OS
}/${bundleIdentifier}/callback`;
const lowerCasedIdentifier = bundleIdentifier.toLowerCase();
if (bundleIdentifier !== lowerCasedIdentifier) {
console.warn(
'The Bundle Identifier or Application ID of your app contains uppercase characters and will be lowercased to build the Callback URL. Check the Auth0 dashboard to whitelist the right URL value.',
);
}
return `${lowerCasedIdentifier}://${domain}/${Platform.OS}/${bundleIdentifier}/callback`;
};

/**
Expand Down Expand Up @@ -330,7 +334,7 @@ <h1 class="page-title">src/webauth/index.js</h1>

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.4</a> on
Fri Jun 05 2020 13:51:53 GMT-0300 (Argentina Standard Time) using the
Tue Jun 09 2020 12:41:15 GMT-0300 (Argentina Standard Time) using the
Minami theme.
</footer>

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-native-auth0",
"title": "React Native Auth0",
"version": "2.4.0",
"version": "2.5.0",
"description": "React Native toolkit for Auth0 API",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/networking/telemetry.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = {name: 'react-native-auth0', version: '2.4.0'};
module.exports = {name: 'react-native-auth0', version: '2.5.0'};

0 comments on commit 11ee0ef

Please sign in to comment.