Skip to content

Releases: fief-dev/fief-js

v0.14.1

26 Sep 15:25
ed1ae7f
Compare
Choose a tag to compare

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

18 Aug 08:11
6906f7d
Compare
Choose a tag to compare

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 and emailVerify to change password, change and verify email_change.
  • ACR support for integrations.

v0.13.5

16 Aug 14:02
6c1e7c4
Compare
Choose a tag to compare

0.13.5

Bug fixes and improvements

  • Add proper error handling when making API requests to Fief. Thanks @tito 🎉
  • Bump dependencies

v0.13.3

12 Jun 08:13
0d94042
Compare
Choose a tag to compare

Improvements

  • Next.js: ignore prefetch request for /logout middleware route

v0.13.2

29 May 16:17
7e17298
Compare
Choose a tag to compare

0.13.2

Improvements

  • Next.js: allow to pass return_to parameter to /login route

v0.13.1

26 May 07:20
b955898
Compare
Choose a tag to compare

0.13.1

Improvements

  • Next.js: Preserve query parameters when saving return_to URL

v0.13.0

22 May 08:04
38c69b0
Compare
Choose a tag to compare

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';
    • This was done to avoid build issues with Next.js 13.3+

v0.12.3

02 Apr 08:59
3caf513
Compare
Choose a tag to compare

0.12.3

Improvements

  • Next.js:
    • access_token is now available in the result of useFiefAccessTokenInfo
    • User ID and access token are available in getServerSideProps through X-FiefAuth-User-Id and X-FiefAuth-Access-Token request headers. [Documentation]

v0.12.2

31 Mar 07:15
7d5fda7
Compare
Choose a tag to compare

0.12.2

Bug fixes

  • Fix a redirection bug with Next.js 13

v0.12.1

20 Feb 11:01
d4c43a2
Compare
Choose a tag to compare

0.12.1

Improvements

  • React integration: save auth state in sessionStorage so it's preserved between page reloads