fix(deps): update dependency httpx to v0.28.1#38
Merged
Conversation
d718ff4 to
bcbb7d4
Compare
bcbb7d4 to
bce8121
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.23.0->0.28.1Release Notes
encode/httpx (httpx)
v0.28.1Compare Source
verify=Falsetogether with client side certificates.v0.28.0Compare Source
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=Trueorverify=Falsecases, orverify=<ssl_context>case this should require no changes. The following cases have been deprecated...verifyargument as a string argument is now deprecated and will raise warnings.certargument is now deprecated and will raise warnings.Our revised SSL documentation covers how to implement the same behaviour with a more constrained API.
The following changes are also included:
proxiesargument has now been removed.appargument has now been removed.certifiandhttpcoreare only imported if required. (#3377)socks5has a valid proxy scheme. (#3178)Request()method signature in line withclient.request()andhttpx.request(). (#3378)v0.27.2Compare Source
Fixed
URLTypesshortcut. (#2673)v0.27.1Compare Source
Added
zstdcontent decoding using the pythonzstandardpackage is added. Installable usinghttpx[zstd]. (#3139)Fixed
InvalidURLexceptions. (#3250)apptype signature inASGITransport. (#3109)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/authentication/#netrc-authentication (#2525)Removed
rfc3986dependancy has been removed. (#2252)v0.23.3Compare Source
Fixed
v0.23.2Compare Source
Added
Fixed
Content-Length. (#2382)TypeErrorif content is passed a dict-instance. (#2495)RawURL. We continue to expose aurl.rawproperty 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)v0.23.1Compare Source
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.
See the "Removed" section of these release notes for details.
Added
Content-Typeheader. (#2278)tupleorlistfor multipart values, not justlist. (#2355)strcontent for multipart upload files. (#2400)Fixed
Removed
.read/.areadfromSyncByteStream/AsyncByteStream. (#2407)RawURL. (#2241)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 was generated by Mend Renovate. View the repository job log.