Skip to content

Commit

Permalink
Release v1.1.0 (#115)
Browse files Browse the repository at this point in the history
* update spa js to 1.12

* Release v1.1.0

* Bump spa to 1.12.1 to fix ssr issue

* fix snyk error
  • Loading branch information
adamjmcgrath authored Sep 18, 2020
1 parent f74d865 commit 42964e8
Show file tree
Hide file tree
Showing 19 changed files with 163 additions and 109 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

## [v1.1.0](https://github.com/auth0/auth0-react/tree/v1.1.0) (2020-09-17)

**Added**

- [SDK-1927] Check for state param in callback url [\#107](https://github.com/auth0/auth0-react/pull/107) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Support react v16.11 [\#99](https://github.com/auth0/auth0-react/pull/99) ([tiagob](https://github.com/tiagob))

**Fixed**

- [SDK-1836] Update state for local logouts [\#81](https://github.com/auth0/auth0-react/pull/81) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Add config argument to loginWithPopup [\#77](https://github.com/auth0/auth0-react/pull/77) ([Aulos](https://github.com/Aulos))

## [v1.0.0](https://github.com/auth0/auth0-react/tree/v1.0.0) (2020-06-19)

**Breaking Change**
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/search.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/classes/oautherror.html
Original file line number Diff line number Diff line change
Expand Up @@ -2809,7 +2809,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-react/blob/b147d44/src/errors.tsx#L7">src/errors.tsx:7</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-react/blob/adac2e8/src/errors.tsx#L7">src/errors.tsx:7</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -2834,7 +2834,7 @@ <h3>error</h3>
<div class="tsd-signature tsd-kind-icon">error<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-react/blob/b147d44/src/errors.tsx#L8">src/errors.tsx:8</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-react/blob/adac2e8/src/errors.tsx#L8">src/errors.tsx:8</a></li>
</ul>
</aside>
</section>
Expand All @@ -2844,7 +2844,7 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> error_<wbr>descriptio
<div class="tsd-signature tsd-kind-icon">error_<wbr>description<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-react/blob/b147d44/src/errors.tsx#L8">src/errors.tsx:8</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-react/blob/adac2e8/src/errors.tsx#L8">src/errors.tsx:8</a></li>
</ul>
</aside>
</section>
Expand Down
28 changes: 18 additions & 10 deletions docs/globals.html
Original file line number Diff line number Diff line change
Expand Up @@ -2759,7 +2759,8 @@ <h1>@auth0/auth0-react</h1>
<p><a href="https://circleci.com/gh/auth0/auth0-react"><img src="https://img.shields.io/circleci/build/github/auth0/auth0-react.svg?branch=master&style=flat" alt="CircleCI"></a>
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/:license-mit-blue.svg?style=flat" alt="License"></a>
<a href="https://www.npmjs.com/package/@auth0/auth0-react"><img src="https://img.shields.io/npm/v/@auth0/auth0-react.svg?style=flat" alt="npm"></a>
<a href="https://codecov.io/gh/auth0/auth0-react"><img src="https://img.shields.io/codecov/c/github/auth0/auth0-react/master.svg?style=flat" alt="codecov"></a></p>
<a href="https://codecov.io/gh/auth0/auth0-react"><img src="https://img.shields.io/codecov/c/github/auth0/auth0-react/master.svg?style=flat" alt="codecov"></a>
<a href="https://app.fossa.com/projects/git%2Bgithub.com%2Fauth0%2Fauth0-react?ref=badge_shield"><img src="https://app.fossa.com/api/projects/git%2Bgithub.com%2Fauth0%2Fauth0-react.svg?type=shield" alt="FOSSA Status"></a></p>
<a href="#table-of-contents" id="table-of-contents" style="color: inherit; text-decoration: none;">
<h2>Table of Contents</h2>
</a>
Expand All @@ -2770,6 +2771,7 @@ <h2>Table of Contents</h2>
<li><a href="#contributing">Contributing</a></li>
<li><a href="#support--feedback">Support + Feedback</a></li>
<li><a href="#troubleshooting">Troubleshooting</a></li>
<li><a href="#frequently-asked-questions">Frequently Asked Questions</a></li>
<li><a href="#vulnerability-reporting">Vulnerability Reporting</a></li>
<li><a href="#what-is-auth0">What is Auth0</a></li>
<li><a href="#license">License</a></li>
Expand All @@ -2779,7 +2781,7 @@ <h2>Documentation</h2>
</a>
<ul>
<li><a href="https://auth0.github.io/auth0-react/">API Reference</a></li>
<li><a href="https://auth0.com/docs/quickstart/spa/auth0-react">Quickstart Guide</a></li>
<li><a href="https://auth0.com/docs/quickstart/spa/react">Quickstart Guide</a></li>
</ul>
<a href="#installation" id="installation" style="color: inherit; text-decoration: none;">
<h2>Installation</h2>
Expand Down Expand Up @@ -2854,6 +2856,7 @@ <h3>Use with a Class Component</h3>

<span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">Profile</span> <span class="hljs-keyword">extends</span> <span class="hljs-title">Component</span> </span>{
render() {
<span class="hljs-comment">// `this.props.auth0` has all the same properties as the `useAuth0` hook</span>
<span class="hljs-keyword">const</span> { user } = <span class="hljs-keyword">this</span>.props.auth0;
<span class="hljs-keyword">return</span> <span class="xml"><span class="hljs-tag">&lt;<span class="hljs-name">div</span>&gt;</span>Hello {user.name}<span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span></span>;
}
Expand Down Expand Up @@ -2936,6 +2939,10 @@ <h2>Support + Feedback</h2>
<h2>Troubleshooting</h2>
</a>
<p>For information on how to solve common problems, check out the <a href="./TROUBLESHOOTING.md">Troubleshooting</a> guide</p>
<a href="#frequently-asked-questions" id="frequently-asked-questions" style="color: inherit; text-decoration: none;">
<h2>Frequently Asked Questions</h2>
</a>
<p>For a rundown of common issues you might encounter when using the SDK, please check out the <a href="./FAQ.md">FAQ</a>.</p>
<a href="#vulnerability-reporting" id="vulnerability-reporting" style="color: inherit; text-decoration: none;">
<h2>Vulnerability Reporting</h2>
</a>
Expand All @@ -2957,6 +2964,7 @@ <h2>What is Auth0?</h2>
<h2>License</h2>
</a>
<p>This project is licensed under the MIT license. See the <a href="https://github.com/auth0/auth0-react/blob/master/LICENSE">LICENSE</a> file for more info.</p>
<p><a href="https://app.fossa.com/projects/git%2Bgithub.com%2Fauth0%2Fauth0-react?ref=badge_large"><img src="https://app.fossa.com/api/projects/git%2Bgithub.com%2Fauth0%2Fauth0-react.svg?type=large" alt="FOSSA Status"></a></p>
</div>
<section class="tsd-panel-group tsd-index-group">
<h2>Index</h2>
Expand Down Expand Up @@ -3022,7 +3030,7 @@ <h3>App<wbr>State</h3>
<div class="tsd-signature tsd-kind-icon">App<wbr>State<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>returnTo<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> }</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-react/blob/b147d44/src/auth0-provider.tsx#L18">src/auth0-provider.tsx:18</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-react/blob/adac2e8/src/auth0-provider.tsx#L20">src/auth0-provider.tsx:20</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -3048,7 +3056,7 @@ <h3>Cache<wbr>Location</h3>
<div class="tsd-signature tsd-kind-icon">Cache<wbr>Location<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"memory"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"localstorage"</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:136</li>
<li>Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:145</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -3063,7 +3071,7 @@ <h3>get<wbr>IdToken<wbr>Claims<wbr>Options</h3>
<div class="tsd-signature tsd-kind-icon">get<wbr>IdToken<wbr>Claims<wbr>Options<span class="tsd-signature-symbol">:</span> <a href="interfaces/getidtokenclaimsoptions.html" class="tsd-signature-type">GetIdTokenClaimsOptions</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:208</li>
<li>Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:217</li>
</ul>
</aside>
</section>
Expand All @@ -3076,7 +3084,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> Auth0<wbr>Context</h3>
<div class="tsd-signature tsd-kind-icon">Auth0<wbr>Context<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Context</span><span class="tsd-signature-symbol">&lt;</span><a href="interfaces/auth0contextinterface.html" class="tsd-signature-type">Auth0ContextInterface</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = createContext&lt;Auth0ContextInterface&gt;(initialContext)</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-react/blob/b147d44/src/auth0-context.tsx#L156">src/auth0-context.tsx:156</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-react/blob/adac2e8/src/auth0-context.tsx#L160">src/auth0-context.tsx:160</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -3098,7 +3106,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> Auth0<wbr>Provider</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-react/blob/b147d44/src/auth0-provider.tsx#L181">src/auth0-provider.tsx:181</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-react/blob/adac2e8/src/auth0-provider.tsx#L183">src/auth0-provider.tsx:183</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3132,7 +3140,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> use<wbr>Auth0</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-react/blob/b147d44/src/use-auth0.tsx#L24">src/use-auth0.tsx:24</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-react/blob/adac2e8/src/use-auth0.tsx#L24">src/use-auth0.tsx:24</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3168,7 +3176,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> with<wbr>Auth0</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-react/blob/b147d44/src/with-auth0.tsx#L26">src/with-auth0.tsx:26</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-react/blob/adac2e8/src/with-auth0.tsx#L26">src/with-auth0.tsx:26</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -3211,7 +3219,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> with<wbr>Authentication<wbr
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/auth0-react/blob/b147d44/src/with-authentication-required.tsx#L73">src/with-authentication-required.tsx:73</a></li>
<li>Defined in <a href="https://github.com/auth0/auth0-react/blob/adac2e8/src/with-authentication-required.tsx#L73">src/with-authentication-required.tsx:73</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
Loading

0 comments on commit 42964e8

Please sign in to comment.