TestContainers v1.14.0 Release Notes

Release Date: 2020-04-13 // about 4 years ago
  • What's Changed

    ๐Ÿš€ This release includes a number of big improvements, features and bug fixes! To name just a handful:

    ๐Ÿ—„ ๐ŸŽ‰ docker-java is updated to 3.2.x. This is a major milestone for the library that we participated in. Please pay attention to deprecation warnings - ideally com.github.dockerjava.api.* should be the only package in use from com.github.dockerjava.*. Future versions of Testcontainers will no longer shade com.github.dockerjava.api.* and will include it as a dependency (com.github.docker-java:docker-java-api).

    ๐Ÿ‘€ ๐ŸŽ‰ R2DBC support for MySQL, MariaDB, PostgreSQL and MS SQL Server! See the docs for more info. Special thanks goes to the R2DBC team for their help and support with this PR.

    ๐Ÿ“š ๐ŸŽ‰ Vastly improved Couchbase container reliability, thanks to @daschl of @couchbase! This does include some small breaking changes to the Couchbase module's API - but ones that we consider to be worth the migration effort for a more stable build. Please see the documentation for the new usage syntax.

    ๐Ÿฑ ๐ŸŽ‰ Containers started by the JUnit Jupiter integration are now compatible with TestLifecycleAware, allowing greater hooks into phases of test execution.

    ๐Ÿณ ๐ŸŽ‰ Broadened support for authenticated private registries when using Docker Compose.

    Read on for many more improvements:

    ๐Ÿฑ ๐Ÿš€ Features

    ๐Ÿฑ ๐Ÿ› Bug Fixes

    • โœ… Use LogMessageWaitStrategy in VncRecordingContainer (#2547) @srempfer
    • โœ… Protect NetworkImpl#close from concurrency issues (#2203) @pivovarit
    • โœ… Fallback to getDefaultGateway() if "bridge" is unavailable. (#2429) @bsideup
    • ๐Ÿ›  Fix invalid connection URLs returned by PostgreSQLContainer (#1976) (#2049) @pivovarit
    • ๐Ÿ›  Fix internal port check when other ports are opened as well on the target container (#2363) @codablock
    • โœ… Make default file recording directory of BrowserWebDriverContainer platform independent (#2562) @kiview
    • ๐Ÿ›  Fix Spock's TestLifecycleAware integration (#2563) @bsideup

    ๐Ÿ“š ๐Ÿ“– Documentation

    • โž• Add more clear warning message instructing users how to enable reusable containers (#2422) @aguibert
    • โž• Add more information for using registry mirror (#2477) @sparsick
    • โœ‚ Remove unusual public in Groovy example code (#2238) @mkutz
    • โœ… Use @DynamicPropertySource in the Spring Boot example (#2495) @bsideup
    • โœ… Extend docs with registry mirror as workaround for custom images (#2452) @sparsick
    • โž• Add example for Cassandra module (#2210, #1975) @ftrossbach

    ๐Ÿฑ ๐Ÿงน Housekeeping

    • ๐Ÿ‘ท Temporarily ignore DB2 test - unrelated CI disk space issues (#2557) @kiview. This will be reinstated shortly, following work to reduce the disk usage of individual CI jobs.
    • โž• Add ciMate (#2550) @bsideup
    • ๐Ÿšš Move static config in modules to constructor (#2473) @MitchJust
    • ๐Ÿ›  Fix update-docs-version.yml script (#2519) @rnorth
    • โฌ†๏ธ Bump Copyrights to 2020 (#2488) @pivovarit

    โšก๏ธ ๐Ÿ“ฆ Dependency updates

    Click to expand...