Skip to content

Commit

Permalink
Release 2.1.0
Browse files Browse the repository at this point in the history
Co-authored-by: Illia Volochii <illia.volochii@gmail.com>
  • Loading branch information
pquentin and illia-v committed Nov 13, 2023
1 parent 77f71d3 commit 69be299
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 11 deletions.
20 changes: 20 additions & 0 deletions CHANGES.rst
@@ -1,3 +1,23 @@
2.1.0 (2023-11-13)
==================

Read the `v2 migration guide <https://urllib3.readthedocs.io/en/latest/v2-migration-guide.html>`__ for help upgrading to the latest version of urllib3.

Removals
--------

- Removed support for the deprecated urllib3[secure] extra. (`#2680 <https://github.com/urllib3/urllib3/issues/2680>`__)
- Removed support for the deprecated SecureTransport TLS implementation. (`#2681 <https://github.com/urllib3/urllib3/issues/2681>`__)
- Removed support for the end-of-life Python 3.7. (`#3143 <https://github.com/urllib3/urllib3/issues/3143>`__)


Bugfixes
--------

- Allowed loading CA certificates from memory for proxies. (`#3065 <https://github.com/urllib3/urllib3/issues/3065>`__)
- Fixed decoding Gzip-encoded responses which specified ``x-gzip`` content-encoding. (`#3174 <https://github.com/urllib3/urllib3/issues/3174>`__)


2.0.7 (2023-10-17)
==================

Expand Down
1 change: 0 additions & 1 deletion changelog/2680.removal.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog/2681.removal.rst

This file was deleted.

3 changes: 0 additions & 3 deletions changelog/3065.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog/3143.removal.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog/3174.bugfix.rst

This file was deleted.

2 changes: 1 addition & 1 deletion pyproject.toml
Expand Up @@ -81,7 +81,7 @@ markers = [
log_level = "DEBUG"
filterwarnings = [
"error",
'''default:urllib3 v2.0 only supports OpenSSL 1.1.1+.*''',
'''default:urllib3 v2 only supports OpenSSL 1.1.1+.*''',
'''default:No IPv6 support. Falling back to IPv4:urllib3.exceptions.HTTPWarning''',
'''default:No IPv6 support. skipping:urllib3.exceptions.HTTPWarning''',
'''default:ssl\.TLSVersion\.TLSv1 is deprecated:DeprecationWarning''',
Expand Down
4 changes: 2 additions & 2 deletions src/urllib3/__init__.py
Expand Up @@ -32,14 +32,14 @@
else:
if not ssl.OPENSSL_VERSION.startswith("OpenSSL "): # Defensive:
warnings.warn(
"urllib3 v2.0 only supports OpenSSL 1.1.1+, currently "
"urllib3 v2 only supports OpenSSL 1.1.1+, currently "
f"the 'ssl' module is compiled with {ssl.OPENSSL_VERSION!r}. "
"See: https://github.com/urllib3/urllib3/issues/3020",
exceptions.NotOpenSSLWarning,
)
elif ssl.OPENSSL_VERSION_INFO < (1, 1, 1): # Defensive:
raise ImportError(
"urllib3 v2.0 only supports OpenSSL 1.1.1+, currently "
"urllib3 v2 only supports OpenSSL 1.1.1+, currently "
f"the 'ssl' module is compiled with {ssl.OPENSSL_VERSION!r}. "
"See: https://github.com/urllib3/urllib3/issues/2168"
)
Expand Down
2 changes: 1 addition & 1 deletion src/urllib3/_version.py
@@ -1,4 +1,4 @@
# This file is protected via CODEOWNERS
from __future__ import annotations

__version__ = "2.0.7"
__version__ = "2.1.0"

0 comments on commit 69be299

Please sign in to comment.