From c9fa144545eedb5dc4a2cc3f255e95602a1d7db0 Mon Sep 17 00:00:00 2001 From: Noah Jenner <64815328+Eutropios@users.noreply.github.com> Date: Wed, 19 Jul 2023 07:46:02 -0700 Subject: [PATCH] Release version 2.0.4 (#3084) Co-authored-by: Illia Volochii --- CHANGES.rst | 9 +++++++++ changelog/2254.feature.rst | 3 --- changelog/2757.bugfix.rst | 1 - changelog/3078.feature.rst | 1 - changelog/3087.feature.rst | 1 - src/urllib3/_version.py | 2 +- 6 files changed, 10 insertions(+), 7 deletions(-) delete mode 100644 changelog/2254.feature.rst delete mode 100644 changelog/2757.bugfix.rst delete mode 100644 changelog/3078.feature.rst delete mode 100644 changelog/3087.feature.rst diff --git a/CHANGES.rst b/CHANGES.rst index 1668b38304..3b311c2dd7 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,3 +1,12 @@ +2.0.4 (2023-07-19) +================== + +- Added support for union operators to ``HTTPHeaderDict`` (`#2254 `__) +- Added ``BaseHTTPResponse`` to ``urllib3.__all__`` (`#3078 `__) +- Fixed ``urllib3.connection.HTTPConnection`` to raise the ``http.client.connect`` audit event to have the same behavior as the standard library HTTP client (`#2757 `__) +- Relied on the standard library for checking hostnames in supported PyPy releases (`#3087 `__) + + 2.0.3 (2023-06-07) ================== diff --git a/changelog/2254.feature.rst b/changelog/2254.feature.rst deleted file mode 100644 index 3f189ff5f1..0000000000 --- a/changelog/2254.feature.rst +++ /dev/null @@ -1,3 +0,0 @@ -Added support for union operators to ``HTTPHeaderDict`` - -This allows a simple way to merge headers provided in a request with the ``PoolManager`` headers, rather than replace them. diff --git a/changelog/2757.bugfix.rst b/changelog/2757.bugfix.rst deleted file mode 100644 index 40ea75f657..0000000000 --- a/changelog/2757.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed ``urllib3.connection.HTTPConnection`` to raise the ``http.client.connect`` audit event to have the same behavior as the standard library HTTP client diff --git a/changelog/3078.feature.rst b/changelog/3078.feature.rst deleted file mode 100644 index aaa208295e..0000000000 --- a/changelog/3078.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Added ``BaseHTTPResponse`` to ``__all__`` in ``__init__.py`` diff --git a/changelog/3087.feature.rst b/changelog/3087.feature.rst deleted file mode 100644 index c78c9dbc2a..0000000000 --- a/changelog/3087.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Relied on the standard library for checking hostnames in supported PyPy releases. diff --git a/src/urllib3/_version.py b/src/urllib3/_version.py index e85dd3afd9..782af43345 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.0.3" +__version__ = "2.0.4"