Skip to content

v0.4.2

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Nov 03:28
· 16 commits to main since this release

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_family from connected socket endpoint literals in raw["start"]["connected"], populating effective["address_family"] as "ipv4" or "ipv6" and treating requested["address_family"] == "auto" as compatible with verified IPv4/IPv6 connections across client results, artifacts, sweeps, and adaptive UDP experiments.
  • Accept ipaddress.IPv4Address | ipaddress.IPv6Address for ClientConfig.server and Literal["tcp", "udp", "sctp"] strings for ClientConfig.protocol in static type checking while normalizing to Protocol. Declare explicit __all__ exports across all public submodules.
  • Validate TestResult in-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, preserve bytes_per_second in TrialAssessmentReport text summaries, and include start_time_unix in Prometheus exporter completeness checks.
  • Reuse first-pass observation dictionaries in adaptive UDP summaries, skip unconditional ctypes.util.find_library subprocess probes when IPERF3_LIB or standard Linux loader names succeed, switch worker parent-child pipes to binary I/O with direct UTF-8 bytes JSON parsing, validate live-event payloads in a single pass, and add a /proc fallback for WaitPID in docker-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