---
title: "jwt 3.0.0 Breaking Changes on RubyGems | Since.dev"
description: "What each jwt release removed, renamed or changed: 13 breaking changes in 3 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/jwt
last_updated: 2026-12-04
---

# 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

Latest version `3.3.2`, released November 28, 2026. [Source repository](https://github.com/jwt/ruby-jwt)

Packages on RubyGems run on Ruby. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [2.0.0](#v-2-0-0) to [3.0.0](#v-3-0-0): 8 breaking changes in 1 version.

## jwt 3.0.0 breaking changes

jwt 3.0.0, released June 14, 2025: 8 breaking changes.

- **Removed**  

Previously deprecated claim verification methods have been removed. Use the current claim verification options instead. [github.com](https://github.com/jwt/ruby-jwt/blob/v3.0.0/CHANGELOG.md)
- **Removed** `HS512256`  

The HS512256 signing algorithm is no longer supported. Switch tokens to another algorithm. [github.com](https://github.com/jwt/ruby-jwt/blob/v3.0.0/CHANGELOG.md)
- **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](https://github.com/jwt/ruby-jwt/blob/v3.0.0/CHANGELOG.md)
- **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](https://github.com/jwt/ruby-jwt/blob/v3.0.0/CHANGELOG.md)
- **Behavior changed**  

Base64 decoding now accepts only the stricter RFC 4648 form. Tokens relying on lenient decoding may now be rejected. [github.com](https://github.com/jwt/ruby-jwt/blob/v3.0.0/CHANGELOG.md)
- **Behavior changed**  

Smaller RSA keys are rejected. Use keys of at least 2048 bits. [github.com](https://github.com/jwt/ruby-jwt/blob/v3.0.0/CHANGELOG.md)
- **Behavior changed** `JWT.JWA.SigningAlgorithm`  

Custom signing algorithms must include the JWT::JWA::SigningAlgorithm module to keep working. [github.com](https://github.com/jwt/ruby-jwt/blob/v3.0.0/CHANGELOG.md)
- **Configuration changed**  

The package no longer depends on rbnacl. Code relying on rbnacl being loaded through this package must add it directly. [github.com](https://github.com/jwt/ruby-jwt/blob/v3.0.0/CHANGELOG.md)

## jwt 2.0.0 breaking changes

jwt 2.0.0, released September 3, 2017: 3 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](https://github.com/jwt/ruby-jwt/blob/v2.0.0/CHANGELOG.md)
- **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](https://github.com/jwt/ruby-jwt/blob/v2.0.0/CHANGELOG.md)
- **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](https://github.com/jwt/ruby-jwt/blob/v2.0.0/CHANGELOG.md)

## jwt 2.0.0.beta1 breaking changes

jwt 2.0.0.beta1, released September 3, 2017: 2 breaking changes.

- **Removed** `typ`  

The optional 'typ' parameter was removed from the encode API. Code that passes it must stop doing so. [github.com](https://github.com/jwt/ruby-jwt/blob/v2.0.0/CHANGELOG.md)
- **Signature changed**  

Signature verification now requires the algorithm option. Code that verifies without specifying an algorithm must pass one. [github.com](https://github.com/jwt/ruby-jwt/blob/v2.0.0/CHANGELOG.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
