Skip to content

Tachyon API 1.4.2

Choose a tag to compare

@jmpanozzoz jmpanozzoz released this 04 Nov 20:47
· 5 commits to main since this release

Tachyon 1.4.2 fixes resource cleanup and HTTP/1 connection handling, and bounds a pathological routing miss. It retains one Python implementation, the existing public API, portable packaging and Uvicorn as the default server. No Rust core or new runtime dependency is introduced.

Fixes

  • Finalize async streaming producers on send failure or cancellation before closing request-owned uploads.
  • Close HTTP/1 connections after rejecting an unread oversized body, preventing invalid keepalive reuse. HTTP/2 responses do not receive hop-by-hop headers.
  • Reject provably impossible static-suffix misses before expanding ambiguous routes, preserving dynamic fallback and static 405 precedence.
  • Verify installed/archive source bytes and reject unsafe sdist members; allow validating the same artifact pair on another host.

Validation

  • The final wheel and sdist passed local release gates on macOS ARM64 and Debian ARM64, Python 3.10–3.13: 904 source/example tests per interpreter and 207 installed contracts per candidate/rebuilt wheel.
  • The identical runtime completed 30 active minutes of Linux load/rest testing: 26,927,848 validated responses, zero errors; open descriptors returned to baseline after each rest.
  • Exact artifact hashes, dependency advisory checks, manifests and raw logs are attached. Publication uses local tooling without GitHub Actions.

Performance and scope

The 10,000-route adversarial matcher miss improved from 5.738 ms to 0.552 µs in the retained profile, with about 3.6% additional traced registration memory. Ordinary ASGI measurements were mixed, including approximately 7% overhead in the minimal case; no general throughput speedup is claimed. These shared-host measurements do not establish production capacity or absence of leaks.

Windows, Linux x86-64, multi-worker endurance and multi-hour production traffic remain unverified. See the operational evidence and changelog.

pip install tachyon-api==1.4.2