Releases: matiu2/forex-factory
Releases · matiu2/forex-factory
v0.2.0
Changed
- BREAKING (default features): default feature set is now
["native-tls", "brotli", "http2"](was["rustls", "brotli"]).
Cloudflare's bot-fight rules now reject therustlsClientHello
fingerprint on forexfactory.com, so the library no longer works out of
the box onrustls. 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, addsPriority). 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, andhttp2to talk to forexfactory.com. rustlsand 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
Added
- Initial release
CalendarServicefor high-level async event fetchingCalendarService::with_timezone()andHttpCalendarFetcher::with_timezone()for manual timezone settingEventQuerybuilder for filtering events by currency, date range, and impactEconomicEventstruct with all event data fieldsImpactenum (Low, Medium, High) with star ratingsresolve_currencyfor converting country names to currency codes- WASM compatibility with conditional compilation
wasm-timezonefeature for automatic browser timezone detection on WASM viajs-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
- @dependabot[bot] made their first contribution in #1
Full Changelog: https://github.com/matiu2/forex-factory/commits/v0.1.0