Conversation
|
Important Auto Review SkippedBot user detected. To trigger a single review, invoke the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
3315ce6 to
21990f8
Compare
|




This PR contains the following updates:
^0.23.0->^0.27.0Release Notes
encode/httpx (httpx)
v0.27.0Compare Source
Deprecated
app=...shortcut has been deprecated. Use the explicit style oftransport=httpx.WSGITransport()ortransport=httpx.ASGITransport()instead.Fixed
http1argument while configuring proxy transports. (#3023)v0.26.0Compare Source
Added
proxyargument was added. You should use theproxyargument instead of the deprecatedproxies, or usemounts=for more complex configurations. (#2879)Deprecated
proxiesargument is now deprecated. It will still continue to work, but it will be removed in the future. (#2879)Fixed
NO_PROXYenvvar cases when a fully qualified URL is supplied as the value. (#2741)raw_pathdoes not include URL query component. (#2999)Response.iter_text()cannot yield empty strings. (#2998)v0.25.2Compare Source
Added
__init__()methods. (#2938)v0.25.1Compare Source
Added
Fixed
ValueErroronResponse.encodingbeing set afterResponse.texthas been accessed. (#2852)v0.25.0Compare Source
Removed
Added
ExtensionsfromMapping[Str, Any]toMutableMapping[Str, Any]. (#2803)socket_optionsargument tohttpx.HTTPTransportandhttpx.AsyncHTTPTransportclasses. (#2716)Response.raise_for_status()method now returns the response instance. For example:data = httpx.get('...').raise_for_status().json(). (#2776)Fixed
500error response instead of exceptions whenraise_app_exceptions=Falseis set onASGITransport. (#2669)WSGITransportenvirons have aSERVER_PROTOCOL. (#2708)%2Fin query parameters (#2723)httpstatuses.comfor HTTP error reference (#2768)v0.24.1Compare Source
Added
InvalidURLexceptions. (#2675)Fixed
NO_PROXYenvironment variable. (#2659)NetRCAuth()toNoneto use the stdlib default. (#2667)v0.24.0Compare Source
Changed
TRACElog level, and we no longer use theHTTPX_LOG_LEVELenvironment variable to auto-configure logging. We now have a significant amount ofDEBUGlogging available at the network level. Full documentation is available at https://www.python-httpx.org/logging/ (#2547, encode/httpcore#648)Response.iter_lines()method now matches the stdlib behaviour and does not include the newline characters. It also resolves a performance issue. (#2423)requests, but is in line with browser behavior in Chrome, Safari, and Firefox. Both options are RFC valid. (#2543)httpx.NetRCAuth()authentication class. See the documentation at https://www.python-httpx.org/advanced/#netrc-support (#2525)Removed
rfc3986dependancy has been removed. (#2252)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 this update again.
This PR has been generated by Mend Renovate. View repository job log here.