All Versions
68
Latest Version
Avg Release Cycle
29 days
Latest Release
1435 days ago
Changelog History
Page 4
Changelog History
Page 4
-
v1.7.1 Changes
April 20, 2018๐ Fixed
- ๐ Fixed missing
commons-codec
dependency (#642) - ๐ Fixed
HostPortWaitStrategy
throwsNumberFormatException
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
- ๐ Fixed missing
-
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 ofJdbcDatabaseContainer
subclasses (#568) - ๐ Fixed
getServicePort
onDockerComposeContainer
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 overloadedwithExposedService()
methods toDockerComposeContainer
to allow user to defineWaitStrategy
for compose containers. (#174, #515 and (#600)) - โ
Deprecated
WaitStrategy
and implementations in favour of classes with same names inorg.testcontainers.containers.strategy
(#600) - โ Added
ContainerState
interface representing the state of a started container (#600) - โ Added
WaitStrategyTarget
interface which is the target of the newWaitStrategy
(#600) - ๐ฅ Breaking: Removed hard-coded
wnameless
Oracle database image name. Users should instead place a file on the classpath namedtestcontainers.properties
containingoracle.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 toDockerComposeContainer
(#605) - โ Added
withFixedExposedPort(int hostPort, int containerPort, InternetProtocol protocol)
method toFixedHostPortGenericContainer
andaddFixedExposedPort(int hostPort, int containerPort, InternetProtocol protocol)
toGenericContainer
(#586)
- ๐ Fixed extraneous insertion of
-
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 withREAD_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 -
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 withwithExposedPorts
(#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 startupWaitStrategy
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 forgetLivenessCheckPort
; 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 withwithExposedPorts
(#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
totrue
. - ๐ 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
- ๐ Fixed Guava shading in
-
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
andmysql
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
- โ Added support for Docker networks (#372)
- โ Added
getFirstMappedPort
method (#377) - โ Extracted Oracle XE container into a separate repository (testcontainers/testcontainers-java-module-oracle-xe)
- โ Added shading tests
- โก๏ธ Updated docker-java to 3.0.12 (#393)
-
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 preventContainerDatabaseDriver
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