Update testcontainers-java monorepo to v1.19.1 #428
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.17.6
->1.19.1
1.17.6
->1.19.1
1.17.6
->1.19.1
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
testcontainers/testcontainers-java (org.testcontainers:testcontainers-bom)
v1.19.1
Compare Source
Testcontainers for Java 1.19.1
Core
Modules
Redpanda
What's Changed
☠️ Deprecations
📖 Documentation
copyFile
API (#4661) @kiview📦 Dependency updates
7 changes
v1.19.0
Compare Source
Testcontainers for Java 1.19.0
Core
ComposeContainer
(#5608) @eddumelendezWait.forListeningPorts(ports)
(#7402) @eddumelendezSelinuxContext.SHARED
by default (#7187) @jeroen-vd-nlCreateContainerCmd
(#7421) @eddumelendezModules
ClickHouse
ClickHouseContainer
implementation (#7403) @eddumelendezElasticsearch
DB2
GCloud
BigQueryEmulatorContainer
(#7324) @eddumelendezDatastoreEmulatorContainer
(#7328) @eddumelendezJUnit Jupiter
@Testcontainers(parallel = true)
(#7394) @eddumelendezKafka
See https://java.testcontainers.org/modules/kafka/
MS SQL Server
QuestDB
Redpanda
See https://java.testcontainers.org/modules/redpanda/
Solace
Spock
What's Changed
☠️ Deprecations
📖 Documentation
🧹 Housekeeping
📦 Dependency updates
14 changes
v1.18.3
Compare Source
Testcontainers for Java 1.18.2 introduced new strategies to detect the
docker.sock
. There was an issue reported, see #7082. It's is highly recommended to use version 1.18.3.What's Changed
🧹 Housekeeping
v1.18.2
Compare Source
Highlights ✨
testcontainers/ryuk
version to 0.5.1 (#7054) @eddumelendez🐛 Bug Fixes
🚀 Features & Enhancements
TestcontainersHostPropertyClientStrategy
(#7053) @eddumelendez📖 Documentation
🧹 Housekeeping
v1.18.1
Compare Source
What's Changed
@Container
to be used as a meta-annotation (#6914) @eddumelendez🚀 Features & Enhancements
🐛 Bug Fixes
📖 Documentation
🧹 Housekeeping
📦 Dependency updates
v1.18.0
Compare Source
Core module
MySQLContainer
are now automatically compatible with their corresponding images with thelibrary
prefixtestcontainers/vnc
has been bumped to version 1.3.0, which brings ARM support.tc
prefix has been added to display all container logs ortc.<image-name:tag>
for a specific one. Check the logging docs.WaitStrategy
,ShellStrategy
. It can also be used by callingWait.forSuccessfulCommand(<command>)
New integration
Jib has been integrated to Testcontainers in order to take advantage of the nice API it provides to create containers
New modules 🆕
CrateDB module
In order to use
CrateDBContainer
, declare the dependency in your pom.xml/build.gradletestImplementation "org.testcontainers:cratedb:1.18.0"
Choose a crate image version and use it as declared below with your postgres driver
Solace Module
In order to use
SolaceContainer
, declare the dependency in your pom.xml/build.gradletestImplementation "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:
More information about
SolaceContainer
can be found in the documentation.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: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
Now, you can simply do
JUnit Jupiter Module
@Testcontainers
offers a new attributeparallel
, which start those containers classes annotated by@Container
Kafka Module
Self-managed or Kraft mode (a.k.a Zookeeperless) support has been added
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, nowadaysLocalStackContainer
can be used just like this: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.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:More
🚀 Features & Enhancements
☠️ Deprecations
🐛 Bug Fixes
allowInsecure()
onHttpWaitStrategy
for non-localhost Docker daemon (#6314) @kiviewConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.
This PR has been generated by Mend Renovate. View repository job log here.