Skip to content

Conversation

@lovelydinosaur
Copy link
Contributor

@lovelydinosaur lovelydinosaur commented Nov 28, 2024

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 or verify=False cases, or verify=<ssl_context> case this should require no changes. The following cases have been deprecated...

  • The verify argument as a string argument is now deprecated and will raise warnings.
  • The 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:

@lovelydinosaur lovelydinosaur added the release A new package release label Nov 28, 2024
@lovelydinosaur lovelydinosaur changed the title Version 0.28. Version 0.28.0. Nov 28, 2024
@lovelydinosaur lovelydinosaur mentioned this pull request Nov 28, 2024
@lovelydinosaur lovelydinosaur marked this pull request as ready for review November 28, 2024 13:14
@lovelydinosaur
Copy link
Contributor Author

For comparison, SSL implementation before and after.
Much simpler and more comprehensible, even including deprecations.

Revised documentation is here... https://github.com/encode/httpx/blob/version-0.28-deprecations-only/docs/advanced/ssl.md

@lovelydinosaur
Copy link
Contributor Author

Oh... one other thing... we should probably also drop Python 3.8 support here, as EOL.

https://devguide.python.org/versions/

Copy link
Contributor

@zanieb zanieb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love deprecation warnings :)

@zanieb
Copy link
Contributor

zanieb commented Nov 28, 2024

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)

@lovelydinosaur
Copy link
Contributor Author

I would suggest waiting until 1.0 to drop 3.8 support.

I can work with that, yep.

@lovelydinosaur lovelydinosaur merged commit 80960fa into master Nov 28, 2024
5 checks passed
@lovelydinosaur lovelydinosaur deleted the version-0.28-deprecations-only branch November 28, 2024 14:50
@zanieb zanieb mentioned this pull request Dec 23, 2024
3 tasks
samclearman pushed a commit to titanmsp/httpx that referenced this pull request Apr 26, 2025
@encode encode deleted a comment from os-a2 Jun 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release A new package release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants