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

# org.testcontainers:testcontainers breaking changes

org.testcontainers:testcontainers 2.0.0 (October 14, 2025) is its newest release with breaking changes, 538 of them. The first: Drops module default constructors in org.testcontainers:testcontainers 2.0.0. Every breaking API change we have recorded in org.testcontainers:testcontainers on Maven Central: 538 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 `2.0.5`, released April 20, 2026. [Source repository](https://github.com/testcontainers/testcontainers-java)

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

## org.testcontainers:testcontainers 2.0.0 breaking changes

org.testcontainers:testcontainers 2.0.0, released October 14, 2025: 538 breaking changes.

- **Removed**  

Modules no longer provide default constructors, so code calling them without arguments must pass the required parameters. [github.com](https://github.com/testcontainers/testcontainers-java/releases/tag/2.0.0)
- **Removed**  

JUnit 4 support is gone in this release, so code that relies on JUnit 4 integration must move to JUnit Jupiter. [github.com](https://github.com/testcontainers/testcontainers-java/releases/tag/2.0.0)
- **Removed** `NginxContainer`  

NginxContainer no longer implements LinkableContainer, so code relying on that type must change. [github.com](https://github.com/testcontainers/testcontainers-java/releases/tag/2.0.0)
- **Removed** `org.testcontainers.neo4j.Neo4jContainer.withEnterpriseEdition`  

The method was removed, so code calling it will no longer compile. [github.com](https://github.com/testcontainers/testcontainers-java/releases/tag/2.0.0)
- **Renamed**  

Container classes now live under org.testcontainers.\<module-name>, so imports must be updated. [github.com](https://github.com/testcontainers/testcontainers-java/releases/tag/2.0.0)
- **Renamed** `CassandraDatabaseDelegate`  

The class moved to a new package, so imports must be updated. [github.com](https://github.com/testcontainers/testcontainers-java/releases/tag/2.0.0)
- **Renamed** `CassandraQueryWaitStrategy`  

The class moved to a new package, so imports must be updated. [github.com](https://github.com/testcontainers/testcontainers-java/releases/tag/2.0.0)
- **Renamed** `org.testcontainers:mysql`  

Module artifact IDs gained a testcontainers- prefix, so dependency coordinates must be updated. [github.com](https://github.com/testcontainers/testcontainers-java/releases/tag/2.0.0)
- **Behavior changed** `org.testcontainers.mariadb.MariaDBContainer`  

MariaDBContainer no longer copies the default configuration, so setups relying on it must configure explicitly. [github.com](https://github.com/testcontainers/testcontainers-java/releases/tag/2.0.0)
- **Behavior changed** `org.testcontainers.mysql.MySQLContainer`  

MySQLContainer no longer copies the default configuration, so setups relying on it must configure explicitly. [github.com](https://github.com/testcontainers/testcontainers-java/releases/tag/2.0.0)
- **Signature changed** `Neo4jContainer`  

Neo4jContainer became a generic type, so code referencing it raw or with old type usage must be updated. [github.com](https://github.com/testcontainers/testcontainers-java/releases/tag/2.0.0)
- **Signature changed** `org.testcontainers.containers.ComposeContainer`  

Was class ComposeContainer extends org.testcontainers.containers.FailureDetectingExternalResource implements org.testcontainers.lifecycle.Startable; now class ComposeContainer implements org.testcontainers.lifecycle.Startable. [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.containers.DockerComposeContainer`  

Was class DockerComposeContainer\<SELF extends org.testcontainers.containers.DockerComposeContainer\<SELF>> extends org.testcontainers.containers.FailureDetectingExternalResource implements org.testcontainers.lifecycle.Startable; now class... [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.containers.GenericContainer`  

Was class GenericContainer\<SELF extends org.testcontainers.containers.GenericContainer\<SELF>> extends org.testcontainers.containers.FailureDetectingExternalResource implements org.testcontainers.containers.Container\<SELF>, AutoCloseable... [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.containers.Network`  

Was interface Network extends AutoCloseable, org.junit.rules.TestRule; now interface Network extends AutoCloseable. [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.containers.Network.NetworkImpl`  

Was static class NetworkImpl extends org.junit.rules.ExternalResource implements org.testcontainers.containers.Network; now static class NetworkImpl implements org.testcontainers.containers.Network. [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.base.GeneratorBase.writeArrayFieldStart`  

Was final void writeArrayFieldStart(String); now void writeArrayFieldStart(String). [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.base.GeneratorBase.writeBinaryField`  

Was final void writeBinaryField(String, byte\[\]); now void writeBinaryField(String, byte\[\]). [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.base.GeneratorBase.writeBooleanField`  

Was final void writeBooleanField(String, boolean); now void writeBooleanField(String, boolean). [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.base.GeneratorBase.writeNullField`  

Was final void writeNullField(String); now void writeNullField(String). [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.base.GeneratorBase.writeNumberField`  

Was final void writeNumberField(String, double) final void writeNumberField(String, float) final void writeNumberField(String, int) final void writeNumberField(String, java.math.BigDecimal) final void writeNumberField(String, long); now... [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.base.GeneratorBase.writeObjectField`  

Was final void writeObjectField(String, Object); now void writeObjectField(String, Object). [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.base.GeneratorBase.writeObjectFieldStart`  

Was final void writeObjectFieldStart(String); now void writeObjectFieldStart(String). [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.base.ParserBase._reportInvalidEOF`  

The signature of ParserBase.\_reportInvalidEOF changed in org.testcontainers:testcontainers 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.base.ParserBase._reportInvalidEOFInValue`  

The signature of ParserBase.\_reportInvalidEOFInValue changed in org.testcontainers:testcontainers 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.base.ParserMinimalBase._reportInvalidEOF`  

The signature of ParserMinimalBase.\_reportInvalidEOF changed in org.testcontainers:testcontainers 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.base.ParserMinimalBase._reportInvalidEOFInValue`  

The signature of ParserMinimalBase.\_reportInvalidEOFInValue changed in org.testcontainers:testcontainers 2.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.base.ParserMinimalBase.readValuesAs`  

Was \<T> java.util.Iterator\<T> readValuesAs(org.testcontainers.shaded.com.fasterxml.jackson.core.type.TypeReference\<?>); now \<T> java.util.Iterator\<T> readValuesAs(org.testcontainers.shaded.com.fasterxml.jackson.core.type.TypeReference\<T>). [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.filter.TokenFilterContext.TYPE_ARRAY`  

Was protected static final int TYPE_ARRAY; now static final int TYPE_ARRAY. [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.filter.TokenFilterContext.TYPE_OBJECT`  

Was protected static final int TYPE_OBJECT; now static final int TYPE_OBJECT. [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.filter.TokenFilterContext.TYPE_ROOT`  

Was protected static final int TYPE_ROOT; now static final int TYPE_ROOT. [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.FormatFeature`  

Was interface FormatFeature; now interface FormatFeature extends org.testcontainers.shaded.com.fasterxml.jackson.core.util.JacksonFeature. [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.io.IOContext`  

Was class IOContext; now class IOContext implements AutoCloseable. [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.io.SegmentedStringWriter`  

Was final class SegmentedStringWriter extends java.io.Writer; now final class SegmentedStringWriter extends java.io.Writer implements org.testcontainers.shaded.com.fasterxml.jackson.core.util.BufferRecycler.Gettable. [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.json.JsonGeneratorImpl.writeStringField`  

Was final void writeStringField(String, String); now void writeStringField(String, String). [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.json.JsonReadContext`  

Was final class JsonReadContext extends org.testcontainers.shaded.com.fasterxml.jackson.core.JsonStreamContext; now class JsonReadContext extends org.testcontainers.shaded.com.fasterxml.jackson.core.JsonStreamContext. [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.json.JsonReadContext.getCurrentIndex`  

Was final int getCurrentIndex(); now final int getCurrentIndex(). [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.json.JsonReadContext.getEntryCount`  

Was final int getEntryCount(); now final int getEntryCount(). [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.json.JsonReadContext.getTypeDesc`  

Was final String getTypeDesc(); now final String getTypeDesc(). [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.json.JsonReadContext.inArray`  

Was final boolean inArray(); now final boolean inArray(). [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.json.JsonReadContext.inObject`  

Was final boolean inObject(); now final boolean inObject(). [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.json.JsonReadContext.inRoot`  

Was final boolean inRoot(); now final boolean inRoot(). [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.json.JsonWriteContext.reset`  

Was protected org.testcontainers.shaded.com.fasterxml.jackson.core.json.JsonWriteContext reset(int); now org.testcontainers.shaded.com.fasterxml.jackson.core.json.JsonWriteContext reset(int)... [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.json.ReaderBasedJsonParser`  

Was class ReaderBasedJsonParser extends org.testcontainers.shaded.com.fasterxml.jackson.core.base.ParserBase; now class ReaderBasedJsonParser extends org.testcontainers.shaded.com.fasterxml.jackson.core.json.JsonParserBase. [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.json.ReaderBasedJsonParser.getCurrentLocation`  

Was org.testcontainers.shaded.com.fasterxml.jackson.core.JsonLocation getCurrentLocation(); now final org.testcontainers.shaded.com.fasterxml.jackson.core.JsonLocation getCurrentLocation(). [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.json.ReaderBasedJsonParser.getTokenLocation`  

Was org.testcontainers.shaded.com.fasterxml.jackson.core.JsonLocation getTokenLocation(); now final org.testcontainers.shaded.com.fasterxml.jackson.core.JsonLocation getTokenLocation(). [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.json.UTF8DataInputJsonParser`  

Was class UTF8DataInputJsonParser extends org.testcontainers.shaded.com.fasterxml.jackson.core.base.ParserBase; now class UTF8DataInputJsonParser extends org.testcontainers.shaded.com.fasterxml.jackson.core.json.JsonParserBase. [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.json.UTF8DataInputJsonParser._parseNegNumber`  

Was protected org.testcontainers.shaded.com.fasterxml.jackson.core.JsonToken \_parseNegNumber(); now protected final org.testcontainers.shaded.com.fasterxml.jackson.core.JsonToken \_parseNegNumber(). [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.json.UTF8DataInputJsonParser._parsePosNumber`  

Was protected org.testcontainers.shaded.com.fasterxml.jackson.core.JsonToken \_parsePosNumber(int); now protected final org.testcontainers.shaded.com.fasterxml.jackson.core.JsonToken \_parsePosNumber(). [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)
- **Signature changed** `org.testcontainers.shaded.com.fasterxml.jackson.core.json.UTF8DataInputJsonParser.getCurrentLocation`  

Was org.testcontainers.shaded.com.fasterxml.jackson.core.JsonLocation getCurrentLocation(); now final org.testcontainers.shaded.com.fasterxml.jackson.core.JsonLocation getCurrentLocation(). [central.sonatype.com](https://central.sonatype.com/artifact/org.testcontainers/testcontainers/2.0.0)

And 488 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

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