Skip to content

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 11 Oct 22:25
· 34 commits to main since this release

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

Full Changelog: v0.3.0...v0.4.0