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.
Suggested upgrade path for an upcoming 0.28 release...
We do have some backwards incompatible changes that we want to issue, but clearly need to minimise disruption to our userbase. Here's what we're currently looking at...
Release Notes
The 0.28 release includes a limited set of backwards incompatible changes.
Backwards incompatible changes
SSL configuration has been significantly simplified.
verify
argument no longer accepts string arguments for custom verify paths.cert
argument has now been removed.SSL_CERT_FILE
andSSL_CERT_DIR
environment variables are no longer automatically used.For users of the standard
verify=True
orverify=False
cases this should require no changes.For information on configuring more complex SSL cases, please see the SSL documentation.
Other updates
URL.raw
property has now been deprecated, and will raise warnings. (Graceful upgrade path for 0.28. #3394)proxies
argument has now been removed. (Introduce newSSLContext
API & escalate deprecations. #3319)app
argument has now been removed. (Introduce newSSLContext
API & escalate deprecations. #3319)certifi
andhttpcore
are only imported if required. (made dependencies on certifi and httpcore only load when required #3377)socks5h
as a valid proxy scheme. (add socks5h proxy support #3178)Request()
method signature in line withclient.request()
andhttpx.request()
. (CleanupRequest
method parameter. #3378)