github lexiforest/curl_cffi v0.15.0

6 hours ago

🎉 Another release with significant changes!

Highlights

  • http/3 fingerprints, added for Chrome 145, 146 and Firefox 147. To verify http3 fingerprints, visit https://fp.impersonate.pro
  • http/3 proxy support with socks5 udp proxy server.
  • New CLI tool, just called curl-cffi, easier http debugging for both humans and agents. See docs. We also added a skill.
  • Compatibility optimization, curl_cffi is now fully static. Especially for macOS, no dependencies needed and compatible with macOS since 11.0.
  • ⚠️ Security improvement. If you are accepting urls from others and returning the response to them, you are vulnerable to redirection-based SSRF. Disable allow_redirects or at lease set allow_redirects="safe", see the advisory and the docs.
  • Performance optimization: WebSocket improvement and free-threading support.
  • Android is officially supported, closing a 3-years-old issue.
  • New impersonation behaviors, the cookie header behavior and POST boundary are now made exactly the same as browsers. These are not part of tls or http binary fingerprints, but are exploited by WAFs, too.

The list of proxy vendors with udp sock5 support is very limited, so I set up 2 servers for testing. You can simply run:

curl-cffi get https://fp.impersonate.pro/api/http3 --proxy socks5://imp:curl-cffi@206.189.95.199:1080 --http3-only
curl-cffi get https://fp.impersonate.pro/api/http3 --proxy socks5://imp:curl-cffi@24.144.88.46:1080 --http3-only

If you need more udp socks5 servers from us, click the 👀 emoji to vote.

What's Changed

New Contributors

Full Changelog: v0.14.0...v0.15.0

Don't miss a new curl_cffi release

NewReleases is sending notifications on new releases.