Skip to content

v0.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 27 May 01:56

Changed

  • BREAKING (default features): default feature set is now
    ["native-tls", "brotli", "http2"] (was ["rustls", "brotli"]).
    Cloudflare's bot-fight rules now reject the rustls ClientHello
    fingerprint on forexfactory.com, so the library no longer works out of
    the box on rustls. Native TLS + HTTP/2 + Firefox-shaped headers gets
    past the challenge.
  • Request headers rewritten to impersonate Firefox 150 (drops Chrome
    Sec-Ch-Ua* client hints, adds Priority). The previous Chrome
    client-hint headers were cross-checked against the TLS fingerprint by
    Cloudflare and rejected.

Migration

  • If you build with --no-default-features, you now need at least
    native-tls, brotli, and http2 to talk to forexfactory.com.
  • rustls and friends are still available as opt-in features but will
    currently 403 against forexfactory.com.

Full Changelog: v0.1.0...v0.2.0