All notable changes to this project will be documented in this file.
See conventional commits for commit guidelines.
8.0.2 - 2024-05-31
- Deps: Add tracing feature to remove tracing dep if wanted - (9f64922)
8.0.1 - 2024-05-31
- Deps: Turn futures into an optional dependency (#7) - (0c8b54b)
8.0.0 - 2024-04-20
- API change: Add explicit Send + Sync bounds - (6580a62)
7.1.0 - 2024-04-20
- Feature: Add Clone and Copy derives where possible - (bfd45e0)
- Feature: Add reset-sigmask wrapper - (19d27d6)
7.0.1 - 2024-04-16
- API change: Remove re-export of nix Signal - (a1066a7)
- Documentation: Yank 7.0.0 - (f7bbb36)
- Documentation: Fix doctests - (191b8d6)
7.0.0 - 2024-04-16 yanked
- API change: Remove nix types from public API - (7de6ac0)
- Deps: Bump the cargo group with 1 update - (d542c6e)
- Deps: Bump the cargo group with 1 update (#4) - (fa44e91)
- Deps: Upgrade windows to 0.56 - (7f2a280)
- Documentation: Fix progress->process in repo name in changelog - (e8fb3a1)
- Feature: Add underlying Command accessors to *CommandWrap - (2e2f548)
- Feature: Add pgid accessor to ProcessGroupChild - (2e2f548)
- Refactor: Don't require nix::Pid on the public API - (fd5f5e3)
- Test: Multiprocess behaviour - (bbe9eed)
- Test: Multiproc tests for linux specifically - (bd268d2)
- Test: Multiproc for std - (35270b8)
6.0.1 - 2024-03-11
- Bugfix: Std doesn't have kill-on-drop - (5eaef93)
- Bugfix: Enable kill-on-drop (tokio only) by default - (5eaef93)
- Documentation: Document that kill-on-drop is Tokio-only - (7437914)
- Documentation: Fix changelog style for 6.0.0 - (fc158c9)
6.0.0 - 2024-03-11
- Deps: Upgrade nix to 0.28 and windows to 0.54 - (0d24385)
- Documentation: Enable doc_auto_cfg for docsrs - (d143b09)
- Documentation: Correct COPYRIGHT and CITATION.cff for new name - (a04124f)
- Feature: Instrument internals (with tracing) - (5ee79a7)
- Repo: Do versions with cargo-release and git-cliff - (869dbf8)
- Repo: Add dependabot config - (5a881b2)
- Repo: Rename to
process-wrap
and rearchitect. - Repo: Require Rust 1.75 for async trait in trait.
- Tweak: Restore Signal re-export on unix - (fe62ff2)
- Tweak: Windows: setting
CREATE_SUSPENDED
leaves the process suspended after spawn.
- Use std's
process_group()
(#16).
- Change
UnixChildExt::signal
to take&self
instead of&mut self
. - Grouped child
wait
s using upstream::wait
and::try_wait
in addition to the internal pgid-based logic, to help with cancellation. - Optimisations in
tokio::Child::wait()
. (#25, #26)
- Add
ErasedChild::id()
method.
- Clarify why and in which situations
AsyncGroupChild::wait
may not behave as expected when cancelled. - Add
AsyncGroupChild::start_kill
to align with Tokio'sChild::start_kill
. - Change
AsyncGroupChild::kill
to alsowait()
on the child, to align with Tokio'sChild::kill
. - Add
ErasedChild
abstraction to allow using the same type for grouped and ungrouped children.
- Update
nix
to 0.27. - Increase MSRV to 1.68 (within policy).
- Add note to documentation for Tokio
Child::wait
wrt cancel safety. (#21)
(Same as 3.0.0, but yanked due to breakage.)
- Fix bug on Windows where the wrong pointer was being null checked, leading to timeout errors. (#13)
- Increase MSRV to 1.60.0 and change policy for increasing it (no longer a breaking change).
- Wait for all processes in the process group, avoiding zombies. (#7)
- Update
nix
to 0.26 and limit features. (#8)
- Bugfix: compiling would fail when Tokio was missing the
io-util
feature (notio-std
).
- Bugfix: compiling would fail when Tokio was missing the
io-std
feature.
- Internal: change usage of
feature = "tokio"
tofeature = "with-tokio"
. - Documentation: remove wrong mention of blocking reads on
AsyncGroupChild::wait_with_output()
.
New: Tokio implementation, gated on the with-tokio
feature.
Bugfix: GroupChild::try_wait()
would error if called after a child exited by itself.
Bugfix: GroupChild::try_wait()
and ::wait()
could not be called twice.
Implement Send
+Sync
on GroupChild
on Windows, and add a Drop
implementation to close handles
too (whoops). Do our best when .into_inner()
is used...
Initial release