From b77943288424e37ed592984cfdaea2cc452d73c8 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 4 Oct 2024 11:28:20 -0500 Subject: [PATCH] Release 3.10.9 (#9415) --- CHANGES.rst | 64 +++++++++++++++++++++++++++++++++++++++ CHANGES/7342.breaking.rst | 3 -- CHANGES/9342.misc.rst | 1 - CHANGES/9368.bugfix.rst | 3 -- CHANGES/9397.bugfix.rst | 3 -- CHANGES/9406.misc.rst | 1 - aiohttp/__init__.py | 2 +- 7 files changed, 65 insertions(+), 12 deletions(-) delete mode 100644 CHANGES/7342.breaking.rst delete mode 100644 CHANGES/9342.misc.rst delete mode 100644 CHANGES/9368.bugfix.rst delete mode 100644 CHANGES/9397.bugfix.rst delete mode 100644 CHANGES/9406.misc.rst diff --git a/CHANGES.rst b/CHANGES.rst index 0cf93a5887c..71edb3798fc 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -10,6 +10,70 @@ .. towncrier release notes start +3.10.9 (2024-10-04) +=================== + +Bug fixes +--------- + +- Fixed proxy headers being used in the ``ConnectionKey`` hash when a proxy was not being used -- by :user:`bdraco`. + + If default headers are used, they are also used for proxy headers. This could have led to creating connections that were not needed when one was already available. + + + *Related issues and pull requests on GitHub:* + :issue:`9368`. + + + +- Widened the type of the ``trace_request_ctx`` parameter of + :meth:`ClientSession.request() ` and friends + -- by :user:`layday`. + + + *Related issues and pull requests on GitHub:* + :issue:`9397`. + + + + +Removals and backward incompatible breaking changes +--------------------------------------------------- + +- Fixed failure to try next host after single-host connection timeout -- by :user:`brettdh`. + + The default client :class:`aiohttp.ClientTimeout` params has changed to include a ``sock_connect`` timeout of 30 seconds so that this correct behavior happens by default. + + + *Related issues and pull requests on GitHub:* + :issue:`7342`. + + + + +Miscellaneous internal changes +------------------------------ + +- Improved performance of resolving hosts with Python 3.12+ -- by :user:`bdraco`. + + + *Related issues and pull requests on GitHub:* + :issue:`9342`. + + + +- Reduced memory required for timer objects created during the client request lifecycle -- by :user:`bdraco`. + + + *Related issues and pull requests on GitHub:* + :issue:`9406`. + + + + +---- + + 3.10.8 (2024-09-28) =================== diff --git a/CHANGES/7342.breaking.rst b/CHANGES/7342.breaking.rst deleted file mode 100644 index 1fa511c4c97..00000000000 --- a/CHANGES/7342.breaking.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fixed failure to try next host after single-host connection timeout -- by :user:`brettdh`. - -The default client :class:`aiohttp.ClientTimeout` params has changed to include a ``sock_connect`` timeout of 30 seconds so that this correct behavior happens by default. diff --git a/CHANGES/9342.misc.rst b/CHANGES/9342.misc.rst deleted file mode 100644 index 379e52dfc90..00000000000 --- a/CHANGES/9342.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Improved performance of resolving hosts with Python 3.12+ -- by :user:`bdraco`. diff --git a/CHANGES/9368.bugfix.rst b/CHANGES/9368.bugfix.rst deleted file mode 100644 index 7a9d8c7087e..00000000000 --- a/CHANGES/9368.bugfix.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fixed proxy headers being used in the ``ConnectionKey`` hash when a proxy was not being used -- by :user:`bdraco`. - -If default headers are used, they are also used for proxy headers. This could have led to creating connections that were not needed when one was already available. diff --git a/CHANGES/9397.bugfix.rst b/CHANGES/9397.bugfix.rst deleted file mode 100644 index ff5a235d07e..00000000000 --- a/CHANGES/9397.bugfix.rst +++ /dev/null @@ -1,3 +0,0 @@ -Widened the type of the ``trace_request_ctx`` parameter of -:meth:`ClientSession.request() ` and friends --- by :user:`layday`. diff --git a/CHANGES/9406.misc.rst b/CHANGES/9406.misc.rst deleted file mode 100644 index 0a0f7e78677..00000000000 --- a/CHANGES/9406.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Reduced memory required for timer objects created during the client request lifecycle -- by :user:`bdraco`. diff --git a/aiohttp/__init__.py b/aiohttp/__init__.py index 491cfded254..a65b3987222 100644 --- a/aiohttp/__init__.py +++ b/aiohttp/__init__.py @@ -1,4 +1,4 @@ -__version__ = "3.10.9.dev0" +__version__ = "3.10.9" from typing import TYPE_CHECKING, Tuple