Skip to content

Releases: testcontainers/testcontainers-rs

v0.25.2

27 Oct 22:24

Choose a tag to compare

Details

Features

  • Platform config passing through ImageExt trait (#838)

Miscellaneous Tasks

  • Remove usage of reqwest hickory dns feature (#860)
  • Drop weak dependencies due to cargo bug (#862)

v0.25.1

27 Oct 15:16
0176f0c

Choose a tag to compare

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_wait functionallity 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 platform test
  • Switch to testcontainers/helloworld and reduce some flakiness (#855)

v0.25.0

27 Jul 15:44
1cb9e92

Choose a tag to compare

Details

Bug Fixes

  • Make tls features optional (#806)
  • Add Send trait to stderr & stdout of ExecResult (#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

04 May 21:01
547e24e

Choose a tag to compare

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 pause and unpause container (#785)
  • Allow security_opt and readonly_rootfs to be configured (#787)

Miscellaneous Tasks

  • Update etcetera requirement from 0.8.0 to 0.9.0 (#773)
  • Update etcetera requirement from 0.9.0 to 0.10.0 (#775)

v0.23.3

19 Feb 14:22
e62b418

Choose a tag to compare

Details

Bug Fixes

  • Proper handling of possible stdin in logs stream (#769)

Features

  • Re-export bollard

v0.23.2

07 Feb 16:52
784dc7c

Choose a tag to compare

Details

Documentation

  • Add examples of ImageExt usage and cover GenericImage (#747)

Features

  • Add cap_add and cap_drop support (#726)
  • Add support for user-configured labels (#756)
  • Reusable containers (#757)
  • Add image hook to run commands before ready (#766)

Miscellaneous Tasks

  • Update thiserror requirement from 1.0.60 to 2.0.3 (#754)
  • Bump the bollard dep to latest (#759)

Testing

  • Deflake the test start_containers_in_parallel (#748)

v0.23.1

26 Sep 00:08
4049724

Choose a tag to compare

Details

Features

  • Expose configured bollard client (#740)

v0.23.0

25 Sep 11:16
1b5e545

Choose a tag to compare

Details

Bug Fixes

  • Expose public copy types (#734)
  • Typo in an error variant (#738)

Features

  • Support copy files to container (#730)
  • Support copying directories to container (#735)

Miscellaneous Tasks

  • Copy-to-container interface improvements (#732)

Refactor

  • Replace dirs crate with etcetera (#736)

v0.22.0

30 Aug 19:22
df5fb05

Choose a tag to compare

Details

Bug Fixes

  • [❗] Docker socket detection on unix (#721)

Features

  • Add working_dir to ContainerRequest,ImageExt (#724)

Miscellaneous Tasks

  • Added #![forbid(unsafe_code)] to the library (#722)

v0.21.1

05 Aug 23:42
3f30ac8

Choose a tag to compare

[0.21.1] - 2024-08-05

Details

Features

  • Allow configuring resource ulimits (#714)