Skip to content

v2.0.0

Latest

Choose a tag to compare

@kvz kvz released this 11 Oct 18:21
46a98f3

2.0.0 / 2026-10-11

  • Added AsyncTransloadit with asyncio support for the existing synchronous client's Assembly, Template and billing methods, plus Smart CDN URL signing. Polling uses asyncio.sleep; resumable uploads run tuspy in worker threads.
  • Breaking Change: Python 3.12 or newer is required. Upgrade development, CI and deployment interpreters before installing 2.0. Applications that need Python 3.9–3.11 can pin pytransloadit<2 (latest 1.x: 1.0.4).
  • Upgrade notes: Update application constraints for requests>=2.33,<3 and urllib3>=2.7,<3, then regenerate your lockfile. Existing synchronous imports and methods remain available; asyncio applications can use async with AsyncTransloadit(...) and await network operations. See README for request-handling corrections, including explicit polling retry exhaustion, trusted Assembly URLs, redirect handling and Smart CDN validation/boolean serialization. Keep file context managers open around awaited uploads; cancellation waits for active file reads and resumable workers to finish. Resumable transfers do not inherit an injected aiohttp session's proxy/TLS settings. Source contributors use Poetry 2.4.1 with [project] metadata; isolated source builds require poetry-core>=2.2,<3.