Skip to content

Commit

Permalink
Release v3.0.0-beta.3 (#1272)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjmcgrath authored Jun 28, 2023
2 parents 551fb00 + bfd3b65 commit b912e42
Show file tree
Hide file tree
Showing 169 changed files with 4,010 additions and 847 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## [v3.0.0-beta.3](https://github.com/auth0/nextjs-auth0/tree/v3.0.0-beta.3) (2023-06-28)
[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v3.0.0-beta.2...v3.0.0-beta.3)

**Added**
- [SDK-4319] Add support for Edge runtime [\#1269](https://github.com/auth0/nextjs-auth0/pull/1269) ([adamjmcgrath](https://github.com/adamjmcgrath))
- [SDK-4318] Enable responses from custom middleware [\#1265](https://github.com/auth0/nextjs-auth0/pull/1265) ([adamjmcgrath](https://github.com/adamjmcgrath))

## [v3.0.0-beta.2](https://github.com/auth0/nextjs-auth0/tree/v3.0.0-beta.2) (2023-06-16)
[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v3.0.0-beta.1...v3.0.0-beta.2)

Expand Down
2 changes: 1 addition & 1 deletion docs/assets/search.js

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions docs/classes/client_use_user.RequestError.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="target">RequestError</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/50bcee0/src/client/use-user.tsx#L46">client/use-user.tsx:46</a></li></ul></aside>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/3adc5d0/src/client/use-user.tsx#L46">client/use-user.tsx:46</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
Expand Down Expand Up @@ -60,14 +60,14 @@ <h5><span class="tsd-kind-parameter">status</span>: <span class="tsd-signature-t
<h4 class="tsd-returns-title">Returns <a href="client_use_user.RequestError.html" class="tsd-signature-type tsd-kind-class">RequestError</a></h4><aside class="tsd-sources">
<p>Overrides Error.constructor</p>
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/50bcee0/src/client/use-user.tsx#L49">client/use-user.tsx:49</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/3adc5d0/src/client/use-user.tsx#L49">client/use-user.tsx:49</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section class="tsd-panel tsd-member"><a id="status" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>status</span><a href="#status" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<div class="tsd-signature"><span class="tsd-kind-property">status</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/50bcee0/src/client/use-user.tsx#L47">client/use-user.tsx:47</a></li></ul></aside></section></section></div>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/3adc5d0/src/client/use-user.tsx#L47">client/use-user.tsx:47</a></li></ul></aside></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down Expand Up @@ -125,12 +125,14 @@ <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon
<li><a href="../modules/http_auth0_next_response.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>http/auth0-<wbr/>next-<wbr/>response</span></a></li>
<li><a href="../modules/http_auth0_next_response_cookies.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>http/auth0-<wbr/>next-<wbr/>response-<wbr/>cookies</span></a></li>
<li><a href="../modules/index.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>index</span></a></li>
<li><a href="../modules/init.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>init</span></a></li>
<li><a href="../modules/session.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>session</span></a></li>
<li><a href="../modules/session_get_access_token.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>session/get-<wbr/>access-<wbr/>token</span></a></li>
<li><a href="../modules/session_get_session.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>session/get-<wbr/>session</span></a></li>
<li><a href="../modules/session_session.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>session/session</span></a></li>
<li><a href="../modules/session_touch_session.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>session/touch-<wbr/>session</span></a></li>
<li><a href="../modules/session_update_session.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>session/update-<wbr/>session</span></a></li>
<li><a href="../modules/shared.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>shared</span></a></li>
<li><a href="../modules/utils_errors.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>utils/errors</span></a></li>
<li><a href="../modules/version.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>version</span></a></li></ul></nav></div></div></div>
<div class="overlay"></div></body></html>
14 changes: 8 additions & 6 deletions docs/classes/http_auth0_next_api_request.default.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="target">default</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/50bcee0/src/http/auth0-next-api-request.ts#L4">http/auth0-next-api-request.ts:4</a></li></ul></aside>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/3adc5d0/src/http/auth0-next-api-request.ts#L4">http/auth0-next-api-request.ts:4</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
Expand Down Expand Up @@ -55,7 +55,7 @@ <h5><span class="tsd-kind-parameter">req</span>: <span class="tsd-signature-type
<h4 class="tsd-returns-title">Returns <a href="http_auth0_next_api_request.default.html" class="tsd-signature-type tsd-kind-class">default</a></h4><aside class="tsd-sources">
<p>Overrides Auth0Request&lt;NextApiRequest&gt;.constructor</p>
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/50bcee0/src/http/auth0-next-api-request.ts#L5">http/auth0-next-api-request.ts:5</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/3adc5d0/src/http/auth0-next-api-request.ts#L5">http/auth0-next-api-request.ts:5</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member"><a id="getBody" class="tsd-anchor"></a>
Expand All @@ -66,7 +66,7 @@ <h3 class="tsd-anchor-link"><span>get<wbr/>Body</span><a href="#getBody" aria-la
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Overrides Auth0Request.getBody</p>
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/50bcee0/src/http/auth0-next-api-request.ts#L16">http/auth0-next-api-request.ts:16</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/3adc5d0/src/http/auth0-next-api-request.ts#L16">http/auth0-next-api-request.ts:16</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getCookies" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Cookies</span><a href="#getCookies" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
Expand All @@ -75,7 +75,7 @@ <h3 class="tsd-anchor-link"><span>get<wbr/>Cookies</span><a href="#getCookies" a
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<p>Overrides Auth0Request.getCookies</p>
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/50bcee0/src/http/auth0-next-api-request.ts#L19">http/auth0-next-api-request.ts:19</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/3adc5d0/src/http/auth0-next-api-request.ts#L19">http/auth0-next-api-request.ts:19</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getMethod" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Method</span><a href="#getMethod" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
Expand All @@ -84,7 +84,7 @@ <h3 class="tsd-anchor-link"><span>get<wbr/>Method</span><a href="#getMethod" ari
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
<p>Overrides Auth0Request.getMethod</p>
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/50bcee0/src/http/auth0-next-api-request.ts#L13">http/auth0-next-api-request.ts:13</a></li></ul></aside></li></ul></section>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/3adc5d0/src/http/auth0-next-api-request.ts#L13">http/auth0-next-api-request.ts:13</a></li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member"><a id="getUrl" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Url</span><a href="#getUrl" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
<ul class="tsd-signatures">
Expand All @@ -93,7 +93,7 @@ <h3 class="tsd-anchor-link"><span>get<wbr/>Url</span><a href="#getUrl" aria-labe
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
<p>Overrides Auth0Request.getUrl</p>
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/50bcee0/src/http/auth0-next-api-request.ts#L10">http/auth0-next-api-request.ts:10</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/3adc5d0/src/http/auth0-next-api-request.ts#L10">http/auth0-next-api-request.ts:10</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down Expand Up @@ -148,12 +148,14 @@ <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon
<li><a href="../modules/http_auth0_next_response.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>http/auth0-<wbr/>next-<wbr/>response</span></a></li>
<li><a href="../modules/http_auth0_next_response_cookies.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>http/auth0-<wbr/>next-<wbr/>response-<wbr/>cookies</span></a></li>
<li><a href="../modules/index.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>index</span></a></li>
<li><a href="../modules/init.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>init</span></a></li>
<li><a href="../modules/session.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>session</span></a></li>
<li><a href="../modules/session_get_access_token.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>session/get-<wbr/>access-<wbr/>token</span></a></li>
<li><a href="../modules/session_get_session.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>session/get-<wbr/>session</span></a></li>
<li><a href="../modules/session_session.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>session/session</span></a></li>
<li><a href="../modules/session_touch_session.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>session/touch-<wbr/>session</span></a></li>
<li><a href="../modules/session_update_session.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>session/update-<wbr/>session</span></a></li>
<li><a href="../modules/shared.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>shared</span></a></li>
<li><a href="../modules/utils_errors.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>utils/errors</span></a></li>
<li><a href="../modules/version.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>version</span></a></li></ul></nav></div></div></div>
<div class="overlay"></div></body></html>
8 changes: 5 additions & 3 deletions docs/classes/http_auth0_next_api_response.default.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="target">default</span></li></ul></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/50bcee0/src/http/auth0-next-api-response.ts#L4">http/auth0-next-api-response.ts:4</a></li></ul></aside>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/3adc5d0/src/http/auth0-next-api-response.ts#L4">http/auth0-next-api-response.ts:4</a></li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
Expand Down Expand Up @@ -52,7 +52,7 @@ <h5><span class="tsd-kind-parameter">res</span>: <span class="tsd-signature-type
<h4 class="tsd-returns-title">Returns <a href="http_auth0_next_api_response.default.html" class="tsd-signature-type tsd-kind-class">default</a></h4><aside class="tsd-sources">
<p>Inherited from NodeResponse&lt;NextApiResponse&gt;.constructor</p>
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/50bcee0/src/auth0-session/http/node-response.ts#L7">auth0-session/http/node-response.ts:7</a></li></ul></aside></li></ul></section></section>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/3adc5d0/src/auth0-session/http/node-response.ts#L7">auth0-session/http/node-response.ts:7</a></li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member"><a id="redirect" class="tsd-anchor"></a>
Expand All @@ -70,7 +70,7 @@ <h5><span class="tsd-kind-parameter">status</span>: <span class="tsd-signature-t
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<p>Overrides NodeResponse.redirect</p>
<ul>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/50bcee0/src/http/auth0-next-api-response.ts#L5">http/auth0-next-api-response.ts:5</a></li></ul></aside></li></ul></section></section></div>
<li>Defined in <a href="https://github.com/auth0/nextjs-auth0/blob/3adc5d0/src/http/auth0-next-api-response.ts#L5">http/auth0-next-api-response.ts:5</a></li></ul></aside></li></ul></section></section></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down Expand Up @@ -122,12 +122,14 @@ <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon
<li><a href="../modules/http_auth0_next_response.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>http/auth0-<wbr/>next-<wbr/>response</span></a></li>
<li><a href="../modules/http_auth0_next_response_cookies.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>http/auth0-<wbr/>next-<wbr/>response-<wbr/>cookies</span></a></li>
<li><a href="../modules/index.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>index</span></a></li>
<li><a href="../modules/init.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>init</span></a></li>
<li><a href="../modules/session.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>session</span></a></li>
<li><a href="../modules/session_get_access_token.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>session/get-<wbr/>access-<wbr/>token</span></a></li>
<li><a href="../modules/session_get_session.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>session/get-<wbr/>session</span></a></li>
<li><a href="../modules/session_session.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>session/session</span></a></li>
<li><a href="../modules/session_touch_session.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>session/touch-<wbr/>session</span></a></li>
<li><a href="../modules/session_update_session.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>session/update-<wbr/>session</span></a></li>
<li><a href="../modules/shared.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>shared</span></a></li>
<li><a href="../modules/utils_errors.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>utils/errors</span></a></li>
<li><a href="../modules/version.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>version</span></a></li></ul></nav></div></div></div>
<div class="overlay"></div></body></html>
Loading

0 comments on commit b912e42

Please sign in to comment.