From b844d4293a5bd4921bd7267550294122e83617a8 Mon Sep 17 00:00:00 2001 From: Sam Bull Date: Tue, 16 Apr 2024 17:29:00 +0100 Subject: [PATCH] Release v3.9.5 (#8340) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) --- CHANGES.rst | 36 ++++++++++++++++++++++++++++++++++++ CHANGES/8253.bugfix | 1 - CHANGES/8332.bugfix.rst | 1 - CHANGES/8335.bugfix.rst | 1 - aiohttp/__init__.py | 2 +- docs/contributing-admins.rst | 2 +- 6 files changed, 38 insertions(+), 5 deletions(-) delete mode 100644 CHANGES/8253.bugfix delete mode 100644 CHANGES/8332.bugfix.rst delete mode 100644 CHANGES/8335.bugfix.rst diff --git a/CHANGES.rst b/CHANGES.rst index 523b4a84787..5b02623067a 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -10,6 +10,42 @@ .. towncrier release notes start +3.9.5 (2024-04-16) +================== + +Bug fixes +--------- + +- Fixed "Unclosed client session" when initialization of + :py:class:`~aiohttp.ClientSession` fails -- by :user:`NewGlad`. + + + *Related issues and pull requests on GitHub:* + :issue:`8253`. + + + +- Fixed regression (from :pr:`8280`) with adding ``Content-Disposition`` to the ``form-data`` + part after appending to writer -- by :user:`Dreamsorcerer`/:user:`Olegt0rr`. + + + *Related issues and pull requests on GitHub:* + :issue:`8332`. + + + +- Added default ``Content-Disposition`` in ``multipart/form-data`` responses to avoid broken + form-data responses -- by :user:`Dreamsorcerer`. + + + *Related issues and pull requests on GitHub:* + :issue:`8335`. + + + + +---- + 3.9.4 (2024-04-11) ================== diff --git a/CHANGES/8253.bugfix b/CHANGES/8253.bugfix deleted file mode 100644 index 91b06d9b35d..00000000000 --- a/CHANGES/8253.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fixed "Unclosed client session" when initialization of ClientSession fails -- by :user:`NewGlad`. diff --git a/CHANGES/8332.bugfix.rst b/CHANGES/8332.bugfix.rst deleted file mode 100644 index 70cad26b426..00000000000 --- a/CHANGES/8332.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed regression with adding Content-Disposition to form-data part after appending to writer -- by :user:`Dreamsorcerer`/:user:`Olegt0rr`. diff --git a/CHANGES/8335.bugfix.rst b/CHANGES/8335.bugfix.rst deleted file mode 100644 index cd93b864a50..00000000000 --- a/CHANGES/8335.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Added default Content-Disposition in multipart/form-data responses -- by :user:`Dreamsorcerer`. diff --git a/aiohttp/__init__.py b/aiohttp/__init__.py index c4af7b6f4dd..e82e790b46a 100644 --- a/aiohttp/__init__.py +++ b/aiohttp/__init__.py @@ -1,4 +1,4 @@ -__version__ = "3.9.4.dev0" +__version__ = "3.9.5" from typing import TYPE_CHECKING, Tuple diff --git a/docs/contributing-admins.rst b/docs/contributing-admins.rst index 488953c6cc5..9444f8ac5c4 100644 --- a/docs/contributing-admins.rst +++ b/docs/contributing-admins.rst @@ -47,7 +47,7 @@ first merge into the newer release branch (e.g. 3.8 into 3.9) and then to master the target branch (as tests have passed on the merge commit now). #. This should automatically consider the PR merged and delete the temporary branch. -Back on the original release branch, append ``.dev0`` to the version number in ``__init__.py``. +Back on the original release branch, bump the version number and append ``.dev0`` in ``__init__.py``. If doing a minor release: