Releases: auth0/nextjs-auth0
Releases · auth0/nextjs-auth0
v2.2.2
v2.2.1
v2.2.0
Added
- SDK-3862 Add support for JWT client authentication #1029 (ewanharris)
Fixed
- withMiddlewareAuthRequired returnTo should be a relative url #1028 (adamjmcgrath)
- Infer user exists if WithPageAuthRequired page is rendered #1014 (adamjmcgrath)
v2.1.0
v2.0.1
v2.0.0
- Refactor session lifecycle #787 (adamjmcgrath)
- Rearrange exports for RSC and add experimental RSC route to example #913 (adamjmcgrath)
- Improved callback errors #835 (adamjmcgrath)
- Prevent mixing named exports and own instances #825 (adamjmcgrath)
- Allow to override the user prop in server-side rendered pages #800 (Widcket)
- Return 204 from /api/auth/me when logged out #791 (Widcket)
Added
- Next.js Middlware support #815 (adamjmcgrath)
- Add testing utility for generating session cookies #816 (Widcket)
- Add updateUser #855 (adamjmcgrath)
- Add support for configuring the built-in handlers #826 (Widcket)
- Add support for configuring the default handlers #840 (Widcket)
- Add logout options #877 (adamjmcgrath)
- Add option to not store the ID token by default #809 (Widcket)
- At error cause to AT error when it's from a failed grant #878 (adamjmcgrath)
- Default error handler #823 (adamjmcgrath)
- Allow response customization in afterCallback #838 (adamjmcgrath)
- Improve API docs #796 (Widcket)
- Improve errors #782 (Widcket)
See V2 Migration Guide for full details.
v2.0.0-beta.4
- Rearrange exports for RSC and add experimental RSC route to example #913 (adamjmcgrath)
Fixed
- WithMiddlewareAuthRequired should return 401 for /api routes #909 (adamjmcgrath)
v2.0.0-beta.3
Fixed
- Fix edge cookie support for Next < 13.0.1 #900 (adamjmcgrath)
v2.0.0-beta.2
Added
- Add error cause to AT error when it's from a failed grant #878 (adamjmcgrath)
- Add logout options #877 (adamjmcgrath)
Fixed
- Fix for new req.cookie interface #894 (adamjmcgrath)
v2.0.0-beta.1
Fixed
- status getter is not enumerable so needs to be added to NextResponse #875 (adamjmcgrath)