Skip to content

Releases: testcontainers/testcontainers-java

1.7.3

Choose a tag to compare

@bsideup bsideup released this 16 May 20:36
02e38b4

https://github.com/testcontainers/testcontainers-java/milestone/34

Fixed

  • Fix for setting ryuk.container.timeout causes a ClassCastException (#684)
  • Fixed provided but shaded dependencies in modules (#693)

Changed

  • Added InfluxDB module (#686)
  • Added MockServer module (#696)
  • Changed LocalStackContainer to extend GenericContainer (#695)

1.7.2

Choose a tag to compare

@rnorth rnorth released this 30 Apr 16:09

https://github.com/testcontainers/testcontainers-java/milestone/33?closed=1

Fixed

  • Retry any exceptions (not just DockerClientException) on image pull (#662)
  • Fixed handling of the paths with + in them (#664)

Changed

  • Database container images are now pinned to a specific version rather than using latest. The tags selected are the most recent as of the time of this change. If a JDBC URL is used with no tag specified, a WARN level log message is output, pending a future change to make tags mandatory in the JDBC URL. (#671)
  • Updated docker-java to 3.1.0-rc-3, enforced org.jetbrains:annotations:15.0. (#672)

1.7.1

Choose a tag to compare

@bsideup bsideup released this 20 Apr 08:29

https://github.com/testcontainers/testcontainers-java/milestone/32?closed=1

Fixed

  • Fixed missing commons-codec dependency (#642)
  • Fixed HostPortWaitStrategy throws NumberFormatException when port is exposed but not mapped (#640)
  • Fixed log processing: multibyte unicode, linebreaks and ASCII color codes. Color codes can be turned on with withRemoveAnsiCodes(false) (#643)
  • Fixed Docker host IP detection within docker container (detect only if not explicitly set) (#648)

Changed

  • Support multiple HTTP status codes for HttpWaitStrategy (#630)
  • Mark all long-living threads started by Testcontainers as daemons and group them. (#646)
  • Remove noisy DEBUG logging of Netty packets (#646)
  • Updated docker-java to 3.1.0-rc-2 (#646)

1.7.0

Choose a tag to compare

@bsideup bsideup released this 07 Apr 17:30

https://github.com/testcontainers/testcontainers-java/milestone/31?closed=1

This release brings:

  • Maven BOM support (org.testcontainers:testcontainers-bom:1.7.0)
  • DockerCompose improvements: waiting strategies, log consumers, better defaults
  • Various JDBC improvements
  • Docker's built-in healthcheck support with DockerHealthcheckWaitStrategy
  • Auto detection of classpath's Selenium 3.x version

Changed

  • Added compatibility with selenium greater than 3.X (#611)
  • Abstracted and changed database init script functionality to support use of SQL-like scripts with non-JDBC connections. (#551)
  • Added JdbcDatabaseContainer(Future) constructor. (#543)
  • Mark DockerMachineClientProviderStrategy as not persistable (#593)
  • Added waitingFor(String serviceName, WaitStrategy waitStrategy) and overloaded withExposedService() methods to DockerComposeContainer to allow user to define WaitStrategy for compose containers. (#174, #515 and (#600))
  • Deprecated WaitStrategy and implementations in favour of classes with same names in org.testcontainers.containers.strategy (#600)
  • Added ContainerState interface representing the state of a started container (#600)
  • Added WaitStrategyTarget interface which is the target of the new WaitStrategy (#600)
  • Breaking: Removed hard-coded wnameless Oracle database image name. Users should instead place a file on the classpath named testcontainers.properties containing oracle.container.image=IMAGE, where IMAGE is a suitable image name and tag/SHA hash. For information, the approach recommended by Oracle for creating an Oracle XE docker image is described here.
  • Added DockerHealthcheckWaitStrategy that is based on Docker's built-in healthcheck (#618).
  • Added withLogConsumer(String serviceName, Consumer<OutputFrame> consumer) method to DockerComposeContainer (#605)

Fixed

  • Fixed extraneous insertion of useSSL=false in all JDBC URL strings, even for DBs that do not understand it. Usage is now restricted to MySQL by default and can be overridden by authors of JdbcDatabaseContainer subclasses (#568)
  • Fixed getServicePort on DockerComposeContainer throws NullPointerException if service instance number in not used. (#619)
  • Increase Ryuk's timeout and make it configurable with ryuk.container.timeout. (#621#635)

1.6.0

Choose a tag to compare

@rnorth rnorth released this 29 Jan 08:06

Fixed

  • Fixed incompatibility of Docker-Compose container with JDK9. (#562)
  • Fixed retrieval of Docker host IP when running inside Docker. (#479)
  • Compose is now able to pull images from private repositories. (#536)
  • Fixed overriding MySQL image command. (#534)
  • Fixed shading for javax.annotation.CheckForNull (#563 and testcontainers/testcontainers-scala#11).

Changed

  • Added JDK9 build and tests to Travis-CI. (#562)
  • Added Kafka module (#546)
  • Added "Death Note" to track & kill spawned containers even if the JVM was "kill -9"ed (#545)
  • Environment variables are now stored as Map instead of List (#550)
  • Added withEnv(String name, Function<Optional<String>, String> mapper) with optional previous value (#550)
  • Added withFileSystemBind overloaded method with READ_WRITE file mode by default (#550)
  • All connections to JDBC containers (e.g. MySQL) don't use SSL anymore. (#374)

1.5.1

Choose a tag to compare

@rnorth rnorth released this 19 Dec 12:36
Update changelog for 1.5.1 release

1.5.0

Choose a tag to compare

@rnorth rnorth released this 12 Dec 19:53
Update changelog for 1.5.0 release

1.4.3

Choose a tag to compare

@rnorth rnorth released this 14 Oct 12:27
Update changelog for release

1.4.2

Choose a tag to compare

@rnorth rnorth released this 25 Jul 10:10
Update changelog for 1.4.2 release

1.4.1

Choose a tag to compare

@bsideup bsideup released this 10 Jul 12:07