-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introducing Oracle Free module #7749
Conversation
Signed-off-by: gvenzl <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contributions, @gvenzl ! I've left some comments and it would be great to add some docs in mkdocs.yml
and docs/modules/databases
. Also, update the following files bug_report.yaml
, enhancement.yaml
, feature.yaml
, dependabot.yml
and labeler.yml
.
modules/oracle-free/src/main/java/org/testcontainers/containers/OracleContainer.java
Outdated
Show resolved
Hide resolved
modules/oracle-free/src/main/java/org/testcontainers/containers/OracleContainer.java
Outdated
Show resolved
Hide resolved
modules/oracle-free/src/main/java/org/testcontainers/containers/OracleContainer.java
Outdated
Show resolved
Hide resolved
modules/oracle-free/src/main/java/org/testcontainers/containers/OracleContainer.java
Outdated
Show resolved
Hide resolved
Signed-off-by: gvenzl <[email protected]>
Co-authored-by: Eddú Meléndez Gonzales <[email protected]>
Signed-off-by: gvenzl <[email protected]>
Signed-off-by: gvenzl <[email protected]>
@@ -0,0 +1,200 @@ | |||
package org.testcontainers.oracle; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the package has not been renamed. It is still org.testcontainers.containers
modules/oracle-free/src/main/java/org/testcontainers/containers/OracleContainer.java
Outdated
Show resolved
Hide resolved
Signed-off-by: gvenzl <[email protected]>
Signed-off-by: gvenzl <[email protected]>
Thanks again for your contribution, @gvenzl! |
Any time! :) |
/** | ||
* Testcontainers implementation for Oracle Database Free. | ||
* <p> | ||
* Supported image: {@code gvenzl/oracle-free} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please also accept the official Oracle image.
// Test container defaults | ||
static final String APP_USER = "test"; | ||
|
||
static final String APP_USER_PASSWORD = "test"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We really should default to secure random passwords in the future (in the baseclass)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.testcontainers:postgresql](https://java.testcontainers.org) ([source](https://togithub.com/testcontainers/testcontainers-java)) | `1.17.6` -> `1.19.7` | [![age](https://developer.mend.io/api/mc/badges/age/maven/org.testcontainers:postgresql/1.19.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.testcontainers:postgresql/1.19.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.testcontainers:postgresql/1.17.6/1.19.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.testcontainers:postgresql/1.17.6/1.19.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [org.testcontainers:elasticsearch](https://java.testcontainers.org) ([source](https://togithub.com/testcontainers/testcontainers-java)) | `1.19.3` -> `1.19.7` | [![age](https://developer.mend.io/api/mc/badges/age/maven/org.testcontainers:elasticsearch/1.19.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.testcontainers:elasticsearch/1.19.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.testcontainers:elasticsearch/1.19.3/1.19.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.testcontainers:elasticsearch/1.19.3/1.19.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>testcontainers/testcontainers-java (org.testcontainers:postgresql)</summary> ### [`v1.19.7`](https://togithub.com/testcontainers/testcontainers-java/releases/tag/1.19.7) [Compare Source](https://togithub.com/testcontainers/testcontainers-java/compare/1.19.6...1.19.7) ### Testcontainers for Java 1.19.7 ### Modules - New K6 module ([#​8318](https://togithub.com/testcontainers/testcontainers-java/issues/8318)) [@​javaducky](https://togithub.com/javaducky) - New OceanBase module ([#​7502](https://togithub.com/testcontainers/testcontainers-java/issues/7502)) [@​whhe](https://togithub.com/whhe) - New Ollama module ([#​8369](https://togithub.com/testcontainers/testcontainers-java/issues/8369)) [@​eddumelendez](https://togithub.com/eddumelendez) - New OpenFGA module ([#​8371](https://togithub.com/testcontainers/testcontainers-java/issues/8371)) [@​eddumelendez](https://togithub.com/eddumelendez) ### Elasticserach - Enable lazy certificates for Elasticsearch ([#​7991](https://togithub.com/testcontainers/testcontainers-java/issues/7991)) [@​pioorg](https://togithub.com/pioorg) ##### HiveMQ - Fix wrong permission setup for HiveMQ container ([#​8399](https://togithub.com/testcontainers/testcontainers-java/issues/8399)) [@​SgtSilvio](https://togithub.com/SgtSilvio) ##### MongoDB - Support mongodb/mongodb-community-server and mongodb/mongodb-enterprise-server ([#​8386](https://togithub.com/testcontainers/testcontainers-java/issues/8386)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### PostgreSQL - Add pgvector/pgvector as a compatible image ([#​7898](https://togithub.com/testcontainers/testcontainers-java/issues/7898)) ([#​8401](https://togithub.com/testcontainers/testcontainers-java/issues/8401)) [@​eddumelendez](https://togithub.com/eddumelendez) #### 📖 Documentation - Improve Ollama docs ([#​8417](https://togithub.com/testcontainers/testcontainers-java/issues/8417)) [@​eddumelendez](https://togithub.com/eddumelendez) - openfga.md: fix typo in docker hub link ([#​8400](https://togithub.com/testcontainers/testcontainers-java/issues/8400)) [@​rpalcolea](https://togithub.com/rpalcolea) #### 📦 Dependency updates - Update docker-java version to 3.3.6 ([#​8410](https://togithub.com/testcontainers/testcontainers-java/issues/8410)) [@​eddumelendez](https://togithub.com/eddumelendez) ### [`v1.19.6`](https://togithub.com/testcontainers/testcontainers-java/releases/tag/1.19.6) [Compare Source](https://togithub.com/testcontainers/testcontainers-java/compare/1.19.5...1.19.6) ##### Testcontainers for Java 1.19.6 ##### Modules ##### New modules - Add Qdrant module ([#​8353](https://togithub.com/testcontainers/testcontainers-java/issues/8353)) [@​eddumelendez](https://togithub.com/eddumelendez) - Add Milvus module ([#​8352](https://togithub.com/testcontainers/testcontainers-java/issues/8352)) [@​eddumelendez](https://togithub.com/eddumelendez) - Add ChromaDB module ([#​8336](https://togithub.com/testcontainers/testcontainers-java/issues/8336)) [@​eddumelendez](https://togithub.com/eddumelendez) - Add Weaviate module ([#​8337](https://togithub.com/testcontainers/testcontainers-java/issues/8337)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### 📖 Documentation - Improve postgres docs ([#​8340](https://togithub.com/testcontainers/testcontainers-java/issues/8340)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### 🧹 Housekeeping - Remove unused charset constant in GenericContainer ([#​8304](https://togithub.com/testcontainers/testcontainers-java/issues/8304)) [@​dreis2211](https://togithub.com/dreis2211) ##### 📦 Dependency updates - Update gradle action ([#​8322](https://togithub.com/testcontainers/testcontainers-java/issues/8322)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update docker-java version to 3.3.5 ([#​8325](https://togithub.com/testcontainers/testcontainers-java/issues/8325)) [@​eddumelendez](https://togithub.com/eddumelendez) ### [`v1.19.5`](https://togithub.com/testcontainers/testcontainers-java/releases/tag/1.19.5) [Compare Source](https://togithub.com/testcontainers/testcontainers-java/compare/1.19.4...1.19.5) ##### Testcontainers for Java 1.19.5 > \[!IMPORTANT]\ > This version has downgraded the commons-compress version to 1.24.0 in order to avoid classpath conflicts due to a recent change in commons-compress 1.25.0. See [https://github.com/testcontainers/testcontainers-java/issues/8169](https://togithub.com/testcontainers/testcontainers-java/issues/8169) for more details. ### [`v1.19.4`](https://togithub.com/testcontainers/testcontainers-java/releases/tag/1.19.4) [Compare Source](https://togithub.com/testcontainers/testcontainers-java/compare/1.19.3...1.19.4) ### What's Changed - Update ryuk version to 0.6.0 ([#​7992](https://togithub.com/testcontainers/testcontainers-java/issues/7992)) [@​eddumelendez](https://togithub.com/eddumelendez) - Fix labeler file to v5 structure ([#​7956](https://togithub.com/testcontainers/testcontainers-java/issues/7956)) [@​eddumelendez](https://togithub.com/eddumelendez) - Add redpandadata/redpanda as a compatible image ([#​7898](https://togithub.com/testcontainers/testcontainers-java/issues/7898)) [@​eddumelendez](https://togithub.com/eddumelendez) - Selenium: increase default startup timeout to 60 seconds ([#​4357](https://togithub.com/testcontainers/testcontainers-java/issues/4357)) [@​Aloren](https://togithub.com/Aloren) - Add mikepenz/action-junit-report ([#​7894](https://togithub.com/testcontainers/testcontainers-java/issues/7894)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update docs version to ${GITHUB_REF##\*/} ([#​7862](https://togithub.com/testcontainers/testcontainers-java/issues/7862)) [@​github-actions](https://togithub.com/github-actions) - Update testcontainers version to ${GITHUB_REF##\*/} ([#​7863](https://togithub.com/testcontainers/testcontainers-java/issues/7863)) [@​github-actions](https://togithub.com/github-actions) #### 🚀 Features & Enhancements - Correct testcontainers for use with latest MySQL 8.3 version ([#​8131](https://togithub.com/testcontainers/testcontainers-java/issues/8131)) [@​chadlwilson](https://togithub.com/chadlwilson) - Fix SQLUtils.splitSqlScript: keep semicolons after END when semicolon is not the statement separator ([#​8108](https://togithub.com/testcontainers/testcontainers-java/issues/8108)) [@​inponomarev](https://togithub.com/inponomarev) - Add support for workdir and env var in exec command ([#​7816](https://togithub.com/testcontainers/testcontainers-java/issues/7816)) [@​eddumelendez](https://togithub.com/eddumelendez) - Add the ability to specify an image's platform. ([#​7313](https://togithub.com/testcontainers/testcontainers-java/issues/7313)) [@​shawjef3](https://togithub.com/shawjef3) #### ☠️ Deprecations - Deprecate support for docker.elastic.co/elasticsearch/elasticsearch-oss ([#​4574](https://togithub.com/testcontainers/testcontainers-java/issues/4574)) [@​dadoonet](https://togithub.com/dadoonet) #### 🐛 Bug Fixes - Fix MinIO wait strategy ([#​7901](https://togithub.com/testcontainers/testcontainers-java/issues/7901)) [@​eddumelendez](https://togithub.com/eddumelendez) #### 📖 Documentation - Clarify Neo4j enterprise edition definition in docs. ([#​8149](https://togithub.com/testcontainers/testcontainers-java/issues/8149)) [@​meistermeier](https://togithub.com/meistermeier) - Add support for ActiveMQ and Artemis ([#​7400](https://togithub.com/testcontainers/testcontainers-java/issues/7400)) [@​eddumelendez](https://togithub.com/eddumelendez) - Correct testcontainers for use with latest MySQL 8.3 version ([#​8131](https://togithub.com/testcontainers/testcontainers-java/issues/8131)) [@​chadlwilson](https://togithub.com/chadlwilson) - Added note about Node.js being required for ./gradlew spotlessApply ([#​7990](https://togithub.com/testcontainers/testcontainers-java/issues/7990)) [@​pioorg](https://togithub.com/pioorg) - Fix colima docs ([#​7902](https://togithub.com/testcontainers/testcontainers-java/issues/7902)) [@​eddumelendez](https://togithub.com/eddumelendez) - Deprecate support for docker.elastic.co/elasticsearch/elasticsearch-oss ([#​4574](https://togithub.com/testcontainers/testcontainers-java/issues/4574)) [@​dadoonet](https://togithub.com/dadoonet) #### 🧹 Housekeeping - New Solace certificates ([#​8160](https://togithub.com/testcontainers/testcontainers-java/issues/8160)) [@​infoShare](https://togithub.com/infoShare) - Set remote build cache to push only if authenticated ([#​7924](https://togithub.com/testcontainers/testcontainers-java/issues/7924)) [@​ribafish](https://togithub.com/ribafish) - Fix javadoc for stop method ([#​6834](https://togithub.com/testcontainers/testcontainers-java/issues/6834)) [@​big-andy-coates](https://togithub.com/big-andy-coates) #### 📦 Dependency updates <details> <summary>7 changes</summary> - Combined dependencies PR ([#​8162](https://togithub.com/testcontainers/testcontainers-java/issues/8162)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update activemq-client version to 6.0.1 ([#​8150](https://togithub.com/testcontainers/testcontainers-java/issues/8150)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​8161](https://togithub.com/testcontainers/testcontainers-java/issues/8161)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​8151](https://togithub.com/testcontainers/testcontainers-java/issues/8151)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​7957](https://togithub.com/testcontainers/testcontainers-java/issues/7957)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​7955](https://togithub.com/testcontainers/testcontainers-java/issues/7955)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update Gradle Wrapper to 8.5 ([#​7897](https://togithub.com/testcontainers/testcontainers-java/issues/7897)) [@​github-actions](https://togithub.com/github-actions) </details> ### [`v1.19.3`](https://togithub.com/testcontainers/testcontainers-java/releases/tag/1.19.3) [Compare Source](https://togithub.com/testcontainers/testcontainers-java/compare/1.19.2...1.19.3) ##### What's Changed ##### 🐛 Bug Fixes - Register default network alias using ContainerDef ([#​7861](https://togithub.com/testcontainers/testcontainers-java/issues/7861)) [@​eddumelendez](https://togithub.com/eddumelendez) - Fix regression using GenericContainer#setImage ([#​7820](https://togithub.com/testcontainers/testcontainers-java/issues/7820)) [@​eddumelendez](https://togithub.com/eddumelendez) - Fix bugs in SQL`ScriptScanner` with big String literals and PostgreSQL identifiers (as introduced by [#​7646](https://togithub.com/testcontainers/testcontainers-java/issues/7646)) ([#​7818](https://togithub.com/testcontainers/testcontainers-java/issues/7818)) [@​inponomarev](https://togithub.com/inponomarev) ##### 🧹 Housekeeping - YCQL driver update ([#​7822](https://togithub.com/testcontainers/testcontainers-java/issues/7822)) [@​HarshDaryani896](https://togithub.com/HarshDaryani896) ### [`v1.19.2`](https://togithub.com/testcontainers/testcontainers-java/releases/tag/1.19.2) [Compare Source](https://togithub.com/testcontainers/testcontainers-java/compare/1.19.1...1.19.2) ##### Testcontainers for Java 1.19.2 ##### Core - Add shutdownHook to send sigterm to ryuk ([#​7717](https://togithub.com/testcontainers/testcontainers-java/issues/7717)) [@​eddumelendez](https://togithub.com/eddumelendez) - Deprecate file/volume mapping APIs ([#​7652](https://togithub.com/testcontainers/testcontainers-java/issues/7652)) [@​eddumelendez](https://togithub.com/eddumelendez) - Container definition API ([#​7714](https://togithub.com/testcontainers/testcontainers-java/issues/7714)) [@​eddumelendez](https://togithub.com/eddumelendez) - Enable HTTP and HTTPS on native for HttpWaitStrategy ([#​7790](https://togithub.com/testcontainers/testcontainers-java/issues/7790)) [@​eddumelendez](https://togithub.com/eddumelendez) - Resolve strategy to detect the remote docker socket ([#​7727](https://togithub.com/testcontainers/testcontainers-java/issues/7727)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### Modules - New Oracle Free module ([https://github.com/testcontainers/testcontainers-java/pull/7749](https://togithub.com/testcontainers/testcontainers-java/pull/7749)) [@​gvenzl](https://togithub.com/gvenzl) ##### Elasticserach - Support Elastisearch image from DockerHub ([#​7777](https://togithub.com/testcontainers/testcontainers-java/issues/7777)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### JDBC - Fix SQL parser ([#​7646](https://togithub.com/testcontainers/testcontainers-java/issues/7646)) [@​inponomarev](https://togithub.com/inponomarev) ##### K3S - Fix K3S start command ([#​7677](https://togithub.com/testcontainers/testcontainers-java/issues/7677)) [@​tgeens](https://togithub.com/tgeens) ##### Kafka - Create KafkaContainerDef ([#​7748](https://togithub.com/testcontainers/testcontainers-java/issues/7748)) [@​eddumelendez](https://togithub.com/eddumelendez) - Add examples enabling SASL with JAAS ([#​7763](https://togithub.com/testcontainers/testcontainers-java/issues/7763)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### LocalStack - Fix default credentials ([#​7718](https://togithub.com/testcontainers/testcontainers-java/issues/7718)) [@​fokion](https://togithub.com/fokion) ##### YugabyteDB - Improve SQL wait strategy ([#​7784](https://togithub.com/testcontainers/testcontainers-java/issues/7784)) [@​HarshDaryani896](https://togithub.com/HarshDaryani896) ##### What's Changed ##### 📖 Documentation - Introducing Oracle Free module ([#​7749](https://togithub.com/testcontainers/testcontainers-java/issues/7749)) [@​gvenzl](https://togithub.com/gvenzl) - Update PR template with more specific wording ([#​7751](https://togithub.com/testcontainers/testcontainers-java/issues/7751)) [@​gvenzl](https://togithub.com/gvenzl) - Fix small typo in new Podman docs ([#​7722](https://togithub.com/testcontainers/testcontainers-java/issues/7722)) [@​TheHaf](https://togithub.com/TheHaf) - Deprecate file/volume mapping APIs ([#​7652](https://togithub.com/testcontainers/testcontainers-java/issues/7652)) [@​eddumelendez](https://togithub.com/eddumelendez) - Fix link to Toxiproxy docs from Kafka docs ([#​7684](https://togithub.com/testcontainers/testcontainers-java/issues/7684)) [@​alex-sherwin](https://togithub.com/alex-sherwin) - Fix documentation for BigQuery in gcloud module ([#​7681](https://togithub.com/testcontainers/testcontainers-java/issues/7681)) [@​zanmagerl](https://togithub.com/zanmagerl) - Update Docker requirements page to be more container runtime agnostic ([#​7655](https://togithub.com/testcontainers/testcontainers-java/issues/7655)) [@​kiview](https://togithub.com/kiview) ##### 📦 Dependency updates <details> <summary>12 changes</summary> - Combined dependencies PR ([#​7810](https://togithub.com/testcontainers/testcontainers-java/issues/7810)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​7809](https://togithub.com/testcontainers/testcontainers-java/issues/7809)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​7807](https://togithub.com/testcontainers/testcontainers-java/issues/7807)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update docker-java version to 3.3.4 ([#​7730](https://togithub.com/testcontainers/testcontainers-java/issues/7730)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update kubernetes client version to 19.0.0 ([#​7716](https://togithub.com/testcontainers/testcontainers-java/issues/7716)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​7715](https://togithub.com/testcontainers/testcontainers-java/issues/7715)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​7713](https://togithub.com/testcontainers/testcontainers-java/issues/7713)) [@​eddumelendez](https://togithub.com/eddumelendez) - Selenium updates ([#​7688](https://togithub.com/testcontainers/testcontainers-java/issues/7688)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update httpclient version to 4.5.14 ([#​7650](https://togithub.com/testcontainers/testcontainers-java/issues/7650)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update Gradle Wrapper to 8.4 ([#​7619](https://togithub.com/testcontainers/testcontainers-java/issues/7619)) [@​github-actions](https://togithub.com/github-actions) - Combined dependencies PR ([#​7643](https://togithub.com/testcontainers/testcontainers-java/issues/7643)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​7617](https://togithub.com/testcontainers/testcontainers-java/issues/7617)) [@​eddumelendez](https://togithub.com/eddumelendez) </details> ### [`v1.19.1`](https://togithub.com/testcontainers/testcontainers-java/releases/tag/1.19.1) [Compare Source](https://togithub.com/testcontainers/testcontainers-java/compare/1.19.0...1.19.1) ##### Testcontainers for Java 1.19.1 ##### Core - Allow to define a custom ImagePullPolicy via configuration ([#​7520](https://togithub.com/testcontainers/testcontainers-java/issues/7520)) [@​eddumelendez](https://togithub.com/eddumelendez) - Override ChainedImageNameSubstitutor toString ([#​7522](https://togithub.com/testcontainers/testcontainers-java/issues/7522)) [@​eddumelendez](https://togithub.com/eddumelendez) - Log image pull and container startup time independently ([#​7455](https://togithub.com/testcontainers/testcontainers-java/issues/7455)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### Modules - New [MinIO](https://java.testcontainers.org/modules/minio/) module ([#​7440](https://togithub.com/testcontainers/testcontainers-java/issues/7440)) [@​frozenwizard](https://togithub.com/frozenwizard) ##### Redpanda - Additional listener should inherit the configured authentication method ([#​7594](https://togithub.com/testcontainers/testcontainers-java/issues/7594)) [@​lburgazzoli](https://togithub.com/lburgazzoli) ##### What's Changed - Migrate examples to junit5 ([#​7417](https://togithub.com/testcontainers/testcontainers-java/issues/7417)) [@​samed-bicer](https://togithub.com/samed-bicer) ##### ☠️ Deprecations - Deprecate CLI utility methods in RabbitMQ module ([#​7588](https://togithub.com/testcontainers/testcontainers-java/issues/7588)) [@​eddumelendez](https://togithub.com/eddumelendez) - Deprecate withSecretInVault ([#​7576](https://togithub.com/testcontainers/testcontainers-java/issues/7576)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### 📖 Documentation - Proposing Update to index.md - Env Settings for Rancher Desktop ([#​7591](https://togithub.com/testcontainers/testcontainers-java/issues/7591)) [@​sunilarjun](https://togithub.com/sunilarjun) - Add docs for `copyFile` API ([#​4661](https://togithub.com/testcontainers/testcontainers-java/issues/4661)) [@​kiview](https://togithub.com/kiview) - Add section for dependency upgrades in PR template ([#​7577](https://togithub.com/testcontainers/testcontainers-java/issues/7577)) [@​eddumelendez](https://togithub.com/eddumelendez) - \[Docs] GCloud: Add BigQuery Client creation ([#​7528](https://togithub.com/testcontainers/testcontainers-java/issues/7528)) [@​fabriciorby](https://togithub.com/fabriciorby) - Add docs to run Testcontainers using Podman ([#​7447](https://togithub.com/testcontainers/testcontainers-java/issues/7447)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### 📦 Dependency updates <details> <summary>7 changes</summary> - Combined dependencies PR ([#​7587](https://togithub.com/testcontainers/testcontainers-java/issues/7587)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update guava version to 32.1.2-jre ([#​7534](https://togithub.com/testcontainers/testcontainers-java/issues/7534)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​7584](https://togithub.com/testcontainers/testcontainers-java/issues/7584)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​7519](https://togithub.com/testcontainers/testcontainers-java/issues/7519)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​7500](https://togithub.com/testcontainers/testcontainers-java/issues/7500)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​7496](https://togithub.com/testcontainers/testcontainers-java/issues/7496)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​7494](https://togithub.com/testcontainers/testcontainers-java/issues/7494)) [@​eddumelendez](https://togithub.com/eddumelendez) </details> ### [`v1.19.0`](https://togithub.com/testcontainers/testcontainers-java/releases/tag/1.19.0) [Compare Source](https://togithub.com/testcontainers/testcontainers-java/compare/1.18.3...1.19.0) ##### Testcontainers for Java 1.19.0 ##### Core - Add support for compose v2 with `ComposeContainer` ([#​5608](https://togithub.com/testcontainers/testcontainers-java/issues/5608)) [@​eddumelendez](https://togithub.com/eddumelendez) - Allow command execution with custom user ([#​7311](https://togithub.com/testcontainers/testcontainers-java/issues/7311)) [@​megglos](https://togithub.com/megglos) - Add `Wait.forListeningPorts(ports)` ([#​7402](https://togithub.com/testcontainers/testcontainers-java/issues/7402)) [@​eddumelendez](https://togithub.com/eddumelendez) - Enable Ryuk as a privileged container by default ([#​7319](https://togithub.com/testcontainers/testcontainers-java/issues/7319)) [@​eddumelendez](https://togithub.com/eddumelendez) - Use `SelinuxContext.SHARED` by default ([#​7187](https://togithub.com/testcontainers/testcontainers-java/issues/7187)) [@​jeroen-vd-nl](https://togithub.com/jeroen-vd-nl) - Add interface to customize `CreateContainerCmd` ([#​7421](https://togithub.com/testcontainers/testcontainers-java/issues/7421)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### Modules ##### ClickHouse - Add new `ClickHouseContainer` implementation ([#​7403](https://togithub.com/testcontainers/testcontainers-java/issues/7403)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### Elasticsearch - Disable default geoip database downloading ([#​7247](https://togithub.com/testcontainers/testcontainers-java/issues/7247)) [@​lhotari](https://togithub.com/lhotari) - Disable default disk threshold check ([#​7245](https://togithub.com/testcontainers/testcontainers-java/issues/7245)) [@​lhotari](https://togithub.com/lhotari) ##### DB2 - Support [icr.io/db2\_community/db2](http://icr.io/db2\_community/db2) as a compatible image ([#​7397](https://togithub.com/testcontainers/testcontainers-java/issues/7397)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### GCloud - Add `BigQueryEmulatorContainer` ([#​7324](https://togithub.com/testcontainers/testcontainers-java/issues/7324)) [@​eddumelendez](https://togithub.com/eddumelendez) - Expose getProjectId in `DatastoreEmulatorContainer` ([#​7328](https://togithub.com/testcontainers/testcontainers-java/issues/7328)) [@​eddumelendez](https://togithub.com/eddumelendez) - Support String image in Bigtable, Firestore, PubSub, Spanner ([#​7327](https://togithub.com/testcontainers/testcontainers-java/issues/7327)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### JUnit Jupiter - Fix call to stop containers when using `@Testcontainers(parallel = true)` ([#​7394](https://togithub.com/testcontainers/testcontainers-java/issues/7394)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### Kafka - Allow to register additional listeners ([#​7333](https://togithub.com/testcontainers/testcontainers-java/issues/7333)) [@​eddumelendez](https://togithub.com/eddumelendez) See https://java.testcontainers.org/modules/kafka/ ##### MS SQL Server - Fix MSSQL's default username ([#​7238](https://togithub.com/testcontainers/testcontainers-java/issues/7238)) [@​Eng-Fouad](https://togithub.com/Eng-Fouad) ##### QuestDB - Add questdb as a database provider ([#​7244](https://togithub.com/testcontainers/testcontainers-java/issues/7244)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### Redpanda - Add Redpanda improvements ([#​7320](https://togithub.com/testcontainers/testcontainers-java/issues/7320)) [@​eddumelendez](https://togithub.com/eddumelendez) - Allow to enable authorization and authentication methods - Allow to add additional listeners. E.g. using it with toxiproxy or redpanda console - Enable rest proxy - Configure rpk See https://java.testcontainers.org/modules/redpanda/ ##### Solace - Enable Solace PubSub+ Manager ([#​7411](https://togithub.com/testcontainers/testcontainers-java/issues/7411)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### Spock - Add JavaDoc to Spock's Testcontainers annotation ([#​6802](https://togithub.com/testcontainers/testcontainers-java/issues/6802)) [@​winne42](https://togithub.com/winne42) - Generate javadoc artifact for spock module ([#​7318](https://togithub.com/testcontainers/testcontainers-java/issues/7318)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### What's Changed - Add tests using TCC ([#​7415](https://togithub.com/testcontainers/testcontainers-java/issues/7415)) [@​eddumelendez](https://togithub.com/eddumelendez) - Fix javadoc warnings ([#​7317](https://togithub.com/testcontainers/testcontainers-java/issues/7317)) [@​eddumelendez](https://togithub.com/eddumelendez) - SnakeYaml SafeConstructor restricting deserialization ([#​6319](https://togithub.com/testcontainers/testcontainers-java/issues/6319)) [@​julianladisch](https://togithub.com/julianladisch) - Fix locations set to None in sitemap ([#​7232](https://togithub.com/testcontainers/testcontainers-java/issues/7232)) [@​leocross](https://togithub.com/leocross) ##### :skull_and_crossbones: Deprecations - Deprecate dynalite ([#​7191](https://togithub.com/testcontainers/testcontainers-java/issues/7191)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### :book: Documentation - Add global testcontainers header to docs ([#​7401](https://togithub.com/testcontainers/testcontainers-java/issues/7401)) [@​leocross](https://togithub.com/leocross) - Fix colima documentation ([#​7412](https://togithub.com/testcontainers/testcontainers-java/issues/7412)) [@​eddumelendez](https://togithub.com/eddumelendez) - Fix broken tabs in Consul module docs ([#​7398](https://togithub.com/testcontainers/testcontainers-java/issues/7398)) [@​sh-cho](https://togithub.com/sh-cho) - Polish reuse documentation ([#​7316](https://togithub.com/testcontainers/testcontainers-java/issues/7316)) [@​eddumelendez](https://togithub.com/eddumelendez) - Add Synthesized ([#​7258](https://togithub.com/testcontainers/testcontainers-java/issues/7258)) [@​eddumelendez](https://togithub.com/eddumelendez) - Add missing TC JDBC URLs ([#​7243](https://togithub.com/testcontainers/testcontainers-java/issues/7243)) [@​eddumelendez](https://togithub.com/eddumelendez) - Made k3s documentation a little clearer about starting the container ([#​5175](https://togithub.com/testcontainers/testcontainers-java/issues/5175)) [@​georgecodes](https://togithub.com/georgecodes) - Update docs domain from www to java ([#​7179](https://togithub.com/testcontainers/testcontainers-java/issues/7179)) [@​leocross](https://togithub.com/leocross) ##### :broom: Housekeeping - Add User-Agent to docker client ([#​7407](https://togithub.com/testcontainers/testcontainers-java/issues/7407)) [@​eddumelendez](https://togithub.com/eddumelendez) - Improve javadoc for Testcontainers implementations ([#​7408](https://togithub.com/testcontainers/testcontainers-java/issues/7408)) [@​eddumelendez](https://togithub.com/eddumelendez) - Move common configuration in workflows ([#​7396](https://togithub.com/testcontainers/testcontainers-java/issues/7396)) [@​eddumelendez](https://togithub.com/eddumelendez) - Apply priority execution in CI ([#​7395](https://togithub.com/testcontainers/testcontainers-java/issues/7395)) [@​eddumelendez](https://togithub.com/eddumelendez) - Fix javadoc for RabbitMQContainer ([#​7339](https://togithub.com/testcontainers/testcontainers-java/issues/7339)) [@​eddumelendez](https://togithub.com/eddumelendez) - Polish tests in hivemq module ([#​7308](https://togithub.com/testcontainers/testcontainers-java/issues/7308)) [@​eddumelendez](https://togithub.com/eddumelendez) - Use testRuntimeOnly for JDBC/R2DBC drivers ([#​7295](https://togithub.com/testcontainers/testcontainers-java/issues/7295)) [@​eddumelendez](https://togithub.com/eddumelendez) - Use cucumber-bom and selenium-bom ([#​7249](https://togithub.com/testcontainers/testcontainers-java/issues/7249)) [@​eddumelendez](https://togithub.com/eddumelendez) - Use org.seleniumhq.selenium:selenium-bom ([#​7248](https://togithub.com/testcontainers/testcontainers-java/issues/7248)) [@​eddumelendez](https://togithub.com/eddumelendez) - Fix Testcontainers name ([#​7250](https://togithub.com/testcontainers/testcontainers-java/issues/7250)) [@​eddumelendez](https://togithub.com/eddumelendez) - Refactor spring-boot-kotlin-redis example to be more Kotlin idiomatic ([#​7185](https://togithub.com/testcontainers/testcontainers-java/issues/7185)) [@​jitokim](https://togithub.com/jitokim) - Use static import for assertThat ([#​7188](https://togithub.com/testcontainers/testcontainers-java/issues/7188)) [@​eddumelendez](https://togithub.com/eddumelendez) - Ignore jackson-datatype-jsr310 in dependabot.yml ([#​7143](https://togithub.com/testcontainers/testcontainers-java/issues/7143)) [@​eddumelendez](https://togithub.com/eddumelendez) - Fix paths-ignore for ci-examples.yml ([#​7138](https://togithub.com/testcontainers/testcontainers-java/issues/7138)) [@​eddumelendez](https://togithub.com/eddumelendez) - Remove unused com.google.auto.service:auto-service dependency ([#​7230](https://togithub.com/testcontainers/testcontainers-java/issues/7230)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update google-cloud-cli image version to 441 ([#​7389](https://togithub.com/testcontainers/testcontainers-java/issues/7389)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### :package: Dependency updates <details> <summary>14 changes</summary> - Combined dependencies PR ([#​7391](https://togithub.com/testcontainers/testcontainers-java/issues/7391)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​7388](https://togithub.com/testcontainers/testcontainers-java/issues/7388)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update docker-java version to 3.3.3 ([#​7423](https://togithub.com/testcontainers/testcontainers-java/issues/7423)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​7292](https://togithub.com/testcontainers/testcontainers-java/issues/7292)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​7290](https://togithub.com/testcontainers/testcontainers-java/issues/7290)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​7289](https://togithub.com/testcontainers/testcontainers-java/issues/7289)) [@​eddumelendez](https://togithub.com/eddumelendez) - Use com.amazonaws:aws-java-sdk-bom ([#​7228](https://togithub.com/testcontainers/testcontainers-java/issues/7228)) [@​eddumelendez](https://togithub.com/eddumelendez) - Use [com.google.cloud:libraries-bom](http://com.google.cloud:libraries-bom/) ([#​7227](https://togithub.com/testcontainers/testcontainers-java/issues/7227)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update captainhook plugin version to 0.1.5 ([#​7221](https://togithub.com/testcontainers/testcontainers-java/issues/7221)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update selenium version to 4.10.0 ([#​7163](https://togithub.com/testcontainers/testcontainers-java/issues/7163)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update questdb version to 7.1.3 ([#​7145](https://togithub.com/testcontainers/testcontainers-java/issues/7145)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update cucumber version to 7.12.0 ([#​7144](https://togithub.com/testcontainers/testcontainers-java/issues/7144)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update lombok version to 1.18.28 ([#​7293](https://togithub.com/testcontainers/testcontainers-java/issues/7293)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update captainhook plugin version to 0.1.5 ([#​7221](https://togithub.com/testcontainers/testcontainers-java/issues/7221)) [@​eddumelendez](https://togithub.com/eddumelendez) </details> ### [`v1.18.3`](https://togithub.com/testcontainers/testcontainers-java/releases/tag/1.18.3) [Compare Source](https://togithub.com/testcontainers/testcontainers-java/compare/1.18.2...1.18.3) Testcontainers for Java 1.18.2 introduced new strategies to detect the `docker.sock`. There was an issue reported, see [#​7082](https://togithub.com/testcontainers/testcontainers-java/issues/7082). It's is highly recommended to use version 1.18.3. ##### What's Changed - Fixes for new strategies ([#​7085](https://togithub.com/testcontainers/testcontainers-java/issues/7085)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### 🧹 Housekeeping - Demote "testcontainers.properties not found" message to debug log level ([#​7035](https://togithub.com/testcontainers/testcontainers-java/issues/7035)) [@​perlun](https://togithub.com/perlun) ### [`v1.18.2`](https://togithub.com/testcontainers/testcontainers-java/releases/tag/1.18.2) [Compare Source](https://togithub.com/testcontainers/testcontainers-java/compare/1.18.1...1.18.2) ##### Highlights ✨ - Support Docker Desktop paths for Linux and Mac ([#​7058](https://togithub.com/testcontainers/testcontainers-java/issues/7058)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update `testcontainers/ryuk` version to 0.5.1 ([#​7054](https://togithub.com/testcontainers/testcontainers-java/issues/7054)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### 🐛 Bug Fixes - \[redpanda] Fix command by setting memory to 1G ([#​7045](https://togithub.com/testcontainers/testcontainers-java/issues/7045)) [@​eddumelendez](https://togithub.com/eddumelendez) - \[cratedb] Enable single node by default ([#​7041](https://togithub.com/testcontainers/testcontainers-java/issues/7041)) [@​matriv](https://togithub.com/matriv) ##### 🚀 Features & Enhancements - Add `TestcontainersHostPropertyClientStrategy` ([#​7053](https://togithub.com/testcontainers/testcontainers-java/issues/7053)) [@​eddumelendez](https://togithub.com/eddumelendez) - DockerComposeContainer: add 'removeVolumes' parameter ([#​7009](https://togithub.com/testcontainers/testcontainers-java/issues/7009)) [@​DanWiseProgramming](https://togithub.com/DanWiseProgramming) ##### 📖 Documentation - Fix typo in gitlab_ci instruction docs ([#​7059](https://togithub.com/testcontainers/testcontainers-java/issues/7059)) [@​dakshin-k](https://togithub.com/dakshin-k) - Add Apache Kyuubi to who is using testcontainers ([#​7042](https://togithub.com/testcontainers/testcontainers-java/issues/7042)) [@​bowenliang123](https://togithub.com/bowenliang123) ##### 🧹 Housekeeping - Add LocalStackContainer#getEndpoint() ([#​7037](https://togithub.com/testcontainers/testcontainers-java/issues/7037)) [@​eddumelendez](https://togithub.com/eddumelendez) ### [`v1.18.1`](https://togithub.com/testcontainers/testcontainers-java/releases/tag/1.18.1) [Compare Source](https://togithub.com/testcontainers/testcontainers-java/compare/1.18.0...1.18.1) ### What's Changed - Favor copy compose file instead of mount ([#​6945](https://togithub.com/testcontainers/testcontainers-java/issues/6945)) [@​eddumelendez](https://togithub.com/eddumelendez) - Allow `@Container` to be used as a meta-annotation ([#​6914](https://togithub.com/testcontainers/testcontainers-java/issues/6914)) [@​eddumelendez](https://togithub.com/eddumelendez) #### 🚀 Features & Enhancements - Support Kraft post Confluent Platform 7.4.0 ([#​7014](https://togithub.com/testcontainers/testcontainers-java/issues/7014)) [@​danielpetisme](https://togithub.com/danielpetisme) - Alternative waiting strategy for Mockserver container ([#​6951](https://togithub.com/testcontainers/testcontainers-java/issues/6951)) [@​DenilssonMontoya](https://togithub.com/DenilssonMontoya) - Update RedpandaContainer.java ([#​6939](https://togithub.com/testcontainers/testcontainers-java/issues/6939)) [@​shelajev](https://togithub.com/shelajev) #### 🐛 Bug Fixes - Lowercase identifier in DockerComposeContainer ([#​6944](https://togithub.com/testcontainers/testcontainers-java/issues/6944)) [@​eddumelendez](https://togithub.com/eddumelendez) - Use the current thread's classloader for classes ([#​6926](https://togithub.com/testcontainers/testcontainers-java/issues/6926)) [@​snowe2010](https://togithub.com/snowe2010) #### 📖 Documentation - Add new section for test integrations ([#​6930](https://togithub.com/testcontainers/testcontainers-java/issues/6930)) [@​LeoColman](https://togithub.com/LeoColman) #### 🧹 Housekeeping - Test against Cassandra 4.x ([#​7013](https://togithub.com/testcontainers/testcontainers-java/issues/7013)) [@​wakingrufus](https://togithub.com/wakingrufus) - Update lombok version to 1.18.26 ([#​6935](https://togithub.com/testcontainers/testcontainers-java/issues/6935)) [@​eddumelendez](https://togithub.com/eddumelendez) - Fix generated pom with duplicated entries ([#​6931](https://togithub.com/testcontainers/testcontainers-java/issues/6931)) [@​eddumelendez](https://togithub.com/eddumelendez) #### 📦 Dependency updates - Bump Pulsar version to 3.0.0 ([#​7016](https://togithub.com/testcontainers/testcontainers-java/issues/7016)) [@​nicoloboschi](https://togithub.com/nicoloboschi) - Update Gradle Wrapper to 8.1.1 ([#​6933](https://togithub.com/testcontainers/testcontainers-java/issues/6933)) [@​github-actions](https://togithub.com/github-actions) - Combined dependencies PR ([#​6912](https://togithub.com/testcontainers/testcontainers-java/issues/6912)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​6908](https://togithub.com/testcontainers/testcontainers-java/issues/6908)) [@​eddumelendez](https://togithub.com/eddumelendez) ### [`v1.18.0`](https://togithub.com/testcontainers/testcontainers-java/releases/tag/1.18.0) [Compare Source](https://togithub.com/testcontainers/testcontainers-java/compare/1.17.6...1.18.0) #### Core module - Modules images such as `MySQLContainer` are now automatically compatible with their corresponding images with the `library` prefix ```java MySQLContainer<?> mysql = new MySQLContainer<>("library/mysql"); ``` - `testcontainers/vnc` has been bumped to version 1.3.0, which brings ARM support. - Goodbye to the whale in the logs. In order to provide an easy way to filter container logs the `tc` prefix has been added to display all container logs or `tc.<image-name:tag>` for a specific one. Check the [logging docs](https://www.testcontainers.org/supported_docker_environment/logging_config/). - There is a new `WaitStrategy`, `ShellStrategy`. It can also be used by calling `Wait.forSuccessfulCommand(<command>)` #### New integration [Jib](https://togithub.com/GoogleContainerTools/jib) has been integrated to Testcontainers in order to take advantage of the nice API it provides to create containers ```java GenericContainer<?> busybox = new GenericContainer<>( new JibImage( "busybox:1.35", jibContainerBuilder -> { return jibContainerBuilder.setEntrypoint("echo", "Hello World"); } ) ) .withStartupCheckStrategy(new OneShotStartupCheckStrategy().withTimeout(Duration.ofSeconds(3))) ``` #### New modules 🆕 ##### CrateDB module In order to use `CrateDBContainer` , declare the dependency in your pom.xml/build.gradle ```xml <dependency> <groupId>org.testcontainers</groupId> <artifactId>cratedb</artifactId> <version>1.18.0</version> <scope>test</scope> </dependency> ``` ```gradle testImplementation "org.testcontainers:cratedb:1.18.0" ``` Choose a [crate](https://hub.docker.com/\_/crate) image version and use it as declared below with your postgres driver ```java CrateDBContainer cratedb = new CrateDBContainer("crate:5.2.5"); ``` ##### Solace Module In order to use `SolaceContainer` , declare the dependency in your pom.xml/build.gradle ```xml <dependency> <groupId>org.testcontainers</groupId> <artifactId>solace</artifactId> <version>1.18.0</version> <scope>test</scope> </dependency> ``` ```gradle testImplementation "org.testcontainers:solace:1.18.0" ``` Now, you can use a Solace PubSub running in a container and connecting via AMQP by doing the following: ```java SolaceContainer solace = new SolaceContainer("solace/solace-pubsub-standard:10.2"); solace.start(); Session session = createSession( solaceContainer.getUsername(), solaceContainer.getPassword(), solaceContainer.getOrigin(Service.AMQP) ); ``` More information about `SolaceContainer` can be found in the [documentation](https://www.testcontainers.org/modules/solace/). #### Container modules ##### CockroachDB Starting with `cockroachdb/cockroach:22.1.0`, there is support for setting the username, password and database name via environment variables. Now, the Testcontainers module provides convenient setters: ```java CockroachContainer cockroach = new CockroachContainer("cockroachdb/cockroach:22.1.0") .withUsername("test_user") .withPassword("test_password") .withDatabaseName("test_database"); ``` ##### GCloud module Google has released a new image which supports ARM and therefore `BigtableEmulatorContainer`, `DatastoreEmulatorContainer`, `FirestoreEmulatorContainer`, `PubSubEmulatorContainer` now support it as well. So, if previously you were doing something like ```java DockerImageName.parse("gcr.io/google.com/cloudsdktool/google-cloud-cli:380.0.0-emulators") .asCompatibleSubstituteFor("gcr.io/google.com/cloudsdktool/cloud-sdk"); ``` Now, you can simply do ```java DockerImageName.parse("gcr.io/google.com/cloudsdktool/google-cloud-cli:380.0.0-emulators"); ``` ##### JUnit Jupiter Module `@Testcontainers` offers a new attribute `parallel`, which start those containers classes annotated by `@Container` ```java @​Testcontainers(parallel = true) class ParallelTest { @​Container private static final PostgreSQLContainer<?> postgres = new PostgreSQLContainer<>("postgres:15-alpine") .withCopyFileToContainer(MountableFile.forClasspathResource("db.sql"), "/docker-entrypoint-initdb.d/") .withNetwork(network) .withNetworkAliases("postgres"); @​Container private static final ToxiproxyContainer toxiproxy = new ToxiproxyContainer("ghcr.io/shopify/toxiproxy:2.5.0") .withNetwork(network); } ``` ##### Kafka Module Self-managed or Kraft mode (a.k.a Zookeeperless) support has been added ```java KafkaContainer kafka = new KafkaContainer(DockerImageName.parse("confluentinc/cp-kafka:7.0.1")).withKraft() ``` ##### LocalStack Module `SERVICES` environment variable became optional in version 0.13.0 and instead LocalStack will initialize a service once the first request is served. So, nowadays `LocalStackContainer` can be used just like this: ```java LocalStackContainer localstack = new LocalStackContainer("localstack/localstack:2.0.0"); ``` Also, LocalStack module supports version 2.0. It is highly recommended to use the latest version of LocalStack images. Last but not least, dependency on AWS SDK V1 was dropped. So, that means by upgrading to version 1.18.0, the dependency can be removed if not used directly. ##### MongoDB Module `MongoDBContainer` by default has been enabling ReplicaSet mode. Starting in this version, sharding has been added. ```java MongoDBContainer mongodb = new MongoDBContainer("mongo:6") .withSharding(); ``` ##### Selenium Module Selenium 4 has built-in support for Microsoft Edge (which is based on Chromium) and now it is supported by `BrowserWebDriverContainer` as well: ```java BrowserWebDriverContainer<?> edge = new BrowserWebDriverContainer<>("selenium/standalone-edge:4.8.0") .withCapabilities(new EdgeOptions()); ``` #### More #### ⚠️ Breaking API changes - Removed deprecated methods and undeclared transitive dependency to AWS SDK v1 ([#​5827](https://togithub.com/testcontainers/testcontainers-java/issues/5827)) [@​AB-xdev](https://togithub.com/AB-xdev) - Move junit-jupiter-api's dependency configuration to implementation ([#​5985](https://togithub.com/testcontainers/testcontainers-java/issues/5985)) [@​edysli](https://togithub.com/edysli) #### 🚀 Features & Enhancements - Improve startup wait checks ([#​6384](https://togithub.com/testcontainers/testcontainers-java/issues/6384)) [@​deejgregor](https://togithub.com/deejgregor) - [#​6667](https://togithub.com/testcontainers/testcontainers-java/issues/6667): reset network creation state if network creation fails. ([#​6668](https://togithub.com/testcontainers/testcontainers-java/issues/6668)) [@​k-wall](https://togithub.com/k-wall) - \[Feature]: ShellStrategy, a new WaitStrategy ([#​6672](https://togithub.com/testcontainers/testcontainers-java/issues/6672)) [@​m4rii0](https://togithub.com/m4rii0) - feat: also check DOCKER_AUTH_CONFIG for registry auth config as an alternative to config.json ([#​6238](https://togithub.com/testcontainers/testcontainers-java/issues/6238)) [@​roseo1](https://togithub.com/roseo1) - Ensure readability of MySQL and MariaDB config override ([#​6625](https://togithub.com/testcontainers/testcontainers-java/issues/6625)) [@​famod](https://togithub.com/famod) - Bugfix: Log consumers are now called with exactly one complete log line ([#​5854](https://togithub.com/testcontainers/testcontainers-java/issues/5854)) [@​SgtSilvio](https://togithub.com/SgtSilvio) - ClickHouse uses new driver if it is available and version is compatible ([#​6236](https://togithub.com/testcontainers/testcontainers-java/issues/6236)) [@​trolley813](https://togithub.com/trolley813) - Add devcontainer file ([#​6412](https://togithub.com/testcontainers/testcontainers-java/issues/6412)) [@​eddumelendez](https://togithub.com/eddumelendez) - Add Docker image name to ContainerLaunchException message ([#​6408](https://togithub.com/testcontainers/testcontainers-java/issues/6408)) [@​Donnerbart](https://togithub.com/Donnerbart) - Make sure we don't hide exceptions from waitUntilContainerStarted ([#​6167](https://togithub.com/testcontainers/testcontainers-java/issues/6167)) [@​deejgregor](https://togithub.com/deejgregor) - feat: enable reuse for mongodb ([#​6235](https://togithub.com/testcontainers/testcontainers-java/issues/6235)) [@​tiboun](https://togithub.com/tiboun) - Avoid Pattern recompilation in log output processing ([#​6239](https://togithub.com/testcontainers/testcontainers-java/issues/6239)) [@​dreis2211](https://togithub.com/dreis2211) - Fixes the issue of missing root cause in container launch TimeoutException (e.g. SSLHandshakeException) ([#​5778](https://togithub.com/testcontainers/testcontainers-java/issues/5778)) [@​cdanger](https://togithub.com/cdanger) #### ☠️ Deprecations - Deprecate VaultContainer#withLogLevel ([#​6795](https://togithub.com/testcontainers/testcontainers-java/issues/6795)) [@​eddumelendez](https://togithub.com/eddumelendez) #### 🐛 Bug Fixes - Short-circuit CompletableFuture returned by Startables#deepStart on exception ([#​5930](https://togithub.com/testcontainers/testcontainers-java/issues/5930)) [@​pivovarit](https://togithub.com/pivovarit) - fix: Don't return JSON auth config for partial registry name match ([#​6323](https://togithub.com/testcontainers/testcontainers-java/issues/6323)) [@​kiview](https://togithub.com/kiview) - Fix `allowInsecure()` on `HttpWaitStrategy` for non-localhost Docker daemon ([#​6314](https://togithub.com/testcontainers/testcontainers-java/issues/6314)) [@​kiview](https://togithub.com/kiview) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 10pm every weekday,before 6am every weekday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/camunda/zeebe). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.testcontainers:postgresql](https://java.testcontainers.org) ([source](https://togithub.com/testcontainers/testcontainers-java)) | `1.17.6` -> `1.19.7` | [![age](https://developer.mend.io/api/mc/badges/age/maven/org.testcontainers:postgresql/1.19.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.testcontainers:postgresql/1.19.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.testcontainers:postgresql/1.17.6/1.19.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.testcontainers:postgresql/1.17.6/1.19.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [org.testcontainers:elasticsearch](https://java.testcontainers.org) ([source](https://togithub.com/testcontainers/testcontainers-java)) | `1.19.3` -> `1.19.7` | [![age](https://developer.mend.io/api/mc/badges/age/maven/org.testcontainers:elasticsearch/1.19.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.testcontainers:elasticsearch/1.19.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.testcontainers:elasticsearch/1.19.3/1.19.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.testcontainers:elasticsearch/1.19.3/1.19.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>testcontainers/testcontainers-java (org.testcontainers:postgresql)</summary> ### [`v1.19.7`](https://togithub.com/testcontainers/testcontainers-java/releases/tag/1.19.7) [Compare Source](https://togithub.com/testcontainers/testcontainers-java/compare/1.19.6...1.19.7) ### Testcontainers for Java 1.19.7 ### Modules - New K6 module ([#​8318](https://togithub.com/testcontainers/testcontainers-java/issues/8318)) [@​javaducky](https://togithub.com/javaducky) - New OceanBase module ([#​7502](https://togithub.com/testcontainers/testcontainers-java/issues/7502)) [@​whhe](https://togithub.com/whhe) - New Ollama module ([#​8369](https://togithub.com/testcontainers/testcontainers-java/issues/8369)) [@​eddumelendez](https://togithub.com/eddumelendez) - New OpenFGA module ([#​8371](https://togithub.com/testcontainers/testcontainers-java/issues/8371)) [@​eddumelendez](https://togithub.com/eddumelendez) ### Elasticserach - Enable lazy certificates for Elasticsearch ([#​7991](https://togithub.com/testcontainers/testcontainers-java/issues/7991)) [@​pioorg](https://togithub.com/pioorg) ##### HiveMQ - Fix wrong permission setup for HiveMQ container ([#​8399](https://togithub.com/testcontainers/testcontainers-java/issues/8399)) [@​SgtSilvio](https://togithub.com/SgtSilvio) ##### MongoDB - Support mongodb/mongodb-community-server and mongodb/mongodb-enterprise-server ([#​8386](https://togithub.com/testcontainers/testcontainers-java/issues/8386)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### PostgreSQL - Add pgvector/pgvector as a compatible image ([#​7898](https://togithub.com/testcontainers/testcontainers-java/issues/7898)) ([#​8401](https://togithub.com/testcontainers/testcontainers-java/issues/8401)) [@​eddumelendez](https://togithub.com/eddumelendez) #### 📖 Documentation - Improve Ollama docs ([#​8417](https://togithub.com/testcontainers/testcontainers-java/issues/8417)) [@​eddumelendez](https://togithub.com/eddumelendez) - openfga.md: fix typo in docker hub link ([#​8400](https://togithub.com/testcontainers/testcontainers-java/issues/8400)) [@​rpalcolea](https://togithub.com/rpalcolea) #### 📦 Dependency updates - Update docker-java version to 3.3.6 ([#​8410](https://togithub.com/testcontainers/testcontainers-java/issues/8410)) [@​eddumelendez](https://togithub.com/eddumelendez) ### [`v1.19.6`](https://togithub.com/testcontainers/testcontainers-java/releases/tag/1.19.6) [Compare Source](https://togithub.com/testcontainers/testcontainers-java/compare/1.19.5...1.19.6) ##### Testcontainers for Java 1.19.6 ##### Modules ##### New modules - Add Qdrant module ([#​8353](https://togithub.com/testcontainers/testcontainers-java/issues/8353)) [@​eddumelendez](https://togithub.com/eddumelendez) - Add Milvus module ([#​8352](https://togithub.com/testcontainers/testcontainers-java/issues/8352)) [@​eddumelendez](https://togithub.com/eddumelendez) - Add ChromaDB module ([#​8336](https://togithub.com/testcontainers/testcontainers-java/issues/8336)) [@​eddumelendez](https://togithub.com/eddumelendez) - Add Weaviate module ([#​8337](https://togithub.com/testcontainers/testcontainers-java/issues/8337)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### 📖 Documentation - Improve postgres docs ([#​8340](https://togithub.com/testcontainers/testcontainers-java/issues/8340)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### 🧹 Housekeeping - Remove unused charset constant in GenericContainer ([#​8304](https://togithub.com/testcontainers/testcontainers-java/issues/8304)) [@​dreis2211](https://togithub.com/dreis2211) ##### 📦 Dependency updates - Update gradle action ([#​8322](https://togithub.com/testcontainers/testcontainers-java/issues/8322)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update docker-java version to 3.3.5 ([#​8325](https://togithub.com/testcontainers/testcontainers-java/issues/8325)) [@​eddumelendez](https://togithub.com/eddumelendez) ### [`v1.19.5`](https://togithub.com/testcontainers/testcontainers-java/releases/tag/1.19.5) [Compare Source](https://togithub.com/testcontainers/testcontainers-java/compare/1.19.4...1.19.5) ##### Testcontainers for Java 1.19.5 > \[!IMPORTANT]\ > This version has downgraded the commons-compress version to 1.24.0 in order to avoid classpath conflicts due to a recent change in commons-compress 1.25.0. See [https://github.com/testcontainers/testcontainers-java/issues/8169](https://togithub.com/testcontainers/testcontainers-java/issues/8169) for more details. ### [`v1.19.4`](https://togithub.com/testcontainers/testcontainers-java/releases/tag/1.19.4) [Compare Source](https://togithub.com/testcontainers/testcontainers-java/compare/1.19.3...1.19.4) ### What's Changed - Update ryuk version to 0.6.0 ([#​7992](https://togithub.com/testcontainers/testcontainers-java/issues/7992)) [@​eddumelendez](https://togithub.com/eddumelendez) - Fix labeler file to v5 structure ([#​7956](https://togithub.com/testcontainers/testcontainers-java/issues/7956)) [@​eddumelendez](https://togithub.com/eddumelendez) - Add redpandadata/redpanda as a compatible image ([#​7898](https://togithub.com/testcontainers/testcontainers-java/issues/7898)) [@​eddumelendez](https://togithub.com/eddumelendez) - Selenium: increase default startup timeout to 60 seconds ([#​4357](https://togithub.com/testcontainers/testcontainers-java/issues/4357)) [@​Aloren](https://togithub.com/Aloren) - Add mikepenz/action-junit-report ([#​7894](https://togithub.com/testcontainers/testcontainers-java/issues/7894)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update docs version to ${GITHUB_REF##\*/} ([#​7862](https://togithub.com/testcontainers/testcontainers-java/issues/7862)) [@​github-actions](https://togithub.com/github-actions) - Update testcontainers version to ${GITHUB_REF##\*/} ([#​7863](https://togithub.com/testcontainers/testcontainers-java/issues/7863)) [@​github-actions](https://togithub.com/github-actions) #### 🚀 Features & Enhancements - Correct testcontainers for use with latest MySQL 8.3 version ([#​8131](https://togithub.com/testcontainers/testcontainers-java/issues/8131)) [@​chadlwilson](https://togithub.com/chadlwilson) - Fix SQLUtils.splitSqlScript: keep semicolons after END when semicolon is not the statement separator ([#​8108](https://togithub.com/testcontainers/testcontainers-java/issues/8108)) [@​inponomarev](https://togithub.com/inponomarev) - Add support for workdir and env var in exec command ([#​7816](https://togithub.com/testcontainers/testcontainers-java/issues/7816)) [@​eddumelendez](https://togithub.com/eddumelendez) - Add the ability to specify an image's platform. ([#​7313](https://togithub.com/testcontainers/testcontainers-java/issues/7313)) [@​shawjef3](https://togithub.com/shawjef3) #### ☠️ Deprecations - Deprecate support for docker.elastic.co/elasticsearch/elasticsearch-oss ([#​4574](https://togithub.com/testcontainers/testcontainers-java/issues/4574)) [@​dadoonet](https://togithub.com/dadoonet) #### 🐛 Bug Fixes - Fix MinIO wait strategy ([#​7901](https://togithub.com/testcontainers/testcontainers-java/issues/7901)) [@​eddumelendez](https://togithub.com/eddumelendez) #### 📖 Documentation - Clarify Neo4j enterprise edition definition in docs. ([#​8149](https://togithub.com/testcontainers/testcontainers-java/issues/8149)) [@​meistermeier](https://togithub.com/meistermeier) - Add support for ActiveMQ and Artemis ([#​7400](https://togithub.com/testcontainers/testcontainers-java/issues/7400)) [@​eddumelendez](https://togithub.com/eddumelendez) - Correct testcontainers for use with latest MySQL 8.3 version ([#​8131](https://togithub.com/testcontainers/testcontainers-java/issues/8131)) [@​chadlwilson](https://togithub.com/chadlwilson) - Added note about Node.js being required for ./gradlew spotlessApply ([#​7990](https://togithub.com/testcontainers/testcontainers-java/issues/7990)) [@​pioorg](https://togithub.com/pioorg) - Fix colima docs ([#​7902](https://togithub.com/testcontainers/testcontainers-java/issues/7902)) [@​eddumelendez](https://togithub.com/eddumelendez) - Deprecate support for docker.elastic.co/elasticsearch/elasticsearch-oss ([#​4574](https://togithub.com/testcontainers/testcontainers-java/issues/4574)) [@​dadoonet](https://togithub.com/dadoonet) #### 🧹 Housekeeping - New Solace certificates ([#​8160](https://togithub.com/testcontainers/testcontainers-java/issues/8160)) [@​infoShare](https://togithub.com/infoShare) - Set remote build cache to push only if authenticated ([#​7924](https://togithub.com/testcontainers/testcontainers-java/issues/7924)) [@​ribafish](https://togithub.com/ribafish) - Fix javadoc for stop method ([#​6834](https://togithub.com/testcontainers/testcontainers-java/issues/6834)) [@​big-andy-coates](https://togithub.com/big-andy-coates) #### 📦 Dependency updates <details> <summary>7 changes</summary> - Combined dependencies PR ([#​8162](https://togithub.com/testcontainers/testcontainers-java/issues/8162)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update activemq-client version to 6.0.1 ([#​8150](https://togithub.com/testcontainers/testcontainers-java/issues/8150)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​8161](https://togithub.com/testcontainers/testcontainers-java/issues/8161)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​8151](https://togithub.com/testcontainers/testcontainers-java/issues/8151)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​7957](https://togithub.com/testcontainers/testcontainers-java/issues/7957)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​7955](https://togithub.com/testcontainers/testcontainers-java/issues/7955)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update Gradle Wrapper to 8.5 ([#​7897](https://togithub.com/testcontainers/testcontainers-java/issues/7897)) [@​github-actions](https://togithub.com/github-actions) </details> ### [`v1.19.3`](https://togithub.com/testcontainers/testcontainers-java/releases/tag/1.19.3) [Compare Source](https://togithub.com/testcontainers/testcontainers-java/compare/1.19.2...1.19.3) ##### What's Changed ##### 🐛 Bug Fixes - Register default network alias using ContainerDef ([#​7861](https://togithub.com/testcontainers/testcontainers-java/issues/7861)) [@​eddumelendez](https://togithub.com/eddumelendez) - Fix regression using GenericContainer#setImage ([#​7820](https://togithub.com/testcontainers/testcontainers-java/issues/7820)) [@​eddumelendez](https://togithub.com/eddumelendez) - Fix bugs in SQL`ScriptScanner` with big String literals and PostgreSQL identifiers (as introduced by [#​7646](https://togithub.com/testcontainers/testcontainers-java/issues/7646)) ([#​7818](https://togithub.com/testcontainers/testcontainers-java/issues/7818)) [@​inponomarev](https://togithub.com/inponomarev) ##### 🧹 Housekeeping - YCQL driver update ([#​7822](https://togithub.com/testcontainers/testcontainers-java/issues/7822)) [@​HarshDaryani896](https://togithub.com/HarshDaryani896) ### [`v1.19.2`](https://togithub.com/testcontainers/testcontainers-java/releases/tag/1.19.2) [Compare Source](https://togithub.com/testcontainers/testcontainers-java/compare/1.19.1...1.19.2) ##### Testcontainers for Java 1.19.2 ##### Core - Add shutdownHook to send sigterm to ryuk ([#​7717](https://togithub.com/testcontainers/testcontainers-java/issues/7717)) [@​eddumelendez](https://togithub.com/eddumelendez) - Deprecate file/volume mapping APIs ([#​7652](https://togithub.com/testcontainers/testcontainers-java/issues/7652)) [@​eddumelendez](https://togithub.com/eddumelendez) - Container definition API ([#​7714](https://togithub.com/testcontainers/testcontainers-java/issues/7714)) [@​eddumelendez](https://togithub.com/eddumelendez) - Enable HTTP and HTTPS on native for HttpWaitStrategy ([#​7790](https://togithub.com/testcontainers/testcontainers-java/issues/7790)) [@​eddumelendez](https://togithub.com/eddumelendez) - Resolve strategy to detect the remote docker socket ([#​7727](https://togithub.com/testcontainers/testcontainers-java/issues/7727)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### Modules - New Oracle Free module ([https://github.com/testcontainers/testcontainers-java/pull/7749](https://togithub.com/testcontainers/testcontainers-java/pull/7749)) [@​gvenzl](https://togithub.com/gvenzl) ##### Elasticserach - Support Elastisearch image from DockerHub ([#​7777](https://togithub.com/testcontainers/testcontainers-java/issues/7777)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### JDBC - Fix SQL parser ([#​7646](https://togithub.com/testcontainers/testcontainers-java/issues/7646)) [@​inponomarev](https://togithub.com/inponomarev) ##### K3S - Fix K3S start command ([#​7677](https://togithub.com/testcontainers/testcontainers-java/issues/7677)) [@​tgeens](https://togithub.com/tgeens) ##### Kafka - Create KafkaContainerDef ([#​7748](https://togithub.com/testcontainers/testcontainers-java/issues/7748)) [@​eddumelendez](https://togithub.com/eddumelendez) - Add examples enabling SASL with JAAS ([#​7763](https://togithub.com/testcontainers/testcontainers-java/issues/7763)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### LocalStack - Fix default credentials ([#​7718](https://togithub.com/testcontainers/testcontainers-java/issues/7718)) [@​fokion](https://togithub.com/fokion) ##### YugabyteDB - Improve SQL wait strategy ([#​7784](https://togithub.com/testcontainers/testcontainers-java/issues/7784)) [@​HarshDaryani896](https://togithub.com/HarshDaryani896) ##### What's Changed ##### 📖 Documentation - Introducing Oracle Free module ([#​7749](https://togithub.com/testcontainers/testcontainers-java/issues/7749)) [@​gvenzl](https://togithub.com/gvenzl) - Update PR template with more specific wording ([#​7751](https://togithub.com/testcontainers/testcontainers-java/issues/7751)) [@​gvenzl](https://togithub.com/gvenzl) - Fix small typo in new Podman docs ([#​7722](https://togithub.com/testcontainers/testcontainers-java/issues/7722)) [@​TheHaf](https://togithub.com/TheHaf) - Deprecate file/volume mapping APIs ([#​7652](https://togithub.com/testcontainers/testcontainers-java/issues/7652)) [@​eddumelendez](https://togithub.com/eddumelendez) - Fix link to Toxiproxy docs from Kafka docs ([#​7684](https://togithub.com/testcontainers/testcontainers-java/issues/7684)) [@​alex-sherwin](https://togithub.com/alex-sherwin) - Fix documentation for BigQuery in gcloud module ([#​7681](https://togithub.com/testcontainers/testcontainers-java/issues/7681)) [@​zanmagerl](https://togithub.com/zanmagerl) - Update Docker requirements page to be more container runtime agnostic ([#​7655](https://togithub.com/testcontainers/testcontainers-java/issues/7655)) [@​kiview](https://togithub.com/kiview) ##### 📦 Dependency updates <details> <summary>12 changes</summary> - Combined dependencies PR ([#​7810](https://togithub.com/testcontainers/testcontainers-java/issues/7810)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​7809](https://togithub.com/testcontainers/testcontainers-java/issues/7809)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​7807](https://togithub.com/testcontainers/testcontainers-java/issues/7807)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update docker-java version to 3.3.4 ([#​7730](https://togithub.com/testcontainers/testcontainers-java/issues/7730)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update kubernetes client version to 19.0.0 ([#​7716](https://togithub.com/testcontainers/testcontainers-java/issues/7716)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​7715](https://togithub.com/testcontainers/testcontainers-java/issues/7715)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​7713](https://togithub.com/testcontainers/testcontainers-java/issues/7713)) [@​eddumelendez](https://togithub.com/eddumelendez) - Selenium updates ([#​7688](https://togithub.com/testcontainers/testcontainers-java/issues/7688)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update httpclient version to 4.5.14 ([#​7650](https://togithub.com/testcontainers/testcontainers-java/issues/7650)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update Gradle Wrapper to 8.4 ([#​7619](https://togithub.com/testcontainers/testcontainers-java/issues/7619)) [@​github-actions](https://togithub.com/github-actions) - Combined dependencies PR ([#​7643](https://togithub.com/testcontainers/testcontainers-java/issues/7643)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​7617](https://togithub.com/testcontainers/testcontainers-java/issues/7617)) [@​eddumelendez](https://togithub.com/eddumelendez) </details> ### [`v1.19.1`](https://togithub.com/testcontainers/testcontainers-java/releases/tag/1.19.1) [Compare Source](https://togithub.com/testcontainers/testcontainers-java/compare/1.19.0...1.19.1) ##### Testcontainers for Java 1.19.1 ##### Core - Allow to define a custom ImagePullPolicy via configuration ([#​7520](https://togithub.com/testcontainers/testcontainers-java/issues/7520)) [@​eddumelendez](https://togithub.com/eddumelendez) - Override ChainedImageNameSubstitutor toString ([#​7522](https://togithub.com/testcontainers/testcontainers-java/issues/7522)) [@​eddumelendez](https://togithub.com/eddumelendez) - Log image pull and container startup time independently ([#​7455](https://togithub.com/testcontainers/testcontainers-java/issues/7455)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### Modules - New [MinIO](https://java.testcontainers.org/modules/minio/) module ([#​7440](https://togithub.com/testcontainers/testcontainers-java/issues/7440)) [@​frozenwizard](https://togithub.com/frozenwizard) ##### Redpanda - Additional listener should inherit the configured authentication method ([#​7594](https://togithub.com/testcontainers/testcontainers-java/issues/7594)) [@​lburgazzoli](https://togithub.com/lburgazzoli) ##### What's Changed - Migrate examples to junit5 ([#​7417](https://togithub.com/testcontainers/testcontainers-java/issues/7417)) [@​samed-bicer](https://togithub.com/samed-bicer) ##### ☠️ Deprecations - Deprecate CLI utility methods in RabbitMQ module ([#​7588](https://togithub.com/testcontainers/testcontainers-java/issues/7588)) [@​eddumelendez](https://togithub.com/eddumelendez) - Deprecate withSecretInVault ([#​7576](https://togithub.com/testcontainers/testcontainers-java/issues/7576)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### 📖 Documentation - Proposing Update to index.md - Env Settings for Rancher Desktop ([#​7591](https://togithub.com/testcontainers/testcontainers-java/issues/7591)) [@​sunilarjun](https://togithub.com/sunilarjun) - Add docs for `copyFile` API ([#​4661](https://togithub.com/testcontainers/testcontainers-java/issues/4661)) [@​kiview](https://togithub.com/kiview) - Add section for dependency upgrades in PR template ([#​7577](https://togithub.com/testcontainers/testcontainers-java/issues/7577)) [@​eddumelendez](https://togithub.com/eddumelendez) - \[Docs] GCloud: Add BigQuery Client creation ([#​7528](https://togithub.com/testcontainers/testcontainers-java/issues/7528)) [@​fabriciorby](https://togithub.com/fabriciorby) - Add docs to run Testcontainers using Podman ([#​7447](https://togithub.com/testcontainers/testcontainers-java/issues/7447)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### 📦 Dependency updates <details> <summary>7 changes</summary> - Combined dependencies PR ([#​7587](https://togithub.com/testcontainers/testcontainers-java/issues/7587)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update guava version to 32.1.2-jre ([#​7534](https://togithub.com/testcontainers/testcontainers-java/issues/7534)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​7584](https://togithub.com/testcontainers/testcontainers-java/issues/7584)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​7519](https://togithub.com/testcontainers/testcontainers-java/issues/7519)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​7500](https://togithub.com/testcontainers/testcontainers-java/issues/7500)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​7496](https://togithub.com/testcontainers/testcontainers-java/issues/7496)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​7494](https://togithub.com/testcontainers/testcontainers-java/issues/7494)) [@​eddumelendez](https://togithub.com/eddumelendez) </details> ### [`v1.19.0`](https://togithub.com/testcontainers/testcontainers-java/releases/tag/1.19.0) [Compare Source](https://togithub.com/testcontainers/testcontainers-java/compare/1.18.3...1.19.0) ##### Testcontainers for Java 1.19.0 ##### Core - Add support for compose v2 with `ComposeContainer` ([#​5608](https://togithub.com/testcontainers/testcontainers-java/issues/5608)) [@​eddumelendez](https://togithub.com/eddumelendez) - Allow command execution with custom user ([#​7311](https://togithub.com/testcontainers/testcontainers-java/issues/7311)) [@​megglos](https://togithub.com/megglos) - Add `Wait.forListeningPorts(ports)` ([#​7402](https://togithub.com/testcontainers/testcontainers-java/issues/7402)) [@​eddumelendez](https://togithub.com/eddumelendez) - Enable Ryuk as a privileged container by default ([#​7319](https://togithub.com/testcontainers/testcontainers-java/issues/7319)) [@​eddumelendez](https://togithub.com/eddumelendez) - Use `SelinuxContext.SHARED` by default ([#​7187](https://togithub.com/testcontainers/testcontainers-java/issues/7187)) [@​jeroen-vd-nl](https://togithub.com/jeroen-vd-nl) - Add interface to customize `CreateContainerCmd` ([#​7421](https://togithub.com/testcontainers/testcontainers-java/issues/7421)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### Modules ##### ClickHouse - Add new `ClickHouseContainer` implementation ([#​7403](https://togithub.com/testcontainers/testcontainers-java/issues/7403)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### Elasticsearch - Disable default geoip database downloading ([#​7247](https://togithub.com/testcontainers/testcontainers-java/issues/7247)) [@​lhotari](https://togithub.com/lhotari) - Disable default disk threshold check ([#​7245](https://togithub.com/testcontainers/testcontainers-java/issues/7245)) [@​lhotari](https://togithub.com/lhotari) ##### DB2 - Support [icr.io/db2\_community/db2](http://icr.io/db2\_community/db2) as a compatible image ([#​7397](https://togithub.com/testcontainers/testcontainers-java/issues/7397)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### GCloud - Add `BigQueryEmulatorContainer` ([#​7324](https://togithub.com/testcontainers/testcontainers-java/issues/7324)) [@​eddumelendez](https://togithub.com/eddumelendez) - Expose getProjectId in `DatastoreEmulatorContainer` ([#​7328](https://togithub.com/testcontainers/testcontainers-java/issues/7328)) [@​eddumelendez](https://togithub.com/eddumelendez) - Support String image in Bigtable, Firestore, PubSub, Spanner ([#​7327](https://togithub.com/testcontainers/testcontainers-java/issues/7327)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### JUnit Jupiter - Fix call to stop containers when using `@Testcontainers(parallel = true)` ([#​7394](https://togithub.com/testcontainers/testcontainers-java/issues/7394)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### Kafka - Allow to register additional listeners ([#​7333](https://togithub.com/testcontainers/testcontainers-java/issues/7333)) [@​eddumelendez](https://togithub.com/eddumelendez) See https://java.testcontainers.org/modules/kafka/ ##### MS SQL Server - Fix MSSQL's default username ([#​7238](https://togithub.com/testcontainers/testcontainers-java/issues/7238)) [@​Eng-Fouad](https://togithub.com/Eng-Fouad) ##### QuestDB - Add questdb as a database provider ([#​7244](https://togithub.com/testcontainers/testcontainers-java/issues/7244)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### Redpanda - Add Redpanda improvements ([#​7320](https://togithub.com/testcontainers/testcontainers-java/issues/7320)) [@​eddumelendez](https://togithub.com/eddumelendez) - Allow to enable authorization and authentication methods - Allow to add additional listeners. E.g. using it with toxiproxy or redpanda console - Enable rest proxy - Configure rpk See https://java.testcontainers.org/modules/redpanda/ ##### Solace - Enable Solace PubSub+ Manager ([#​7411](https://togithub.com/testcontainers/testcontainers-java/issues/7411)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### Spock - Add JavaDoc to Spock's Testcontainers annotation ([#​6802](https://togithub.com/testcontainers/testcontainers-java/issues/6802)) [@​winne42](https://togithub.com/winne42) - Generate javadoc artifact for spock module ([#​7318](https://togithub.com/testcontainers/testcontainers-java/issues/7318)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### What's Changed - Add tests using TCC ([#​7415](https://togithub.com/testcontainers/testcontainers-java/issues/7415)) [@​eddumelendez](https://togithub.com/eddumelendez) - Fix javadoc warnings ([#​7317](https://togithub.com/testcontainers/testcontainers-java/issues/7317)) [@​eddumelendez](https://togithub.com/eddumelendez) - SnakeYaml SafeConstructor restricting deserialization ([#​6319](https://togithub.com/testcontainers/testcontainers-java/issues/6319)) [@​julianladisch](https://togithub.com/julianladisch) - Fix locations set to None in sitemap ([#​7232](https://togithub.com/testcontainers/testcontainers-java/issues/7232)) [@​leocross](https://togithub.com/leocross) ##### :skull_and_crossbones: Deprecations - Deprecate dynalite ([#​7191](https://togithub.com/testcontainers/testcontainers-java/issues/7191)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### :book: Documentation - Add global testcontainers header to docs ([#​7401](https://togithub.com/testcontainers/testcontainers-java/issues/7401)) [@​leocross](https://togithub.com/leocross) - Fix colima documentation ([#​7412](https://togithub.com/testcontainers/testcontainers-java/issues/7412)) [@​eddumelendez](https://togithub.com/eddumelendez) - Fix broken tabs in Consul module docs ([#​7398](https://togithub.com/testcontainers/testcontainers-java/issues/7398)) [@​sh-cho](https://togithub.com/sh-cho) - Polish reuse documentation ([#​7316](https://togithub.com/testcontainers/testcontainers-java/issues/7316)) [@​eddumelendez](https://togithub.com/eddumelendez) - Add Synthesized ([#​7258](https://togithub.com/testcontainers/testcontainers-java/issues/7258)) [@​eddumelendez](https://togithub.com/eddumelendez) - Add missing TC JDBC URLs ([#​7243](https://togithub.com/testcontainers/testcontainers-java/issues/7243)) [@​eddumelendez](https://togithub.com/eddumelendez) - Made k3s documentation a little clearer about starting the container ([#​5175](https://togithub.com/testcontainers/testcontainers-java/issues/5175)) [@​georgecodes](https://togithub.com/georgecodes) - Update docs domain from www to java ([#​7179](https://togithub.com/testcontainers/testcontainers-java/issues/7179)) [@​leocross](https://togithub.com/leocross) ##### :broom: Housekeeping - Add User-Agent to docker client ([#​7407](https://togithub.com/testcontainers/testcontainers-java/issues/7407)) [@​eddumelendez](https://togithub.com/eddumelendez) - Improve javadoc for Testcontainers implementations ([#​7408](https://togithub.com/testcontainers/testcontainers-java/issues/7408)) [@​eddumelendez](https://togithub.com/eddumelendez) - Move common configuration in workflows ([#​7396](https://togithub.com/testcontainers/testcontainers-java/issues/7396)) [@​eddumelendez](https://togithub.com/eddumelendez) - Apply priority execution in CI ([#​7395](https://togithub.com/testcontainers/testcontainers-java/issues/7395)) [@​eddumelendez](https://togithub.com/eddumelendez) - Fix javadoc for RabbitMQContainer ([#​7339](https://togithub.com/testcontainers/testcontainers-java/issues/7339)) [@​eddumelendez](https://togithub.com/eddumelendez) - Polish tests in hivemq module ([#​7308](https://togithub.com/testcontainers/testcontainers-java/issues/7308)) [@​eddumelendez](https://togithub.com/eddumelendez) - Use testRuntimeOnly for JDBC/R2DBC drivers ([#​7295](https://togithub.com/testcontainers/testcontainers-java/issues/7295)) [@​eddumelendez](https://togithub.com/eddumelendez) - Use cucumber-bom and selenium-bom ([#​7249](https://togithub.com/testcontainers/testcontainers-java/issues/7249)) [@​eddumelendez](https://togithub.com/eddumelendez) - Use org.seleniumhq.selenium:selenium-bom ([#​7248](https://togithub.com/testcontainers/testcontainers-java/issues/7248)) [@​eddumelendez](https://togithub.com/eddumelendez) - Fix Testcontainers name ([#​7250](https://togithub.com/testcontainers/testcontainers-java/issues/7250)) [@​eddumelendez](https://togithub.com/eddumelendez) - Refactor spring-boot-kotlin-redis example to be more Kotlin idiomatic ([#​7185](https://togithub.com/testcontainers/testcontainers-java/issues/7185)) [@​jitokim](https://togithub.com/jitokim) - Use static import for assertThat ([#​7188](https://togithub.com/testcontainers/testcontainers-java/issues/7188)) [@​eddumelendez](https://togithub.com/eddumelendez) - Ignore jackson-datatype-jsr310 in dependabot.yml ([#​7143](https://togithub.com/testcontainers/testcontainers-java/issues/7143)) [@​eddumelendez](https://togithub.com/eddumelendez) - Fix paths-ignore for ci-examples.yml ([#​7138](https://togithub.com/testcontainers/testcontainers-java/issues/7138)) [@​eddumelendez](https://togithub.com/eddumelendez) - Remove unused com.google.auto.service:auto-service dependency ([#​7230](https://togithub.com/testcontainers/testcontainers-java/issues/7230)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update google-cloud-cli image version to 441 ([#​7389](https://togithub.com/testcontainers/testcontainers-java/issues/7389)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### :package: Dependency updates <details> <summary>14 changes</summary> - Combined dependencies PR ([#​7391](https://togithub.com/testcontainers/testcontainers-java/issues/7391)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​7388](https://togithub.com/testcontainers/testcontainers-java/issues/7388)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update docker-java version to 3.3.3 ([#​7423](https://togithub.com/testcontainers/testcontainers-java/issues/7423)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​7292](https://togithub.com/testcontainers/testcontainers-java/issues/7292)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​7290](https://togithub.com/testcontainers/testcontainers-java/issues/7290)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​7289](https://togithub.com/testcontainers/testcontainers-java/issues/7289)) [@​eddumelendez](https://togithub.com/eddumelendez) - Use com.amazonaws:aws-java-sdk-bom ([#​7228](https://togithub.com/testcontainers/testcontainers-java/issues/7228)) [@​eddumelendez](https://togithub.com/eddumelendez) - Use [com.google.cloud:libraries-bom](http://com.google.cloud:libraries-bom/) ([#​7227](https://togithub.com/testcontainers/testcontainers-java/issues/7227)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update captainhook plugin version to 0.1.5 ([#​7221](https://togithub.com/testcontainers/testcontainers-java/issues/7221)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update selenium version to 4.10.0 ([#​7163](https://togithub.com/testcontainers/testcontainers-java/issues/7163)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update questdb version to 7.1.3 ([#​7145](https://togithub.com/testcontainers/testcontainers-java/issues/7145)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update cucumber version to 7.12.0 ([#​7144](https://togithub.com/testcontainers/testcontainers-java/issues/7144)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update lombok version to 1.18.28 ([#​7293](https://togithub.com/testcontainers/testcontainers-java/issues/7293)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update captainhook plugin version to 0.1.5 ([#​7221](https://togithub.com/testcontainers/testcontainers-java/issues/7221)) [@​eddumelendez](https://togithub.com/eddumelendez) </details> ### [`v1.18.3`](https://togithub.com/testcontainers/testcontainers-java/releases/tag/1.18.3) [Compare Source](https://togithub.com/testcontainers/testcontainers-java/compare/1.18.2...1.18.3) Testcontainers for Java 1.18.2 introduced new strategies to detect the `docker.sock`. There was an issue reported, see [#​7082](https://togithub.com/testcontainers/testcontainers-java/issues/7082). It's is highly recommended to use version 1.18.3. ##### What's Changed - Fixes for new strategies ([#​7085](https://togithub.com/testcontainers/testcontainers-java/issues/7085)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### 🧹 Housekeeping - Demote "testcontainers.properties not found" message to debug log level ([#​7035](https://togithub.com/testcontainers/testcontainers-java/issues/7035)) [@​perlun](https://togithub.com/perlun) ### [`v1.18.2`](https://togithub.com/testcontainers/testcontainers-java/releases/tag/1.18.2) [Compare Source](https://togithub.com/testcontainers/testcontainers-java/compare/1.18.1...1.18.2) ##### Highlights ✨ - Support Docker Desktop paths for Linux and Mac ([#​7058](https://togithub.com/testcontainers/testcontainers-java/issues/7058)) [@​eddumelendez](https://togithub.com/eddumelendez) - Update `testcontainers/ryuk` version to 0.5.1 ([#​7054](https://togithub.com/testcontainers/testcontainers-java/issues/7054)) [@​eddumelendez](https://togithub.com/eddumelendez) ##### 🐛 Bug Fixes - \[redpanda] Fix command by setting memory to 1G ([#​7045](https://togithub.com/testcontainers/testcontainers-java/issues/7045)) [@​eddumelendez](https://togithub.com/eddumelendez) - \[cratedb] Enable single node by default ([#​7041](https://togithub.com/testcontainers/testcontainers-java/issues/7041)) [@​matriv](https://togithub.com/matriv) ##### 🚀 Features & Enhancements - Add `TestcontainersHostPropertyClientStrategy` ([#​7053](https://togithub.com/testcontainers/testcontainers-java/issues/7053)) [@​eddumelendez](https://togithub.com/eddumelendez) - DockerComposeContainer: add 'removeVolumes' parameter ([#​7009](https://togithub.com/testcontainers/testcontainers-java/issues/7009)) [@​DanWiseProgramming](https://togithub.com/DanWiseProgramming) ##### 📖 Documentation - Fix typo in gitlab_ci instruction docs ([#​7059](https://togithub.com/testcontainers/testcontainers-java/issues/7059)) [@​dakshin-k](https://togithub.com/dakshin-k) - Add Apache Kyuubi to who is using testcontainers ([#​7042](https://togithub.com/testcontainers/testcontainers-java/issues/7042)) [@​bowenliang123](https://togithub.com/bowenliang123) ##### 🧹 Housekeeping - Add LocalStackContainer#getEndpoint() ([#​7037](https://togithub.com/testcontainers/testcontainers-java/issues/7037)) [@​eddumelendez](https://togithub.com/eddumelendez) ### [`v1.18.1`](https://togithub.com/testcontainers/testcontainers-java/releases/tag/1.18.1) [Compare Source](https://togithub.com/testcontainers/testcontainers-java/compare/1.18.0...1.18.1) ### What's Changed - Favor copy compose file instead of mount ([#​6945](https://togithub.com/testcontainers/testcontainers-java/issues/6945)) [@​eddumelendez](https://togithub.com/eddumelendez) - Allow `@Container` to be used as a meta-annotation ([#​6914](https://togithub.com/testcontainers/testcontainers-java/issues/6914)) [@​eddumelendez](https://togithub.com/eddumelendez) #### 🚀 Features & Enhancements - Support Kraft post Confluent Platform 7.4.0 ([#​7014](https://togithub.com/testcontainers/testcontainers-java/issues/7014)) [@​danielpetisme](https://togithub.com/danielpetisme) - Alternative waiting strategy for Mockserver container ([#​6951](https://togithub.com/testcontainers/testcontainers-java/issues/6951)) [@​DenilssonMontoya](https://togithub.com/DenilssonMontoya) - Update RedpandaContainer.java ([#​6939](https://togithub.com/testcontainers/testcontainers-java/issues/6939)) [@​shelajev](https://togithub.com/shelajev) #### 🐛 Bug Fixes - Lowercase identifier in DockerComposeContainer ([#​6944](https://togithub.com/testcontainers/testcontainers-java/issues/6944)) [@​eddumelendez](https://togithub.com/eddumelendez) - Use the current thread's classloader for classes ([#​6926](https://togithub.com/testcontainers/testcontainers-java/issues/6926)) [@​snowe2010](https://togithub.com/snowe2010) #### 📖 Documentation - Add new section for test integrations ([#​6930](https://togithub.com/testcontainers/testcontainers-java/issues/6930)) [@​LeoColman](https://togithub.com/LeoColman) #### 🧹 Housekeeping - Test against Cassandra 4.x ([#​7013](https://togithub.com/testcontainers/testcontainers-java/issues/7013)) [@​wakingrufus](https://togithub.com/wakingrufus) - Update lombok version to 1.18.26 ([#​6935](https://togithub.com/testcontainers/testcontainers-java/issues/6935)) [@​eddumelendez](https://togithub.com/eddumelendez) - Fix generated pom with duplicated entries ([#​6931](https://togithub.com/testcontainers/testcontainers-java/issues/6931)) [@​eddumelendez](https://togithub.com/eddumelendez) #### 📦 Dependency updates - Bump Pulsar version to 3.0.0 ([#​7016](https://togithub.com/testcontainers/testcontainers-java/issues/7016)) [@​nicoloboschi](https://togithub.com/nicoloboschi) - Update Gradle Wrapper to 8.1.1 ([#​6933](https://togithub.com/testcontainers/testcontainers-java/issues/6933)) [@​github-actions](https://togithub.com/github-actions) - Combined dependencies PR ([#​6912](https://togithub.com/testcontainers/testcontainers-java/issues/6912)) [@​eddumelendez](https://togithub.com/eddumelendez) - Combined dependencies PR ([#​6908](https://togithub.com/testcontainers/testcontainers-java/issues/6908)) [@​eddumelendez](https://togithub.com/eddumelendez) ### [`v1.18.0`](https://togithub.com/testcontainers/testcontainers-java/releases/tag/1.18.0) [Compare Source](https://togithub.com/testcontainers/testcontainers-java/compare/1.17.6...1.18.0) #### Core module - Modules images such as `MySQLContainer` are now automatically compatible with their corresponding images with the `library` prefix ```java MySQLContainer<?> mysql = new MySQLContainer<>("library/mysql"); ``` - `testcontainers/vnc` has been bumped to version 1.3.0, which brings ARM support. - Goodbye to the whale in the logs. In order to provide an easy way to filter container logs the `tc` prefix has been added to display all container logs or `tc.<image-name:tag>` for a specific one. Check the [logging docs](https://www.testcontainers.org/supported_docker_environment/logging_config/). - There is a new `WaitStrategy`, `ShellStrategy`. It can also be used by calling `Wait.forSuccessfulCommand(<command>)` #### New integration [Jib](https://togithub.com/GoogleContainerTools/jib) has been integrated to Testcontainers in order to take advantage of the nice API it provides to create containers ```java GenericContainer<?> busybox = new GenericContainer<>( new JibImage( "busybox:1.35", jibContainerBuilder -> { return jibContainerBuilder.setEntrypoint("echo", "Hello World"); } ) ) .withStartupCheckStrategy(new OneShotStartupCheckStrategy().withTimeout(Duration.ofSeconds(3))) ``` #### New modules 🆕 ##### CrateDB module In order to use `CrateDBContainer` , declare the dependency in your pom.xml/build.gradle ```xml <dependency> <groupId>org.testcontainers</groupId> <artifactId>cratedb</artifactId> <version>1.18.0</version> <scope>test</scope> </dependency> ``` ```gradle testImplementation "org.testcontainers:cratedb:1.18.0" ``` Choose a [crate](https://hub.docker.com/\_/crate) image version and use it as declared below with your postgres driver ```java CrateDBContainer cratedb = new CrateDBContainer("crate:5.2.5"); ``` ##### Solace Module In order to use `SolaceContainer` , declare the dependency in your pom.xml/build.gradle ```xml <dependency> <groupId>org.testcontainers</groupId> <artifactId>solace</artifactId> <version>1.18.0</version> <scope>test</scope> </dependency> ``` ```gradle testImplementation "org.testcontainers:solace:1.18.0" ``` Now, you can use a Solace PubSub running in a container and connecting via AMQP by doing the following: ```java SolaceContainer solace = new SolaceContainer("solace/solace-pubsub-standard:10.2"); solace.start(); Session session = createSession( solaceContainer.getUsername(), solaceContainer.getPassword(), solaceContainer.getOrigin(Service.AMQP) ); ``` More information about `SolaceContainer` can be found in the [documentation](https://www.testcontainers.org/modules/solace/). #### Container modules ##### CockroachDB Starting with `cockroachdb/cockroach:22.1.0`, there is support for setting the username, password and database name via environment variables. Now, the Testcontainers module provides convenient setters: ```java CockroachContainer cockroach = new CockroachContainer("cockroachdb/cockroach:22.1.0") .withUsername("test_user") .withPassword("test_password") .withDatabaseName("test_database"); ``` ##### GCloud module Google has released a new image which supports ARM and therefore `BigtableEmulatorContainer`, `DatastoreEmulatorContainer`, `FirestoreEmulatorContainer`, `PubSubEmulatorContainer` now support it as well. So, if previously you were doing something like ```java DockerImageName.parse("gcr.io/google.com/cloudsdktool/google-cloud-cli:380.0.0-emulators") .asCompatibleSubstituteFor("gcr.io/google.com/cloudsdktool/cloud-sdk"); ``` Now, you can simply do ```java DockerImageName.parse("gcr.io/google.com/cloudsdktool/google-cloud-cli:380.0.0-emulators"); ``` ##### JUnit Jupiter Module `@Testcontainers` offers a new attribute `parallel`, which start those containers classes annotated by `@Container` ```java @​Testcontainers(parallel = true) class ParallelTest { @​Container private static final PostgreSQLContainer<?> postgres = new PostgreSQLContainer<>("postgres:15-alpine") .withCopyFileToContainer(MountableFile.forClasspathResource("db.sql"), "/docker-entrypoint-initdb.d/") .withNetwork(network) .withNetworkAliases("postgres"); @​Container private static final ToxiproxyContainer toxiproxy = new ToxiproxyContainer("ghcr.io/shopify/toxiproxy:2.5.0") .withNetwork(network); } ``` ##### Kafka Module Self-managed or Kraft mode (a.k.a Zookeeperless) support has been added ```java KafkaContainer kafka = new KafkaContainer(DockerImageName.parse("confluentinc/cp-kafka:7.0.1")).withKraft() ``` ##### LocalStack Module `SERVICES` environment variable became optional in version 0.13.0 and instead LocalStack will initialize a service once the first request is served. So, nowadays `LocalStackContainer` can be used just like this: ```java LocalStackContainer localstack = new LocalStackContainer("localstack/localstack:2.0.0"); ``` Also, LocalStack module supports version 2.0. It is highly recommended to use the latest version of LocalStack images. Last but not least, dependency on AWS SDK V1 was dropped. So, that means by upgrading to version 1.18.0, the dependency can be removed if not used directly. ##### MongoDB Module `MongoDBContainer` by default has been enabling ReplicaSet mode. Starting in this version, sharding has been added. ```java MongoDBContainer mongodb = new MongoDBContainer("mongo:6") .withSharding(); ``` ##### Selenium Module Selenium 4 has built-in support for Microsoft Edge (which is based on Chromium) and now it is supported by `BrowserWebDriverContainer` as well: ```java BrowserWebDriverContainer<?> edge = new BrowserWebDriverContainer<>("selenium/standalone-edge:4.8.0") .withCapabilities(new EdgeOptions()); ``` #### More #### ⚠️ Breaking API changes - Removed deprecated methods and undeclared transitive dependency to AWS SDK v1 ([#​5827](https://togithub.com/testcontainers/testcontainers-java/issues/5827)) [@​AB-xdev](https://togithub.com/AB-xdev) - Move junit-jupiter-api's dependency configuration to implementation ([#​5985](https://togithub.com/testcontainers/testcontainers-java/issues/5985)) [@​edysli](https://togithub.com/edysli) #### 🚀 Features & Enhancements - Improve startup wait checks ([#​6384](https://togithub.com/testcontainers/testcontainers-java/issues/6384)) [@​deejgregor](https://togithub.com/deejgregor) - [#​6667](https://togithub.com/testcontainers/testcontainers-java/issues/6667): reset network creation state if network creation fails. ([#​6668](https://togithub.com/testcontainers/testcontainers-java/issues/6668)) [@​k-wall](https://togithub.com/k-wall) - \[Feature]: ShellStrategy, a new WaitStrategy ([#​6672](https://togithub.com/testcontainers/testcontainers-java/issues/6672)) [@​m4rii0](https://togithub.com/m4rii0) - feat: also check DOCKER_AUTH_CONFIG for registry auth config as an alternative to config.json ([#​6238](https://togithub.com/testcontainers/testcontainers-java/issues/6238)) [@​roseo1](https://togithub.com/roseo1) - Ensure readability of MySQL and MariaDB config override ([#​6625](https://togithub.com/testcontainers/testcontainers-java/issues/6625)) [@​famod](https://togithub.com/famod) - Bugfix: Log consumers are now called with exactly one complete log line ([#​5854](https://togithub.com/testcontainers/testcontainers-java/issues/5854)) [@​SgtSilvio](https://togithub.com/SgtSilvio) - ClickHouse uses new driver if it is available and version is compatible ([#​6236](https://togithub.com/testcontainers/testcontainers-java/issues/6236)) [@​trolley813](https://togithub.com/trolley813) - Add devcontainer file ([#​6412](https://togithub.com/testcontainers/testcontainers-java/issues/6412)) [@​eddumelendez](https://togithub.com/eddumelendez) - Add Docker image name to ContainerLaunchException message ([#​6408](https://togithub.com/testcontainers/testcontainers-java/issues/6408)) [@​Donnerbart](https://togithub.com/Donnerbart) - Make sure we don't hide exceptions from waitUntilContainerStarted ([#​6167](https://togithub.com/testcontainers/testcontainers-java/issues/6167)) [@​deejgregor](https://togithub.com/deejgregor) - feat: enable reuse for mongodb ([#​6235](https://togithub.com/testcontainers/testcontainers-java/issues/6235)) [@​tiboun](https://togithub.com/tiboun) - Avoid Pattern recompilation in log output processing ([#​6239](https://togithub.com/testcontainers/testcontainers-java/issues/6239)) [@​dreis2211](https://togithub.com/dreis2211) - Fixes the issue of missing root cause in container launch TimeoutException (e.g. SSLHandshakeException) ([#​5778](https://togithub.com/testcontainers/testcontainers-java/issues/5778)) [@​cdanger](https://togithub.com/cdanger) #### ☠️ Deprecations - Deprecate VaultContainer#withLogLevel ([#​6795](https://togithub.com/testcontainers/testcontainers-java/issues/6795)) [@​eddumelendez](https://togithub.com/eddumelendez) #### 🐛 Bug Fixes - Short-circuit CompletableFuture returned by Startables#deepStart on exception ([#​5930](https://togithub.com/testcontainers/testcontainers-java/issues/5930)) [@​pivovarit](https://togithub.com/pivovarit) - fix: Don't return JSON auth config for partial registry name match ([#​6323](https://togithub.com/testcontainers/testcontainers-java/issues/6323)) [@​kiview](https://togithub.com/kiview) - Fix `allowInsecure()` on `HttpWaitStrategy` for non-localhost Docker daemon ([#​6314](https://togithub.com/testcontainers/testcontainers-java/issues/6314)) [@​kiview](https://togithub.com/kiview) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 10pm every weekday,before 6am every weekday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/camunda/zeebe). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
This PR introduces a new Oracle Database Free module, the successor to Oracle XE