2024-11-28 20:51:02 by Adam Ciarcinski | Files touched by this commit (3) | |
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()`. |
2024-08-28 17:34:30 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-httpx: updated to 0.27.2 0.27.2 (27th August, 2024) Fixed * Reintroduced supposedly-private `URLTypes` shortcut. 0.27.1 (27th August, 2024) Added * Support for `zstd` content decoding using the python `zstandard` package is \ added. Installable using `httpx[zstd]`. Fixed * Improved error messaging for `InvalidURL` exceptions. * Fix `app` type signature in `ASGITransport`. |
2024-02-21 20:19:34 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-httpx: updated to 0.27.0 0.27.0 (21st February, 2024) Deprecated * The `app=...` shortcut has been deprecated. Use the explicit style of \ `transport=httpx.WSGITransport()` or `transport=httpx.ASGITransport()` instead. Fixed * Respect the `http1` argument while configuring proxy transports. * Fix RFC 2069 mode digest authentication. |
2024-01-01 12:45:44 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-httpx: updated to 0.26.0 0.26.0 (20th December, 2023) Added * The `proxy` argument was added. You should use the `proxy` argument instead of \ the deprecated `proxies`, or use `mounts=` for more complex configurations. Deprecated * The `proxies` argument is now deprecated. It will still continue to work, but \ it will be removed in the future. Fixed * Fix cases of double escaping of URL path components. Allow / as a safe \ character in the query portion. * Handle `NO_PROXY` envvar cases when a fully qualified URL is supplied as the value. * Allow URLs where username or password contains unescaped '@'. * Ensure ASGI `raw_path` does not include URL query component. * Ensure `Response.iter_text()` cannot yield empty strings. |
2023-11-27 21:18:46 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-httpx: updated to 0.25.2 0.25.2 (24th November, 2023) Added * Add missing type hints to few `__init__()` methods. |
2023-11-06 18:40:17 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-httpx: updated to 0.25.1 0.25.1 (3rd November, 2023) * Add support for Python 3.12. * Add support for httpcore 1.0 |
2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | |
Log message: python/wheel.mk: simplify a lot, and switch to 'installer' for installation This follows the recommended bootstrap method (flit_core, build, installer). However, installer installs different files than pip, so update PLISTs for all packages using wheel.mk and bump their PKGREVISIONs. |
2023-09-13 09:25:55 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-httpx: updated to 0.25.0 0.25.0 (11th Sep, 2023) Removed * Drop support for Python 3.7. Added * Support HTTPS proxies. * Change the type of `Extensions` from `Mapping[Str, Any]` to \ `MutableMapping[Str, Any]`. * Add `socket_options` argument to `httpx.HTTPTransport` and \ `httpx.AsyncHTTPTransport` classes. * The `Response.raise_for_status()` method now returns the response instance. \ For example: `data = httpx.get('...').raise_for_status().json()`. Fixed * Return `500` error response instead of exceptions when \ `raise_app_exceptions=False` is set on `ASGITransport`. * Ensure all `WSGITransport` environs have a `SERVER_PROTOCOL`. * Always encode forward slashes as `%2F` in query parameters * Use Mozilla documentation instead of `httpstatuses.com` for HTTP error reference |
2023-05-19 10:19:51 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-httpx: updated to 0.24.1 0.24.1 (17th May, 2023) Added * Provide additional context in some `InvalidURL` exceptions. Fixed * Fix optional percent-encoding behaviour. * More robust checking for opening upload files in binary mode. * Properly support IP addresses in `NO_PROXY` environment variable. * Set default file for `NetRCAuth()` to `None` to use the stdlib default. * Set logging request lines to INFO level for async requests, in line with sync \ requests. * Fix which gen-delims need to be escaped for path/query/fragment components in URL. |
2023-04-17 11:58:49 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message: py-httpx: updated to 0.24.0 0.24.0 (6th April, 2023) Changed * The logging behaviour has been changed to be more in-line with other standard \ Python logging usages. We no longer have a custom `TRACE` log level, and we no \ longer use the `HTTPX_LOG_LEVEL` environment variable to auto-configure logging. \ We now have a significant amount of `DEBUG` logging available at the network \ level. Full documentation is available at https://www.python-httpx.org/logging/ * The `Response.iter_lines()` method now matches the stdlib behaviour and does \ not include the newline characters. It also resolves a performance issue. * Query parameter encoding switches from using + for spaces and %2F for forward \ slash, to instead using %20 for spaces and treating forward slash as a safe, \ unescaped character. This differs from `requests`, but is in line with browser \ behavior in Chrome, Safari, and Firefox. Both options are RFC valid. * NetRC authentication is no longer automatically handled, but is instead \ supported by an explicit `httpx.NetRCAuth()` authentication class. See the \ documentation at https://www.python-httpx.org/advanced/#netrc-support Removed * The `rfc3986` dependancy has been removed. |