Skip to content

chore: update dependency testcontainers to v12#11634

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

chore: update dependency testcontainers to v12#11634
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/major-testcontainers-node-monorepo

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 20, 2026

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
testcontainers ^11.14.0^12.0.0 age adoption passing confidence

Release Notes

testcontainers/testcontainers-node (testcontainers)

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

📦 Dependency Updates


Configuration

📅 Schedule: (UTC)

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

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

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


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

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

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate Bot added the dependencies Pull requests that update a dependency file label May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants