1 | # Change Log
|
2 |
|
3 | ## [v5.1.2](https://github.com/auth0/angular2-jwt/tree/v5.1.2) (2022-12-20)
|
4 | [Full Changelog](https://github.com/auth0/angular2-jwt/compare/v5.1.1...v5.1.2)
|
5 |
|
6 | **Fixed**
|
7 | - Restore pre 5.1.1 behavior and fix types [\#759](https://github.com/auth0/angular2-jwt/pull/759) ([frederikprijck](https://github.com/frederikprijck))
|
8 |
|
9 | ## [v5.1.1](https://github.com/auth0/angular2-jwt/tree/v5.1.1) (2022-12-15)
|
10 | [Full Changelog](https://github.com/auth0/angular2-jwt/compare/v5.1.0...v5.1.1)
|
11 |
|
12 | **Fixed**
|
13 | - Support promise based tokenGetter in JwtHelperService [\#748](https://github.com/auth0/angular2-jwt/pull/748) ([frederikprijck](https://github.com/frederikprijck))
|
14 |
|
15 | ## Version [5.1.0](https://github.com/auth0/angular2-jwt/tags/v5.1.0)
|
16 |
|
17 | [Full Changelog](https://github.com/auth0/angular2-jwt/compare/v5.0.2..v5.1.0)
|
18 |
|
19 | **Changed**
|
20 |
|
21 | - Compile using Ivy partial mode [#735](https://github.com/auth0/angular2-jwt/pull/735) ([frederikprijck](https://github.com/frederikprijck))
|
22 |
|
23 | Note: This release drops support for Angular <12 as [those versions are no longer supported by Google themselves](https://angular.io/guide/releases#actively-supported-versions). [[Read more ...](https://github.com/auth0/angular2-jwt/issues/712#issuecomment-1265009015)]
|
24 |
|
25 | ## Version [5.0.2](https://github.com/auth0/angular2-jwt/tags/v5.0.2)
|
26 |
|
27 | [Full Changelog](https://github.com/auth0/angular2-jwt/compare/v5.0.1..v5.0.2)
|
28 |
|
29 | - Update `decodeToken` helper type definition to accept a generic.
|
30 |
|
31 | ## Version [5.0.1](https://github.com/auth0/angular2-jwt/tags/v5.0.1)
|
32 |
|
33 | [Full Changelog](https://github.com/auth0/angular2-jwt/compare/v5.0.0..v5.0.1)
|
34 |
|
35 | - Remove dependency on the window object for SSR support
|
36 |
|
37 | ## Version [5.0.0](https://github.com/auth0/angular2-jwt/tags/v5.0.0)
|
38 |
|
39 | **Warning: this version has some breaking changes concerning the allowed domains and dissalowed routes!**
|
40 |
|
41 | - Replace `whitelistedDomains` to `allowedDomains` [#668](https://github.com/auth0/angular2-jwt/pull/668)
|
42 | - Replace `blacklistedRoutes` to `disallowedRoutes` [#668](https://github.com/auth0/angular2-jwt/pull/668)
|
43 | - Removed the url dependency, as this is a Node module in the CommonJS format, and the Angular 10 CLI throws warnings when using dependencies in the CommonJS format. We're using the default URL interface, https://developer.mozilla.org/en-US/docs/Web/API/URL [#666](https://github.com/auth0/angular2-jwt/pull/666)
|
44 |
|
45 | [Full Changelog](https://github.com/auth0/angular2-jwt/compare/v4.2.0..v5.0.0)
|
46 |
|
47 | ## Version [4.2.0](https://github.com/auth0/angular2-jwt/tags/v4.2.0)
|
48 |
|
49 | [Full Changelog](https://github.com/auth0/angular2-jwt/compare/v4.1.2..v4.2.0)
|
50 |
|
51 | - Allow the authScheme config parameter to be a getter function [#659](https://github.com/auth0/angular2-jwt/pull/659)
|
52 |
|
53 | ## Version [4.1.2](https://github.com/auth0/angular2-jwt/tags/v4.1.2) (2020-05-16)
|
54 |
|
55 | [Full Changelog](https://github.com/auth0/angular2-jwt/compare/v4.1.1..v4.1.2)
|
56 |
|
57 | - Support domains with a port other than the default HTTP ports (HTTP: 80, HTTPS: 443)
|
58 | [#656](https://github.com/auth0/angular2-jwt/pull/656)
|
59 |
|
60 | ## Version [4.1.1](https://github.com/auth0/angular2-jwt/tags/v4.1.1) (2020-05-15)
|
61 |
|
62 | [Full Changelog](https://github.com/auth0/angular2-jwt/compare/v4.1.0..v4.1.1)
|
63 |
|
64 | - Something went wrong pulishing `v4.1.0`, this version fixes that.
|
65 |
|
66 | ## Version [4.1.0](https://github.com/auth0/angular2-jwt/tags/v4.1.0) (2020-05-15)
|
67 |
|
68 | [Full Changelog](https://github.com/auth0/angular2-jwt/compare/4.0.0..v4.1.0)
|
69 |
|
70 | - Use blacklist domains regardless of their protocol [#644](https://github.com/auth0/angular2-jwt/pull/644)
|
71 | - Pass the HttpRequest to the tokenGetter [#649](https://github.com/auth0/angular2-jwt/pull/649)
|
72 |
|
73 | ## Version [4.0.0](https://github.com/auth0/angular2-jwt/tags/v4.0.0) (2020-02-07)
|
74 |
|
75 | [Full Changelog](https://github.com/auth0/angular2-jwt/compare/3.0.1..4.0.0)
|
76 |
|
77 | From [\#622](https://github.com/auth0/angular2-jwt/pull/622) [avatsaev](https://github.com/avatsaev):
|
78 |
|
79 | - Angular 9 compatibility
|
80 | - Angular Ivy compatibility
|
81 |
|
82 | ## Version [3.0.1](https://github.com/auth0/angular2-jwt/tags/v3.0.1) (2019-10-28)
|
83 |
|
84 | [Full Changelog](https://github.com/auth0/angular2-jwt/compare/3.0.0..3.0.1)
|
85 |
|
86 | - Be sure to handle `undefined` tokens [\#626](https://github.com/auth0/angular2-jwt/pull/626) [@RobertRad](https://github.com/RobertRad)
|
87 | - docs: corrected/rephrased a sentence in README.md [\#625](https://github.com/auth0/angular2-jwt/pull/625) [@noopur-tiwari](https://github.com/noopur-tiwari)
|
88 |
|
89 | ## Version [3.0.0](https://github.com/auth0/angular2-jwt/releases/tag/3.0.0) (2019-07-16)
|
90 |
|
91 | [Full Changelog](https://github.com/auth0/angular2-jwt/compare/2.1.2..3.0.0)
|
92 |
|
93 | - **Breaking change** `isTokenExpired` now returns `false` if no expiry date is found inside the token. This is a change to align with the [JWT spec](https://tools.ietf.org/html/rfc7519#section-4.1.4), but may break applications that rely on the previous behavior. [#562](https://github.com/auth0/angular2-jwt/pull/562) [@atom-morgan](https://github.com/atom-morgan)
|
94 |
|
95 | ## Version [2.1.2](https://github.com/auth0/angular2-jwt/releases/tag/2.1.2) (2019-07-15)
|
96 |
|
97 | [Full Changelog](https://github.com/auth0/angular2-jwt/compare/2.1.1..2.1.2)
|
98 |
|
99 | - Gracefully handle null/empty tokens [#586](https://github.com/auth0/angular2-jwt/pull/586)
|
100 |
|
101 | ## Version [2.1.1](https://github.com/auth0/angular2-jwt/releases/tag/2.1.1) (2019-07-01)
|
102 |
|
103 | [Full Changelog](https://github.com/auth0/angular2-jwt/compare/2.1.0...2.1.1)
|
104 |
|
105 | - Blacklist/Whitelist check fix [#538](https://github.com/auth0/angular2-jwt/pull/538)
|
106 | - Refactor deep rxjs imports and use named define [#608](https://github.com/auth0/angular2-jwt/pull/608)
|
107 | - fix(rxjs): remove imports from rxjs/internal [#542](https://github.com/auth0/angular2-jwt/pull/542)
|
108 |
|
109 | > Note: historical changelog information has not been recorded in this format. Please see the [releases page](https://github.com/auth0/angular2-jwt/releases) for information on previous releases.
|