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

follow jwt 2.9.0 changes #464

Merged
merged 2 commits into from
Sep 16, 2024
Merged

follow jwt 2.9.0 changes #464

merged 2 commits into from
Sep 16, 2024

Conversation

nov
Copy link
Contributor

@nov nov commented Sep 16, 2024

fixes #463

  • JWT::Verify.verify_claims -> JWT::Claims.verify!
  • enforce JWT 2.9.0+

@zquestz
Copy link
Owner

zquestz commented Sep 16, 2024

Don't mind this change, but we will need to bump a minor version and cut this as version 1.2.

This bumps our Ruby dependency from >= 2.2 to >= 2.5.

Many people who use this software will not be able to do this change.

That being said, keeping current is important.

We should also bump the Ruby requirement in the Gemfile.

@nov
Copy link
Contributor Author

nov commented Sep 16, 2024

do you want me to update the version too?

@nov
Copy link
Contributor Author

nov commented Sep 16, 2024

OK, updated gem & ruby versions.

@zquestz
Copy link
Owner

zquestz commented Sep 16, 2024

This looks legit, lets merge and I will focus on any other minor changes and push a release. =)

@zquestz zquestz merged commit 405db19 into zquestz:master Sep 16, 2024
@zquestz
Copy link
Owner

zquestz commented Sep 16, 2024

New release is out. =)

nevans added a commit to nevans/omniauth-google-oauth2 that referenced this pull request Oct 3, 2024
This is a continuation of zquestz#464, which fixed backward compatibility with
jwt v2.9.0 and v2.9.1.  v2.9.2 brought back the removed APIs, for
backward compatibility, but marked them as internal only and/or
deprecated.

For context, see the discussion here:
* jwt/ruby-jwt#623
* jwt/ruby-jwt#626
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.

JWT::Verify is gone in ruby-jwt v2.9.0
2 participants