Skip to content

1.17.4

Compare
Choose a tag to compare
@github-actions github-actions released this 29 Sep 15:12
2215e21

What's Changed

Highlights

This release has been made possible through the efforts of whopping 23 contributors, wow! 🤯

Besides 3 new modules, this release brings a couple of bugfixes, improved compatibility and resilience in certain scenarios, better defaults and more configurability.

You might also notice many PRs related to the documentation, templates for PRs and issues, and automation regarding OSS contributions. Testcontainers has always been a project with a lot of involvement by the community and we are very proud of this. That’s why want to make contributing to Testcontainers a great experience, no matter if you raise an issue, submit a PR or initiate a discussion in GitHhub Discussions.

🐼 New Module: Redpanda (#5740) @eddumelendez

Redpanda, a Kafka-compatible streaming platform, recently added a special dev-container mode to their container image, that allows even faster startup times. A great reason to work in a Testcontainers module that leverages this flag by default to give you a great integration testing experience when using Redpanda. And of course, using Redpanda with Testcontainers is as easy and convenient as you are used to:

var container = new RedpandaContainer("docker.redpanda.com/vectorized/redpanda:v22.2.1")
container.start()
var connectionUrl = container.getBootstrapServers()
// use the connectionUrl and start testing!

You can check out the docs to learn more.

New Module: TiDB (#5511) @Icemap

With TiDB, we are adding support for a new database module. As with other databases that can be accessed via JDBC, you can leverage Testcontainers’ special JDBC URL integration:

jdbc:tc:tidb:v6.1.0:///databasename

New Module: Hashicorp Consul (#4683) @julb

Consul

🚀 Features & Enhancements

  • getContainerByServiceName should work without suffix (#5776) @REslim30
  • Allow Pulsar default WaitStrategy to honour startup timeout (#5674) @nahguam
  • fix: ContainerDatabaseDriver does not register Properties object (#5829) @REslim30
  • couchbase: allow to configure bucket replicas and default to 0. (#5840) @daschl
  • Add compatibility with MongoDB 6 (#5771) @eddumelendez
  • Set default elasticsearch heap size to 2GB (Alternate PR) (#5684) @REslim30
  • Add Transferable.of(String, int) (#5741) @eddumelendez
  • Make TestcontainersExtension public (#5285) @hmatt1
  • Update Cassandra driver to 4.x (#2830) @emerkle826
  • Make outer maximum startup timeout in DockerComposeContainer configurable (#5588) @henri-tremblay
  • Improve Pulsar's wait strategy to rely on clusterName (#5613) @eddumelendez

🐛 Bug Fixes

  • getLivenessCheckPortNumbers() should return mapped port (#5734) @REslim30

📖 Documentation

🧹 Housekeeping

📦 Dependency updates