Skip to content
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

Merged
merged 10 commits into from
Nov 28, 2024
Merged

Version 0.28.0. #3419

merged 10 commits into from
Nov 28, 2024

Conversation

tomchristie
Copy link
Member

@tomchristie tomchristie 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:

@tomchristie tomchristie added the release A new package release label Nov 28, 2024
@tomchristie tomchristie changed the title Version 0.28. Version 0.28.0. Nov 28, 2024
@tomchristie tomchristie mentioned this pull request Nov 28, 2024
@tomchristie tomchristie marked this pull request as ready for review November 28, 2024 13:14
@tomchristie
Copy link
Member 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

@tomchristie
Copy link
Member Author

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

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

@tomchristie tomchristie requested a review from zanieb November 28, 2024 13:47
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 :)

CHANGELOG.md Outdated Show resolved Hide resolved
@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)

@tomchristie
Copy link
Member Author

I would suggest waiting until 1.0 to drop 3.8 support.

I can work with that, yep.

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.

2 participants