Skip to content

Releases: testcontainers/testcontainers-rs

v0.26.3

24 Dec 00:22
f86fbc4

Choose a tag to compare

Details

Features

  • Support for reusable containers that have been stopped (#896)
  • Support auto-detection of docker-compose client (#898)
  • Allow customizations of host-config (#899)

v0.26.2

19 Dec 04:54
145544f

Choose a tag to compare

Details

Features

  • Allow overriding project name (#894)

v0.26.1

19 Dec 01:26
f6a6ecd

Choose a tag to compare

Details

Bug Fixes

  • Reuse container requires name (#887)
  • Respect TESTCONTAINERS_COMMAND (#891)

Miscellaneous Tasks

  • Update russh requirement from 0.54.4 to 0.55.0 (#888)

v0.26.0

01 Dec 05:11
4674882

Choose a tag to compare

Details

Bug Fixes

  • Make port_bindings consistent with docker cli when publish_all_ports = true (#885)

Features

  • Support build options - no_cache, skip_if_exists and buildargs (#856)
  • Support docker-compose (#864)
  • Add target options with custom mode (#878)
  • Support copying from containers (#871)

Miscellaneous Tasks

  • Use bollard 0.19.4 (#870)
  • Update etcetera requirement from 0.10.0 to 0.11.0 (#869)

Performance

  • Replace ulid with ferroid's ULID for better performance (#829)
  • Update ferroid for better performance during encode/decode (#879)

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)