1.15.1
版本发布时间: 2020-12-11 22:26:59
testcontainers/testcontainers-java最新发布版本:1.20.2(2024-10-01 06:18:31)
What's Changed
This release focuses on stability and compatibility:
- Docker 20.10 introduced a new version of the API, 1.41, where they removed quite a few deprecations, and we were using one of them. If you were getting "No such image: testcontainers/ryuk:0.3.0" - that's the cause.
- In 1.15.0,
ImageNameSubstitutor
was added to help dealing with Docker Hub's rate limits. 1.15.1 introduces a default implementation that automatically prefixes every image without the registry. See the docs for more details. -
docker-java
was updated to the latest version that improves the BitBucket Pipelines compatibility, Windows path handling, Socket I/O and related thread stucking onrecv
. - The MockServer module is now compatible with the latest version of the image (5.11.x) and got an improved wait strategy.
🚀 Features & Enhancements
- Make MockServer compatible with newer (5.11.x) versions (#3437) @lanwen
- Update to docker-java 3.2.7 (#3577) @bsideup
- Expose Toxiproxy control port and proxy name (#3454) @aartigao
- Add
HttpWaitStrategy#withMethod
(#3533) @xaviarias - Added Bigtable emulator container support (#3466) @saturnism
- Default prefixing image substitutor (#3413) @rnorth
- avoid code duplication by using
ContainerState
inResourceReaper
(#3573) @bsideup - Pre-resolve LazyDockerClient from
GenericContainer#start()
(#3530) @bsideup
🐛 Bug Fixes
- Always use toAbsolutePath() for MountableFile (#3514) @kiview
- PostgisContainerProvider ignores tag parameter and uses DEFAULT_TAG (#3465) @hlavki
- Avoid using the image name filter. Fixes #3574 (#3575) @bsideup
- Support timestamps with offset from "inspect image" (#3055) @acanda
- Search Oracle image name in classpath (#3439) @eyalkoren
- Selenium: Restore getDockerImageForCapabilities method to public scope (#3441) @rnorth
📖 Documentation
- More examples in the gcloud module doc (#3463) @saturnism
- Update Presto URL to use https in 'Who is using' list (#3438) @findepi
- Add Presto project as Testcontainers user (#3435) @findepi
🧹 Housekeeping
- Add toxiproxy to dependabot.yml (#3502) @sullis
📦 Dependency updates
- Use lower Jackson version to avoid conflicts. (#3579) @bsideup
- Update to docker-java 3.2.7 (#3577) @bsideup
- Bump toxiproxy-java from 2.1.3 to 2.1.4 in /modules/toxiproxy (#3524) @dependabot
- Bump transport from 7.9.2 to 7.10.0 in /modules/elasticsearch (#3473) @dependabot
- Bump assertj-core from 3.17.2 to 3.18.1 in /core (#3471) @dependabot
- Bump assertj-core from 3.18.0 to 3.18.1 in /modules/junit-jupiter (#3470) @dependabot
- Bump assertj-core from 3.17.2 to 3.18.1 in /modules/kafka (#3469) @dependabot
- Bump assertj-core from 3.17.2 to 3.18.1 in /modules/pulsar (#3475) @dependabot
- Bump tomcat-jdbc from 9.0.39 to 9.0.40 in /modules/jdbc (#3509) @dependabot
- Bump tomcat-jdbc from 9.0.39 to 9.0.40 in /modules/jdbc-test (#3513) @dependabot
- Update to docker-java 3.2.6 (#3498) @bsideup
- Bump assertj-core from 3.17.2 to 3.18.1 in /modules/database-commons (#3479) @dependabot
- Bump assertj-core from 3.18.0 to 3.18.1 in /modules/neo4j (#3477) @dependabot
- Bump elasticsearch-rest-client from 7.9.2 to 7.10.0 in /modules/elasticsearch (#3474) @dependabot
- Bump aws-java-sdk-dynamodb from 1.11.882 to 1.11.901 in /modules/dynalite (#3472) @dependabot