v2.2.3 (2024-01-15)
Changed
- Export AbstractNavigator #564 (frederikprijck)
v2.2.2 (2023-12-12)
Changed
- Update Auth0-SPA-JS #546 (frederikprijck)
v2.2.1 (2023-07-24)
Fixed
- Do not crash when getTokenSilently returns null #458 (frederikprijck)
v2.2.0 (2023-07-13)
Added
- Support Organization Name #453 (frederikprijck)
v2.1.0 (2023-04-03)
Added
- Add API for standalone and functional approaches #445 (frederikprijck)
Fixed
v2.0.2 (2023-03-10)
Fixed
- Correctly expose Error types from Auth0-SPA-JS #436 (frederikprijck)
- Ensure allowAnonymous works with missing_refresh_token #430 (frederikprijck)
v2.0.1 (2023-01-25)
Fixed
- Ensure AuthConfigService is exported before AuthClientConfig #413 (frederikprijck)
v2.0.0 (2023-01-19)
Auth0-Angular v2 includes many significant changes compared to v1:
- Remove polyfills from bundles
- Introduce
authorizationParams
andlogoutParams
to hold properties sent to Auth0 - Remove
buildAuthorizeUrl
andbuildLogoutUrl
- Remove
redirectMethod
, and replace byopenUrl
- Remove
localOnly
fromlogout
in favor ofopenUrl
- Ensure
logout
returns an Onservable instead of a Promise - Rework
ignoreCache
tocacheMode
and introducecache-only
- Use form-encoded data by default
- Do not fallback to refreshing tokens via iframe method by default
getUser
andgetIdTokenClaims
are removed- Remove
advancedOptions.defaultScope
and replace withscope
As with any major version bump, v2 of Auth0-Angular contains a set of breaking changes. Please review the migration guide thoroughly to understand the changes required to migrate your application to v2.
v2.0.0-beta.0 (2022-12-13)
Auth0-Angular v2 includes many significant changes compared to v1:
- Remove polyfills from bundles
- Introduce
authorizationParams
andlogoutParams
to hold properties sent to Auth0 - Remove
buildAuthorizeUrl
andbuildLogoutUrl
- Remove
redirectMethod
, and replace byopenUrl
- Remove
localOnly
fromlogout
in favor ofopenUrl
- Ensure
logout
returns an Onservable instead of a Promise - Rework
ignoreCache
tocacheMode
and introducecache-only
- Use form-encoded data by default
- Do not fallback to refreshing tokens via iframe method by default
getUser
andgetIdTokenClaims
are removed- Remove
advancedOptions.defaultScope
and replace withscope
As with any major version bump, v2 of Auth0-Angular contains a set of breaking changes. Please review the migration guide thoroughly to understand the changes required to migrate your application to v2.
v1.11.1 (2022-11-17)
Changed
- Add support for Angular 15 #381 (frederikprijck)
v1.11.0 (2022-10-03)
Changed
- Do not disable Ivy but use compilationMode partial #345 (frederikprijck)
Note: This release drops support for Angular <12 as those versions are no longer supported by Google themselves. [Read more ...]
v1.10.1 (2022-07-26)
Fixed
- Emit error after navigation when error occurs #329 (frederikprijck)
v1.10.0 (2022-06-08)
Added
- [SDK-3415] Allow to disable the use of silent auth when using Refresh Tokens #308 (frederikprijck)
- Add support for Angular 14 #315 (frederikprijck)
Changed
- Send Angular Version as part of auth0Client header #309 (frederikprijck)
v1.9.0 (2022-02-14)
Added
- [SDK-3101] Support user and claims for non-default audiences #276 (frederikprijck)
v1.8.2 (2022-01-11)
Fixed
- Update Auth0-SPA-JS to the latest version #260 (frederikprijck)
v1.8.1 (2021-12-07)
Changed
- App state interface #240 (4javier)
- Update peerDependencies to support Angular 13 #243 (frederikprijck)
- Export IdToken and User types #237 (4javier)
Fixed
- Add missing angular/router to peerDependencies #242 (klaascuvelier)
v1.8.0 (2021-10-27)
Added
- Bump SPA to 1.19.2 and implement detailed token response #231 (frederikprijck)
- Add connection property to auth.config.ts #223 (stevehobbsdev)
v1.7.0 (2021-09-20)
Added
- Bump Auth0-SPA-JS to 1.18.0 #218 (frederikprijck)
v1.6.2 (2021-09-15)
Fixed
- [SDK-2786] Ensure SDK works when useHash is true #215 (frederikprijck)
v1.6.1 (2021-09-10)
Fixed
- Do not redirect AuthGuard when user is already authenticated #209 (frederikprijck)
- Expose internal classes and Injection Tokens #190 (frederikprijck)
v1.6.0 (2021-07-14)
Added
- [SDK-2603] Expose custom caching options from Auth0 SPA SDK #175 (stevehobbsdev)
- App State Observable #168 (fearnycompknowhow)
Fixed
- [SDK-2635] Avoid emitting error when calling endpoints using allowAnonymous #180 (frederikprijck)
v1.5.1 (2021-05-25)
Changed
- Modified the allowed Angular version range to accept Angular 12 #158 (frederikprijck)
v1.5.0 (2021-05-06)
Added
- [SDK-2542] Expose methods from Auth0 SPA SDK #150 (stevehobbsdev)
v1.4.1 (2021-04-13)
Added
- [SDK-2482] Add allowAnonymous option to HttpInterceptor config #145 (frederikprijck)
Changed
- Remove unnecessary returns from tap #141 (sorohan)
- Only emit user$ and idTokenClaims$ when login, logout or token changed #131 (frederikprijck)
v1.4.0 (2021-03-25)
Added
- [SDK-2390] Add Support for Organizations #135 (frederikprijck)
- Add uriMatcher to HttpInterceptorRouteConfig #122 (frederikprijck)
Changed
- Update State when error occurs while getting token #124 (frederikprijck)
- Enable strict mode #123 (AlexElin)
v1.3.2 (2021-01-21)
Changed
- Record getToken errors in the errors$ observable #104 (frederikprijck)
Fixed
- Ensure isAuthenticated always pulls live value from SPA JS SDK #109 (frederikprijck)
v1.3.1 (2020-12-18)
Changed
- Update dependencies to Angular 11 #101 (frederikprijck)
Fixed
- [SDK-2189] Update State after renewing tokens #100 (frederikprijck)
Security
- Bump highlight.js from 10.1.2 to 10.4.1 #99 (dependabot[bot])
v1.3.0 (2020-12-03)
Added
- [SDK-2161] Allow to skip the redirect callback #86 (frederikprijck)
- [SDK-2139] Add errorPath configuration #84 (frederikprijck)
Changed
- Bump auth0-spa-js to 1.13.4 #95 (frederikprijck)
- Do not send httpInterceptor to Auth0Client constructor #91 (frederikprijck)
- Update peer dependencies to include Angular 9 and 11 #85 (frederikprijck)
Fixed
- [SDK-2140] Emit null for user and idTokenClaims when logged out #90 (frederikprijck)
Security
- Update dependencies #77 (stevehobbsdev)
v1.2.0 (2020-10-22)
Added
Fixed
- Ensure interceptor uses AuthClientConfig #71 (frederikprijck)
- Swap useFactory for useValue when providing AuthConfigService #67 (stevehobbsdev)
v1.1.0 (2020-10-14)
Added
- [SDK-1976] Dynamic configuration (alternative to AuthModule.forRoot) #62 (stevehobbsdev)
v1.0.0 (2020-09-16)
Added
- Add error handling capability #51 (stevehobbsdev)
- [SDK-1921] ng-add support #49 (stevehobbsdev)
- [SDK-1931] Add information regarding use inside Angular Universal projects #46 (stevehobbsdev)
- [SDK-1931] Add support for canActivateChild and canLoad in AuthGuard #45 (stevehobbsdev)
Changed
- [SDK-1895] Add options to match HTTP requests based on HTTP method #48 (stevehobbsdev)
- Update Readme with more badges and rewording of expectations #40 (stevehobbsdev)
Removed
- Remove use of regex in API example snippets #41 (stevehobbsdev)
Fixed
- docs: add return type to the example in the README #44 (ahasall)
- [SDK-1923] Improve readability of Calling an API section in the readme #42 (stevehobbsdev)
- Fix publish script using the new release version #39 (lbalmaceda)
v0.2.1 (2020-08-14)
Changed
- Make the "publish" script copy the README file #36 (lbalmaceda)
- Add metadata to package #35 (stevehobbsdev)
v0.2.0 (2020-08-14)
Added
- Improve the release pipeline #31 (lbalmaceda)
- Add task to generate docs #27 (lbalmaceda)
- Improve playground with options #26 (lbalmaceda)
- Add temporary early access installation notes #25 (lbalmaceda)
Removed
- Remove Regex support from the HTTP interceptor #29 (stevehobbsdev)
v0.1.0 (2020-07-31)
Early Access Release Do not use it in a Production environment.
In order to install this package on your application, download the auth0-auth0-angular-0.1.0.tgz
file from the Releases section on the Github repository and run the following command:
npm install /path/to/auth0-auth0-angular-0.1.0.tgz
Added
- [SDK-1860] SDK Useragent #19 (stevehobbsdev)
- [SDK-1847, SDK-1848] Add HttpInterceptor to attach access tokens to requests #18 (stevehobbsdev)
- [SDK-1778] Add AuthGuard to protect unauthenticated users from accessing certain routes #16 (samjulien)
- [SDK-1846] Add ability to get new access tokens #15 (stevehobbsdev)
- Add playground app #14 (lbalmaceda)
- Enable access to isLoading
true
state #13 (stevehobbsdev) - Add husky pre-commit hook to run prettier #12 (lbalmaceda)
- Install and configure karma-junit-reporter #11 (stevehobbsdev)
- [SDK-1776] Add logout #9 (stevehobbsdev)
- [SDK-1780] Add user$ observable #8 (stevehobbsdev)
- Add navigator to handle routing after login #7 (stevehobbsdev)
- [SDK-1781] Add isAuthenticated observable #6 (stevehobbsdev)
- [SDK-1815] Add silent authentication #5 (stevehobbsdev)
- [SDK-1779] AuthService creation and login methods #4 (stevehobbsdev)
- Setup CI and Coverage #3 (lbalmaceda)
- [SDK-1783] Add ability to configure the SDK #2 (stevehobbsdev)
Fixed
- Fix type of the injected window service #23 (lbalmaceda)
- General fixes and tweaks to prep for EA release #21 (stevehobbsdev)
- [Housekeeping] Fix TSLint issues and upgrade dependencies #17 (stevehobbsdev)
- Fix popup auth to correctly set authenticated state after login #10 (stevehobbsdev)