Skip to content

Commit

Permalink
Release v2.10.0 (#408)
Browse files Browse the repository at this point in the history
  • Loading branch information
Widcket authored Sep 9, 2021
1 parent 1d9a7c4 commit 6392fce
Show file tree
Hide file tree
Showing 15 changed files with 183 additions and 60 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Change Log

## [v2.10.0](https://github.com/auth0/react-native-auth0/tree/v2.10.0) (2021-09-09)

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

**Added**

- Add skipLegacyListener [SDK-2760][\#404](https://github.com/auth0/react-native-auth0/pull/404) ([Widcket](https://github.com/Widcket))

**Changed**

- Bump path-parse from 1.0.6 to 1.0.7 [\#397](https://github.com/auth0/react-native-auth0/pull/397) ([dependabot[bot]](https://github.com/apps/dependabot))
- Disable whitelist on auth refreshToken call (#385) [\#395](https://github.com/auth0/react-native-auth0/pull/395) ([cpave3](https://github.com/cpave3))

**Security**

- Bump react-native from 0.62.2 to 0.62.3 [\#393](https://github.com/auth0/react-native-auth0/pull/393) ([dependabot[bot]](https://github.com/apps/dependabot))

## [v2.9.0](https://github.com/auth0/react-native-auth0/tree/v2.9.0) (2021-06-22)

[Full Changelog](https://github.com/auth0/react-native-auth0/compare/v2.8.3...v2.9.0)
Expand Down
11 changes: 0 additions & 11 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,3 @@ This project uses yarn.
- Run the tests with `yarn test`.

For more information, see [yarn docs](https://yarnpkg.com/lang/en/docs/cli/add/).

## Instructions to perform a new release

- Create a new milestone in Github with the name `vx.y.z` where `x.y.z` mean major, minor and patch versions (semver).
- Add any issues or pull request to the milestone. Make sure they are assigned one of the changelog labels (CH).
- Run `yarn release` and follow the instructions. If making a _patch_ release run `yarn release patch`. If making a _minor_ release run `yarn release minor`. The version will be updated in the package.json file and the changelog retrieved. If this step fails make sure the version in the package.json file matches the milestone you've created in Github.
- The release script will generate the updated docs, bump the package version in the package.json and telemetry.js files and update the CHANGELOG.md file.
- A new commit will be created for you containing these changes. A new git tag will reference this new release.
- Create a new pull request and wait for it to be merged. Once merged when the CI build for the base branch passes, you're ready to upload the package to npm.
- Make sure you're on the tag you just created, if not run `git checkout vx.y.z`.
- Upload the package to npm by running `npm publish`
18 changes: 9 additions & 9 deletions docs/Auth.html
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ <h4 class="name" id=".createUser">
<ul class="dummy">
<li>
<a href="src_auth_index.js.html">src/auth/index.js</a>,
<a href="src_auth_index.js.html#line478">line 478</a>
<a href="src_auth_index.js.html#line479">line 479</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -867,7 +867,7 @@ <h4 class="name" id=".loginWithEmail">
<ul class="dummy">
<li>
<a href="src_auth_index.js.html">src/auth/index.js</a>,
<a href="src_auth_index.js.html#line296">line 296</a>
<a href="src_auth_index.js.html#line297">line 297</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -997,7 +997,7 @@ <h4 class="name" id=".loginWithSMS">
<ul class="dummy">
<li>
<a href="src_auth_index.js.html">src/auth/index.js</a>,
<a href="src_auth_index.js.html#line330">line 330</a>
<a href="src_auth_index.js.html#line331">line 331</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -1274,7 +1274,7 @@ <h4 class="name" id=".passwordlessWithEmail">
<ul class="dummy">
<li>
<a href="src_auth_index.js.html">src/auth/index.js</a>,
<a href="src_auth_index.js.html#line235">line 235</a>
<a href="src_auth_index.js.html#line236">line 236</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -1393,7 +1393,7 @@ <h4 class="name" id=".passwordlessWithSMS">
<ul class="dummy">
<li>
<a href="src_auth_index.js.html">src/auth/index.js</a>,
<a href="src_auth_index.js.html#line264">line 264</a>
<a href="src_auth_index.js.html#line265">line 265</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -1791,7 +1791,7 @@ <h4 class="name" id=".resetPassword">
<ul class="dummy">
<li>
<a href="src_auth_index.js.html">src/auth/index.js</a>,
<a href="src_auth_index.js.html#line442">line 442</a>
<a href="src_auth_index.js.html#line443">line 443</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -1895,7 +1895,7 @@ <h4 class="name" id=".revoke">
<ul class="dummy">
<li>
<a href="src_auth_index.js.html">src/auth/index.js</a>,
<a href="src_auth_index.js.html#line361">line 361</a>
<a href="src_auth_index.js.html#line362">line 362</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -1987,7 +1987,7 @@ <h4 class="name" id=".userInfo">
<ul class="dummy">
<li>
<a href="src_auth_index.js.html">src/auth/index.js</a>,
<a href="src_auth_index.js.html#line392">line 392</a>
<a href="src_auth_index.js.html#line393">line 393</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -2068,7 +2068,7 @@ <h5>Returns:</h5>

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> on
Tue Jun 22 2021 14:24:13 GMT-0300 (Argentina Standard Time) using the
Thu Sep 09 2021 17:56:21 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.6</a> on
Tue Jun 22 2021 14:24:13 GMT-0300 (Argentina Standard Time) using the
Thu Sep 09 2021 17:56:21 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.6</a> on
Tue Jun 22 2021 14:24:13 GMT-0300 (Argentina Standard Time) using the
Thu Sep 09 2021 17:56:21 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.6</a> on
Tue Jun 22 2021 14:24:13 GMT-0300 (Argentina Standard Time) using the
Thu Sep 09 2021 17:56:21 GMT-0300 (Argentina Standard Time) using the
Minami theme.
</footer>

Expand Down
87 changes: 78 additions & 9 deletions docs/WebAuth.html
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,10 @@ <h4 class="name" id=".authorize">
browser.
</p>
<p>
In iOS it will use <code>SFSafariViewController</code> and in
Android Chrome Custom Tabs.
In iOS &lt;11 it will use <code>SFSafariViewController</code>,
in iOS 11 <code>SFAuthenticationSession</code> and in iOS &gt;11
<code>ASWebAuthenticationSession</code>. In Android it will use
Chrome Custom Tabs.
</p>
<p>
To learn more about how to customize the authorize call, check
Expand All @@ -266,7 +268,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#line68">line 68</a>
>, <a href="src_webauth_index.js.html#line70">line 70</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -517,7 +519,8 @@ <h5>Parameters:</h5>
<td class="description last">
<p>
Disable Single-Sign-On (SSO). It only affects iOS
with versions 13 and above.
with versions 13 and above. Defaults to
<code>false</code>.
</p>
</td>
</tr>
Expand All @@ -535,6 +538,24 @@ <h5>Parameters:</h5>
<p>Custom scheme to build the callback URL with.</p>
</td>
</tr>

<tr>
<td class="name"><code>skipLegacyListener</code></td>

<td class="type">
<span class="param-type"><code>String</code></span>
</td>

<td class="attributes">&lt;optional><br /></td>

<td class="description last">
<p>
Whether to register the event listener necessary
for the SDK to work on iOS &lt;11 or not. Defaults
to <code>false</code>.
</p>
</td>
</tr>
</tbody>
</table>
</td>
Expand All @@ -560,7 +581,7 @@ <h5>Returns:</h5>
<h4 class="name" id=".clearSession">
<span class="type-signature">(static) </span>clearSession<span
class="signature"
>(parameters)</span
>(parameters, options)</span
><span class="type-signature"> &rarr; {Promise}</span>
</h4>

Expand All @@ -570,8 +591,10 @@ <h4 class="name" id=".clearSession">
Provider session.
</p>
<p>
In iOS it will use <code>SFSafariViewController</code> and in
Android Chrome Custom Tabs.
In iOS &lt;11 it will use <code>SFSafariViewController</code>,
in iOS 11 <code>SFAuthenticationSession</code> and in iOS &gt;11
<code>ASWebAuthenticationSession</code>. In Android it will use
Chrome Custom Tabs.
</p>
</div>

Expand All @@ -581,7 +604,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#line155">line 155</a>
>, <a href="src_webauth_index.js.html#line164">line 164</a>
</li>
</ul>
</dd>
Expand Down Expand Up @@ -667,6 +690,52 @@ <h5>Parameters:</h5>
</table>
</td>
</tr>

<tr>
<td class="name"><code>options</code></td>

<td class="type">
<span class="param-type"><code>Object</code></span>
</td>

<td class="description last">
<p>Other configuration options.</p>

<table class="params">
<thead>
<tr>
<th>Name</th>

<th>Type</th>

<th>Attributes</th>

<th class="last">Description</th>
</tr>
</thead>

<tbody>
<tr>
<td class="name"><code>skipLegacyListener</code></td>

<td class="type">
<span class="param-type"><code>String</code></span>
</td>

<td class="attributes">&lt;optional><br /></td>

<td class="description last">
<p>
Whether to register the event listener necessary
for the SDK to work on iOS &lt;11 or not. Defaults
to <code>false</code>.
</p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>

Expand All @@ -691,7 +760,7 @@ <h5>Returns:</h5>

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> on
Tue Jun 22 2021 14:24:13 GMT-0300 (Argentina Standard Time) using the
Thu Sep 09 2021 17:56:21 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.6</a> on
Tue Jun 22 2021 14:24:13 GMT-0300 (Argentina Standard Time) using the
Thu Sep 09 2021 17:56:21 GMT-0300 (Argentina Standard Time) using the
Minami theme.
</footer>

Expand Down
Loading

0 comments on commit 6392fce

Please sign in to comment.