Skip to content

Commit

Permalink
List of deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
anakinj committed Oct 2, 2024
1 parent 8cc1fce commit 2d728d0
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog

### Deprecations

Significant changes in the upcoming version **3.0**:

- Support for the nonstandard SHA512256 algorithm will be removed.
- Support for Ed25519 will be moved to a [separate gem](https://github.com/anakinj/jwt-eddsa) for better dependency handling.
- Base64 decoding will no longer fallback on the looser RFC 2045.
- The `::JWT::ClaimsValidator` class will be removed in favor of the functionality provided by `::JWT::Claims`.
- The `::JWT::Claims::verify!` method will be removed in favor of `::JWT::Claims::verify_payload!`.
- The `::JWT::JWA.create` method will be removed. No recommended alternatives.
- The `::JWT::Verify` class will be removed in favor of the functionality provided by `::JWT::Claims`.
- Calling `::JWT::Claims::Numeric.new` with a payload will be removed in favor of `::JWT::Claims::verify_payload!(payload, :numeric)`
- Calling `::JWT::Claims::Numeric.verify!` with a payload will be removed in favor of `::JWT::Claims::verify_payload!(payload, :numeric)`
- The `sign` and `verify` static methods on all the algorithms (`::JWT::JWA`) will be removed.

## [v2.9.2](https://github.com/jwt/ruby-jwt/tree/v2.9.2) (NEXT)

[Full Changelog](https://github.com/jwt/ruby-jwt/compare/v2.9.1...main)
Expand Down

0 comments on commit 2d728d0

Please sign in to comment.