Path to this page:
Subject: CVS commit: pkgsrc/www/py-httpx
From: Adam Ciarcinski
Date: 2024-11-28 20:51:02
Message id: 20241128195102.25062FC1B@cvs.NetBSD.org
Log Message:
py-httpx: updated to 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 `verify` argument as a string argument is now deprecated and will raise \
warnings.
* The `cert` argument is now deprecated and will raise warnings.
Our revised [SSL documentation](docs/advanced/ssl.md) covers how to implement \
the same behaviour with a more constrained API.
**The following changes are also included**:
* The deprecated `proxies` argument has now been removed.
* The deprecated `app` argument has now been removed.
* JSON request bodies use a compact representation.
* Review URL percent escape sets, based on WHATWG spec.
* Ensure `certifi` and `httpcore` are only imported if required.
* Treat `socks5h` as a valid proxy scheme.
* Cleanup `Request()` method signature in line with `client.request()` and \
`httpx.request()`.
Files: