Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jul 19, 2023

This PR contains the following updates:

Package Change Age Confidence
jwks-rsa 1.12.3 -> 3.2.0 age confidence

Release Notes

auth0/node-jwks-rsa (jwks-rsa)

v3.2.0

Compare Source

Full Changelog

Changed

Fixed

v3.1.0

Compare Source

Full Changelog

Changed

Fixed

v3.0.1

Compare Source

Full Changelog

Added

v3.0.0

Compare Source

Full Changelog

Fixed

v2.1.5

Compare Source

Full Changelog

⚠️ BREAKING CHANGES

This release drops support for Node 10 and 12

v2.1.4

Compare Source

Full Changelog

Fixed

v2.1.3

Compare Source

Full Changelog

Fixed

v2.1.2

Compare Source

Full Changelog

Fixed

v2.1.1

Compare Source

Full Changelog

Fixed

v2.1.0

Compare Source

Full Changelog

Fixed

v2.0.5

Compare Source

Full Changelog

Added

Fixed

  • fix(type): correct the wrong type of the getSigningKey function arg… #​289 (stegano)

v2.0.4

Compare Source

Full Changelog

Fixed

v2.0.3

Compare Source

Fixed

Security

v2.0.2

Compare Source

Fixed

v2.0.1

Compare Source

Added

Fixed

v2.0.0

Compare Source

With version 2 we have added full JWK/JWS support. With this we have bumped the node version to minimum 10. We have also removed Axios and exposed a fetcher option to allow user's to completely override how the request to the jwksUri endpoint is made.

Breaking Changes
  • Drops support for Node < 10
  • No more callbacks, using async/await(promises)
  • Removed Axios and changed the API to JwksClient
Changes

Added

Changed

Migration Guide from v1 to v2
Proxies

The proxy option has been removed from the JwksClient. Support for it was a little spotty through Axios, and we wanted to allow users to have more control over the flow. Now you can specify your proxy by overriding the requestAgent used with an agent with built-in proxy support, or by completely overriding the request library with the fetcher option.

// OLD
const oldClient = jwksClient({
  jwksUri: 'https://sandrino.auth0.com/.well-known/jwks.json',
  proxy: 'https://username:pass@address:port'
});

// NEW
const HttpsProxyAgent = require('https-proxy-agent');
const newClient = jwksClient({
  jwksUri: 'https://sandrino.auth0.com/.well-known/jwks.json',
  requestAgent: new HttpsProxyAgent('https://username:pass@address:port')
});
Request Agent Options

The library no longer gates what http(s) Agent is used, so we have removed requestAgentOptions and now expose the requestAgent option when creating a jwksClient.

// OLD
const oldClient = jwksClient({
  jwksUri: 'https://sandrino.auth0.com/.well-known/jwks.json',
  requestAgentOptions: {
    ca: fs.readFileSync(caFile)
  }
});

// NEW
const newClient = jwksClient({
  jwksUri: 'https://sandrino.auth0.com/.well-known/jwks.json',
  requestAgent: new https.Agent({
    ca: fs.readFileSync(caFile)
  })
});
Migrated Callbacks to Async/Await

The library no longer supports callbacks. We have migrated to async/await(promises).

// OLD
client.getSigningKey(kid, (err, key) => {
  const signingKey = key.getPublicKey();
});

// NEW
const key = await client.getSigningKey(kid);
const signingKey = key.getPublicKey();

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner July 19, 2023 03:13
@renovate renovate bot requested review from Herraj and efixler and removed request for a team July 19, 2023 03:13
@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jul 19, 2023
@renovate renovate bot force-pushed the renovate/jwks-rsa-3.x branch 10 times, most recently from 7d41ff3 to dced019 Compare July 25, 2023 03:56
@renovate renovate bot force-pushed the renovate/jwks-rsa-3.x branch 2 times, most recently from 1d44adb to 43043b0 Compare August 9, 2023 22:30
@renovate renovate bot force-pushed the renovate/jwks-rsa-3.x branch 2 times, most recently from d3c1c89 to e17577b Compare October 6, 2023 18:12
@renovate renovate bot force-pushed the renovate/jwks-rsa-3.x branch 2 times, most recently from 59e1fe9 to 70af2b1 Compare February 22, 2024 00:06
@renovate renovate bot force-pushed the renovate/jwks-rsa-3.x branch 2 times, most recently from e96a5ff to 90c7fd2 Compare April 17, 2024 19:10
@renovate renovate bot force-pushed the renovate/jwks-rsa-3.x branch from 90c7fd2 to bdf286e Compare September 4, 2024 04:28
@renovate renovate bot force-pushed the renovate/jwks-rsa-3.x branch from bdf286e to 9b14590 Compare October 3, 2024 17:28
@renovate renovate bot force-pushed the renovate/jwks-rsa-3.x branch 2 times, most recently from bd4444c to f24b0d0 Compare February 20, 2025 22:20
@renovate renovate bot force-pushed the renovate/jwks-rsa-3.x branch from f24b0d0 to 57bfc20 Compare March 19, 2025 18:03
@renovate renovate bot force-pushed the renovate/jwks-rsa-3.x branch from 57bfc20 to 4732154 Compare April 14, 2025 14:18
@renovate renovate bot force-pushed the renovate/jwks-rsa-3.x branch from 4732154 to bbff25e Compare August 10, 2025 15:41
@renovate renovate bot force-pushed the renovate/jwks-rsa-3.x branch from bbff25e to adc6bfb Compare September 25, 2025 17:11
@renovate renovate bot force-pushed the renovate/jwks-rsa-3.x branch 2 times, most recently from 0ddfa27 to b176bcb Compare October 21, 2025 21:18
@renovate renovate bot force-pushed the renovate/jwks-rsa-3.x branch from b176bcb to 6c50a13 Compare November 10, 2025 23:04
@renovate renovate bot force-pushed the renovate/jwks-rsa-3.x branch from 6c50a13 to 6adc87e Compare November 18, 2025 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant