Repository navigation
v0.4.0
iperf3-lib 0.4.0 adds owned async execution, bounded concurrent plans, adaptive UDP experiments and typed live-event streams. It is an ordinary package release; the project retains Beta maturity.
- Async client/server cancellation stops the owned worker and waits for cleanup. Unconfirmed cleanup raises
IperfCleanupError; application callbacks can delay return. - Sequential async plans retain completed and interrupted-trial evidence. Concurrent plans add explicit worker/rate limits and resource exclusions.
- Adaptive UDP experiments report tested operating points with confirmation measurements. Live-event streams provide bounded progress delivery alongside independent final results.
- Standard-GIL CPython 3.12–3.15 is qualified on Linux x86_64/glibc against libiperf 3.19.1 and 3.22. Python 3.15 requires CFFI >=2.1.1. Use patched libiperf 3.22 or newer for deployment; 3.19.1 remains compatibility coverage.
- Task-submission rejection preserves plan history, closes unsubmitted coroutines and permits fresh client/server event streams.
Read the 0.3.0-to-0.4.0 migration guide before upgrading async applications. Async methods now use the built-in worker path instead of synchronous-method overrides. Basic synchronous native calls remain non-reentrant, and existing artifact-v1, assessment-v1 and sweep-v1 contracts retain their meanings.
Changelog · Installation · Security guidance
Known documentation error: the immutable PyPI/package README incorrectly calls 0.4.0 unreleased and 0.3.0 the latest version. Version 0.4.0 is published. The original description remains unchanged; 0.4.1 supplies the corrected description on the default PyPI project page, with unchanged runtime package files. See #78 for release verification.
Release source: e4c2562cfe34061afdcf2c9587f7d3e0153e8ad6. The production release run passed all eight Python/native combinations: 16 installed smoke receipts, 16 lifecycle receipts, 784 selected cases and 2,352 passed phases. The published wheel and sdist are byte-identical to the qualified rehearsal. Public PyPI and GitHub files match the retained manifests, and both PyPI attestations verify the exact source, tag, workflow, run and publishing environment. The source manifests and verified qualification index are attached below.
What's Changed
- docs: simplify guides and record the 0.3.0 release by @dariuszpanas in #58
- chore(deps): bump ty from 0.0.83 to 0.0.84 in the ty-beta group by @dependabot[bot] in #60
- chore(deps): bump the python-dependencies group across 1 directory with 2 updates by @dependabot[bot] in #61
- fix: propagate async cancellation to isolated workers by @dariuszpanas in #62
- fix: stop isolated Linux workers after parent death by @dariuszpanas in #64
- feat: bound and validate isolated worker transport by @dariuszpanas in #65
- feat: retain interrupted async plan execution evidence by @dariuszpanas in #66
- feat: add bounded concurrent plans and lifecycle stress qualification by @dariuszpanas in #67
- fix: retain sequential plan evidence after worker failures by @dariuszpanas in #68
- feat: add bounded adaptive UDP experiments by @dariuszpanas in #69
- feat: add owned typed live event streams by @dariuszpanas in #70
- ci: gate releases on retained qualification evidence by @dariuszpanas in #71
- ci: qualify Python 3.15 release candidate separately by @dariuszpanas in #72
- docs: explain the unreleased 0.4 upgrade path by @dariuszpanas in #73
- feat: qualify libiperf 3.22 compatibility by @dariuszpanas in #74
- docs: explain iperf integration choices by @dariuszpanas in #75
- build: declare Python 3.15 readiness by @dariuszpanas in #76
- chore(deps): bump ruff from 0.16.9 to 0.16.10 in the python-dependencies group by @dependabot[bot] in #80
- feat: support Python 3.15 in native qualification by @dariuszpanas in #81
- chore(docker): bump astral-sh/uv from 0.12.23 to 0.13.0 by @dependabot[bot] in #79
- chore: prepare the 0.4.0 release candidate by @dariuszpanas in #82
Full Changelog: v0.3.0...v0.4.0