Skip to content

v0.11.0

Choose a tag to compare

@github-actions github-actions released this 13 Apr 05:45
· 14 commits to main since this release

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 Response object. 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 Cookie header, 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.

What's Changed

  • build(deps): update pyo3 dependency version to 0.28.3 by @0x676e67 in #550
  • build(deps): update arc-swap dependency to version 1.9.0 by @0x676e67 in #551
  • build(deps): update tokio dependency version to 1.51.0 by @0x676e67 in #552
  • build(deps): update http dependency 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 pyperf strict mode over custom logic by @0x676e67 in #561
  • build(deps): bump wreq version to latest by @0x676e67 in #562

New Contributors

Full Changelog: v0.10.2...v0.11.0