v1.0.31 - WAF Bypass & Performance Improvements
This release focuses on improving the client's reliability against Web Application Firewalls (WAF) and enhancing connection management.
🚀 Key Improvements
- WAF Compatibility: Modernized HTTP headers and added browser security headers (
Origin,Sec-Fetch-*) to prevent403 Forbiddenerrors encountered with modern bot detection systems. - Connection Reuse: Optimized
AthenaClientto properly reuse HTTP sessions (Keep-Alive), reducing latency and improving stability during high-volume requests. - Dynamic Timeouts: Added a per-request
timeoutparameter to allget()andpost()methods in both synchronous and asynchronous clients. - Async Alignment: Synchronized the
AthenaAsyncClientwith the same header and session management improvements.
🧪 Quality & Testing
- Regression Tests: Added new test suites to verify header behavior and prevent 403 regressions.
- Live API Integration: Introduced opt-in live API tests (
ATHENA_LIVE_TESTS=true) for real-world verification. - Developer Tooling: Improved
Makefilewith a robustbump-versionworkflow.
⚠️ Backward Compatibility
This version is fully backward compatible. All existing implementations will continue to work without modification while benefiting from the improved connectivity.