Repository navigation
iperf3-lib 0.4.2 verifies observed socket address families, aligns strict artifact and report validation with consumer static typing, optimizes worker IPC and live-event processing, and publishes the API and archive stability policy. It is a backwards-compatible maintenance release; the project retains Beta maturity.
- Verify
address_familyfrom connected socket endpoint literals inraw["start"]["connected"], populatingeffective["address_family"]as"ipv4"or"ipv6"and treatingrequested["address_family"] == "auto"as compatible with verified IPv4/IPv6 connections across client results, artifacts, sweeps, and adaptive UDP experiments. - Accept
ipaddress.IPv4Address | ipaddress.IPv6AddressforClientConfig.serverandLiteral["tcp", "udp", "sctp"]strings forClientConfig.protocolin static type checking while normalizing toProtocol. Declare explicit__all__exports across all public submodules. - Validate
TestResultin-memory invariants (version,protocol,direction,reporting_role) before artifact serialization, enforce control-character and RFC 6901 JSON Pointer checks across artifact, assessment, sweep, and concurrent report deserializers, preservebytes_per_secondinTrialAssessmentReporttext summaries, and includestart_time_unixin Prometheus exporter completeness checks. - Reuse first-pass observation dictionaries in adaptive UDP summaries, skip unconditional
ctypes.util.find_librarysubprocess probes whenIPERF3_LIBor standard Linux loader names succeed, switch worker parent-child pipes to binary I/O with direct UTF-8bytesJSON parsing, validate live-event payloads in a single pass, and add a/procfallback forWaitPIDindocker-entrypoint.sh. - Publish the compatibility, deprecation, and archive policy, add tagged release documentation snapshot links (
v0.2.0–v0.4.2), and route documentation-only CI changes away from the native Docker matrix while preserving full native and installed-package qualification for code, workflow, and release paths.
For the async execution, concurrent plan, adaptive UDP, and live-event features introduced in 0.4.0, read its release notes and the 0.3-to-0.4 migration guide. Qualification covers standard-GIL CPython 3.12–3.15 on Linux x86_64/glibc with libiperf 3.19.1 and 3.22. Use patched libiperf 3.22 or newer for deployment.
Changelog · Installation · Compatibility & stability policy · Security guidance
Release source: 564085a117ed3a87b56853bb3c60f7ba651a86d4. 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, with no selected lifecycle skips. Public PyPI and GitHub files match the retained manifests, and both PyPI attestations verify the exact source, tag, workflow, run and publishing environment. The manifests and verified qualification index are attached below.
What's Changed
- docs: announce the 0.4.1 release by @dariuszpanas in #86
- ci: skip native matrix for documentation-only changes by @dariuszpanas in #87
- docs: explain documentation-only CI coverage by @dariuszpanas in #88
- chore(deps): bump the python-dependencies group with 2 updates by @dependabot[bot] in #89
- chore(actions): bump the github-actions group across 1 directory with 4 updates by @dependabot[bot] in #91
- chore(deps): bump ty from 0.0.84 to 0.0.87 in the ty-beta group across 1 directory by @dependabot[bot] in #90
- chore(deps): bump ty from 0.0.87 to 0.0.89 in the ty-beta group by @dependabot[bot] in #94
- chore(deps): bump certifi from 2026.7.22 to 2026.10.19 in the python-security group across 1 directory by @dependabot[bot] in #95
- chore(deps): bump the python-dependencies group across 1 directory with 3 updates by @dependabot[bot] in #93
- chore(deps): bump ty from 0.0.89 to 0.0.91 in the ty-beta group across 1 directory by @dependabot[bot] in #97
- chore(actions): bump the github-actions group with 3 updates by @dependabot[bot] in #98
- fix(tooling): align preview uv verification and image evidence by @dariuszpanas in #100
- docs: align 0.4.x documentation and publish stability policy by @dariuszpanas in #104
- fix: verify address_family, align validators and typing, and optimize runtime by @dariuszpanas in #105
- chore: prepare the 0.4.2 release candidate by @dariuszpanas in #107
Full Changelog: v0.4.1...v0.4.2