---
title: "org.mockito:mockito-inline 5.0.0 Breaking Changes"
description: "What each org.mockito:mockito-inline release removed, renamed or changed: 4 breaking changes in 1 version on Maven Central, each with its source."
canonical_url: https://since.dev/packages/maven/org.mockito:mockito-inline
last_updated: 2026-12-04
---

# org.mockito:mockito-inline breaking changes

org.mockito:mockito-inline 5.0.0 (January 14, 2023) is its newest release with breaking changes, 4 of them. The first: Behavior changed ArgumentMatcher. Every breaking API change we have recorded in org.mockito:mockito-inline on Maven Central: 4 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 `5.2.0`, released March 9, 2023. [Source repository](https://github.com/mockito/mockito)

Its 5.0.0 release requires [Java 11](https://since.dev/calendar/eclipse-temurin/11.md) or later. [Java end of life dates](https://since.dev/calendar/eclipse-temurin.md).

## org.mockito:mockito-inline 5.0.0 breaking changes

org.mockito:mockito-inline 5.0.0, released January 14, 2023: 4 breaking changes.

- **Behavior changed** `ArgumentMatcher`  

Matchers such as any() passed to a varargs parameter now match a single argument; use any(String\[\].class) to match any number of arguments. [github.com](https://github.com/mockito/mockito/releases/tag/v5.0.0)
- **Behavior changed** `VarargMatcher`  

The any() matcher, argument captors and MockitoHamcrest matchers passed to a varargs parameter now match a single value; to match any number of values, pass the varargs array type such as any(String\[\].class). [github.com](https://github.com/mockito/mockito/commit/064fe9028993a11ccf0ae12b5975b96baffcf305)
- **Default changed**  

The default mockmaker is now the inline mockmaker from mockito-inline. Users who need the old subclass mockmaker should add the new mockito-subclass artifact. [github.com](https://github.com/mockito/mockito/releases/tag/v5.0.0)
- **Configuration changed**  

Mockito 5 requires Java 11 or newer. Users on JDK 8 must stay on Mockito 4. [github.com](https://github.com/mockito/mockito/releases/tag/v5.0.0)

## Related packages

- [org.mockito:mockito-core](https://since.dev/packages/maven/org.mockito:mockito-core.md)
- [org.mockito:mockito-junit-jupiter](https://since.dev/packages/maven/org.mockito:mockito-junit-jupiter.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.
