Skip to content

Commit

Permalink
Release v3.9.2 (#8082)
Browse files Browse the repository at this point in the history
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <sviat@redhat.com>
  • Loading branch information
Dreamsorcerer and webknjaz committed Jan 28, 2024
1 parent 9118a58 commit 24a6d64
Show file tree
Hide file tree
Showing 16 changed files with 197 additions and 42 deletions.
196 changes: 196 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,202 @@

.. towncrier release notes start
3.9.2 (2024-01-28)
==================

Bug fixes
---------

- Fixed server-side websocket connection leak.


*Related issues and pull requests on GitHub:*
:issue:`7978`.



- Fixed ``web.FileResponse`` doing blocking I/O in the event loop.


*Related issues and pull requests on GitHub:*
:issue:`8012`.



- Fixed double compress when compression enabled and compressed file exists in server file responses.


*Related issues and pull requests on GitHub:*
:issue:`8014`.



- Added runtime type check for ``ClientSession`` ``timeout`` parameter.


*Related issues and pull requests on GitHub:*
:issue:`8021`.



- Fixed an unhandled exception in the Python HTTP parser on header lines starting with a colon -- by :user:`pajod`.

Invalid request lines with anything but a dot between the HTTP major and minor version are now rejected.
Invalid header field names containing question mark or slash are now rejected.
Such requests are incompatible with :rfc:`9110#section-5.6.2` and are not known to be of any legitimate use.


*Related issues and pull requests on GitHub:*
:issue:`8074`.



- Improved validation of paths for static resources requests to the server -- by :user:`bdraco`.


*Related issues and pull requests on GitHub:*
:issue:`8079`.




Features
--------

- Added support for passing :py:data:`True` to ``ssl`` parameter in ``ClientSession`` while
deprecating :py:data:`None` -- by :user:`xiangyan99`.


*Related issues and pull requests on GitHub:*
:issue:`7698`.



Breaking changes
----------------

- Fixed an unhandled exception in the Python HTTP parser on header lines starting with a colon -- by :user:`pajod`.

Invalid request lines with anything but a dot between the HTTP major and minor version are now rejected.
Invalid header field names containing question mark or slash are now rejected.
Such requests are incompatible with :rfc:`9110#section-5.6.2` and are not known to be of any legitimate use.


*Related issues and pull requests on GitHub:*
:issue:`8074`.




Improved documentation
----------------------

- Fixed examples of ``fallback_charset_resolver`` function in the :doc:`client_advanced` document. -- by :user:`henry0312`.


*Related issues and pull requests on GitHub:*
:issue:`7995`.



- The Sphinx setup was updated to avoid showing the empty
changelog draft section in the tagged release documentation
builds on Read The Docs -- by :user:`webknjaz`.


*Related issues and pull requests on GitHub:*
:issue:`8067`.




Packaging updates and notes for downstreams
-------------------------------------------

- The changelog categorization was made clearer. The
contributors can now mark their fragment files more
accurately -- by :user:`webknjaz`.

The new category tags are:

* ``bugfix``

* ``feature``

* ``deprecation``

* ``breaking`` (previously, ``removal``)

* ``doc``

* ``packaging``

* ``contrib``

* ``misc``


*Related issues and pull requests on GitHub:*
:issue:`8066`.




Contributor-facing changes
--------------------------

- Updated :ref:`contributing/Tests coverage <aiohttp-contributing>` section to show how we use ``codecov`` -- by :user:`Dreamsorcerer`.


*Related issues and pull requests on GitHub:*
:issue:`7916`.



- The changelog categorization was made clearer. The
contributors can now mark their fragment files more
accurately -- by :user:`webknjaz`.

The new category tags are:

* ``bugfix``

* ``feature``

* ``deprecation``

* ``breaking`` (previously, ``removal``)

* ``doc``

* ``packaging``

* ``contrib``

* ``misc``


*Related issues and pull requests on GitHub:*
:issue:`8066`.




Miscellaneous internal changes
------------------------------

- Replaced all ``tmpdir`` fixtures with ``tmp_path`` in test suite.


*Related issues and pull requests on GitHub:*
:issue:`3551`.




----


3.9.1 (2023-11-26)
==================

Expand Down
1 change: 0 additions & 1 deletion CHANGES/3551.misc

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/7698.feature

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/7916.doc

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/7978.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/7995.doc

This file was deleted.

2 changes: 0 additions & 2 deletions CHANGES/8010.doc

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/8012.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/8014.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/8021.bugfix

This file was deleted.

21 changes: 0 additions & 21 deletions CHANGES/8066.contrib.rst

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/8066.packaging.rst

This file was deleted.

3 changes: 0 additions & 3 deletions CHANGES/8067.doc.rst

This file was deleted.

5 changes: 0 additions & 5 deletions CHANGES/8074.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/8079.bugfix.rst

This file was deleted.

2 changes: 1 addition & 1 deletion aiohttp/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "3.9.1.dev0"
__version__ = "3.9.2"

from typing import TYPE_CHECKING, Tuple

Expand Down

0 comments on commit 24a6d64

Please sign in to comment.