MyGit

1.16.3

testcontainers/testcontainers-java

版本发布时间: 2022-01-18 22:58:25

testcontainers/testcontainers-java最新发布版本:1.20.2(2024-10-01 06:18:31)

What's Changed

Highlights

Testcontainers 1.16.3 includes many changes, but there are two key highlights in this release:

k3s module (#4582) @rnorth, @kiview

We've had plenty of feedback from users wanting to use Testcontainers to help test Kubernetes components. In particular, this is useful for people developing Kubernetes controllers/operators, who need something more than just a mocked Kubernetes API. In this release we're bringing the k3s module, which gives you a neat way to spin up the K3S lightweight Kubernetes inside of a container. We believe that k3s hits a sweet spot for ease of use and performance, so is a good option for testing Kubernetes components.

Now, launching a lightweight single-node Kubernetes cluster within your tests is easy as:

K3sContainer k3s = new K3sContainer(DockerImageName.parse("rancher/k3s:v1.21.3-k3s1"));
k3s.start();

String kubeConfigYaml = k3s.getKubeConfigYaml();
ApiClient client = Config.fromConfig(new StringReader(kubeConfigYaml));

// now use `client` to talk to your cluster!

Check out the docs to find out more!

Selenium 4 compatibility (#4914) @GannaChernyshova, @tobiasstadler, @kiview, @rnorth

Selenium 4 was announced a while back, but we needed to make some changes to Testcontainers' Selenium/Webdriver module for compatibility. We're happy to announce that these changes have now been made, so you can now use Selenium 4 with Testcontainers!

As part of this upgrade we have to drop compatibility with Selenium 2, but believe that this will not have any practical impact.

🚀 Features & Enhancements

🐛 Bug Fixes

📖 Documentation

🧹 Housekeeping

📦 Dependency updates

Click to expand...
  • Bump actions/cache from 2.1.6 to 2.1.7 (#4757) @dependabot
  • Bump actions/setup-java from 2.3.1 to 2.4.0 (#4756) @dependabot
  • Bump actions/setup-java from 2.4.0 to 2.5.0 (#4832) @dependabot
  • Bump amqp-client from 5.13.1 to 5.14.0 in /core (#4745) @dependabot
  • Bump amqp-client from 5.7.0 to 5.14.0 in /modules/rabbitmq (#4889) @dependabot
  • Bump amqp-client from 5.7.0 to 5.14.0 in /modules/rabbitmq (#4889) @dependabot
  • Bump annotations from 20.0.0 to 23.0.0 in /modules/presto (#4880) @dependabot
  • Bump annotations from 20.0.0 to 23.0.0 in /modules/presto (#4880) @dependabot
  • Bump annotations from 20.0.0 to 23.0.0 in /modules/rabbitmq (#4894) @dependabot
  • Bump annotations from 20.0.0 to 23.0.0 in /modules/rabbitmq (#4894) @dependabot
  • Bump annotations from 20.0.0 to 23.0.0 in /modules/trino (#4892) @dependabot
  • Bump annotations from 22.0.0 to 23.0.0 in /core (#4747) @dependabot
  • Bump annotations from 22.0.0 to 23.0.0 in /examples (#4753) @dependabot
  • Bump annotations from 22.0.0 to 23.0.0 in /modules/jdbc (#4726) @dependabot
  • Bump annotations from 22.0.0 to 23.0.0 in /modules/mysql (#4738) @dependabot
  • Bump annotations from 22.0.0 to 23.0.0 in /modules/nginx (#4733) @dependabot
  • Bump annotations from 22.0.0 to 23.0.0 in /modules/oracle-xe (#4725) @dependabot
  • Bump annotations from 22.0.0 to 23.0.0 in /modules/postgresql (#4719) @dependabot
  • Bump annotations from 22.0.0 to 23.0.0 in /modules/selenium (#4718) @dependabot
  • Bump annotations from 22.0.0 to 23.0.0 in /modules/spock (#4723) @dependabot
  • Bump assertj-core from 3.12.0 to 3.22.0 in /modules/orientdb (#4897) @dependabot
  • Bump assertj-core from 3.12.2 to 3.22.0 in /modules/rabbitmq (#4898) @dependabot
  • Bump assertj-core from 3.14.0 to 3.22.0 in /modules/r2dbc (#4900) @dependabot
  • Bump assertj-core from 3.15.0 to 3.22.0 in /modules/azure (#4870) @dependabot
  • Bump assertj-core from 3.15.0 to 3.22.0 in /modules/azure (#4870) @dependabot
  • Bump assertj-core from 3.21.0 to 3.22.0 in /core (#4874) @dependabot
  • Bump assertj-core from 3.21.0 to 3.22.0 in /examples (#4896) @dependabot
  • Bump assertj-core from 3.21.0 to 3.22.0 in /modules/database-commons (#4867) @dependabot
  • Bump assertj-core from 3.21.0 to 3.22.0 in /modules/jdbc (#4866) @dependabot
  • Bump assertj-core from 3.21.0 to 3.22.0 in /modules/junit-jupiter (#4869) @dependabot
  • Bump assertj-core from 3.21.0 to 3.22.0 in /modules/kafka (#4873) @dependabot
  • Bump assertj-core from 3.21.0 to 3.22.0 in /modules/neo4j (#4876) @dependabot
  • Bump assertj-core from 3.21.0 to 3.22.0 in /modules/pulsar (#4893) @dependabot
  • Bump assertj-core from 3.21.0 to 3.22.0 in /modules/pulsar (#4893) @dependabot
  • Bump assertj-core from 3.21.0 to 3.22.0 in /modules/vault (#4878) @dependabot
  • Bump auto-service from 1.0 to 1.0.1 in /modules/mariadb (#4720) @dependabot
  • Bump auto-service from 1.0 to 1.0.1 in /modules/mssqlserver (#4728) @dependabot
  • Bump auto-service from 1.0 to 1.0.1 in /modules/mysql (#4730) @dependabot
  • Bump auto-service from 1.0 to 1.0.1 in /modules/postgresql (#4740) @dependabot
  • Bump auto-service from 1.0-rc6 to 1.0.1 in /modules/r2dbc (#4909) @dependabot
  • Bump awaitility from 4.1.0 to 4.1.1 in /core (#4640) @dependabot
  • Bump awaitility from 4.1.0 to 4.1.1 in /modules/couchbase (#4622) @dependabot
  • Bump awaitility from 4.1.0 to 4.1.1 in /modules/couchbase (#4622) @dependabot
  • Bump aws-java-sdk-dynamodb from 1.12.100 to 1.12.122 in /modules/dynalite (#4734) @dependabot
  • Bump aws-java-sdk-dynamodb from 1.12.122 to 1.12.131 in /modules/dynalite (#4820) @dependabot
  • Bump aws-java-sdk-dynamodb from 1.12.131 to 1.12.137 in /modules/dynalite (#4871) @dependabot
  • Bump aws-java-sdk-dynamodb from 1.12.60 to 1.12.100 in /modules/dynalite (#4621) @dependabot
  • Bump aws-java-sdk-logs from 1.12.119 to 1.12.122 in /modules/localstack (#4750) @dependabot
  • Bump aws-java-sdk-logs from 1.12.122 to 1.12.132 in /modules/localstack (#4849) @dependabot
  • Bump aws-java-sdk-logs from 1.12.132 to 1.12.139 in /modules/localstack (#4919) @dependabot
  • Bump aws-java-sdk-logs from 1.12.132 to 1.12.139 in /modules/localstack (#4919) @dependabot
  • Bump aws-java-sdk-logs from 1.12.60 to 1.12.100 in /modules/localstack (#4641) @dependabot
  • Bump aws-java-sdk-logs from 1.12.60 to 1.12.119 in /modules/localstack (#4710) @dependabot
  • Bump aws-java-sdk-s3 from 1.12.100 to 1.12.122 in /modules/localstack (#4746) @dependabot
  • Bump aws-java-sdk-s3 from 1.12.122 to 1.12.131 in /modules/localstack (#4827) @dependabot
  • Bump aws-java-sdk-s3 from 1.12.131 to 1.12.137 in /modules/localstack (#4904) @dependabot
  • Bump aws-java-sdk-s3 from 1.12.80 to 1.12.100 in /modules/localstack (#4618) @dependabot
  • Bump aws-java-sdk-sqs from 1.12.100 to 1.12.122 in /modules/localstack (#4735) @dependabot
  • Bump aws-java-sdk-sqs from 1.12.100 to 1.12.124 in /modules/localstack (#4766) @dependabot
  • Bump aws-java-sdk-sqs from 1.12.124 to 1.12.131 in /modules/localstack (#4825) @dependabot
  • Bump aws-java-sdk-sqs from 1.12.131 to 1.12.137 in /modules/localstack (#4895) @dependabot
  • Bump aws-java-sdk-sqs from 1.12.131 to 1.12.139 in /modules/localstack (#4920) @dependabot
  • Bump aws-java-sdk-sqs from 1.12.82 to 1.12.100 in /modules/localstack (#4633) @dependabot
  • Bump azure-cosmos from 4.16.0 to 4.24.0 in /modules/azure (#4877) @dependabot
  • Bump clickhouse-jdbc from 0.3.1-patch to 0.3.2 in /modules/clickhouse (#4813) @dependabot
  • Bump com.gradle.enterprise.gradle.plugin from 3.7.2 to 3.8 in /examples (#4836) @dependabot
  • Bump cucumber-java from 6.11.0 to 7.1.0 in /examples (#4709) @dependabot
  • Bump cucumber-java from 7.1.0 to 7.2.2 in /examples (#4907) @dependabot
  • Bump cucumber-java from 7.1.0 to 7.2.2 in /examples (#4907) @dependabot
  • Bump cucumber-junit from 6.11.0 to 7.0.0 in /examples (#4650) @dependabot
  • Bump cucumber-junit from 7.0.0 to 7.1.0 in /examples (#4748) @dependabot
  • Bump cucumber-junit from 7.1.0 to 7.2.2 in /examples (#4911) @dependabot
  • Bump elasticsearch-rest-client from 7.15.0 to 7.15.1 in /modules/elasticsearch (#4625) @dependabot
  • Bump elasticsearch-rest-client from 7.15.0 to 7.15.2 in /modules/elasticsearch (#4707) @dependabot
  • Bump elasticsearch-rest-client from 7.15.2 to 7.16.2 in /modules/elasticsearch (#4823) @dependabot
  • Bump google-cloud-bigtable from 2.4.0 to 2.5.1 in /modules/gcloud (#4879) @dependabot
  • Bump google-cloud-bigtable from 2.4.0 to 2.5.1 in /modules/gcloud (#4879) @dependabot
  • Bump google-cloud-datastore from 2.2.1 to 2.2.2 in /modules/gcloud (#4872) @dependabot
  • Bump google-cloud-firestore from 3.0.9 to 3.0.10 in /modules/gcloud (#4875) @dependabot
  • Bump google-cloud-pubsub from 1.115.0 to 1.115.1 in /modules/gcloud (#4890) @dependabot
  • Bump google-cloud-spanner from 6.17.3 to 6.17.4 in /modules/gcloud (#4901) @dependabot
  • Bump gradle-update/update-gradle-wrapper-action from 1.0.15 to 1.0.16 (#4829) @dependabot
  • Bump gson from 2.8.8 to 2.8.9 in /examples (#4651) @dependabot
  • Bump java-client from 3.2.1 to 3.2.2 in /modules/couchbase (#4636) @dependabot
  • Bump java-client from 3.2.2 to 3.2.3 in /modules/couchbase (#4724) @dependabot
  • Bump java-client from 3.2.3 to 3.2.4 in /modules/couchbase (#4815) @dependabot
  • Bump jcc from 11.5.0.0 to 11.5.7.0 in /modules/db2 (#4865) @dependabot
  • Bump jedis from 3.0.1 to 4.0.1 in /modules/toxiproxy (#4828) @dependabot
  • Bump jedis from 3.7.0 to 4.0.1 in /core (#4822) @dependabot
  • Bump jedis from 3.7.0 to 4.0.1 in /examples (#4835) @dependabot
  • Bump jedis from 3.7.0 to 4.0.1 in /modules/junit-jupiter (#4814) @dependabot
  • Rollback jedis to 3.0.1 (#4852) @kiview
  • Bump json from 20210307 to 20211205 in /examples (#4838) @dependabot
  • Bump junit-jupiter-api from 5.8.1 to 5.8.2 in /modules/junit-jupiter (#4722) @dependabot
  • Bump junit-jupiter-engine from 5.8.1 to 5.8.2 in /modules/junit-jupiter (#4743) @dependabot
  • Bump junit-jupiter-params from 5.8.1 to 5.8.2 in /modules/junit-jupiter (#4742) @dependabot
  • Bump logback-classic from 1.2.6 to 1.2.7 in /examples (#4754) @dependabot
  • Bump logback-classic from 1.2.7 to 1.2.10 in /examples (#4831) @dependabot
  • Bump lombok from 1.18.20 to 1.18.22 in /examples (#4649) @dependabot
  • Bump mkdocs from 1.0.4 to 1.2.3 (#4771) @dependabot
  • Bump mockito-core from 3.12.4 to 4.0.0 in /core (#4632) @dependabot
  • Bump mockito-core from 3.12.4 to 4.1.0 in /modules/junit-jupiter (#4706) @dependabot
  • Bump mockito-core from 4.0.0 to 4.1.0 in /core (#4731) @dependabot
  • Bump mockito-core from 4.1.0 to 4.2.0 in /core (#4819) @dependabot
  • Bump mockito-core from 4.1.0 to 4.2.0 in /modules/junit-jupiter (#4821) @dependabot
  • Bump mongodb-driver-sync from 4.0.2 to 4.4.1 in /modules/mongodb (#4888) @dependabot
  • Bump mssql-jdbc from 9.4.0.jre8 to 9.5.0.jre8-preview in /modules/mssqlserver (#4739) @dependabot
  • Bump mysql-connector-java from 8.0.26 to 8.0.27 in /modules/jdbc-test (#4628) @dependabot
  • Bump mysql-connector-java from 8.0.26 to 8.0.27 in /modules/junit-jupiter (#4630) @dependabot
  • Bump mysql-connector-java from 8.0.26 to 8.0.27 in /modules/junit-jupiter (#4630) @dependabot
  • Bump mysql-connector-java from 8.0.26 to 8.0.27 in /modules/mysql (#4617) @dependabot
  • Bump mysql-connector-java from 8.0.26 to 8.0.27 in /modules/spock (#4623) @dependabot
  • Bump neo4j from 3.5.9 to 3.5.29 in /modules/neo4j (#4616) @dependabot
  • Bump okhttp from 4.9.2 to 4.9.3 in /examples (#4749) @dependabot
  • Bump org.jetbrains.kotlin.jvm from 1.5.31 to 1.6.0 in /examples (#4759) @dependabot
  • Bump org.jetbrains.kotlin.jvm from 1.6.0 to 1.6.10 in /examples (#4839) @dependabot
  • Bump org.jetbrains.kotlin.plugin.spring from 1.5.31 to 1.6.0 in /examples (#4737) @dependabot
  • Bump org.jetbrains.kotlin.plugin.spring from 1.5.31 to 1.6.0 in /examples (#4737) @dependabot
  • Bump org.jetbrains.kotlin.plugin.spring from 1.6.0 to 1.6.10 in /examples (#4833) @dependabot
  • Bump org.jetbrains.kotlin.plugin.spring from 1.6.0 to 1.6.10 in /examples (#4833) @dependabot
  • Bump org.springframework.boot from 2.5.5 to 2.5.6 in /examples (#4653) @dependabot
  • Bump org.springframework.boot from 2.5.6 to 2.6.1 in /examples (#4752) @dependabot
  • Bump org.springframework.boot from 2.5.6 to 2.6.1 in /examples (#4752) @dependabot
  • Bump org.springframework.boot from 2.6.1 to 2.6.2 in /examples (#4837) @dependabot
  • Bump org.springframework.boot from 2.6.1 to 2.6.2 in /examples (#4837) @dependabot
  • Bump peter-evans/create-pull-request from 3.11.0 to 3.12.0 (#4834) @dependabot
  • Bump peter-evans/create-pull-request from 3c3d696d5b8aa2eb0e70f76c251e4b149122acf1 to 3.11.0 (#4755) @dependabot
  • Bump postgresql from 42.2.12 to 42.3.1 in /modules/cockroachdb (#4868) @dependabot
  • Bump postgresql from 42.2.24 to 42.3.1 in /examples (#4648) @dependabot
  • Bump postgresql from 42.2.24 to 42.3.1 in /modules/junit-jupiter (#4643) @dependabot
  • Bump postgresql from 42.2.24 to 42.3.1 in /modules/postgresql (#4620) @dependabot
  • Bump postgresql from 42.2.24 to 42.3.1 in /modules/spock (#4629) @dependabot
  • Bump presto-jdbc from 331 to 350 in /modules/presto (#4887) @dependabot
  • Bump pulsar-client from 2.7.2 to 2.7.3 in /modules/pulsar (#4627) @dependabot
  • Bump pulsar-client from 2.7.3 to 2.7.4 in /modules/pulsar (#4902) @dependabot
  • Bump pulsar-client-admin from 2.7.2 to 2.7.3 in /modules/pulsar (#4638) @dependabot
  • Bump pulsar-client-admin from 2.7.3 to 2.7.4 in /modules/pulsar (#4882) @dependabot
  • Bump r2dbc-postgresql from 0.8.1.RELEASE to 0.8.11.RELEASE in /modules/r2dbc (#4921) @dependabot
  • Bump r2dbc-postgresql from 0.8.8.RELEASE to 0.8.11.RELEASE in /modules/postgresql (#4918) @dependabot
  • Bump reactor-core from 3.3.4.RELEASE to 3.4.14 in /modules/r2dbc (#4883) @dependabot
  • Bump s3 from 2.17.102 to 2.17.108 in /modules/localstack (#4908) @dependabot
  • Bump s3 from 2.17.52 to 2.17.72 in /modules/localstack (#4646) @dependabot
  • Bump s3 from 2.17.72 to 2.17.102 in /modules/localstack (#4824) @dependabot
  • Bump snakeyaml from 1.29 to 1.30 in /core (#4826) @dependabot
  • Bump solr-solrj from 8.10.0 to 8.10.1 in /examples (#4644) @dependabot
  • Bump solr-solrj from 8.10.1 to 8.11.1 in /examples (#4830) @dependabot
  • Bump solr-solrj from 8.3.0 to 8.11.1 in /modules/solr (#4906) @dependabot
  • Bump testcontainers from 1.16.0 to 1.16.2 in /core (#4619) @dependabot
  • Bump testng from 7.4.0 to 7.5 in /examples (#4899) @dependabot
  • Bump tomcat-jdbc from 10.0.12 to 10.0.13 in /modules/jdbc (#4736) @dependabot
  • Bump tomcat-jdbc from 10.0.12 to 10.0.13 in /modules/jdbc-test (#4721) @dependabot
  • Bump tomcat-jdbc from 10.0.12 to 10.0.14 in /modules/jdbc (#4775) @dependabot
  • Bump tomcat-jdbc from 10.0.13 to 10.0.14 in /modules/jdbc-test (#4812) @dependabot
  • Bump toxiproxy-java from 2.1.4 to 2.1.5 in /modules/toxiproxy (#4654) @dependabot
  • Bump transport from 7.15.0 to 7.15.1 in /modules/elasticsearch (#4637) @dependabot
  • Bump transport from 7.15.1 to 7.15.2 in /modules/elasticsearch (#4727) @dependabot
  • Bump transport from 7.15.2 to 7.16.2 in /modules/elasticsearch (#4818) @dependabot
  • Bump transport from 7.15.2 to 7.16.2 in /modules/elasticsearch (#4818) @dependabot
  • Bump trino-jdbc from 352 to 367 in /modules/trino (#4885) @dependabot
  • Update Gradle Wrapper to 7.3.3 (#4800) @github-actions
  • Update Gradle Wrapper to 7.3.1 (#4761) @github-actions
  • Bump up Gradle plugin dependencies (#4926) @jprinet
  • Fixes #4856 - update gCloud dependencies (#4857) @ddobrin
  • Upgrade Neo4j server and driver dependencies. (#4789) @meistermeier
  • Use jackson 2.8.8 in k3s module (#4928) @kiview

相关地址:原始地址 下载(tar) 下载(zip)

查看:2022-01-18发行的版本