---
title: "com.auth0:java-jwt 4.0.0 Breaking Changes on Maven Central"
description: "What each com.auth0:java-jwt release removed, renamed or changed: 18 breaking changes in 1 version on Maven Central, each with its source."
canonical_url: https://since.dev/packages/maven/com.auth0:java-jwt
last_updated: 2026-12-04
---

# com.auth0:java-jwt breaking changes

com.auth0:java-jwt 4.0.0 (June 24, 2022) is its newest release with breaking changes, 18 of them. The first: Removed com.auth0.jwt.algorithms.Algorithm.ECDSA256K. Every breaking API change we have recorded in com.auth0:java-jwt on Maven Central: 18 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.6.2`, released October 13, 2026. [Source repository](https://github.com/auth0/java-jwt)

Packages on Maven Central run on Java. [Java end of life dates](https://since.dev/calendar/eclipse-temurin.md).

## com.auth0:java-jwt 4.0.0 breaking changes

com.auth0:java-jwt 4.0.0, released June 24, 2022: 18 breaking changes.

- **Removed** `com.auth0.jwt.algorithms.Algorithm.ECDSA256K`  

ES256K was removed because it is disabled in Java 15 and later. Use a different algorithm. [central.sonatype.com](https://central.sonatype.com/artifact/com.auth0/java-jwt/4.0.0)
- **Removed** `com.auth0.jwt.impl.NullClaim`  

NullClaim was removed. Use Claim#isNull to check whether a claim value is null. [central.sonatype.com](https://central.sonatype.com/artifact/com.auth0/java-jwt/4.0.0)
- **Removed** `com.auth0.jwt.impl.PublicClaims`  

PublicClaims was removed and replaced by RegisteredClaims and HeaderParams. [central.sonatype.com](https://central.sonatype.com/artifact/com.auth0/java-jwt/4.0.0)
- **Removed** `com.auth0.jwt.interfaces.Clock`  

The com.auth0.jwt.interfaces.Clock interface is gone. Pass a java.time.Clock to BaseVerification instead. [central.sonatype.com](https://central.sonatype.com/artifact/com.auth0/java-jwt/4.0.0)
- **Removed** `impl`  

The impl package is no longer exported in module-info.java, so code that depends on it must stop using it. [github.com](https://github.com/auth0/java-jwt/blob/master/MIGRATION%5FGUIDE.md)
- **Behavior changed**  

Date and time claims, including those in lists, maps and headers, are now serialized as seconds since the epoch instead of milliseconds. [github.com](https://github.com/auth0/java-jwt/blob/master/MIGRATION%5FGUIDE.md)
- **Behavior changed** `com.auth0.jwt.interfaces.Claim.isNull`  

isNull now returns true only when the claim is present with a null value. Use isMissing to check for absence. [github.com](https://github.com/auth0/java-jwt/blob/master/MIGRATION%5FGUIDE.md)
- **Behavior changed** `com.auth0.jwt.interfaces.Verification.withAnyOfAudience`  

Verification#withAnyOfAudience no longer has a default implementation, so implementations must supply their own. [github.com](https://github.com/auth0/java-jwt/blob/master/MIGRATION%5FGUIDE.md)
- **Behavior changed** `InvalidClaimException`  

A present claim with a different value now throws IncorrectClaimException, a subclass of InvalidClaimException. Code catching the parent still works. [github.com](https://github.com/auth0/java-jwt/blob/master/MIGRATION%5FGUIDE.md)
- **Behavior changed** `JWTCreator.Builder.withClaim`  

Passing null no longer removes a claim already added to the builder; it adds the claim with a null value. [github.com](https://github.com/auth0/java-jwt/blob/master/MIGRATION%5FGUIDE.md)
- **Behavior changed** `Verification.withClaim`  

Multiple expectations on the same claim are now all validated instead of overriding each other. [github.com](https://github.com/auth0/java-jwt/blob/master/MIGRATION%5FGUIDE.md)
- **Behavior changed** `Verification.withClaimPresence`  

A claim with a null value now counts as present, so validation passes where it used to fail. [github.com](https://github.com/auth0/java-jwt/blob/master/MIGRATION%5FGUIDE.md)
- **Signature changed** `com.auth0.jwt.exceptions.TokenExpiredException.<init>`  

Was TokenExpiredException(String); now TokenExpiredException(String, java.time.Instant). [central.sonatype.com](https://central.sonatype.com/artifact/com.auth0/java-jwt/4.0.0)
- **Signature changed** `com.auth0.jwt.impl.ClaimsHolder`  

Was final class ClaimsHolder; now abstract class ClaimsHolder. [central.sonatype.com](https://central.sonatype.com/artifact/com.auth0/java-jwt/4.0.0)
- **Signature changed** `com.auth0.jwt.impl.ClaimsHolder.<init>`  

Was ClaimsHolder(java.util.Map\<String, Object>); now protected ClaimsHolder(java.util.Map\<String, Object>). [central.sonatype.com](https://central.sonatype.com/artifact/com.auth0/java-jwt/4.0.0)
- **Signature changed** `com.auth0.jwt.impl.PayloadSerializer`  

Was class PayloadSerializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer\<com.auth0.jwt.impl.ClaimsHolder>; now class PayloadSerializer extends com.auth0.jwt.impl.ClaimsSerializer\<com.auth0.jwt.impl.PayloadClaimsHolder>. [central.sonatype.com](https://central.sonatype.com/artifact/com.auth0/java-jwt/4.0.0)
- **Signature changed** `com.auth0.jwt.impl.PayloadSerializer.serialize`  

Was void serialize(com.auth0.jwt.impl.ClaimsHolder, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider); now void serialize(com.auth0.jwt.impl.PayloadClaimsHolder... [central.sonatype.com](https://central.sonatype.com/artifact/com.auth0/java-jwt/4.0.0)
- **Signature changed** `com.auth0.jwt.JWTVerifier.BaseVerification.build`  

Was com.auth0.jwt.JWTVerifier build(com.auth0.jwt.interfaces.Clock); now com.auth0.jwt.JWTVerifier build(java.time.Clock). [central.sonatype.com](https://central.sonatype.com/artifact/com.auth0/java-jwt/4.0.0)

## 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.
