Releases: auth0/auth0-react
Releases · auth0/auth0-react
Release list
v2.24.0
Added
- feat: add useAuth0Suspense hook for handling auth loading state with React 19+ #1184 (gyaneshgouraw-okta)
Summary by CodeRabbit
-
New Features
- Added API documentation for
useAuth0Suspenseand its suspense context type, including usage guidance and React 19 requirements. - Added the new API to the documentation index and search navigation.
- Added API documentation for
-
Documentation
- Refreshed generated API references, hierarchy links, source links, and search data for accuracy.
- Updated documentation metadata across authentication, MFA, passkey, popup, and configuration APIs.
-
Chores
- Bumped the package version to 2.24.0.
v2.23.0
Added
- feat: add 'use client' directive to bundles for RSC support #1179 (gyaneshgouraw-okta)
Fixed
- fix: prevent open redirect via protocol-relative returnTo #1185 (yogeshchoudhary147)
Summary by CodeRabbit
-
Documentation
- Clarified that the SDK is client-only and can be imported into Next.js App Router Server Components, while hook-using components must remain Client Components.
- Refreshed generated documentation source references.
-
Release
- Updated the package version to 2.23.0.
v2.22.1
Changed
- chore(deps): bump @auth0/auth0-spa-js minimum version to ^2.24.1 #1182 (yogeshchoudhary147)
v2.22.0
Added
- feat: add support for Online Access (Online Refresh Tokens) #1133 (NandanPrabhu)
v2.21.0
Added
- feat: expose revokeRefreshToken #1147 (yogeshchoudhary147)
v2.20.0
Added
- feat: enforce IPSIE session_expiry ceiling on local session lifetime #1126 (yogeshchoudhary147)
v2.19.0
Added
- feat: add MyAccount API client support #1121 (yogeshchoudhary147)
v2.18.0
Added
- feat: add passkey API support for signup and login methods #1114 (amitsingh05667)
v2.17.0
Added
- feat: CTE delegation and impersonation support #1109 (yogeshchoudhary147)
v2.16.2
Changed
- chore(deps): bump @auth0/auth0-spa-js from 2.18.0 to 2.19.2 #1093 (yogeshchoudhary147)