You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4-9Lines changed: 4 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -15,25 +15,20 @@ Notable changes in the upcoming **version 3.0**:
15
15
- The `::JWT::Claims::verify!` method will be removed in favor of `::JWT::Claims::verify_payload!`.
16
16
- The `::JWT::JWA.create` method will be removed. No recommended alternatives.
17
17
- The `::JWT::Verify` class will be removed in favor of the functionality provided by `::JWT::Claims`.
18
-
- Calling `::JWT::Claims::Numeric.new` with a payload will be removed in favor of `::JWT::Claims::verify_payload!(payload, :numeric)`
19
-
- Calling `::JWT::Claims::Numeric.verify!` with a payload will be removed in favor of `::JWT::Claims::verify_payload!(payload, :numeric)`
18
+
- Calling `::JWT::Claims::Numeric.new` with a payload will be removed in favor of `::JWT::Claims::verify_payload!(payload, :numeric)`.
19
+
- Calling `::JWT::Claims::Numeric.verify!` with a payload will be removed in favor of `::JWT::Claims::verify_payload!(payload, :numeric)`.
20
20
21
21
- The internal algorithms were [restructured](https://github.com/jwt/ruby-jwt/pull/607) to support extensions from separate libraries. The changes lead to a few deprecations and new requirements:
22
22
- The `sign` and `verify` static methods on all the algorithms (`::JWT::JWA`) will be removed.
23
23
- Custom algorithms are expected to include the `JWT::JWA::SigningAlgorithm` module.
- Return truthy value for `::JWT::ClaimsValidator#validate!` and `::JWT::Verify.verify_claims`[#628](https://github.com/jwt/ruby-jwt/pull/628) ([@anakinj](https://github.com/anakinj))
0 commit comments