Version 0.28.0
0.28.0 (28th November, 2024)
The 0.28 release includes a limited set of deprecations.
Deprecations:
We are working towards a simplified SSL configuration API.
For users of the standard verify=True or verify=False cases, or verify=<ssl_context> case this should require no changes. The following cases have been deprecated...
- The
verifyargument as a string argument is now deprecated and will raise warnings. - The
certargument is now deprecated and will raise warnings.
Our revised SSL documentation covers how to implement the same behaviour with a more constrained API.
The following changes are also included:
- The deprecated
proxiesargument has now been removed. - The deprecated
appargument has now been removed. - JSON request bodies use a compact representation. (#3363)
- Review URL percent escape sets, based on WHATWG spec. (#3371, #3373)
- Ensure
certifiandhttpcoreare only imported if required. (#3377) - Treat
socks5has a valid proxy scheme. (#3178) - Cleanup
Request()method signature in line withclient.request()andhttpx.request(). (#3378) - Bugfix: When passing
params={}, always strictly update rather than merge with an existing querystring. (#3364)