This repository was archived by the owner on Apr 26, 2025. It is now read-only.
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
Bug fixes
- Fix #5: prevent authCallback to be triggered twice in browser environment
- Bump dependencies
Warning
This is the last release supporting Node 16 and Node 17.
Next versions will require at least Node 18.
v0.14.0
0.14.0
Warning
This version requires a Fief server version 0.26.0
Breaking changes
- The
updateProfilemethod can now only update user fields.
New features
changePassword,emailChangeandemailVerifyto 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_tokenis now available in the result ofuseFiefAccessTokenInfo- User ID and access token are available in
getServerSidePropsthroughX-FiefAuth-User-IdandX-FiefAuth-Access-Tokenrequest headers. [Documentation]
v0.12.2
0.12.2
Bug fixes
- Fix a redirection bug with Next.js 13