Skip to content

chore(deps-dev): bump testcontainers from 11.14.0 to 12.0.0#286

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/testcontainers-12.0.0
Open

chore(deps-dev): bump testcontainers from 11.14.0 to 12.0.0#286
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/testcontainers-12.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 20, 2026

Bumps testcontainers from 11.14.0 to 12.0.0.

Release notes

Sourced from testcontainers's releases.

v12.0.0

🚨 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

... (truncated)

Commits
  • 80d537a Fix npm publish version updates (#1330)
  • 5e9bfff Use configured health checks as the default wait strategy (#1096)
  • 7f40327 Bump ghcr.io/devcontainers/features/node in the dependencies group (#1318)
  • df148bb Bump the dependencies group across 18 directories with 20 updates (#1321)
  • 1b7d67f Bump the dependencies group across 1 directory with 30 updates (#1322)
  • b25bbea Read RYUK_CONTAINER_IMAGE lazily so dotenv / other runtime overrides work (...
  • cec8a5f Bump the dependencies group across 1 directory with 23 updates (#1300)
  • 78975ef Bump the dependencies group across 16 directories with 18 updates (#1299)
  • 303430f Use /tmp for Kafka startup script (#1302)
  • 38fb397 Clarify PR defaults in AGENTS.md (#1303)
  • Additional commits viewable in compare view

Bumps [testcontainers](https://github.com/testcontainers/testcontainers-node) from 11.14.0 to 12.0.0.
- [Release notes](https://github.com/testcontainers/testcontainers-node/releases)
- [Commits](testcontainers/testcontainers-node@v11.14.0...v12.0.0)

---
updated-dependencies:
- dependency-name: testcontainers
  dependency-version: 12.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/testcontainers-12.0.0 branch from 6dfc432 to 76eddbc Compare May 22, 2026 23:49
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.

1 participant