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

fix(deps): update module github.com/micahparks/keyfunc/v2 to v3 #262

Merged
merged 2 commits into from
Apr 5, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 4, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/MicahParks/keyfunc/v2 v2.1.0 -> v3.3.2 age adoption passing confidence

Release Notes

MicahParks/keyfunc (github.com/MicahParks/keyfunc/v2)

v3.3.2: Allow for user provided ctx during parse

Compare Source

The purpose of this release is to add a new method, .KeyfuncCtx.

This new method accepts a context.Context, then returns a jwt.Keyfunc. This user provided context.Context is used during JWK lookup in the github.com/MicahParks/jwkset package when parsing JWTs. Passing a request scoped context allows the JWT parsing and JWK retrieval to cancel according to the given context.Context behavior instead of the default context.Context, which was provided at keyfunc.Keyfunc initialization.

In practice, this is used to prevent situations where many JWTs with kid not in a remote JWK Set are attempting to be parsed over a long period of time.

Relevant issues:

Relevant pull requests:

v3.3.1

Compare Source

v3.3.0

Compare Source

v3.2.9

Compare Source

v3.2.8

Compare Source

v3.2.7

Compare Source

v3.2.6

Compare Source

v3.2.5

Compare Source

v3.2.4

Compare Source

v3.2.3: Wrap errors where appropriate

Compare Source

The purpose of this pull request is to wrap errors with errors.Join where appropriate.

Relevant issues:

Relevant pull requests:

v3.1.2: X.509 Thumbprint bug fix

Compare Source

JWK Sets have two X.509 thumbprint parameters that are optional. A bug in github.com/MicahParks/jwkset made these parameters required in circumstances that affect the keyfunc project. This release updates this dependency to the latest version.

Thank you, @​joshkaplinsky, for reporting this bug!

Please see the below release for details:
https://github.com/MicahParks/jwkset/releases/tag/v0.5.5

v3.1.1

Compare Source

v3.1.0

Compare Source

v3.0.0: V3 simplify API by using github.com/MicahParks/jwkset

Compare Source

This upgrade removes most of the code in this repository and outsources JWK and JWK Set related code to the updated github.com/MicahParks/jwkset package. The exported assets from the keyfunc project has been vastly reduced as well, with the intention of making it easier to use for the majority of use cases.

[!NOTE]
A superset of features from V1 and V2 is available.


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 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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested review from a team as code owners March 4, 2024 19:11
@renovate renovate bot force-pushed the renovate/github.aaakk.us.kg-micahparks-keyfunc-v2-3.x branch 4 times, most recently from 168ce97 to dc8c789 Compare March 12, 2024 02:37
@renovate renovate bot force-pushed the renovate/github.aaakk.us.kg-micahparks-keyfunc-v2-3.x branch from dc8c789 to bf0bd96 Compare March 25, 2024 14:39
@renovate renovate bot force-pushed the renovate/github.aaakk.us.kg-micahparks-keyfunc-v2-3.x branch from bf0bd96 to 85005d4 Compare April 5, 2024 01:48
Signed-off-by: Mike Mason <[email protected]>
Copy link
Contributor Author

renovate bot commented Apr 5, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

mikemrm
mikemrm previously approved these changes Apr 5, 2024
@mikemrm mikemrm dismissed their stale review April 5, 2024 03:33

my own pr 😅

@mikemrm mikemrm merged commit dd677cd into main Apr 5, 2024
22 checks passed
@mikemrm mikemrm deleted the renovate/github.aaakk.us.kg-micahparks-keyfunc-v2-3.x branch April 5, 2024 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants