Skip to content

Commit 81c6406

Browse files
chore: release v0.24.0 (#788)
## 🤖 New release * `testcontainers`: 0.23.3 -> 0.24.0 (⚠ API breaking changes) ### ⚠ `testcontainers` breaking changes ```text --- failure enum_variant_added: enum variant added on exhaustive enum --- Description: A publicly-visible enum without #[non_exhaustive] has a new variant. ref: https://doc.rust-lang.org/cargo/reference/semver.html#enum-variant-new impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.40.0/src/lints/enum_variant_added.ron Failed in: variant CmdWaitFor:Exit in /tmp/.tmpPG1hwc/testcontainers-rs/testcontainers/src/core/wait/cmd_wait.rs:16 variant ClientError:PauseContainer in /tmp/.tmpPG1hwc/testcontainers-rs/testcontainers/src/core/client.rs:81 variant ClientError:UnpauseContainer in /tmp/.tmpPG1hwc/testcontainers-rs/testcontainers/src/core/client.rs:83 variant ClientError:PauseContainer in /tmp/.tmpPG1hwc/testcontainers-rs/testcontainers/src/core/client.rs:81 variant ClientError:UnpauseContainer in /tmp/.tmpPG1hwc/testcontainers-rs/testcontainers/src/core/client.rs:83 --- failure enum_variant_missing: pub enum variant removed or renamed --- Description: A publicly-visible enum has at least one variant that is no longer available under its prior name. It may have been renamed or removed entirely. ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.40.0/src/lints/enum_variant_missing.ron Failed in: variant CmdWaitFor::ExitCode, previously in file /tmp/.tmp7IxuhL/testcontainers/src/core/wait/cmd_wait.rs:16 --- failure trait_method_added: pub trait method added --- Description: A non-sealed public trait added a new method without a default implementation, which breaks downstream implementations of the trait ref: https://doc.rust-lang.org/cargo/reference/semver.html#trait-new-item-no-default impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.40.0/src/lints/trait_method_added.ron Failed in: trait method testcontainers::core::ImageExt::with_user in file /tmp/.tmpPG1hwc/testcontainers-rs/testcontainers/src/core/image/image_ext.rs:171 trait method testcontainers::core::ImageExt::with_readonly_rootfs in file /tmp/.tmpPG1hwc/testcontainers-rs/testcontainers/src/core/image/image_ext.rs:174 trait method testcontainers::core::ImageExt::with_security_opt in file /tmp/.tmpPG1hwc/testcontainers-rs/testcontainers/src/core/image/image_ext.rs:177 trait method testcontainers::ImageExt::with_user in file /tmp/.tmpPG1hwc/testcontainers-rs/testcontainers/src/core/image/image_ext.rs:171 trait method testcontainers::ImageExt::with_readonly_rootfs in file /tmp/.tmpPG1hwc/testcontainers-rs/testcontainers/src/core/image/image_ext.rs:174 trait method testcontainers::ImageExt::with_security_opt in file /tmp/.tmpPG1hwc/testcontainers-rs/testcontainers/src/core/image/image_ext.rs:177 ``` <details><summary><i><b>Changelog</b></i></summary><p> <blockquote> ## [0.24.0] - 2025-05-04 ### 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) </blockquote> </p></details> --- This PR was generated with [release-plz](https://github.com/release-plz/release-plz/). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 7db35a4 commit 81c6406

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [0.24.0] - 2025-05-04
6+
### Details
7+
#### Features
8+
- Support waiting for commands exit regardless of exit code (#771)
9+
- Add user configuration for container commands (#784)
10+
- Add option to stop containers with a timeout (#779)
11+
- Support `pause` and `unpause` container (#785)
12+
- Allow `security_opt` and `readonly_rootfs` to be configured (#787)
13+
14+
#### Miscellaneous Tasks
15+
- Update etcetera requirement from 0.8.0 to 0.9.0 (#773)
16+
- Update etcetera requirement from 0.9.0 to 0.10.0 (#775)
517
## [0.23.3] - 2025-02-19
618
### Details
719
#### Bug Fixes

testcontainers/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "testcontainers"
3-
version = "0.23.3"
3+
version = "0.24.0"
44
categories = ["development-tools::testing"]
55
readme = "README.md"
66
authors.workspace = true

0 commit comments

Comments
 (0)