Skip to content

Update dependency testcontainers to v12#457

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

Update dependency testcontainers to v12#457
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 Confidence
testcontainers ^11.14.0^12.0.1 age confidence

Release Notes

testcontainers/testcontainers-node (testcontainers)

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


Configuration

📅 Schedule: (in timezone Europe/London)

  • 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 is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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 May 22, 2026 18:53
@renovate renovate Bot force-pushed the renovate/major-testcontainers-node-monorepo branch 2 times, most recently from bd0c892 to ca286e4 Compare May 29, 2026 02:50
@renovate renovate Bot force-pushed the renovate/major-testcontainers-node-monorepo branch from ca286e4 to d0f7831 Compare May 30, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants