Skip to content

Releases

v12.2.2

Choose a tag to compare

@github-actions github-actions released this 19 Nov 15:05
38f9812

Changes

🐛 Bug Fixes

  • Add the missing builder methods to the TestContainer interface @Pushkar236 (#1655)
  • Fix Redis and Valkey initial data import when the container runs as a non-root user @Mario-Mohar (#1626)
  • Fix Dockerfile FROM parsing for --platform, tabs, line continuations and ARG defaults @Pushkar236 (#1646)
  • Support Docker credential helpers that are .cmd scripts on Windows @b84330808 (#1638)
  • Fix ScyllaDB failing to start when several containers run at once @cristianrgreco (#1645)
  • Fix crash when a container connects to an exposed host port with nothing listening @cristianrgreco (#1617)
  • Fix duplicate environment entries when withEnvironment sets a key twice @kenny-ish (#1614)
  • Keep a custom project name when withNoRecreate is used @kenny-ish (#1610)
  • Fix Kafka container starting before the broker is ready @cristianrgreco (#1605)

🧹 Maintenance

📦 Dependency Updates

v12.2.1

Choose a tag to compare

@github-actions github-actions released this 13 Oct 09:46
17316db

Changes

🐛 Bug Fixes

🧹 Maintenance

📦 Dependency Updates

v12.2.0

Choose a tag to compare

@github-actions github-actions released this 28 Sep 15:42
0e250c2

Changes

🚀 Features

🐛 Bug Fixes

🧹 Maintenance

📦 Dependency Updates

v12.1.0

Choose a tag to compare

@github-actions github-actions released this 04 Aug 10:08
cdd8c89

Changes

🚀 Features

📖 Documentation

🧹 Maintenance

📦 Dependency Updates

v12.0.4

Choose a tag to compare

@github-actions github-actions released this 29 Jun 11:52
4286661

Changes

🐛 Bug Fixes

📖 Documentation

🧹 Maintenance

📦 Dependency Updates

v12.0.3

Choose a tag to compare

@github-actions github-actions released this 17 Jun 11:07
a7fc211

Changes

🐛 Bug Fixes

📦 Dependency Updates

v12.0.2

Choose a tag to compare

@github-actions github-actions released this 12 Jun 17:28
549bfa5

Changes

🐛 Bug Fixes

📦 Dependency Updates

v12.0.1

Choose a tag to compare

@github-actions github-actions released this 27 May 14:12
4d8de0c

Changes

🐛 Bug Fixes

🧹 Maintenance

📦 Dependency Updates

v12.0.0

Choose a tag to compare

@github-actions github-actions released this 19 May 14:57
80d537a

🚨 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

  • Use configured health checks as the default wait strategy @digital88 (#1096)

🐛 Bug Fixes

📖 Documentation

🧹 Maintenance

📦 Dependency Updates

v11.14.0

Choose a tag to compare

@github-actions github-actions released this 08 Apr 08:58
afe8b72

Changes

🚀 Features

📖 Documentation

🧹 Maintenance

📦 Dependency Updates