Skip to content

1.8.0

Compare
Choose a tag to compare
@rnorth rnorth released this 14 Jun 12:44

This release brings some awesome new features:

  • 🎉 Apache Pulsar and Couchbase modules!
  • 🎊 An experimental OkHttp transport for docker-java!
  • 😍 Abstractions to make wider test framework support much easier!

In addition, there are numerous fixes for general container usage and database containers. Thank you to all the contributors to this release. Please check out the full list!

Fixed

  • Fixed JDBC URL Regex Pattern to ensure all supported Database URL's are accepted (#596)
  • Filtered out TestContainer parameters (TC_*) from query string before passing to database (#345)
  • Use latest tag as default image tag (#676)

Changed

  • Allow HttpWaitStrategy to wait for a specific port (#703)
  • New module: Apache Pulsar (#713)
  • Add support for defining container labels (#725)
  • Use quay.io/testcontainers/ryuk instead of bsideup/ryuk (#721)
  • Added Couchbase module (#688)
  • Enhancements and Fixes for JDBC URL usage to create Containers (#594)
    • Extracted JDBC URL manipulations to a separate class - ConnectionUrl.
    • Added an overloaded method JdbcDatabaseContainerProvider.newInstance(ConnectionUrl), with default implementation delegating to the existing newInstance(tag) method. (Relates to #566)
    • Added an implementation of MySQLContainerProvider.newInstance(ConnectionUrl) that uses Database Name, User, and Password from JDBC URL while creating new MySQL Container. (#566 for MySQL Container)
  • Changed internal port of KafkaContainer back to 9092 (#733)
  • Add support for Dockerfile based images to OracleContainer (#734)
  • Read from both /proc/net/tcp and /proc/net/tcp6 in InternalCommandPortListeningCheck (#750)
  • Added builder methods for timeouts in JdbcDatabaseContainer (#748)
  • Added an alternative experimental transport based on OkHttp. Enable it with transport.type=okhttp property (#710)
  • Framework-agnostic container & test lifecycle (#702)