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)
Version 0.24.0
0.24.0 (6th April, 2023)
Changed
The logging behaviour has been change 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)
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)
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 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)
Bumps httpx[http2] from 0.23.3 to 0.24.1.
Release notes
Sourced from httpx[http2]'s releases.
Changelog
Sourced from httpx[http2]'s changelog.
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 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)