Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v2.0.0 #926

Merged
merged 169 commits into from
Dec 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
169 commits
Select commit Hold shift + click to select a range
46b1803
Improve errors [SDK-3552] (#782)
Widcket Aug 17, 2022
65741d2
Refactor session cache
adamjmcgrath Aug 24, 2022
c5918db
Merge pull request #787 from auth0/refactor-session
adamjmcgrath Aug 25, 2022
3939ef3
Return `204` from `/api/auth/me` when logged out [SDK-3564] (#791)
Widcket Aug 25, 2022
5377fb8
Upgrade to jose@4
adamjmcgrath Aug 31, 2022
b540128
Merge branch 'vNext' into jose4
adamjmcgrath Aug 31, 2022
20e1855
Allow to override the `user` prop in SSR pages
Widcket Sep 1, 2022
005c8e4
Update logic for handling multiple secrets per PR review
adamjmcgrath Sep 1, 2022
5aa49c3
Remove unnecessary option
adamjmcgrath Sep 1, 2022
8bae1a1
upgrade jose to latest patch
adamjmcgrath Sep 1, 2022
9a479c0
Merge pull request #800 from auth0/feature/override-user-prop
adamjmcgrath Sep 1, 2022
a41184d
Merge branch 'vNext' into jose4
adamjmcgrath Sep 1, 2022
f8ceb4f
Improve API docs [SDK-3562] (#796)
Widcket Sep 1, 2022
78f91e1
Merge branch 'vNext' into jose4
adamjmcgrath Sep 6, 2022
1bd2a6e
Add custom cookies to cookie store
adamjmcgrath Sep 6, 2022
24a4a8f
Add middleware helpers
adamjmcgrath Sep 6, 2022
2ff5627
Do not store the ID token by default
Widcket Sep 7, 2022
b4e96e5
Merge pull request #798 from auth0/jose4
adamjmcgrath Sep 7, 2022
38da1b7
Fix v1 cookie tests
adamjmcgrath Sep 7, 2022
300bb2a
Merge pull request #810 from auth0/fix-vnext-cookie-test
adamjmcgrath Sep 7, 2022
3c0c347
Merge branch 'vNext' into feature/id-token-storage
adamjmcgrath Sep 7, 2022
18f5f52
Merge pull request #809 from auth0/feature/id-token-storage
adamjmcgrath Sep 7, 2022
952e540
Merge cookies, fix mw imports
adamjmcgrath Sep 8, 2022
94322b3
mw tests
adamjmcgrath Sep 9, 2022
e472656
fix lint errors
adamjmcgrath Sep 9, 2022
d706c04
Add mw smoke test
adamjmcgrath Sep 9, 2022
1d82a5f
Add docs
adamjmcgrath Sep 9, 2022
e874bec
Add docs link
adamjmcgrath Sep 9, 2022
a531cb4
Merge branch 'vNext' into mw
adamjmcgrath Sep 9, 2022
094cb29
Add testing utility for generating session cookies
Widcket Sep 10, 2022
88aab02
Add testing.js to package.json
Widcket Sep 10, 2022
b910a6f
Add separate testing.d.ts file
Widcket Sep 10, 2022
942c524
Add testing.d.ts file to package.json
Widcket Sep 10, 2022
1e7b64b
Fix typos
Widcket Sep 10, 2022
a4606ea
Merge pull request #816 from auth0/feature/testing-helper
adamjmcgrath Sep 12, 2022
a95177a
Merge branch 'vNext' into mw
adamjmcgrath Sep 12, 2022
e2b1b42
Update SessionCache types, Fix doc comments
adamjmcgrath Sep 12, 2022
7ad2c96
fix tests
adamjmcgrath Sep 12, 2022
414494b
Add middleware.d.ts
adamjmcgrath Sep 12, 2022
932f1c2
Add middleware.d.ts
adamjmcgrath Sep 13, 2022
c07fa26
Merge pull request #815 from auth0/mw
adamjmcgrath Sep 13, 2022
1a9a2be
Fix intermittent build issues
adamjmcgrath Sep 13, 2022
57f59ab
Merge pull request #818 from auth0/adamjmcgrath-patch-1
adamjmcgrath Sep 13, 2022
a89ac5b
Add onError for central error handling
adamjmcgrath Sep 20, 2022
4a9f829
Fix lint
adamjmcgrath Sep 20, 2022
8e6d92e
Prfevent mixing named exports and own instances
adamjmcgrath Sep 20, 2022
7123f79
Merge pull request #825 from auth0/mixed-instances
adamjmcgrath Sep 20, 2022
dd05858
Merge branch 'vNext' into default-error-handler
adamjmcgrath Sep 20, 2022
45176a4
Apply suggestions from code review
adamjmcgrath Sep 20, 2022
c095485
Merge pull request #823 from auth0/default-error-handler
adamjmcgrath Sep 20, 2022
ae7a189
Add support for configuring built-in API routes
Widcket Sep 22, 2022
f5b54b6
Document the change in the migraiton guide
Widcket Sep 22, 2022
b636513
Remove extra leading space
Widcket Sep 22, 2022
0c0a2df
Revert test changes
Widcket Sep 22, 2022
ae5e1e7
Fix import order
Widcket Sep 22, 2022
9364a56
Add tests for custom handlers
Widcket Sep 22, 2022
6175197
Improved callback errors
adamjmcgrath Oct 3, 2022
b21c9b5
fix build
adamjmcgrath Oct 3, 2022
9b41d9b
fix lint
adamjmcgrath Oct 3, 2022
4d73667
fix tests
adamjmcgrath Oct 3, 2022
ffdd196
Add test for error instance checking and export error types
adamjmcgrath Oct 3, 2022
93d1319
Apply suggestions from code review
adamjmcgrath Oct 3, 2022
d5f82b3
Merge pull request #835 from auth0/state-errors
adamjmcgrath Oct 3, 2022
13cfe94
Allow response customization in afterCallback
adamjmcgrath Oct 4, 2022
eeef5d0
Merge pull request #838 from auth0/end-in-after-callback
adamjmcgrath Oct 4, 2022
adaa7de
Implement solution for login handler
Widcket Oct 4, 2022
72a274d
Implement solution for logout handler
Widcket Oct 4, 2022
893d08a
Implement solution for callback handler
Widcket Oct 4, 2022
e37c82a
Implement solution for profile handler
Widcket Oct 4, 2022
313fe09
Fix handler types
Widcket Oct 4, 2022
0854f8b
Add support for arbitrary custom handlers
Widcket Oct 5, 2022
d1c44d5
Add unit tests
Widcket Oct 6, 2022
87e03bf
Simplify test var names
Widcket Oct 6, 2022
708f039
Add missing types in test app
Widcket Oct 6, 2022
da1f7ad
Add API docs
Widcket Oct 6, 2022
fb9440c
Add more API docs
Widcket Oct 6, 2022
5d8029f
Merge branch 'vNext' into feature/custom-handler-config
Widcket Oct 6, 2022
54f9a6b
Update the migration guide
Widcket Oct 6, 2022
b02f9b4
Add type to custom handlers
adamjmcgrath Oct 6, 2022
13a3a0c
Update examples
adamjmcgrath Oct 6, 2022
f594c3a
Merge pull request #840 from auth0/feature/custom-handler-config
adamjmcgrath Oct 6, 2022
c199e42
Apply the docs guidelines
Widcket Oct 7, 2022
d491a31
Add API docs for `OnError`
Widcket Oct 7, 2022
aa56c6e
Merge pull request #845 from auth0/docs/onerror-api-docs
adamjmcgrath Oct 7, 2022
6d0cfb6
Merge branch 'vNext' into docs/apply-guidelines
adamjmcgrath Oct 7, 2022
8acc01a
Merge pull request #844 from auth0/docs/apply-guidelines
adamjmcgrath Oct 7, 2022
f891d6d
Add logout options
adamjmcgrath Oct 10, 2022
d3fe145
Merge `main`
adamjmcgrath Oct 10, 2022
c6ef2a4
Fix test
adamjmcgrath Oct 10, 2022
f1d95fd
Change `updateUser` to `updateSession`
adamjmcgrath Oct 10, 2022
47d9eea
Merge pull request #854 from auth0/merge-main
adamjmcgrath Oct 10, 2022
7fc3a33
Merge branch 'vNext' into update-session
adamjmcgrath Oct 10, 2022
b55fa58
Fix tests
adamjmcgrath Oct 11, 2022
50cb3bd
Merge pull request #855 from auth0/update-session
adamjmcgrath Oct 11, 2022
c161372
Release v2.0.0-beta.0
adamjmcgrath Oct 11, 2022
08fcdde
move encoding methods
adamjmcgrath Oct 13, 2022
7eecaa6
Merge pull request #861 from auth0/move-encoding
adamjmcgrath Oct 13, 2022
53e487d
Merge branch 'vNext' into release/v2.0.0-beta.0
adamjmcgrath Oct 13, 2022
ea827f4
Shouldn't serve routes for object builtins
adamjmcgrath Oct 14, 2022
ad3c54e
Merge pull request #862 from auth0/builtin-route-props
adamjmcgrath Oct 14, 2022
399fabb
Merge branch 'vNext' into release/v2.0.0-beta.0
adamjmcgrath Oct 14, 2022
6b403de
Escape all fields of idp error (not just message)
adamjmcgrath Oct 17, 2022
0cab737
Update README
adamjmcgrath Oct 17, 2022
e84f751
npm audit fix
adamjmcgrath Oct 17, 2022
5f326c2
Verify response_type against Authorization Response
adamjmcgrath Oct 17, 2022
c9aa0f3
Change insecure cookie from warning to error
adamjmcgrath Oct 17, 2022
c03ccfb
Merge pull request #865 from auth0/audit-fix
adamjmcgrath Oct 17, 2022
9cb9143
Merge branch 'vNext' into escape-idp-error
adamjmcgrath Oct 17, 2022
1b39af6
Merge branch 'vNext' into verify-response-type
adamjmcgrath Oct 17, 2022
9cda36f
Merge branch 'vNext' into cookie-secure-config
adamjmcgrath Oct 17, 2022
b709de1
Merge pull request #866 from auth0/verify-response-type
adamjmcgrath Oct 17, 2022
b74c751
Merge branch 'vNext' into cookie-secure-config
adamjmcgrath Oct 17, 2022
abc36ed
Merge pull request #867 from auth0/cookie-secure-config
adamjmcgrath Oct 17, 2022
89c88d4
Merge branch 'vNext' into escape-idp-error
Widcket Oct 17, 2022
8e4ab04
Update messaging around escaping error messages
adamjmcgrath Oct 17, 2022
99076d1
Merge branch 'escape-idp-error' of https://github.com/auth0/nextjs-au…
adamjmcgrath Oct 17, 2022
6e7aa2a
Escape RPError and better Discovery error
adamjmcgrath Oct 18, 2022
0c7ed6d
Merge pull request #864 from auth0/escape-idp-error
adamjmcgrath Oct 18, 2022
13a4cbf
Merge branch 'vNext' into release/v2.0.0-beta.0
adamjmcgrath Oct 18, 2022
6935e1f
Update install instructions, add mw example
adamjmcgrath Oct 18, 2022
065b933
Merge branch 'release/v2.0.0-beta.0' of https://github.com/auth0/next…
adamjmcgrath Oct 18, 2022
abf36aa
Merge pull request #859 from auth0/release/v2.0.0-beta.0
adamjmcgrath Oct 19, 2022
af439cf
Use latest ship-orb
adamjmcgrath Oct 19, 2022
a52d23f
Merge pull request #871 from auth0/adamjmcgrath-patch-1
adamjmcgrath Oct 19, 2022
7d9871e
status getter is not enumerable so needs to be added to NextResponse
adamjmcgrath Oct 21, 2022
29e36b7
Merge pull request #875 from auth0/next-response-status
adamjmcgrath Oct 21, 2022
e34ddb4
Release v2.0.0-beta.1
adamjmcgrath Oct 21, 2022
0919447
bump orb
adamjmcgrath Oct 21, 2022
8bdc74f
Fix test
adamjmcgrath Oct 21, 2022
fd701fd
Merge pull request #876 from auth0/release/v2.0.0-beta.1
adamjmcgrath Oct 21, 2022
2934304
Merge branch 'vNext' into logout-opts
adamjmcgrath Oct 21, 2022
ae1b6b2
Add tests
adamjmcgrath Oct 21, 2022
8b58851
Add cause to access token error when it's from OP
adamjmcgrath Oct 21, 2022
853c7af
Merge pull request #877 from auth0/logout-opts
adamjmcgrath Oct 21, 2022
3245065
Merge branch 'vNext' into at-error-cause
adamjmcgrath Oct 21, 2022
c360bb3
Merge pull request #878 from auth0/at-error-cause
adamjmcgrath Oct 21, 2022
b6270bb
Upgrade to openid-client@5
adamjmcgrath Oct 28, 2022
96e750b
Merge pull request #888 from auth0/openid-client-5
adamjmcgrath Oct 28, 2022
b9c30c2
req.cookies no longer extends Map
adamjmcgrath Nov 2, 2022
5bf0f27
Fix TS errors in FE tests
adamjmcgrath Nov 2, 2022
b5adf40
Fix Link errors in basic example app
adamjmcgrath Nov 2, 2022
70be143
Fix Link errors in kitchen-sink example app
adamjmcgrath Nov 2, 2022
f0a584e
Merge pull request #894 from auth0/next-13.0.1
adamjmcgrath Nov 2, 2022
34c7c23
Release v2.0.0-beta.2
adamjmcgrath Nov 2, 2022
19357f6
update version.ts
adamjmcgrath Nov 2, 2022
1764154
Merge pull request #895 from auth0/release/v2.0.0-beta.2
adamjmcgrath Nov 2, 2022
4af7eb4
Fix edge cookie support for Next < 13.0.1
adamjmcgrath Nov 8, 2022
0562273
Merge pull request #900 from auth0/next-12-fix
adamjmcgrath Nov 8, 2022
afd0e12
Release v2.0.0-beta.3
adamjmcgrath Nov 8, 2022
44ffc94
update version
adamjmcgrath Nov 8, 2022
d859906
Merge pull request #902 from auth0/release/v2.0.0-beta.3
adamjmcgrath Nov 9, 2022
315f092
WithMiddlewareAuthRequired should return 401 for /api routes
adamjmcgrath Nov 15, 2022
8fb6bde
Merge pull request #909 from auth0/mw-for-api-routes
adamjmcgrath Nov 16, 2022
a0b0ac5
Rearrange exports for RSC and add experimental RSC route to example
adamjmcgrath Nov 18, 2022
224f389
Update src/helpers/testing.ts
Widcket Nov 18, 2022
a32c6a1
Update V2_MIGRATION_GUIDE.md
Widcket Nov 18, 2022
0c1b53f
Apply suggestions from code review
adamjmcgrath Nov 18, 2022
7c6e917
Remove use-config from public exports
adamjmcgrath Nov 18, 2022
e5516b9
Merge remote-tracking branch 'origin/server-client-export' into serve…
adamjmcgrath Nov 18, 2022
76c386f
Merge pull request #913 from auth0/server-client-export
adamjmcgrath Nov 18, 2022
0892e6c
Release v2.0.0-beta.4
adamjmcgrath Nov 18, 2022
cedcde9
fix version
adamjmcgrath Nov 18, 2022
e8aa7fd
Merge pull request #914 from auth0/release/v2.0.0-beta.4
adamjmcgrath Nov 18, 2022
e565d6a
Merge branch 'main' into vNext
adamjmcgrath Nov 30, 2022
af21d7c
Fix mw e2e tests
adamjmcgrath Nov 30, 2022
5fb05e4
Prepare Release v2.0.0
adamjmcgrath Nov 30, 2022
72e5f5a
Keep the ID Token storing default in v2
adamjmcgrath Nov 30, 2022
a0341a8
Merge pull request #927 from auth0/store-idtoken-default
adamjmcgrath Nov 30, 2022
910a1e3
Merge branch 'main' into vNext
adamjmcgrath Dec 1, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ With default config - [Code Flow with PKCE](https://auth0.com/docs/flows/authori

![external-api](./external-api.png)

## auth0-react (Access Token auth)
## auth0-react (Access Token Auth)
### Protecting a Client Side Rendered (CSR) Page

![react](./react.png)
115 changes: 115 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,135 @@
# Change Log

## [v2.0.0](https://github.com/auth0/nextjs-auth0/tree/v2.0.0) (2022-12-01)

[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v1.9.2...v2.0.0)

**⚠️ BREAKING CHANGES**

- Refactor session lifecycle [\#787](https://github.com/auth0/nextjs-auth0/pull/787) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Rearrange exports for RSC and add experimental RSC route to example [\#913](https://github.com/auth0/nextjs-auth0/pull/913) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Improved callback errors [\#835](https://github.com/auth0/nextjs-auth0/pull/835) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Prevent mixing named exports and own instances [\#825](https://github.com/auth0/nextjs-auth0/pull/825) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Allow to override the user prop in server-side rendered pages [\#800](https://github.com/auth0/nextjs-auth0/pull/800) ([Widcket](https://github.com/Widcket))
- Return 204 from /api/auth/me when logged out [\#791](https://github.com/auth0/nextjs-auth0/pull/791) ([Widcket](https://github.com/Widcket))

**Added**

- Next.js Middlware support [\#815](https://github.com/auth0/nextjs-auth0/pull/815) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Add testing utility for generating session cookies [\#816](https://github.com/auth0/nextjs-auth0/pull/816) ([Widcket](https://github.com/Widcket))
- Add updateUser [\#855](https://github.com/auth0/nextjs-auth0/pull/855) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Add support for configuring the built-in handlers [\#826](https://github.com/auth0/nextjs-auth0/pull/826) ([Widcket](https://github.com/Widcket))
- Add support for configuring the default handlers [\#840](https://github.com/auth0/nextjs-auth0/pull/840) ([Widcket](https://github.com/Widcket))
- Add logout options [\#877](https://github.com/auth0/nextjs-auth0/pull/877) ([adamjmcgrath](https://github.com/adamjmcgrath))
- At error cause to AT error when it's from a failed grant [\#878](https://github.com/auth0/nextjs-auth0/pull/878) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Add option to not store ID Token in session [\#809](https://github.com/auth0/nextjs-auth0/pull/809) ([Widcket](https://github.com/Widcket))
- Default error handler [\#823](https://github.com/auth0/nextjs-auth0/pull/823) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Allow response customization in afterCallback [\#838](https://github.com/auth0/nextjs-auth0/pull/838) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Improve API docs [\#796](https://github.com/auth0/nextjs-auth0/pull/796) ([Widcket](https://github.com/Widcket))
- Improve errors [\#782](https://github.com/auth0/nextjs-auth0/pull/782) ([Widcket](https://github.com/Widcket))

See [V2 Migration Guide](./V2_MIGRATION_GUIDE.md) for full details.

## [v2.0.0-beta.4](https://github.com/auth0/nextjs-auth0/tree/v2.0.0-beta.4) (2022-11-18)

[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v2.0.0-beta.3...v2.0.0-beta.4)

**⚠️ BREAKING CHANGES**

- Rearrange exports for RSC and add experimental RSC route to example [\#913](https://github.com/auth0/nextjs-auth0/pull/913) ([adamjmcgrath](https://github.com/adamjmcgrath))

**Fixed**

- WithMiddlewareAuthRequired should return 401 for /api routes [\#909](https://github.com/auth0/nextjs-auth0/pull/909) ([adamjmcgrath](https://github.com/adamjmcgrath))

## [v2.0.0-beta.3](https://github.com/auth0/nextjs-auth0/tree/v2.0.0-beta.3) (2022-11-08)

[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v2.0.0-beta.2...v2.0.0-beta.3)

**Fixed**

- Fix edge cookie support for Next < 13.0.1 [\#900](https://github.com/auth0/nextjs-auth0/pull/900) ([adamjmcgrath](https://github.com/adamjmcgrath))

## [v2.0.0-beta.2](https://github.com/auth0/nextjs-auth0/tree/v2.0.0-beta.2) (2022-11-02)

[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v2.0.0-beta.1...v2.0.0-beta.2)

**Added**

- At error cause to AT error when it's from a failed grant [\#878](https://github.com/auth0/nextjs-auth0/pull/878) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Add logout options [\#877](https://github.com/auth0/nextjs-auth0/pull/877) ([adamjmcgrath](https://github.com/adamjmcgrath))

**Fixed**

- Fix for new req.cookie interface [\#894](https://github.com/auth0/nextjs-auth0/pull/894) ([adamjmcgrath](https://github.com/adamjmcgrath))

## [v2.0.0-beta.1](https://github.com/auth0/nextjs-auth0/tree/v2.0.0-beta.1) (2022-10-21)

[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v2.0.0-beta.0...v2.0.0-beta.1)

**Fixed**

- status getter is not enumerable so needs to be added to NextResponse [\#875](https://github.com/auth0/nextjs-auth0/pull/875) ([adamjmcgrath](https://github.com/adamjmcgrath))

## [v2.0.0-beta.0](https://github.com/auth0/nextjs-auth0/tree/v2.0.0-beta.0) (2022-10-11)

[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v1.9.1...v2.0.0-beta.0)

- Change updateUser to updateSession [\#855](https://github.com/auth0/nextjs-auth0/pull/855) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Add support for configuring the default handlers [\#840](https://github.com/auth0/nextjs-auth0/pull/840) ([Widcket](https://github.com/Widcket))
- Allow response customization in afterCallback [\#838](https://github.com/auth0/nextjs-auth0/pull/838) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Improved callback errors [\#835](https://github.com/auth0/nextjs-auth0/pull/835) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Add support for configuring the built-in handlers [\#826](https://github.com/auth0/nextjs-auth0/pull/826) ([Widcket](https://github.com/Widcket))
- Prevent mixing named exports and own instances [\#825](https://github.com/auth0/nextjs-auth0/pull/825) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Default error handler [\#823](https://github.com/auth0/nextjs-auth0/pull/823) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Fix intermittent build issues [\#818](https://github.com/auth0/nextjs-auth0/pull/818) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Add testing utility for generating session cookies [\#816](https://github.com/auth0/nextjs-auth0/pull/816) ([Widcket](https://github.com/Widcket))
- Next.js Middlware support [\#815](https://github.com/auth0/nextjs-auth0/pull/815) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Fix v1 cookie tests [\#810](https://github.com/auth0/nextjs-auth0/pull/810) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Do not store the ID token by default [\#809](https://github.com/auth0/nextjs-auth0/pull/809) ([Widcket](https://github.com/Widcket))
- Allow to override the user prop in server-side rendered pages [\#800](https://github.com/auth0/nextjs-auth0/pull/800) ([Widcket](https://github.com/Widcket))
- Improve API docs [\#796](https://github.com/auth0/nextjs-auth0/pull/796) ([Widcket](https://github.com/Widcket))
- Return 204 from /api/auth/me when logged out [\#791](https://github.com/auth0/nextjs-auth0/pull/791) ([Widcket](https://github.com/Widcket))
- Refactor session lifecycle [\#787](https://github.com/auth0/nextjs-auth0/pull/787) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Improve errors [\#782](https://github.com/auth0/nextjs-auth0/pull/782) ([Widcket](https://github.com/Widcket))

See [V2 Migration Guide](./V2_MIGRATION_GUIDE.md) for full details.

## [v1.9.2](https://github.com/auth0/nextjs-auth0/tree/v1.9.2) (2022-10-07)

[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v1.9.1...v1.9.2)

**Added**

- Fix updates to session not reflected in async `getServerSideProps` [\#843](https://github.com/auth0/nextjs-auth0/pull/843) ([adamjmcgrath](https://github.com/adamjmcgrath))

## [v1.9.1](https://github.com/auth0/nextjs-auth0/tree/v1.9.1) (2022-06-16)

[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v1.9.0...v1.9.1)

**Fixed**

- Add Props and Query to GetServerSidePropsWrapper type [\#731](https://github.com/auth0/nextjs-auth0/pull/731) ([adamjmcgrath](https://github.com/adamjmcgrath))

## [v1.9.0](https://github.com/auth0/nextjs-auth0/tree/v1.9.0) (2022-05-20)

[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v1.8.0...v1.9.0)

**Added**

- [SDK-3332] Constrain session lifecycle to `withPageAuthrequired` to avoid Next warning [\#664](https://github.com/auth0/nextjs-auth0/pull/664) ([adamjmcgrath](https://github.com/adamjmcgrath))

## [v1.8.0](https://github.com/auth0/nextjs-auth0/tree/v1.8.0) (2022-05-04)

[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v1.7.0...v1.8.0)

**Added**

- Add some useful props to the callback error [\#625](https://github.com/auth0/nextjs-auth0/pull/625) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Update to next 12 [\#612](https://github.com/auth0/nextjs-auth0/pull/612) ([adamjmcgrath](https://github.com/adamjmcgrath))

**Fixed**

- Fix Fast Refresh for WithPageAuthRequired [\#653](https://github.com/auth0/nextjs-auth0/pull/653) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Handle request errors on `useUser` hook [SDK-3227] [\#639](https://github.com/auth0/nextjs-auth0/pull/639) ([Widcket](https://github.com/Widcket))
- Add default to PageRoute type parameter [\#632](https://github.com/auth0/nextjs-auth0/pull/632) ([grantbdev](https://github.com/grantbdev))
Expand All @@ -34,40 +138,51 @@
- Fix types in client-side `withPageAuthRequired` [\#574](https://github.com/auth0/nextjs-auth0/pull/574) ([slaypni](https://github.com/slaypni))

## [v1.7.0](https://github.com/auth0/nextjs-auth0/tree/v1.7.0) (2022-01-06)

[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v1.6.2...v1.7.0)

**Added**

- Include message body in 302 responses [\#564](https://github.com/auth0/nextjs-auth0/pull/564) ([michielvangendt](https://github.com/michielvangendt))

**Fixed**

- Honor configured sameSite in transient cookies so you can login to iframe using 'none' [\#571](https://github.com/auth0/nextjs-auth0/pull/571) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Cookies with samesite=none must have the secure attr set [\#570](https://github.com/auth0/nextjs-auth0/pull/570) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Improve types in server-side withPageAuthRequired [\#554](https://github.com/auth0/nextjs-auth0/pull/554) ([misoton665](https://github.com/misoton665))

## [v1.6.2](https://github.com/auth0/nextjs-auth0/tree/v1.6.2) (2021-12-16)

[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v1.6.1...v1.6.2)

**Fixed**

- Fix issue where error reporting wrong instanceof [\#543](https://github.com/auth0/nextjs-auth0/pull/543) ([adamjmcgrath](https://github.com/adamjmcgrath))

**Security**

- Enforce configured host on user supplied returnTo [\#557](https://github.com/auth0/nextjs-auth0/pull/557) ([adamjmcgrath](https://github.com/adamjmcgrath))

## [v1.6.1](https://github.com/auth0/nextjs-auth0/tree/v1.6.1) (2021-10-13)

[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v1.6.0...v1.6.1)

**Fixed**

- [Snyk] Upgrade openid-client from 4.8.0 to 4.9.0 [\#518](https://github.com/auth0/nextjs-auth0/pull/518) ([snyk-bot](https://github.com/snyk-bot))

## [v1.6.0](https://github.com/auth0/nextjs-auth0/tree/v1.6.0) (2021-10-11)

[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v1.5.0...v1.6.0)

**Added**

- [SDK-2818] Export error classes [\#508](https://github.com/auth0/nextjs-auth0/pull/508) ([adamjmcgrath](https://github.com/adamjmcgrath))
- [SDK-2529] Add ability to pass custom params to refresh grant and code exchange [\#507](https://github.com/auth0/nextjs-auth0/pull/507) ([adamjmcgrath](https://github.com/adamjmcgrath))
- [SDK-2813] Add afterRefresh hook [\#506](https://github.com/auth0/nextjs-auth0/pull/506) ([adamjmcgrath](https://github.com/adamjmcgrath))

**Fixed**

- Fix types in server-side `withPageAuthRequired` [\#512](https://github.com/auth0/nextjs-auth0/pull/512) ([Widcket](https://github.com/Widcket))

## [1.5.0](https://github.com/auth0/nextjs-auth0/tree/v1.5.0) (2021-07-14)
Expand Down
Loading