-
-
Notifications
You must be signed in to change notification settings - Fork 855
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
Version 0.28.0. #3419
Version 0.28.0. #3419
Conversation
…ncode/httpx into version-0.28-deprecations-only
For comparison, SSL implementation before and after. Revised documentation is here... https://github.com/encode/httpx/blob/version-0.28-deprecations-only/docs/advanced/ssl.md |
Oh... one other thing... we should probably also drop Python 3.8 support here, as EOL. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love deprecation warnings :)
I would suggest waiting until 1.0 to drop 3.8 support, since it's not really costing us anything. (But I don't feel strongly) |
…ncode/httpx into version-0.28-deprecations-only
I can work with that, yep. |
Okay, here's version 0.28 with nice clean deprecations for our more constrained SSL API...
0.28.0 (28th November, 2024)
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=True
orverify=False
cases, orverify=<ssl_context>
case this should require no changes. The following cases have been deprecated...verify
argument as a string argument is now deprecated and will raise warnings.cert
argument 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:
proxies
argument has now been removed.app
argument has now been removed.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)