v0.11.0
Changelog
- Core Security Update: Upgraded the underlying BoringSSL to the latest upstream version. This delivers significant performance gains in cryptographic operations and handshake latency compared to the previous 2022 baseline.
- Enhanced Browser Emulation: Expanded the preset library to support a broader range of modern browser fingerprints, including:
- Chrome / Edge: 146 – 147
- Firefox: 148 – 149
- Opera: 117 – 130
- Explicit Connection Control: Introduced a method to manually close connections via the
Responseobject. This allows for the immediate release of underlying connection resources, ideal for scenarios requiring rapid socket recycling after specific request cycles. - TLS Configuration Adaptation: Adjusted and renamed specific TLS fields to maintain compatibility with the architectural changes in the latest BoringSSL.
- RFC-Compliant Cookie Jar: Implemented Cookie handling strictly according to RFC 7540/9113, section 8.1.2.5:
- HTTP/1.1: All cookies are folded into a single
Cookieheader, as required by [RFC 9112 §5.6.3]. - HTTP/2 & HTTP/3: Each cookie is sent as an individual header field per [RFC 9113 §8.1.2.5] to optimize HPACK/QPACK compression efficiency.
- HTTP/1.1: All cookies are folded into a single
What's Changed
- build(deps): update
pyo3dependency version to 0.28.3 by @0x676e67 in #550 - build(deps): update
arc-swapdependency to version 1.9.0 by @0x676e67 in #551 - build(deps): update
tokiodependency version to 1.51.0 by @0x676e67 in #552 - build(deps): update
httpdependency version to 1.4.0 by @0x676e67 in #553 - refactor(tls): standardize TLS config fields with
tls_prefix by @0x676e67 in #556 - fix(headers): OrigHeaderMap constructor drops header casing by @tjaycodes4you in #557
- feat(http1/http2): implement
__str__for types by @0x676e67 in #559 - build(ci): fix free-threaded wheel builds on Windows via maturin by @0x676e67 in #560
- bench(python): use
pyperfstrict mode over custom logic by @0x676e67 in #561 - build(deps): bump wreq version to latest by @0x676e67 in #562
New Contributors
- @tjaycodes4you made their first contribution in #557
Full Changelog: v0.10.2...v0.11.0