# Release notes for `clingwrap`
Changes that affect crates that depend on this crate, or users of
those crates.
## Version 0.6.1, released 2026-02-06
* This release drops from debug prints to stderr that were left behind in the
previous release. API and everything else is identical.
## Version 0.6.0, released 2026-01-04
### Bug fix
* The way stdout and stderr were combined for capture has been fixed. The
old code was sometimes confused when data was fed into stdin.
### Breaking change
* The `CommandError::CommandFailed` error variant now stores the output
from the child in a `Box`, to make the variant smaller. The `exit` field
has been dropped, because it's already part of the `output` field.
### Other changes
* The `CommandRunner` type now allows inheriting stdin from the parent
process.
* There is now an example of using `ConfigValidator` in the documentation
for the `clingwrap::runner` module.
* Internally the test suite verifies more aspects of the library, thanks
to `cargo-mutants`.
## Version 0.5.0, released 2025-11-04
* New module `clingwrap:ssh` makes it easier to run commands on a remote
host over SSH, by creating a `Command` that runs the SSH client for you.
This quotes the arguments so that they are received as-is by the command
on the remote end.
## Version 0.4.0, released 2025-09-17
* Switch dependency for YAML files to `serde-norway` from `serde-yml`.
This should be invisible to users of the library, except for those
who use `cargo deny` to find security issues.
* Configuration files can now more easily be loaded from directories
specified the XDG directory specification. For example, `~/.config/foo` -
see the `clingwrap::config::ConfigLoader` method.
* The `TildePathBuf` type now implements `AsRef<Path>` and `Deref<Path>`
for convenience.
* The MSRV is now at 1.87.0 so that `clingwrap::runner` can use anonymous
pipes.
* The `clingwrap::runner::Runner` type now allows capturing stdout and
stderr output as on stream. The `stdin` of the child process closed,
unless data is fed to it explicitly.
## Version 0.3.0, released 2025-07-23
* All exported types now implement the `Debug` trait.
* `TildePathBuf` values can now be compared for equality.
* `ConfigLoader` can now list all the files to be loaded.
* TOML is now supported as a configuration file format. This required
bumping the version number to 0.3.0, because the `ConfigError` type
needed to be changed, and that was an incompatible change.
## Version 0.2.0, released 2025-07-08
* The `clingwrap::config` module is now a little simpler to use. The
`ConfigMerger` type is gone: the `ConfigLoader::load` method used to
return an instance of `ConfigMerger` and the caller was expected to
call its `validate` method. That method took three type parameters.
This has been replaced with `load` validating result of merging the
loaded configuration files. This should simplify using the `config`
module.
This is a breaking change, because the API has changed. The crate
version number has been bumped accordingly.
## Version 0.1.0, released 2025-07-08
* First release.