UNPKG

3.16 kBMarkdownView Raw
1# Changelog
2
3## [1.7.0] - (2020-02-18)
4This release includes a change to the default caching mechanism. Caching is on now by default, with the decrease of the default time of 10hours to 10minutes. This change introduces better support for signing key rotation.
5
6**Added**
7- Add proxy option to jwksClient [\#125](https://github.com/auth0/node-jwks-rsa/pull/125) ([Ogdentrod](https://github.com/Ogdentrod))
8
9**Changed**
10- [SDK-1221] Modify Cache Defaults [\#123](https://github.com/auth0/node-jwks-rsa/pull/123) ([davidpatrick](https://github.com/davidpatrick))
11
12**Fixed**
13- Add Linter step to CI [\#129](https://github.com/auth0/node-jwks-rsa/pull/129) ([davidpatrick](https://github.com/davidpatrick))
14- Send the explicit commit SHA to Codecov [\#128](https://github.com/auth0/node-jwks-rsa/pull/128) ([lbalmaceda](https://github.com/lbalmaceda))
15
16## [1.6.2] - (2020-01-21)
17This patch release includes an alias for accessing the public key of a given JSON Web Key (JWK). This is in response to an unintended breaking change that was introduced as part of the last Typescript definitions change, included in the release with version `1.6.0`.
18
19Now, no matter what the public key algorithm is, you can obtain it like this:
20
21```js
22client.getSigningKey(kid, (err, jwk) => {
23 const publicKey = jwk.getPublicKey();
24});
25```
26
27**Fixed**
28- Add alias for obtaining the public key [\#119](https://github.com/auth0/node-jwks-rsa/pull/119) ([lbalmaceda](https://github.com/lbalmaceda))
29- Handling case when Jwk doesn't have 'use' parameter [\#116](https://github.com/auth0/node-jwks-rsa/pull/116) ([manpreet-compro](https://github.com/manpreet-compro))
30
31## [1.6.1] - (2020-01-13)
32
33**Changed**
34
35- NPM dependencies update [\#112](https://github.com/auth0/node-jwks-rsa/pull/112) ([ecasilla](https://github.com/ecasilla))
36- Update lru-memoizer to 2.0.1 [\#106](https://github.com/auth0/node-jwks-rsa/pull/106) ([sobil](https://github.com/sobil))
37
38## [1.6.0] - (2019-07-09)
39
40**Added**
41
42- Add `agentOptions` to customize `request` [TLS/SSL options](https://www.npmjs.com/package/request#using-optionsagentoptions). https://github.com/auth0/node-jwks-rsa/pull/84
43
44## [1.5.1] - (2019-05-21)
45
46**Changed**
47
48- Now includes the jsonwebtoken as a runtime dependency not dev to avoid breaks with 1.5.0 installs
49- Various dependencies in both the library and samples updated
50
51## [1.5.0] - (2019-05-09)
52
53**Added**
54
55- Integrate with passport-jwt [\#77](https://github.com/auth0/node-jwks-rsa/pull/27) ([gconnolly](https://github.com/gconnolly))
56
57## [1.4.0] - (2019-02-07)
58
59**Added**
60
61- Allow custom headers in request [\#77](https://github.com/auth0/node-jwks-rsa/pull/77) ([Mutmatt](https://github.com/Mutmatt))
62
63## [1.3.0] - (2018-06-20)
64
65**Added**
66
67- Adding support for hapi 17.x.x [\#38](https://github.com/auth0/node-jwks-rsa/pull/38) ([degrammer](https://github.com/degrammer))
68
69**Fixed**
70
71- Fixing wrong error message [\#41](https://github.com/auth0/node-jwks-rsa/pull/41) ([adematte](https://github.com/adematte))
72
73## [1.2.1] - 2017-10-19
74
75### Changed
76
77- Fixed TypeScript definition
78
79## [1.2.0] - 2017-06-27
80
81### Added
82
83- Koa integration
84
85### Changed
86
87- `ms` updated to v2.0.0