Releases: auth0/nextjs-auth0
Releases · auth0/nextjs-auth0
v2.0.0-beta.0
- Change updateUser to updateSession #855 (adamjmcgrath)
- Add support for configuring the default handlers #840 (Widcket)
- Allow response customization in afterCallback #838 (adamjmcgrath)
- Improved callback errors #835 (adamjmcgrath)
- Add support for configuring the built-in handlers #826 (Widcket)
- Prevent mixing named exports and own instances #825 (adamjmcgrath)
- Default error handler #823 (adamjmcgrath)
- Fix intermittent build issues #818 (adamjmcgrath)
- Add testing utility for generating session cookies #816 (Widcket)
- Next.js Middlware support #815 (adamjmcgrath)
- Fix v1 cookie tests #810 (adamjmcgrath)
- Do not store the ID token by default #809 (Widcket)
- Allow to override the user prop in server-side rendered pages #800 (Widcket)
- Improve API docs #796 (Widcket)
- Return 204 from /api/auth/me when logged out #791 (Widcket)
- Refactor session lifecycle #787 (adamjmcgrath)
- Improve errors #782 (Widcket)
See V2 Migration Guide for full details.
v1.9.2
v1.9.1
v1.9.0
v1.8.0
Added
- Add some useful props to the callback error #625 (adamjmcgrath)
- Update to next 12 #612 (adamjmcgrath)
Fixed
- Fix Fast Refresh for WithPageAuthRequired #653 (adamjmcgrath)
- Handle request errors on
useUser
hook SDK-3227 #639 (Widcket) - Add default to PageRoute type parameter #632 (grantbdev)
- throw if you try to refresh with no rt #624 (adamjmcgrath)
- Should be able to set rollingDuration as false (when rolling is false) #623 (adamjmcgrath)
- Fix types in client-side
withPageAuthRequired
#574 (slaypni)
v1.7.0
Added
- Include message body in 302 responses #564 (michielvangendt)
Fixed
- Honor configured sameSite in transient cookies so you can login to iframe using 'none' #571 (adamjmcgrath)
- Cookies with samesite=none must have the secure attr set #570 (adamjmcgrath)
- Improve types in server-side withPageAuthRequired #554 (misoton665)
v1.6.2
Fixed
- Fix issue where error reporting wrong instanceof #543 (adamjmcgrath)
Security
- Enforce configured host on user supplied returnTo #557 (adamjmcgrath)
v1.6.1
v1.6.0
Added
- SDK-2818 Export error classes #508 (adamjmcgrath)
- SDK-2529 Add ability to pass custom params to refresh grant and code exchange #507 (adamjmcgrath)
- SDK-2813 Add afterRefresh hook #506 (adamjmcgrath)
Fixed