Releases: serhiisol/ngx-auth
Releases · serhiisol/ngx-auth
7.1.0
7.0.0
7.0.0
Updates
- Angular@20 support added
- new
provideNgxAuthProvidersfunction to simplify configuration process zonelesssupport added
Breaking changes
- Interceptor is now a function
ngxAuthInterceptor, old class-based interceptor is removed - Guards are now functions
ngxProtectedGuardandngxPublicGuardrespectively AuthServiceis replaced withNgxAuthServiceand received following updates:isAuthorizedis renamed toisAuthenticatedand now can return a promisegetAccessTokencan now return promiseverifyRefreshTokenis removed in favor ofskipRequestrefreshTokencan also return a promise
6.0.0
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
ProtectedGuardandPublicGuardguards in favor of functional guardsprotectedGuardandpublicGuardrespectively - Removed
canActivateChilddue to its deprecation. Guards should be used for appropriate routes only - Removed deprecated
verifyTokenRequestmethod.verifyRefreshTokenshould be used instead
Resolves:
NgxAuth 5.4.0
- stopped using
windowdirectly - added current request to refreshShouldHappen
NgxAuth 5.3.0
- fixed incorrect data passed to verifyRefreshToken method
NgxAuth 5.2.0
- Adds new
skipRequestmethod to skip some requests (a.k.a. blacklisting) - Readme updates
NgxAuth 5.1.0
*angular 8.0.0 support added
NgxAuth 5.0.0
*angular 7.0.0 support added
NgxAuth 4.1.0
- added support of last interrupted url
NgxAuth 4.0.0
- adds support of angular 6 and rxjs 6