| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-10-05 | 3.1 kB | |
| v0.13.0 source code.tar.gz | 2026-10-05 | 3.2 MB | |
| v0.13.0 source code.zip | 2026-10-05 | 3.3 MB | |
| Totals: 3 Items | 6.4 MB | 0 | |
tl;dr
Breaking changes
- Zero-copy binary output: response bodies, stream chunks, WebSocket binary fields, and peer certificates now return read-only
memoryviewobjects instead ofbytes, avoiding an extra copy into Python-owned bytes. Usebytes(view)orview.tobytes()when abytesobject is required.
Highlights
- Added Chrome 154 emulation.
- Added configurable Runtime support for async and blocking clients, including worker counts and work-stealing settings.
- Improved async and blocking request and streaming performance.
- Added
async withsupport for request results. Response context managers now preserve connection reuse after the body is fully consumed. - Improved cancellation, upload error propagation, resource cleanup, and interpreter shutdown handling.
- Added PyPy 3.11 wheels and expanded HTTPS benchmarks with separate blocking MT/ST results.
benchmark: https://python.wreq.org/en/latest/benchmark/
What's Changed
- ci: add PyPy 3.11 wheel support by @egorsmkv in https://github.com/0x676e67/wreq-python/pull/620
- feat(buffer): return read-only memoryviews by @0x676e67 in https://github.com/0x676e67/wreq-python/pull/624
- fix(client): propagate synchronous upload iterator errors by @0x676e67 in https://github.com/0x676e67/wreq-python/pull/625
- docs(response): clarify close and streaming ownership by @0x676e67 in https://github.com/0x676e67/wreq-python/pull/626
- feat(runtime): support custom client runtimes by @0x676e67 in https://github.com/0x676e67/wreq-python/pull/623
- fix(client): guard library error formatting during shutdown by @0x676e67 in https://github.com/0x676e67/wreq-python/pull/628
- feat(emulate): add Chrome154 and Firefox152 profiles by @0x676e67 in https://github.com/0x676e67/wreq-python/pull/629
- perf(aio): speed up async requests and streams by @0x676e67 in https://github.com/0x676e67/wreq-python/pull/630
- fix: release abandoned uploads and fallback wake ports by @0x676e67 in https://github.com/0x676e67/wreq-python/pull/631
- feat(bench): add HTTPS benchmark matrix and documentation homepage by @0x676e67 in https://github.com/0x676e67/wreq-python/pull/632
- fix(docs): isolate benchmark tests and refine dark theme by @0x676e67 in https://github.com/0x676e67/wreq-python/pull/633
- perf(client): speed up blocking requests and add async with by @0x676e67 in https://github.com/0x676e67/wreq-python/pull/634
- fix(coroutine): handle cancelled ws reads and async bodies by @0x676e67 in https://github.com/0x676e67/wreq-python/pull/635
New Contributors
- @egorsmkv made their first contribution in https://github.com/0x676e67/wreq-python/pull/620
Full Changelog: https://github.com/0x676e67/wreq-python/compare/v0.12.3...v0.13.0