Skip to content

chore(deps): update dependency jwt to v3 - #71

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/jwt-3.x
Open

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/jwt-3.x

Conversation

@renovate

@renovate renovate Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
jwt (changelog) "~> 2.8" → "~> 3.0" age confidence

Release Notes

jwt/ruby-jwt (jwt)

v3.3.2

Compare Source

Fixes and enhancements
  • Do not mark the claims as verified when reading an unencoded payload (#​809) (953e444), closes #​723
  • raise JWT::ClaimValidationError for a payload that is not a JSON object (#​794) (04e5ecd), closes #​793
  • Reject a missing iss or sub, and raise claim errors instead of crashing in the iss and jti checks (#​808) (d487fca)
  • Reject public keys and certificates as HMAC secrets (d78ddc2)
  • Try the remaining keys when a verification key is of the wrong type or on another EC curve (d78ddc2)

v3.3.1

Compare Source

Full Changelog

Fixes and enhancements:

  • Test that JWT::Claims::Required raises JWT::MissingRequiredClaim for a non-Hash payload #​768 (@​renanmpimentel)
  • Ignore unsupported kty values when a JWT::JWK::Set is built from an array #​744 (@​RalphBragg)
  • Redact private JWK material from inspection #​754 - @​OskarEichler
  • Reject tokens with too many segments in JWT::EncodedToken signature verification #​782 (@​anakinj)
  • Raise JWT::MalformedTokenError for a token header that is not a JSON object, including a string header in JWT.decode without verification #​783 (@​anakinj)
  • Do not call the key_finder of JWT::EncodedToken when the token's algorithm is not allowed, so a mismatched alg header no longer verifies with a key finder #​784 (@​anakinj)
  • Accept the RFC 8812 curve name secp256k1 when importing EC JWKs, alongside P-256K #​787 (@​anakinj)
  • Raise JWT::JWKError instead of OpenSSL::PKey::EC::Point::Error for EC JWK coordinates that are not a point on the given curve #​789 (@​anakinj)
  • Raise JWT::MalformedTokenError for a malformed x5c header parameter instead of a raw Ruby exception #​740 - @​arpitjain099.
  • Reject nbf and exp claims that are not finite numbers with JWT::InvalidPayload when decoding, including numeric strings (GHSA-gp6v-qjfx-hrxc)

v3.3.0

Compare Source

Full Changelog

Features:

Fixes and enhancements:

  • Refactor JWT::JWK::Set#initialize so each construction path is a named method #​758 (@​anakinj)
  • Fix rejection of unknown algorithms from JWKs for RFC compliance and pquip #​728
  • Fix the Style/DirectiveScope RuboCop offense failing the build #​752
  • Fix JWT::JWK::Set sharing its key collection with the set it was copied from #​751
  • Reset the decoded payload and verification state in JWT::EncodedToken#encoded_payload= #​749
  • Fix JWT::Token#detach_payload! not invalidating an already rendered token #​748

v3.2.0

Compare Source

Full Changelog

Features:

  • Add enforce_hmac_key_length configuration option #​716 - (@​304)

Fixes and enhancements:

v3.1.2

Compare Source

Full Changelog

Fixes and enhancements:

  • Avoid using the same digest across calls in JWT::JWA::Ecdsa and JWT::JWA::Rsa #​697
  • Fix signing with a EC JWK #​699 (@​anakinj)

v3.1.1

Compare Source

Full Changelog

Fixes and enhancements:

  • Require the algorithm to be provided when signing and verifying tokens using JWKs #​695 (@​anakinj)

v3.1.0

Compare Source

Full Changelog

Features:

  • Add support for x5t header parameter for X.509 certificate thumbprint verification #​669 (@​hieuk09)
  • Raise an error if the ECDSA signing or verification key is not an instance of OpenSSL::PKey::EC #​688 (@​anakinj)
  • Allow OpenSSL::PKey::EC::Point to be used as the verification key in ECDSA #​689 (@​anakinj)
  • Require claims to have been verified before accessing the JWT::EncodedToken#payload #​690 (@​anakinj)
  • Support signing and verifying tokens using a JWK #​692 (@​anakinj)

v3.0.0

Compare Source

Full Changelog

Breaking changes:

Take a look at the upgrade guide for more details.

Features:

Fixes and enhancements:


Configuration

📅 Schedule: (UTC)

  • 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 was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/jwt-3.x branch from 7f3c526 to 0e57274 Compare November 24, 2026 22:43
@renovate
renovate Bot force-pushed the renovate/jwt-3.x branch from 0e57274 to e108567 Compare November 28, 2026 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

0 participants