Skip to content

chore(deps): update dependency testcontainers to v12#1298

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

chore(deps): update dependency testcontainers to v12#1298
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-testcontainers-node-monorepo

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 22, 2026

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
testcontainers 11.14.012.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
🧹 Maintenance
📦 Dependency Updates

Configuration

📅 Schedule: (in timezone Europe/Dublin)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • Only on Sunday and Saturday (* * * * 0,6)

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

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.

@renovate renovate Bot requested a review from csikb as a code owner May 22, 2026 15:35
@renovate renovate Bot force-pushed the renovate/major-testcontainers-node-monorepo branch 2 times, most recently from 327e375 to 6e8f945 Compare May 22, 2026 20:47
@renovate renovate Bot force-pushed the renovate/major-testcontainers-node-monorepo branch from 6e8f945 to ad96d12 Compare May 23, 2026 09:35
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants