Skip to content

Releases: matiu2/forex-factory

v0.2.0

27 May 01:56

Choose a tag to compare

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

v0.1.0

23 Jan 07:43

Choose a tag to compare

Added

  • Initial release
  • CalendarService for high-level async event fetching
  • CalendarService::with_timezone() and HttpCalendarFetcher::with_timezone() for manual timezone setting
  • EventQuery builder for filtering events by currency, date range, and impact
  • EconomicEvent struct with all event data fields
  • Impact enum (Low, Medium, High) with star ratings
  • resolve_currency for converting country names to currency codes
  • WASM compatibility with conditional compilation
  • wasm-timezone feature for automatic browser timezone detection on WASM via js-sys
  • Configurable TLS backends via feature flags (rustls, native-tls)
  • Compression support (brotli enabled by default, gzip, deflate, zstd)
  • HTTP/2, HTTP/3, SOCKS proxy, and Hickory DNS resolver features
  • Browser-like headers to avoid detection
  • Timezone-aware date handling

What's Changed

  • ci: bump actions/checkout from 4 to 6 by @dependabot[bot] in #1
  • ci: bump browser-actions/setup-chrome from 1 to 2 by @dependabot[bot] in #2

New Contributors

Full Changelog: https://github.com/matiu2/forex-factory/commits/v0.1.0