Skip to content

feat: support httpx 0.24 #746

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 13, 2023
Merged

feat: support httpx 0.24 #746

merged 4 commits into from
Apr 13, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 11, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
httpx (changelog) >=0.15.4,<0.24.0 -> >=0.15.4,<0.25.0 age adoption passing confidence
httpx (changelog) >=0.15.4,<0.24.0 -> >=0.15.4,<0.25.0 age adoption passing confidence
httpx (changelog) >=0.15.4,<0.24.0 -> >=0.15.4,<0.25.0 age adoption passing confidence

Release Notes

encode/httpx

v0.24.0

Compare Source

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)
  • 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 (#​2525)
Removed
  • The rfc3986 dependancy has been removed. (#​2252)

v0.23.3

Compare Source

Fixed
  • 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)

v0.23.2

Compare Source

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)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate
Copy link
Contributor Author

renovate bot commented Apr 13, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

dbanty
dbanty previously approved these changes Apr 13, 2023
@codecov
Copy link

codecov bot commented Apr 13, 2023

Codecov Report

Merging #746 (d70643f) into main (c61ad4a) will increase coverage by 0.40%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main      #746      +/-   ##
===========================================
+ Coverage   99.59%   100.00%   +0.40%     
===========================================
  Files          49        49              
  Lines        1978      1978              
===========================================
+ Hits         1970      1978       +8     
+ Misses          8         0       -8     

see 3 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@dbanty dbanty changed the title chore(deps): update dependency httpx to >=0.15.4,<0.25.0 feat: support httpx 0.24 Apr 13, 2023
@dbanty dbanty added this pull request to the merge queue Apr 13, 2023
@dbanty dbanty removed this pull request from the merge queue due to a manual request Apr 13, 2023
@dbanty dbanty enabled auto-merge April 13, 2023 02:29
@dbanty dbanty added this pull request to the merge queue Apr 13, 2023
Merged via the queue into main with commit b4dbdbc Apr 13, 2023
@dbanty dbanty deleted the renovate/httpx-0.x branch April 13, 2023 02:44
dbanty added a commit that referenced this pull request Apr 13, 2023
* chore(deps): update dependency httpx to >=0.15.4,<0.25.0

* chore: Regen golden record

* chore: Update wrapt

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dylan Anthony <[email protected]>
Co-authored-by: Dylan Anthony <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant