Releases: fief-dev/fief-js
Releases · fief-dev/fief-js
v0.15.0
0.15.0
New features and improvements
- Revamped Next.js integration for v14+ and App Router. [Documentation]
v0.14.1
v0.14.0
0.14.0
Warning
This version requires a Fief server version 0.26.0
Breaking changes
- The
updateProfile
method can now only update user fields.
New features
changePassword
,emailChange
andemailVerify
to change password, change and verify email_change.- ACR support for integrations.
v0.13.5
v0.13.3
Improvements
- Next.js: ignore prefetch request for /logout middleware route
v0.13.2
0.13.2
Improvements
- Next.js: allow to pass return_to parameter to /login route
v0.13.1
0.13.1
Improvements
- Next.js: Preserve query parameters when saving return_to URL
v0.13.0
0.13.0
Breaking changes
- React hooks and components for Next.js are now exposed in their own module.
- For example:
- Before:
import { useFiefIsAuthenticated, useFiefUserinfo } from '@fief/fief/nextjs';
- After:
import { useFiefIsAuthenticated, useFiefUserinfo } from '@fief/fief/nextjs/react';
- Before:
- This was done to avoid build issues with Next.js 13.3+
- For example:
v0.12.3
0.12.3
Improvements
- Next.js:
access_token
is now available in the result ofuseFiefAccessTokenInfo
- User ID and access token are available in
getServerSideProps
throughX-FiefAuth-User-Id
andX-FiefAuth-Access-Token
request headers. [Documentation]
v0.12.2
0.12.2
Bug fixes
- Fix a redirection bug with Next.js 13