Releases: testcontainers/testcontainers-rs
Releases · testcontainers/testcontainers-rs
v0.25.2
v0.25.1
Details
Bug Fixes
- Replace tokio-tar with astral-tokio-tar (#852)
Documentation
- Rustdoc for builder API (#820)
Features
- Use DOCKER_DEFAULT_PLATFORM env var to specify platform (#800)
- Fallback to platform linux/amd64 when image pull fails (#837)
- Add support for devices request (#832)
- Add configurable tmpfs mount sizes (#853)
- Support
http_waitfunctionallity without tls dependencies (#850) - Add container hostname support (#848)
- Expose host ports between host and containers via ssh sidecar (#846)
Miscellaneous Tasks
- Update bollard-stubs requirement from =1.48.3-rc.28.0.4 to =1.49.0-rc.28.3.3 (#828)
Refactor
- Remove bollard_stubs dependency as bollard re-exports it (#844)
Testing
- Avoid flakiness in
platformtest - Switch to testcontainers/helloworld and reduce some flakiness (#855)
v0.25.0
Details
Bug Fixes
- Make tls features optional (#806)
- Add
Sendtrait tostderr&stdoutofExecResult(#809) - Added new parse rule for correctly parsing ports without protocol specifier (#812)
Features
- Allow ready conditions customization via ImageExt (#794)
- Allow to wait for log line on either stdout or stderr (#795)
- Add
Container*::exit_code(#791) - Add
Container*::is_running(#790) - Add custom health check support for containers (#816)
- Introduce container builder api (#801)
Miscellaneous Tasks
- [❗] Update bollard to 1.19.1 (#817)
Refactor
- Testimages and tests to use builder API (#804)
v0.24.0
Details
Features
- Support waiting for commands exit regardless of exit code (#771)
- Add user configuration for container commands (#784)
- Add option to stop containers with a timeout (#779)
- Support
pauseandunpausecontainer (#785) - Allow
security_optandreadonly_rootfsto be configured (#787)
Miscellaneous Tasks
v0.23.3
v0.23.2
Details
Documentation
- Add examples of
ImageExtusage and coverGenericImage(#747)
Features
- Add
cap_addandcap_dropsupport (#726) - Add support for user-configured labels (#756)
- Reusable containers (#757)
- Add image hook to run commands before ready (#766)
Miscellaneous Tasks
Testing
- Deflake the test
start_containers_in_parallel(#748)