Skip to content

Commit 4674882

Browse files
chore: release v0.26.0 (#886)
## 🤖 New release * `testcontainers`: 0.25.2 -> 0.26.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.45.0/src/lints/enum_variant_added.ron Failed in: variant ClientError:CopyFromContainerError in /tmp/.tmpqTygAe/testcontainers-rs/testcontainers/src/core/client.rs:135 variant ClientError:CopyFromContainerError in /tmp/.tmpqTygAe/testcontainers-rs/testcontainers/src/core/client.rs:135 --- failure inherent_method_missing: pub method removed or renamed --- Description: A publicly-visible method or associated fn 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.45.0/src/lints/inherent_method_missing.ron Failed in: ContainerAsync::id, previously in file /tmp/.tmpozwe0G/testcontainers/src/core/containers/async_container.rs:132 ContainerAsync::ports, previously in file /tmp/.tmpozwe0G/testcontainers/src/core/containers/async_container.rs:143 ContainerAsync::get_host_port_ipv4, previously in file /tmp/.tmpozwe0G/testcontainers/src/core/containers/async_container.rs:155 ContainerAsync::get_host_port_ipv6, previously in file /tmp/.tmpozwe0G/testcontainers/src/core/containers/async_container.rs:174 ContainerAsync::get_bridge_ip_address, previously in file /tmp/.tmpozwe0G/testcontainers/src/core/containers/async_container.rs:186 ContainerAsync::get_host, previously in file /tmp/.tmpozwe0G/testcontainers/src/core/containers/async_container.rs:224 ContainerAsync::exec, previously in file /tmp/.tmpozwe0G/testcontainers/src/core/containers/async_container.rs:232 ContainerAsync::stop, previously in file /tmp/.tmpozwe0G/testcontainers/src/core/containers/async_container.rs:299 ContainerAsync::stdout, previously in file /tmp/.tmpozwe0G/testcontainers/src/core/containers/async_container.rs:354 ContainerAsync::stderr, previously in file /tmp/.tmpozwe0G/testcontainers/src/core/containers/async_container.rs:364 ContainerAsync::stdout_to_vec, previously in file /tmp/.tmpozwe0G/testcontainers/src/core/containers/async_container.rs:372 ContainerAsync::stderr_to_vec, previously in file /tmp/.tmpozwe0G/testcontainers/src/core/containers/async_container.rs:381 ContainerAsync::id, previously in file /tmp/.tmpozwe0G/testcontainers/src/core/containers/async_container.rs:132 ContainerAsync::ports, previously in file /tmp/.tmpozwe0G/testcontainers/src/core/containers/async_container.rs:143 ContainerAsync::get_host_port_ipv4, previously in file /tmp/.tmpozwe0G/testcontainers/src/core/containers/async_container.rs:155 ContainerAsync::get_host_port_ipv6, previously in file /tmp/.tmpozwe0G/testcontainers/src/core/containers/async_container.rs:174 ContainerAsync::get_bridge_ip_address, previously in file /tmp/.tmpozwe0G/testcontainers/src/core/containers/async_container.rs:186 ContainerAsync::get_host, previously in file /tmp/.tmpozwe0G/testcontainers/src/core/containers/async_container.rs:224 ContainerAsync::exec, previously in file /tmp/.tmpozwe0G/testcontainers/src/core/containers/async_container.rs:232 ContainerAsync::stop, previously in file /tmp/.tmpozwe0G/testcontainers/src/core/containers/async_container.rs:299 ContainerAsync::stdout, previously in file /tmp/.tmpozwe0G/testcontainers/src/core/containers/async_container.rs:354 ContainerAsync::stderr, previously in file /tmp/.tmpozwe0G/testcontainers/src/core/containers/async_container.rs:364 ContainerAsync::stdout_to_vec, previously in file /tmp/.tmpozwe0G/testcontainers/src/core/containers/async_container.rs:372 ContainerAsync::stderr_to_vec, previously in file /tmp/.tmpozwe0G/testcontainers/src/core/containers/async_container.rs:381 --- 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.45.0/src/lints/trait_method_added.ron Failed in: trait method testcontainers::runners::AsyncBuilder::build_image_with in file /tmp/.tmpqTygAe/testcontainers-rs/testcontainers/src/runners/async_builder.rs:11 ``` <details><summary><i><b>Changelog</b></i></summary><p> <blockquote> ## [0.26.0] - 2025-12-01 ### Details #### Bug Fixes - Make port_bindings consistent with docker cli when publish_all_ports = true ([#885](#885)) #### Features - Support build options - `no_cache`, `skip_if_exists` and `buildargs` ([#856](#856)) - Support docker-compose ([#864](#864)) - Add target options with custom mode ([#878](#878)) - Support copying from containers ([#871](#871)) #### Miscellaneous Tasks - Use bollard 0.19.4 ([#870](#870)) - Update etcetera requirement from 0.10.0 to 0.11.0 ([#869](#869)) #### Performance - Replace `ulid` with `ferroid`'s ULID for better performance ([#829](#829)) - Update ferroid for better performance during encode/decode ([#879](#879)) </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 b1ded94 commit 4674882

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

CHANGELOG.md

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

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

5+
## [0.26.0] - 2025-12-01
6+
### Details
7+
#### Bug Fixes
8+
- Make port_bindings consistent with docker cli when publish_all_ports = true ([#885](https://github.com/testcontainers/testcontainers-rs/pull/885))
9+
10+
#### Features
11+
- Support build options - `no_cache`, `skip_if_exists` and `buildargs` ([#856](https://github.com/testcontainers/testcontainers-rs/pull/856))
12+
- Support docker-compose ([#864](https://github.com/testcontainers/testcontainers-rs/pull/864))
13+
- Add target options with custom mode ([#878](https://github.com/testcontainers/testcontainers-rs/pull/878))
14+
- Support copying from containers ([#871](https://github.com/testcontainers/testcontainers-rs/pull/871))
15+
16+
#### Miscellaneous Tasks
17+
- Use bollard 0.19.4 ([#870](https://github.com/testcontainers/testcontainers-rs/pull/870))
18+
- Update etcetera requirement from 0.10.0 to 0.11.0 ([#869](https://github.com/testcontainers/testcontainers-rs/pull/869))
19+
20+
#### Performance
21+
- Replace `ulid` with `ferroid`'s ULID for better performance ([#829](https://github.com/testcontainers/testcontainers-rs/pull/829))
22+
- Update ferroid for better performance during encode/decode ([#879](https://github.com/testcontainers/testcontainers-rs/pull/879))
23+
524
## [0.25.2] - 2025-10-27
625
### Details
726
#### Features

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.25.2"
3+
version = "0.26.0"
44
categories = ["development-tools::testing"]
55
readme = "README.md"
66
authors.workspace = true

0 commit comments

Comments
 (0)