Skip to content

0.4.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 02 Jun 12:58
· 45 commits to refs/heads/main since this release
c7d299c

What's Changed

This new release of Unparallel comes with a major fix that improves the performance and reduces the number of timeout errors massively if you do thousands of web requests with Unparallel! ⚡
This is achieved by synchronizing the async tasks with a semaphore object having the same value as the maximum connections (benchmarking tests showed that setting the semaphore to a higher value gives worse results; see also #197).


Additionally, you can now initialize (or reuse) your own httpx.AsyncClient and pass it to Unparallel:

client = httpx.AsyncClient(...)
await up(..., client=client)

See also #186 or check the related section in the docs.

🚀 Features

  • Add option to pass a custom HTTPX Client to Unparallel (#186) @RafaelWO

🔧 Fixes & Refactoring

📦 Build System & CI/CD

📝 Documentation

  • Fix Code Blocks in Docs (use pytest-examples for testing) (#146) @RafaelWO

⬆️ Dependencies updates

Update dev dependencies

👥 List of contributors

@RafaelWO and @dependabot


Full Changelog: 0.3.0...0.4.0