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

chore: upgrade Go version to 1.21 and update modules #192

Merged
merged 4 commits into from
Jun 25, 2024

Conversation

MatsuoTakuro
Copy link
Collaborator

@MatsuoTakuro MatsuoTakuro commented Jun 19, 2024

This PR includes a breaking change for supported jwt claims and errors according to golang-jwt's Migration Guide (v5.0.0)

  • Only support a custom claims that implements a new Claims interface. StandardClaims struct doesn't implement it and has been already removed now in v5. Instead, you can embed RegisteredClaims struct into your custom claims.
  • Define new ErrJWTokenInvalid and ErrJWTokenExpired sentinel errors that are underlying an error returned by helper.DecodeJWT(). These errors wraps original joined errors provided by golang-jwt.

but, it includes some breaking changes for supported jwt claims and errors
@tanvir-retailai tanvir-retailai merged commit 51f0fc6 into develop Jun 25, 2024
1 check passed
@tanvir-retailai tanvir-retailai deleted the chore/upgrade-modules-go1.21 branch June 25, 2024 00:29
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.

3 participants