More robust checking for opening upload files in binary mode. (#2630)
Properly support IP addresses in NO_PROXY environment variable. (#2659)
Set default file for NetRCAuth() to None to use the stdlib default. (#2667)
Set logging request lines to INFO level for async requests, in line with sync requests. (#2656)
Fix which gen-delims need to be escaped for path/query/fragment components in URL. (#2701)
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/ (#2547, encode/httpcore#648)
The Response.iter_lines() method now matches the stdlib behaviour and does not include the newline characters. It also resolves a performance issue. (#2423)
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. (#2543)
Version 0.23.2 accidentally included stricter type checking on query parameters. This shouldn've have been included in a minor version bump, and is now reverted. (#2523, #2539)
0.23.2 (2nd Jan, 2023)
Added
Support digest auth nonce counting to avoid multiple auth requests. (#2463)
Fixed
Multipart file uploads where the file length cannot be determine now use chunked transfer encoding, rather than loading the entire file into memory in order to determine the Content-Length. (#2382)
Raise TypeError if content is passed a dict-instance. (#2495)
Partially revert the API breaking change in 0.23.1, which removed RawURL. We continue to expose a url.raw property which is now a plain named-tuple. This API is still expected to be deprecated, but we will do so with a major version bump. (#2481)
0.23.1 (18th Nov, 2022)
Note: The 0.23.1 release should have used a proper version bump, rather than a minor point release.
There are API surface area changes that may affect some users.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on httpx to permit the latest version.
Release notes
Sourced from httpx's releases.
Changelog
Sourced from httpx's changelog.
... (truncated)
Commits
fcf1bc7
Version 0.24.1 (#2702)ee432c0
Fix for gen-delims escaping behaviour in path/query/fragment (#2701)df5dbc0
Move configuration of tools to pyproject.toml (#2686)746eaef
Bump trio-typing from 0.7.0 to 0.8.0 (#2688)919da41
Bump types-chardet from 5.0.4.2 to 5.0.4.5 (#2689)028b9aa
Bump trustme from 0.9.0 to 1.0.0 (#2690)f98268a
Bump cryptography from 39.0.1 to 40.0.2 (#2692)1250a6f
Bump uvicorn from 0.20.0 to 0.22.0 (#2691)859038a
Add httpx-sse to Third Party Packages (#2683)32e2549
Fix ruff error and script (#2680)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show