diff --git a/CHANGES.rst b/CHANGES.rst index 208073e203..80f439f521 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,19 +1,29 @@ -2.1.0 (2023-11-13) +2.2.0 (2024-01-30) ================== -Read the `v2 migration guide `__ for help upgrading to the latest version of urllib3. +- Added support for `Emscripten and Pyodide `__, including streaming support in cross-origin isolated browser environments where threading is enabled. (`#2951 `__) +- Added support for ``HTTPResponse.read1()`` method. (`#3186 `__) +- Added rudimentary support for HTTP/2. (`#3284 `__) +- Fixed issue where requests against urls with trailing dots were failing due to SSL errors + when using proxy. (`#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 `__) +- Fixed an issue where ``headers`` passed in a request with ``json=`` would be mutated (`#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 `__) +- Fixed handling of new error message from OpenSSL 3.2.0 when configuring an HTTP proxy as HTTPS (`#3268 `__) +- Fixed TLS 1.3 post-handshake auth when the server certificate validation is disabled (`#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 `__) -Removals --------- + +2.1.0 (2023-11-13) +================== - Removed support for the deprecated urllib3[secure] extra. (`#2680 `__) - Removed support for the deprecated SecureTransport TLS implementation. (`#2681 `__) - Removed support for the end-of-life Python 3.7. (`#3143 `__) - - -Bugfixes --------- - - Allowed loading CA certificates from memory for proxies. (`#3065 `__) - Fixed decoding Gzip-encoded responses which specified ``x-gzip`` content-encoding. (`#3174 `__) @@ -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) ================== diff --git a/changelog/2244.bugfix.rst b/changelog/2244.bugfix.rst deleted file mode 100644 index f26f356a30..0000000000 --- a/changelog/2244.bugfix.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed issue where requests against urls with trailing dots were failing due to SSL errors -when using proxy. \ No newline at end of file diff --git a/changelog/2951.feature.rst b/changelog/2951.feature.rst deleted file mode 100644 index 43bba90dee..0000000000 --- a/changelog/2951.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Added support for Emscripten, including streaming support in cross-origin isolated browser environments where threading is enabled. \ No newline at end of file diff --git a/changelog/3130.bugfix.rst b/changelog/3130.bugfix.rst deleted file mode 100644 index cf301fb406..0000000000 --- a/changelog/3130.bugfix.rst +++ /dev/null @@ -1,3 +0,0 @@ -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. \ No newline at end of file diff --git a/changelog/3181.feature.rst b/changelog/3181.feature.rst deleted file mode 100644 index 82d6af24ba..0000000000 --- a/changelog/3181.feature.rst +++ /dev/null @@ -1,4 +0,0 @@ -Note to redistributors: the urllib3 test suite has been separated in -two. To run integration tests, you now need to run the tests a second -time with the `--integration` pytest flag, as in this example: `nox --rs test-3.12 -- --integration`. diff --git a/changelog/3186.feature.rst b/changelog/3186.feature.rst deleted file mode 100644 index 3a6507b49b..0000000000 --- a/changelog/3186.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Added support for HTTPResponse.read1() method. diff --git a/changelog/3203.bugfix.rst b/changelog/3203.bugfix.rst deleted file mode 100644 index 9aa313b052..0000000000 --- a/changelog/3203.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Stopped updating passed HTTP-header dicts during requests with JSON. diff --git a/changelog/3267.bugfix.rst b/changelog/3267.bugfix.rst deleted file mode 100644 index ac805a8b92..0000000000 --- a/changelog/3267.bugfix.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed ``HTTPSConnection.is_verified`` to be set to ``False`` when connecting -from a https proxy to a http target. It was set to ``True`` previously. diff --git a/changelog/3268.bugfix.rst b/changelog/3268.bugfix.rst deleted file mode 100644 index 9d3568a7d2..0000000000 --- a/changelog/3268.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed handling of OpenSSL 3.2.0 new error message for misconfiguring an HTTP proxy as HTTPS. diff --git a/changelog/3284.feature.rst b/changelog/3284.feature.rst deleted file mode 100644 index 3105c9a8e2..0000000000 --- a/changelog/3284.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Added rudimentary support for HTTP/2 via ``urllib3.contrib.h2`` and ``HTTP2Connection`` class. diff --git a/changelog/3325.bugfix.rst b/changelog/3325.bugfix.rst deleted file mode 100644 index 22fd97c7c3..0000000000 --- a/changelog/3325.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed TLS 1.3 Post Handshake Auth when the server certificate validation was disabled. diff --git a/src/urllib3/_version.py b/src/urllib3/_version.py index 409ba3f53a..f697e3e7ea 100644 --- a/src/urllib3/_version.py +++ b/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"