jwt breaking changes
jwt 3.0.0 (June 14, 2025) is its newest release with breaking changes, 8 of them. The first: Removes deprecated claim verification methods in jwt 3.0.0. Every breaking API change we have recorded in jwt on RubyGems: 13 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 3.3.2, released November 28, 2026. Source repository
Packages on RubyGems run on Ruby. Ruby end of life dates.
jwt 3.0.0 breaking changes
- Removed
Previously deprecated claim verification methods have been removed. Use the current claim verification options instead. github.com - Removed
HS512256
The HS512256 signing algorithm is no longer supported. Switch tokens to another algorithm. github.com - Behavior changed
Payload data can no longer be read before the signature is verified. Verify the token signature first in code that reads claims. github.com - Behavior changed
The k value for HMAC JWKs is now base64 encoded and decoded. Existing HMAC JWKs may need their k values regenerated. github.com - Behavior changed
Base64 decoding now accepts only the stricter RFC 4648 form. Tokens relying on lenient decoding may now be rejected. github.com - Behavior changed
Smaller RSA keys are rejected. Use keys of at least 2048 bits. github.com - Behavior changed
JWT.JWA.SigningAlgorithm
Custom signing algorithms must include the JWT::JWA::SigningAlgorithm module to keep working. github.com - Configuration changed
The package no longer depends on rbnacl. Code relying on rbnacl being loaded through this package must add it directly. github.com
jwt 2.0.0 breaking changes
- Behavior changed
Tokens whose exp claim is not an Integer are now rejected. Code that issues or reads such tokens must be updated. github.com - Behavior changed
Expiration validation is skipped when the payload is an array. Code depending on exp checks for array payloads must validate it another way. github.com - Default changed
The default leeway is now 0 instead of the previous default. Code relying on the old default leeway must set it explicitly. github.com
jwt 2.0.0.beta1 breaking changes
- Removed
typ
The optional 'typ' parameter was removed from the encode API. Code that passes it must stop doing so. github.com - Signature changed
Signature verification now requires the algorithm option. Code that verifies without specifying an algorithm must pass one. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.