This release contains a few changes that might break the code for some people, hopefully not too many:
- Async websocket is completed rewritten, great performance boost, but a few breaking API.
- macOS requirement is now 15.0+, the same as GitHub actions builder, due to bundled c-ares.
- Python requirement is now 3.10+, as we planned.
Personal notes:
I have been holding this version for a while, thinking that I should fix the unintentional macOS version upgrade and implement pro features within this release. But it turns out that 2025 has been a fruitful, but exhausting year for me. Significant number of PRs have been merged since last release, so let's make them available for all.
What's Changed
- docs: fix impersonation docs link in README to working URL by @MrDebugger in #616
- Add support for riscv and armv7l wheels by @lexiforest in #622
- refactor: enhance Curl class cleanup methods by @montovaneli in #618
- chore: make async session HTTP methods truly async by @serozhenka in #619
- CLI script
curl-cffiby @haron in #621 - Use conditional imports based on thread backend selection by @Caellian in #625
- enhance Curl class to handle None curl cases by @montovaneli in #631
- added response and request size to Response and parse it in session by @manjustice in #648
- Add raise_for_status parameter to Session and AsyncSession by @RohanDisa in #651
- Fix cURL error 77 on Windows by encoding file-path options with system ANSI codepage by @ewnn112 in #647
- Improve Async WebSocket by @Sh3llcod3 in #650
- Fix Content-Type header update for non-empty data in set_curl_options by @sarperavci in #658
- Upgrade websockets and FastAPI version in tests and dev by @lexiforest in #662
- Use timedelta for elapsed-time handling to improve Requests compatibility by @sarperavci in #661
- Fix websocket close code validation by @blood-worm in #673
New Contributors
- @MrDebugger made their first contribution in #616
- @haron made their first contribution in #621
- @Caellian made their first contribution in #625
- @manjustice made their first contribution in #648
- @RohanDisa made their first contribution in #651
- @ewnn112 made their first contribution in #647
- @Sh3llcod3 made their first contribution in #650
- @sarperavci made their first contribution in #658
- @blood-worm made their first contribution in #673
Full Changelog: v0.13.0...v0.14.0