All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Unreleased - ReleaseDate
2.2.1 - 2026-04-17
- Dependency update
2.2.0 - 2026-03-10
- Change
cargo_binbad paths to panics
2.1.3 - 2026-03-10
- Un-deprecate
cargo_bin
2.1.2 - 2026-01-09
- Add
#[must_use]to help catch missing assertions
2.1.1 - 2025-10-29
2.1.0 - 2025-10-28
- Deprecated
crate_name!()in favor ofpkg_name!() - Deprecated
Command::cargo_bin,CommandCargoExt::cargo_bin,cargo_binin favor ofcargo_bin!,cargo_bin_cmd!
- Provide
cargo_bin_cmd!() - Use
pkg_name!()as a default parameter tocargo_bin!()
2.0.17 - 2025-04-16
- Add
cargo::cargo_bin!which will work with Cargo'sbuild-dir
2.0.16 - 2024-08-09
- Add getters to
Commandto mirror those added to the standard library
2.0.15 - 2024-07-25
- MSRV is now 1.74.0
2.0.14 - 2024-02-19
- MSRV is now 1.73.0
- Run using the cargo target runner
2.0.13 - 2024-01-12
- Dependency update
2.0.12 - 2023-07-14
- MSRV is now 1.66.0
- Fix typo in failure output
2.0.11 - 2023-04-13
- Dependency update
2.0.10 - 2023-03-16
- Dependency update
2.0.9 - 2023-03-14
- Update MSRV to 1.64.0
- Correctly handle
CLICOLOR=1 - Correctly handle
NO_COLOR= - Auto-enable color on CI
2.0.8 - 2023-01-09
- Make binary data easier to read by resolving newlines
2.0.7 - 2022-12-02
2.0.6 - 2022-11-04
- Hide internal-only optional dependencies
2.0.5 - 2022-10-20
- Added
AssertError::assert
2.0.4 - 2022-01-13
- Improved
Debugoutput
2.0.3 - 2022-01-11
2.0.2 - 2021-10-07
2.0.1 - 2021-09-06
- Show caller for panic, rather than
assert_cmd
2.0.0 - 2021-08-05
Assert::append_contextnow requires aSend+Synccontext, to be compatible with being put in error types
1.0.8 - 2021-07-31
tryvariants of asserts to get an error instead
1.0.7 - 2021-07-03
1.0.6 - 2021-07-01
- Links in docs
1.0.5 - 2021-06-02
1.0.4 - 2021-05-12
- Take advantage of
CARGO_BIN_EXEfor less brittleness
- Fix broken links in documentation
- Provide consistent spawn failure message
1.0.3 - 2021-02-01
1.0.2 - 2020-11-23
- Be explicit about spawn failure (closes #109).
- Reduce dependencies.
Stable release!
- cmd:
- Support timeouts (closes #10).
- cmd:
- Avoid stdin/stdout deadlocks by writing/reading in parallel (closes #42).
- More accurately name the cmd module (15e40f67, breaks #)
- stdin:: Provide a Command wrapper (d159e875, closes #73)
- More accurately name the cmd module (15e40f67, breaks #)
- stdin:: Provide a Command wrapper (d159e875, closes #73)
- cargo: Faster bin lookup (93791474, closes #6, #57, breaks #)
- As a side-effect, removed
cargo_examplein favor of usingescargot. - See the
assert_cmd::cargodocs for trade-offs with when to useescargotvsassert_cmd
- As a side-effect, removed
- assert: Support Strings for easy comparison (81035079, closes #60)
- docs:
- A broken link (854f7c27)
- List caveats for cargo support.
- Documentation fixes
- Remove deprecated functions (fa01930c, breaks #)
- Better group API (b1376f9a, closes #40, breaks #)
- Use predicates 1.0 (1e0ece83, closes #8, breaks #)
- cargo: Reuse the current target (403f612a, closes #44, breaks #)
- assert:
- assert:
- Improve documentation to better jump start users.
- with_stdin: Accept files (#24)
- with_stdin: Accept files (#24)
- with_stdin: Work with chained APIs (#23)
- with_stdin: Work with chained APIs (#23)
- assert: Short-hand output predicates changed assert signatures (43eceba0, closes #2)
- Switch OutputError from Fail (1061baa0)
- cargo: Define a CargoError (7bd71a8a)
- Attempted to improve the documentation.
- Moved all cargo stuff under
cargomodule.