Releases: jwt/ruby-jwt
Releases · jwt/ruby-jwt
jwt-3.0.0.beta1
v3.0.0-beta1 (2025-01-25)
Breaking changes:
- Require token signature to be verified before accessing payload #648 (@anakinj)
- Drop support for the HS512256 algorithm #650 (@anakinj)
- Remove deprecated claim verification methods #654 (@anakinj)
- Remove dependency to rbnacl #655 (@anakinj)
- Support only stricter base64 decoding (RFC 4648) #658 (@anakinj)
- Custom algorithms are required to include
JWT::JWA::SigningAlgorithm
#660 (@anakinj) - Require RSA keys to be at least 2048 bits #661 (@anakinj)
- Base64 encode and decode the k value for HMAC JWKs #662 (@anakinj)
Take a look at the upgrade guide for more details.
Features:
- JWT::EncodedToken#verify! method that bundles signature and claim validation #647 (@anakinj)
- Do not override the alg header if already given #659 (@anakinj)
- Make
JWK::KeyFinder
compatible withJWT::EncodedToken
#663 (@anakinj)
Fixes and enhancements:
jwt-2.10.1
v2.10.1 (2024-12-26)
Fixes and enhancements:
jwt-2.10.0
v2.10.0 (2024-12-25)
Features:
- JWT::Token and JWT::EncodedToken for signing and verifying tokens #621 (@anakinj)
- Detached payload support for JWT::Token and JWT::EncodedToken #630 (@anakinj)
- Skip decoding payload if b64 header is present and false #631 (@anakinj)
- Remove a few custom Rubocop configs #638 (@anakinj)
Fixes and enhancements:
- Deprecation warnings for deprecated methods and classes #629 (@anakinj)
- Improved documentation for public apis #629 (@anakinj)
- Use correct methods when raising error during signing/verification with EdDSA #633
- Fix JWT::EncodedToken behavior with empty string as token #640 (@ragalie)
- Deprecation warnings for rbnacl backed functionality #641 (@anakinj)
jwt-2.9.3
jwt-2.9.2
jwt-2.9.1
jwt-2.9.0
Features:
Fixes and enhancements:
jwt-2.8.2
jwt-2.8.1
jwt-2.8.0
Features:
- Updated rubocop to 1.56 #573 (@anakinj)
- Run CI on Ruby 3.3 #577 (@anakinj)
- Deprecation warning added for the HMAC algorithm HS512256 (HMAC-SHA-512 truncated to 256-bits) #575 (@anakinj)
- Stop using RbNaCl for standard HMAC algorithms #575 (@anakinj)
Fixes and enhancements:
- Fix signature has expired error if payload is a string #555 (@GobinathAL)
- Fix key base equality and spaceship operators #569 (@magneland)
- Remove explicit base64 require from x5c_key_finder #580 (@anakinj)
- Performance improvements and cleanup of tests #581 (@anakinj)
- Repair EC x/y coordinates when importing JWK #585 (@julik)
- Explicit dependency to the base64 gem #582 (@anakinj)
- Deprecation warning for decoding content not compliant with RFC 4648 #582 (@anakinj)
- Algorithms moved under the
::JWT::JWA
module (@anakinj)