Skip to content

Update testcontainers-node monorepo to v12 - #1129

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-testcontainers-node-monorepo
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-testcontainers-node-monorepo

Conversation

@renovate

@renovate renovate Bot commented Jan 19, 2026

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@testcontainers/redis ^10.25.0^12.0.0 age confidence
testcontainers ^10.25.0^12.0.0 age confidence

Release Notes

testcontainers/testcontainers-node (@​testcontainers/redis)

v12.1.0

Compare Source

Changes

🚀 Features

📖 Documentation

🧹 Maintenance

📦 Dependency Updates

v12.0.4

Compare Source

Changes
🐛 Bug Fixes
📖 Documentation
🧹 Maintenance
📦 Dependency Updates

v12.0.3

Compare Source

Changes

🐛 Bug Fixes

📦 Dependency Updates

v12.0.2

Compare Source

Changes

🐛 Bug Fixes

📦 Dependency Updates

v12.0.1

Compare Source

Changes

🐛 Bug Fixes

🧹 Maintenance

📦 Dependency Updates

v12.0.0

Compare Source

🚨 Breaking Changes

  1. Node 20 is EOL. Minimum engine requirement is now >= 22.22, matching the constraints from our dependencies.

  2. Previously, when no wait strategy was configured, Testcontainers defaulted to Wait.forListeningPorts().

    The new default wait strategy uses a Docker healthcheck when one is configured on the container image or service, falling back to Wait.forListeningPorts() when no healthcheck is available.

    To keep the previous behaviour, configure Wait.forListeningPorts() explicitly:

    import { DockerComposeEnvironment, GenericContainer, Wait } from "testcontainers";
    
    // Container: opt back into the previous default of waiting for listening ports
    const container = await new GenericContainer("my-image:latest")
      .withExposedPorts(8080)
      .withWaitStrategy(Wait.forListeningPorts())
      .start();
    
    // Compose: apply the previous default to all services
    const environment = await new DockerComposeEnvironment(composeFilePath, "docker-compose.yml")
      .withDefaultWaitStrategy(Wait.forListeningPorts())
      .up();
    
    // Compose: or apply it to a specific compose container
    const environment = await new DockerComposeEnvironment(composeFilePath, "docker-compose.yml")
      .withWaitStrategy("api-1", Wait.forListeningPorts())
      .up();

Changes

🚀 Features

🐛 Bug Fixes

📖 Documentation

🧹 Maintenance

📦 Dependency Updates

v11.14.0

Compare Source

Changes

🚀 Features

📖 Documentation

🧹 Maintenance

📦 Dependency Updates

v11.13.0

Compare Source

Changes

🚀 Features

📖 Documentation

🧹 Maintenance

📦 Dependency Updates

v11.12.0

Compare Source

Changes

🚀 Features

🐛 Bug Fixes

📖 Documentation

🧹 Maintenance

📦 Dependency Updates

v11.11.0

Compare Source

Changes

🚀 Features

🐛 Bug Fixes

🧹 Maintenance

📦 Dependency Updates

v11.10.0

Compare Source

Changes

🚀 Features

🧹 Maintenance

📦 Dependency Updates

v11.9.0

Compare Source

Changes

🚀 Features

📦 Dependency Updates

v11.8.1

Compare Source

Changes

🐛 Bug Fixes

📦 Dependency Updates

v11.8.0

Compare Source

Changes

🚀 Features

📦 Dependency Updates

v11.7.2

Compare Source

Changes

🧹 Maintenance

📦 Dependency Updates

v11.7.1

Compare Source

Changes

🐛 Bug Fixes

v11.7.0

Compare Source

Changes

🚀 Features

🐛 Bug Fixes

📦 Dependency Updates

v11.6.0

Compare Source

Changes

🚀 Features

📖 Documentation

📦 Dependency Updates

v11.5.1

Compare Source

Changes

🐛 Bug Fixes

🧹 Maintenance

📦 Dependency Updates

v11.5.0

Compare Source

Changes

🚀 Features

🐛 Bug Fixes

🧹 Maintenance

📦 Dependency Updates

v11.4.0

Compare Source

Changes

🚀 Features

🐛 Bug Fixes

v11.3.2

Compare Source

Changes

📦 Dependency Updates

v11.3.1

Compare Source

Changes

🐛 Bug Fixes

v11.3.0

Compare Source

Changes

🚀 Features

🧹 Maintenance

📦 Dependency Updates

v11.2.1

Compare Source

Changes

🐛 Bug Fixes

v11.2.0

Compare Source

Changes

🚀 Features

🧹 Maintenance

📦 Dependency Updates

v11.1.0

Compare Source

Changes

🚀 Features

v11.0.3

Compare Source

Changes

🐛 Bug Fixes

📦 Dependency Updates

v11.0.2

Compare Source

Changes

🐛 Bug Fixes

v11.0.1

Compare Source

🐛 Bug Fixes

📦 Dependency Updates

v11.0.0

Compare Source

🚨 Breaking Changes


1. Minimum Node engine requirement set to 20.


2. Default module images have been removed.

Previously:

await new PostgreSqlContainer().start();

Now:

await new PostgreSqlContainer("postgres:13.3-alpine").start();

For convenience, here is a table of all the previous default values, which you could just copy/paste to get back working again, but have a think about which version you actually need. Some of these are quite old and need to be updated.

Default module images
Module Image

Important

✂ PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from a team as a code owner January 19, 2026 16:53
@renovate
renovate Bot force-pushed the renovate/major-testcontainers-node-monorepo branch 29 times, most recently from 8829192 to eee25d5 Compare January 22, 2026 13:50
@renovate
renovate Bot force-pushed the renovate/major-testcontainers-node-monorepo branch 9 times, most recently from ee6b19d to 543e8a3 Compare January 29, 2026 10:53
@renovate
renovate Bot force-pushed the renovate/major-testcontainers-node-monorepo branch 4 times, most recently from 4f98c46 to d4fd4f7 Compare February 2, 2026 18:06
@renovate
renovate Bot force-pushed the renovate/major-testcontainers-node-monorepo branch 9 times, most recently from ada6a8a to 0ef5ab6 Compare February 17, 2026 22:33
@renovate
renovate Bot force-pushed the renovate/major-testcontainers-node-monorepo branch 7 times, most recently from f9eeaba to 9dfda6a Compare March 6, 2026 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-Task Refactoring, enabling or disabling functionality, other engineering tasks.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants