Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency openid-client to v6 #9041

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 16, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
openid-client 5.6.5 -> 6.1.7 age adoption passing confidence

Release Notes

panva/openid-client (openid-client)

v6.1.7

Compare Source

Refactor
  • types: move customFetch options into its own interface (57d8355)

v6.1.6

Compare Source

Fixes
  • handle scope, prompt, and passReqToCallback from generic passport types (cc92a36), closes #​735

v6.1.5

Compare Source

Fixes
  • passport: fix currentUrl when using express.Router (3b2d570), closes #​733

v6.1.4

Compare Source

Documentation
  • resolve discovery customFetch jsdoc mentioning timeout (5f4cd1b)

v6.1.3

Compare Source

Documentation
  • remove note from issuer transformation algorithm (5fda2cb)
Fixes
  • deal with discovery issues from b2clogin.com (b9a4f2f), closes #​718

v6.1.2

Compare Source

Refactor
  • rename the parameters positional argument in authorizationCodeGrant() (c79ccc5), closes #​712
Documentation
  • document behaviour of customFetch on discovery (072da62)
  • update Strategy.prototype.currentUrl JSDoc (46ea086), closes #​714

v6.1.1

Compare Source

Documentation
  • update link to passport example (110575b)
Fixes

v6.1.0

Compare Source

Features
  • add a server metadata helper for checking PKCE support (ca34a91)
  • add JWKS Cache management for use in non-persistent runtimes (cda4b53)

v6.0.0

Compare Source

⚠ BREAKING CHANGES
  • openid-client v6.x is a complete rewrite of the openid-client module, this is the first time since 0.1.0 (8 years ago) that the API has drastically changed. The new module structure and API focuses on three core principles:
  • runtime compatibility (adding support for Deno, Cloudflare Workers, Bun, and other Web API interoperable runtimes)
  • tree-shakeability (bundles should not contain features that don't end up being used)
  • less options (removing support for processing deprecated response types, cutting down on the number of combinations that need to handled)

To that end openid-client@6 no longer supports the full cartesian matrix of response types and response modes, it no longer supports issuing encrypted assertions, decrypting assertions is limited to only a few algorithms, it no longer supports Dynamic Client Registration or Management, and Self-Issued OpenID Provider responses are also not supported.

The new API makes basic setups simple while allowing some degree of complexity where needed.

openid-client@6 is an ESM module using ES2022 syntax and it depends on WebCryptoAPI and Fetch API globals being available in the JS runtime.

openid-client@6 is written in TypeScript and its exported types come with comment annotations.

(Node.js) Versions 20.x and newer have all the necessary globals.

(Node.js) CJS style let client = require('openid-client') is possible in versions where process.features.require_module is true. This is a new Node.js feature slated to be released without a CLI flag in 23.x and 22.x

Documentation
Refactor

v5.7.1

Compare Source

Refactor
  • jwt client authentication audience is now an issuer identifier string (0b05217)

Note: If needed this can be reverted using the extras.clientAssertionPayload option.

v5.7.0

Compare Source

Features
Fixes
  • include DPoP Proof "htm" in requestResource if GET is defaulted to (23f7b49)

Configuration

📅 Schedule: Branch creation - "after 10pm every weekday,every weekend,before 5am every weekday" in timezone Europe/Paris, Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR becomes conflicted, 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 added the dependencies use for pull requests that update a dependency file label Nov 16, 2024
Copy link
Contributor Author

renovate bot commented Nov 16, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: opencti-platform/opencti-graphql/yarn.lock
➤ YN0000: · Yarn 4.6.0
➤ YN0000: ┌ Resolution step
➤ YN0085: │ + openid-client@patch:openid-client@npm%3A6.1.7#./patch/openid-client-5.6.5.patch::version=6.1.7&hash=dbea69&locator=opencti-graphql%40workspace%3A., and 2 more.
➤ YN0085: │ - lru-cache@npm:6.0.0, object-hash@npm:2.2.0, oidc-token-hash@npm:5.0.3, openid-client@npm:5.6.5, and 1 more.
➤ YN0000: └ Completed in 0s 887ms
➤ YN0000: ┌ Post-resolution validation
➤ YN0002: │ opencti-graphql@workspace:. doesn't provide webpack (pa805c), requested by ts-loader.
➤ YN0086: │ Some peer dependencies are incorrectly met by your project; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code.
➤ YN0086: │ Some peer dependencies are incorrectly met by dependencies; run yarn explain peer-requirements for details.
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0001: │ Error: openid-client@patch:openid-client@npm%3A6.1.7#./patch/openid-client-5.6.5.patch::version=6.1.7&hash=dbea69&locator=opencti-graphql%40workspace%3A.: ENOENT: no such file or directory, lstat '/node_modules/openid-client/lib/passport_strategy.js'
    at Ll (/tmp/renovate/repos/github/OpenCTI-Platform/opencti/opencti-platform/opencti-graphql/.yarn/releases/yarn-4.6.0.cjs:4:1321)
    at Object.Z3e (/tmp/renovate/repos/github/OpenCTI-Platform/opencti/opencti-platform/opencti-graphql/.yarn/releases/yarn-4.6.0.cjs:4:1589)
    at Zi.resolveFilename (/tmp/renovate/repos/github/OpenCTI-Platform/opencti/opencti-platform/opencti-graphql/.yarn/releases/yarn-4.6.0.cjs:149:204212)
    at Zi.lstatSync (/tmp/renovate/repos/github/OpenCTI-Platform/opencti/opencti-platform/opencti-graphql/.yarn/releases/yarn-4.6.0.cjs:149:201052)
    at Zi.lstatPromise (/tmp/renovate/repos/github/OpenCTI-Platform/opencti/opencti-platform/opencti-graphql/.yarn/releases/yarn-4.6.0.cjs:149:200983)
    at En.lstatPromise (/tmp/renovate/repos/github/OpenCTI-Platform/opencti/opencti-platform/opencti-graphql/.yarn/releases/yarn-4.6.0.cjs:9:2311)
    at lI (/tmp/renovate/repos/github/OpenCTI-Platform/opencti/opencti-platform/opencti-graphql/.yarn/releases/yarn-4.6.0.cjs:713:8923)
    at QF (/tmp/renovate/repos/github/OpenCTI-Platform/opencti/opencti-platform/opencti-graphql/.yarn/releases/yarn-4.6.0.cjs:715:224)
    at nD.patchPackage (/tmp/renovate/repos/github/OpenCTI-Platform/opencti/opencti-platform/opencti-graphql/.yarn/releases/yarn-4.6.0.cjs:719:2073)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
➤ YN0000: └ Completed in 0s 221ms
➤ YN0000: · Failed with errors in 1s 144ms

@renovate renovate bot added the filigran team use to identify PR from the Filigran team label Nov 16, 2024
@renovate renovate bot force-pushed the renovate/openid-client-6.x branch 5 times, most recently from 7d00642 to 366cad2 Compare November 28, 2024 13:07
@renovate renovate bot force-pushed the renovate/openid-client-6.x branch from 366cad2 to fc1ceaa Compare December 2, 2024 20:17
@renovate renovate bot force-pushed the renovate/openid-client-6.x branch from fc1ceaa to 5928ebc Compare December 16, 2024 23:36
@renovate renovate bot force-pushed the renovate/openid-client-6.x branch from 5928ebc to 716b43e Compare January 7, 2025 21:11
@richard-julien richard-julien force-pushed the master branch 5 times, most recently from b414944 to c7f4cb7 Compare January 13, 2025 09:27
@renovate renovate bot force-pushed the renovate/openid-client-6.x branch from 716b43e to 8c4479a Compare January 31, 2025 22:56
@renovate renovate bot force-pushed the renovate/openid-client-6.x branch from 8c4479a to fd6e5e6 Compare February 5, 2025 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies use for pull requests that update a dependency file filigran team use to identify PR from the Filigran team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants