github-actions
released this
02 Jun 12:58
·
45 commits
to refs/heads/main
since this release
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
🔧 Fixes & Refactoring
📦 Build System & CI/CD
- Use ruff instead of black and isort (#165) @RafaelWO
- Refactor tests and mock URLs (#169) @RafaelWO
- Use
bump-my-version
(#141) @RafaelWO
📝 Documentation
⬆️ Dependencies updates
Update dev dependencies
- ⬆️ Bump bandit from 1.7.7 to 1.7.8 (#152) @dependabot
- ⬆️ Bump mypy from 1.8.0 to 1.9.0 (#149) @dependabot
- ⬆️ Bump pytest from 8.0.2 to 8.1.1 (#148) @dependabot
- ⬆️ Bump mkdocs-material from 9.5.11 to 9.5.13 (#147) @dependabot
- ⬆️ Bump mkdocs-material from 9.5.13 to 9.5.14 (#153) @dependabot
- ⬆️ Bump coverage from 7.4.3 to 7.4.4 (#154) @dependabot
- ⬆️ Bump mkdocstrings-python from 1.8.0 to 1.9.0 (#156) @dependabot
- ⬆️ Bump tj-actions/verify-changed-files from 18 to 19 (#143) @dependabot
- ⬆️ Bump pytest-cov from 4.1.0 to 5.0.0 (#158) @dependabot
- ⬆️ Bump respx from 0.20.2 to 0.21.1 (#162) @dependabot
- ⬆️ Bump ruff from 0.3.4 to 0.3.5 (#167) @dependabot
- ⬆️ Bump safety from 3.0.1 to 3.1.0 (#164) @dependabot
- ⬆️ Bump pytest-asyncio from 0.23.5 to 0.23.6 (#160) @dependabot
- ⬆️ Bump mkdocs-material from 9.5.14 to 9.5.18 (#171) @dependabot
- ⬆️ Bump mkdocstrings-python from 1.9.0 to 1.10.0 (#172) @dependabot
- ⬆️ Bump ruff from 0.3.5 to 0.4.1 (#173) @dependabot
- ⬆️ Bump ruff from 0.4.1 to 0.4.3 (#182) @dependabot
- ⬆️ Bump coverage-badge from 1.1.0 to 1.1.1 (#177) @dependabot
- ⬆️ Bump mypy from 1.9.0 to 1.10.0 (#176) @dependabot
- ⬆️ Bump coverage from 7.4.4 to 7.5.1 (#185) @dependabot
- ⬆️ Bump pytest from 8.1.1 to 8.2.0 (#179) @dependabot
- ⬆️ Bump mkdocs-material from 9.5.18 to 9.5.21 (#183) @dependabot
- ⬆️ Bump tj-actions/verify-changed-files from 19 to 20 (#184) @dependabot
- ⬆️ Bump mkdocs-material from 9.5.21 to 9.5.25 (#196) @dependabot
- ⬆️ Bump pytest-asyncio from 0.23.6 to 0.23.7 (#194) @dependabot
- ⬆️ Bump bump-my-version from 0.21.0 to 0.21.1 (#193) @dependabot
- ⬆️ Bump mike from 2.0.0 to 2.1.1 (#192) @dependabot
- ⬆️ Bump coverage from 7.5.1 to 7.5.3 (#191) @dependabot
- ⬆️ Bump safety from 3.1.0 to 3.2.0 (#190) @dependabot
- ⬆️ Bump pytest from 8.2.0 to 8.2.1 (#189) @dependabot
- ⬆️ Bump mkdocstrings-python from 1.10.0 to 1.10.3 (#188) @dependabot
- ⬆️ Bump ruff from 0.4.3 to 0.4.7 (#187) @dependabot
- ⬆️ Bump types-tqdm from 4.66.0.20240106 to 4.66.0.20240417 (#174) @dependabot
👥 List of contributors
@RafaelWO and @dependabot
Full Changelog: 0.3.0...0.4.0