Skip to content

Releases: serhiisol/ngx-auth

7.1.0

31 Oct 09:28

Choose a tag to compare

7.1.0

Updates

  • refreshShouldHappen can return observable and promise or boolean
  • isAuthenticated is used to determine if refresh should happen:
refreshShouldHappen && isAuthenticated

7.0.0

28 May 23:18
62a495d

Choose a tag to compare

7.0.0

Updates

  • Angular@20 support added
  • new provideNgxAuthProviders function to simplify configuration process
  • zoneless support added

Breaking changes

  • Interceptor is now a function ngxAuthInterceptor, old class-based interceptor is removed
  • Guards are now functions ngxProtectedGuard and ngxPublicGuard respectively
  • AuthService is replaced with NgxAuthService and received following updates:
    • isAuthorized is renamed to isAuthenticated and now can return a promise
    • getAccessToken can now return promise
    • verifyRefreshToken is removed in favor of skipRequest
    • refreshToken can also return a promise

6.0.0

09 Jun 11:00
12b6d5d

Choose a tag to compare

Changes:

  • added angular 16 support
  • updated testing setup: added jest, testing-library instead of karma and jasmine
  • added eslint to the project

Breaking Changes:

  • Removed public access to ProtectedGuard and PublicGuard guards in favor of functional guards protectedGuard and publicGuard respectively
  • Removed canActivateChild due to its deprecation. Guards should be used for appropriate routes only
  • Removed deprecated verifyTokenRequest method. verifyRefreshToken should be used instead

Resolves:

NgxAuth 5.4.0

19 Jan 00:46

Choose a tag to compare

  • stopped using window directly
  • added current request to refreshShouldHappen

NgxAuth 5.3.0

19 Jan 00:42
c0128e0

Choose a tag to compare

  • fixed incorrect data passed to verifyRefreshToken method

NgxAuth 5.2.0

03 Oct 18:15
ee237f2

Choose a tag to compare

  • Adds new skipRequest method to skip some requests (a.k.a. blacklisting)
  • Readme updates

NgxAuth 5.1.0

10 Jul 17:38
e3ec7bb

Choose a tag to compare

*angular 8.0.0 support added

NgxAuth 5.0.0

26 Oct 09:20

Choose a tag to compare

*angular 7.0.0 support added

NgxAuth 4.1.0

05 Sep 19:37
1b84285

Choose a tag to compare

  • added support of last interrupted url

NgxAuth 4.0.0

17 May 11:16
0711d95

Choose a tag to compare

  • adds support of angular 6 and rxjs 6