All Versions
68
Latest Version
Avg Release Cycle
29 days
Latest Release
1435 days ago

Changelog History
Page 4

  • v1.7.1 Changes

    April 20, 2018

    ๐Ÿ›  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)
    • โž• Add support for private repositories using docker credential stores/helpers (PR #647, fixes #567)

    ๐Ÿ”„ 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)
  • v1.7.0 Changes

    April 07, 2018

    ๐Ÿ›  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)

    ๐Ÿ”„ 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)
    • โž• Added withFixedExposedPort(int hostPort, int containerPort, InternetProtocol protocol) method to FixedHostPortGenericContainer and addFixedExposedPort(int hostPort, int containerPort, InternetProtocol protocol) to GenericContainer (#586)
  • v1.6.0 Changes

    January 28, 2018

    ๐Ÿ›  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)
  • v1.5.1 Changes

    December 19, 2017

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed problem with case-sensitivity when checking internal port. (#524)
    • โž• Add retry logic around checkExposedPort pre-flight check for improved robustness (#513)

    ๐Ÿ”„ Changed

    • โž• Added getDatabaseName method to JdbcDatabaseContainer, MySQLContainer, PostgreSQLContainer (#473)
    • โž• Added VncRecordingContainer - Network-based, attachable re-implementation of VncRecordingSidekickContainer (#526)
  • v1.5.0 Changes

    December 12, 2017

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed problems with using container based docker-compose on Windows (#514)
    • ๐Ÿ›  Fixed problems with copying files on Windows (#514)
    • ๐Ÿ›  Fixed regression in 1.4.3 when using Docker Compose on Windows (#439)
    • ๐Ÿ›  Fixed local Docker Compose executable name resolution on Windows (#416)
    • ๐Ÿ›  Fixed TAR composition on Windows (#444)
    • ๐Ÿ‘ Allowing addExposedPort to be used after ports have been specified with withExposedPorts (#453)
    • โœ… Stopping creation of temporary directory prior to creating temporary file (#443)
    • โœ… Ensure that temp files are created in a temp directory (#423)
    • โž• Added WaitAllStrategy as a mechanism for composing multiple startup WaitStrategy objects together
    • ๐Ÿ”„ Changed BrowserWebDriverContainer to use improved wait strategies, to eliminate race conditions when starting VNC recording containers. This should lead to far fewer 'error' messages logged when starting up selenium containers, and less exposure to race related bugs (fixes #466).

    ๐Ÿ”„ Changed

    • โœ… Make Network instances reusable (i.e. work with @ClassRule) (#469)
    • โž• Added support for explicitly setting file mode when copying file into container (#446, #467)
    • โœ… Use Visible Assertions 2.1.0 for pre-flight test output (eliminating Jansi/JNR-POSIX dependencies for lower likelihood of conflict. JNA is now used internally by Visible Assertions instead).
    • ๐Ÿš€ Mark all links functionality as deprecated. This is pending removal in a later release. Please see #465. Network features should be used instead.
    • โž• Added support for copying files to/from running containers (#378)
    • โž• Add getLivenessCheckPorts as an eventual replacement for getLivenessCheckPort; this allows multiple ports to be included in post-startup wait strategies.
    • ๐Ÿ”จ Refactor wait strategy port checking and improve test coverage.
    • โž• Added support for customising the recording file name (#500)
  • v1.4.3 Changes

    October 14, 2017

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed local Docker Compose executable name resolution on Windows (#416, #460)
    • ๐Ÿ›  Fixed TAR composition on Windows (#444)
    • ๐Ÿ‘ Allowing addExposedPort to be used after ports have been specified with withExposedPorts (#453)
    • โœ… Stopping creation of temporary directory prior to creating temporary file (#443)

    ๐Ÿ”„ Changed

    • โž• Added forResponsePredicate method to HttpWaitStrategy to test response body (#441)
    • ๐Ÿ”„ Changed DockerClientProviderStrategy to be loaded via Service Loader (#434, #435)
    • ๐Ÿณ Made it possible to specify docker compose container in configuration (#422, #425)
    • โœ… Clarified wording of pre-flight check messages (#457, #436)
    • โž• Added caching of failure to find a docker daemon, so that subsequent tests fail fast. This is likely to be a significant improvement in situations where there is no docker daemon available, dramatically reducing run time and log output when further attempts to find the docker daemon cannot succeed.
    • ๐Ÿ‘ Allowing JDBC containers' username, password and DB name to be customized (#400, #354)
  • v1.4.2 Changes

    July 25, 2017

    ๐Ÿ›  Fixed

    • โœ… Worked around incompatibility between Netty's Unix socket support and OS X 10.11. Reinstated use of TCP-Unix Socket proxy when running on OS X prior to v10.12. (Fixes #402)
    • ๐Ÿ”„ Changed to use version 2.0 of the Visible Assertions library for startup pre-flight checks. This no longer has a dependency on Jansi, and is intended to resolve a JVM crash issue apparently caused by native lib version conflicts (#395). Please note that the newer ANSI code is less mature and thus has had less testing, particularly in interesting terminal environments such as Windows. If issues are encountered, coloured assertion output may be disabled by setting the system property visibleassertions.ansi.enabled to true.
    • ๐Ÿ›  Fixed NullPointerException when calling GenericContainer#isRunning on not started container (#411)

    ๐Ÿ”„ Changed

    • โœ‚ Removed Guava usage from jdbc module (#401)
  • v1.4.1 Changes

    July 10, 2017

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed Guava shading in jdbc module
  • v1.4.0 Changes

    July 09, 2017

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed the case when disk's size is bigger than Integer's max value (#379, #380)
    • ๐Ÿ›  Fixed erroneous version reference used during CI testing of shaded dependencies
    • ๐Ÿ›  Fixed leakage of Vibur and Tomcat JDBC test dependencies in jdbc-test and mysql modules (#382)
    • โž• Added timeout and retries for creation of RemoteWebDriver (#381, #373, #257)
    • ๐Ÿ›  Fixed various shading issues
    • ๐Ÿ‘Œ Improved removal of containers/networks when using Docker Compose, eliminating irrelevant errors during cleanup (#342, #394)

    ๐Ÿ”„ Changed

  • v1.3.1 Changes

    June 22, 2017

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed non-POSIX fallback for file attribute reading (#371)
    • ๐Ÿ›  Fixed NullPointerException in AuditLogger when running using slf4j-log4j12 bridge (#375)
    • ๐Ÿ‘Œ Improved cleanup of JDBC connections during database container startup checks

    ๐Ÿ”„ Changed

    • โœ… Extracted MariaDB into a separate repository (#337)
    • โž• Added TC_DAEMON JDBC URL flag to prevent ContainerDatabaseDriver from shutting down containers at the time all connections are closed. (#359, #360)
    • โž• Added pre-flight checks (can be disabled with checks.disable configuration property) (#363)
    • ๐Ÿ‘Œ Improved startup time by adding dynamic priorities to DockerClientProviderStrategy (#362)
    • โž• Added global configuration file ~/.testcontainers.properties (#362)
    • โž• Added container arguments to specify SELinux contexts for mounts (#334)
    • โœ‚ Removed unused Jersey dependencies (#361)
    • โœ‚ Removed deprecated, wrongly-generated setters from GenericContainer