Skip to content

Commit

Permalink
Release 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sethmlarson committed Jan 30, 2024
1 parent 2aec09f commit 04df048
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 27 deletions.
30 changes: 21 additions & 9 deletions CHANGES.rst
@@ -1,19 +1,29 @@
2.1.0 (2023-11-13)
2.2.0 (2024-01-30)
==================

Read the `v2 migration guide <https://urllib3.readthedocs.io/en/latest/v2-migration-guide.html>`__ for help upgrading to the latest version of urllib3.
- Added support for `Emscripten and Pyodide <https://urllib3.readthedocs.io/en/latest/reference/contrib/emscripten.html>`__, including streaming support in cross-origin isolated browser environments where threading is enabled. (`#2951 <https://github.com/urllib3/urllib3/issues/2951>`__)
- Added support for ``HTTPResponse.read1()`` method. (`#3186 <https://github.com/urllib3/urllib3/issues/3186>`__)
- Added rudimentary support for HTTP/2. (`#3284 <https://github.com/urllib3/urllib3/issues/3284>`__)
- Fixed issue where requests against urls with trailing dots were failing due to SSL errors
when using proxy. (`#2244 <https://github.com/urllib3/urllib3/issues/2244>`__)
- Fixed ``HTTPConnection.proxy_is_verified`` and ``HTTPSConnection.proxy_is_verified``
to be always set to a boolean after connecting to a proxy. It could be
``None`` in some cases previously. (`#3130 <https://github.com/urllib3/urllib3/issues/3130>`__)
- Fixed an issue where ``headers`` passed in a request with ``json=`` would be mutated (`#3203 <https://github.com/urllib3/urllib3/issues/3203>`__)
- Fixed ``HTTPSConnection.is_verified`` to be set to ``False`` when connecting
from a HTTPS proxy to an HTTP target. It was set to ``True`` previously. (`#3267 <https://github.com/urllib3/urllib3/issues/3267>`__)
- Fixed handling of new error message from OpenSSL 3.2.0 when configuring an HTTP proxy as HTTPS (`#3268 <https://github.com/urllib3/urllib3/issues/3268>`__)
- Fixed TLS 1.3 post-handshake auth when the server certificate validation is disabled (`#3325 <https://github.com/urllib3/urllib3/issues/3325>`__)
- Note for downstream distributors: To run integration tests, you now need to run the tests a second
time with the ``--integration`` pytest flag. (`#3181 <https://github.com/urllib3/urllib3/issues/3181>`__)

Removals
--------

2.1.0 (2023-11-13)
==================

- 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>`__)

Expand All @@ -23,11 +33,13 @@ Bugfixes

* Made body stripped from HTTP requests changing the request method to GET after HTTP 303 "See Other" redirect responses.


2.0.6 (2023-10-02)
==================

* Added the ``Cookie`` header to the list of headers to strip from requests when redirecting to a different host. As before, different headers can be set via ``Retry.remove_headers_on_redirect``.


2.0.5 (2023-09-20)
==================

Expand Down
2 changes: 0 additions & 2 deletions changelog/2244.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog/2951.feature.rst

This file was deleted.

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

This file was deleted.

4 changes: 0 additions & 4 deletions changelog/3181.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog/3186.feature.rst

This file was deleted.

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

This file was deleted.

2 changes: 0 additions & 2 deletions changelog/3267.bugfix.rst

This file was deleted.

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

This file was deleted.

1 change: 0 additions & 1 deletion changelog/3284.feature.rst

This file was deleted.

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

This file was deleted.

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.1.0"
__version__ = "2.2.0"

0 comments on commit 04df048

Please sign in to comment.