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

# testcontainers breaking changes

testcontainers 12.2.2 (November 19, 2026) is its newest release with breaking changes, 2 of them. The first: Default changed SocatContainer. Every breaking API change we have recorded in testcontainers on npm: 6 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 `12.2.2`, released November 19, 2026. [Source repository](https://github.com/testcontainers/testcontainers-node)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [12.2.0](#v-12-2-0) to [12.2.2](#v-12-2-2): 4 breaking changes in 2 versions.

## testcontainers 12.2.2 breaking changes

testcontainers 12.2.2, released November 19, 2026: 2 breaking changes.

- **Default changed** `SocatContainer`  

The default image used by SocatContainer is now alpine/socat 1.8.1.3. Code that relies on the previous default image may behave differently and should pin the image explicitly if needed. [github.com](https://github.com/testcontainers/testcontainers-node/releases/tag/v12.2.2)
- **Signature changed** `GenericContainer.selectWaitStrategy`  

Was protected selectWaitStrategy(client: ContainerRuntimeClient, inspectResult: ContainerInspectInfo, waitStrategy?: WaitStrategy | undefined): Promise\<WaitStrategy>; now protected selectWaitStrategy(client: ContainerRuntimeClient... [npmjs.com](https://www.npmjs.com/package/testcontainers/v/12.2.2)

## testcontainers 12.2.1 breaking changes

testcontainers 12.2.1, released October 13, 2026: 2 breaking changes.

- **Removed** `StartedSocatContainer.constructor`  

new StartedSocatContainer() was removed in testcontainers 12.2.1 [npmjs.com](https://www.npmjs.com/package/testcontainers/v/12.2.1)
- **Removed** `StartupCheckStrategy.constructor`  

new StartupCheckStrategy() was removed in testcontainers 12.2.1 [npmjs.com](https://www.npmjs.com/package/testcontainers/v/12.2.1)

## testcontainers 12.2.0 breaking changes

testcontainers 12.2.0, released September 28, 2026: 2 breaking changes.

- **Signature changed** `ImageName.constructor`  

Was constructor(registry: string | undefined, image: string, tag: string); now constructor(registry: string | undefined, image: string, tag: string, digest?: string | undefined). [npmjs.com](https://www.npmjs.com/package/testcontainers/v/12.2.0)
- **Signature changed** `ImagePullPolicy.shouldPull`  

Was shouldPull(): boolean; now shouldPull(): boolean | "never". [npmjs.com](https://www.npmjs.com/package/testcontainers/v/12.2.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.
