Skip to content

Commit

Permalink
Release v3.10.6 (#9288)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamsorcerer authored Sep 24, 2024
1 parent 81bb9cb commit 2272c2b
Show file tree
Hide file tree
Showing 62 changed files with 80 additions and 162 deletions.
169 changes: 79 additions & 90 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,100 +10,90 @@

.. towncrier release notes start
3.10.6rc2 (2024-09-23)
======================
3.10.6 (2024-09-24)
===================

No significant changes.
Bug fixes
---------

- Added :exc:`aiohttp.ClientConnectionResetError`. Client code that previously threw :exc:`ConnectionResetError`
will now throw this -- by :user:`Dreamsorcerer`.

----

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

3.10.6rc1 (2024-09-22)
======================

Removals and backward incompatible breaking changes
---------------------------------------------------

- Increased minimum yarl version to 1.12.0 -- by :user:`bdraco`.
- Fixed an unclosed transport ``ResourceWarning`` on web handlers -- by :user:`Dreamsorcerer`.


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




----
:issue:`8875`.


3.10.6rc0 (2024-09-22)
======================

Bug fixes
---------

- Implemented binding to IPv6 addresses in the pytest server fixture.
- Fixed resolve_host() 'Task was destroyed but is pending' errors -- by :user:`Dreamsorcerer`.


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



- Fixed StreamResponse.prepared to return True after EOF is sent -- by :user:`arthurdarcet`.
- Fixed handling of some file-like objects (e.g. ``tarfile.extractfile()``) which raise ``AttributeError`` instead of ``OSError`` when ``fileno`` fails for streaming payload data -- by :user:`ReallyReivax`.


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



- Fixed ``Response.text`` when body is a ``Payload`` -- by :user:`Dreamsorcerer`.
- Fixed web router not matching pre-encoded URLs (requires yarl 1.9.6+) -- by :user:`Dreamsorcerer`.


*Related issues and pull requests on GitHub:*
:issue:`6485`.
:issue:`8898`, :issue:`9267`.



- Added support for URL credentials with empty (zero-length) username, e.g. ``https://:password@host`` -- by :user:`shuckc`
- Fixed an error when trying to add a route for multiple methods with a path containing a regex pattern -- by :user:`Dreamsorcerer`.


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



- Fixed handling of some file-like objects (e.g. ``tarfile.extractfile()``) which raise ``AttributeError`` instead of ``OSError`` when ``fileno`` fails for streaming payload data -- by :user:`ReallyReivax`.
- Fixed ``Response.text`` when body is a ``Payload`` -- by :user:`Dreamsorcerer`.


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



- Stopped logging exceptions from ``web.run_app()`` that would be raised regardless -- by :user:`Dreamsorcerer`.
- Fixed compressed requests failing when no body was provided -- by :user:`Dreamsorcerer`.


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



- Changed ``make_mocked_request()`` to use empty payload by default -- by :user:`rahulnht`.
- Fixed client incorrectly reusing a connection when the previous message had not been fully sent -- by :user:`Dreamsorcerer`.


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



- Used more precise type for ``ClientResponseError.headers``, fixing some type errors when using them -- by :user:`Dreamorcerer`.
- Fixed race condition that could cause server to close connection incorrectly at keepalive timeout -- by :user:`Dreamsorcerer`.


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



Expand All @@ -115,11 +105,11 @@ Bug fixes



- Changed behavior when returning an invalid response to send a 500 response -- by :user:`Dreamsorcerer`.
- Fixed error handling after 100-continue so server sends 500 response instead of disconnecting -- by :user:`Dreamsorcerer`.


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



Expand All @@ -131,158 +121,141 @@ Bug fixes



- Fixed an unclosed transport ``ResourceWarning`` on web handlers -- by :user:`Dreamsorcerer`.


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



- Fixed error handling after 100-continue so server sends 500 response instead of disconnecting -- by :user:`Dreamsorcerer`.
- Added support for URL credentials with empty (zero-length) username, e.g. ``https://:password@host`` -- by :user:`shuckc`


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



- Fixed response reading from closed session to throw an error immediately instead of timing out -- by :user:`Dreamsorcerer`.
- Stopped logging exceptions from ``web.run_app()`` that would be raised regardless -- by :user:`Dreamsorcerer`.


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



- Fixed web router not matching pre-encoded URLs (requires yarl 1.9.6+) -- by :user:`Dreamsorcerer`.
- Implemented binding to IPv6 addresses in the pytest server fixture.


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



- Fixed ``CancelledError`` from one cleanup context stopping other contexts from completing -- by :user:`Dreamsorcerer`.
:issue:`4650`.


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


- Fixed the incorrect use of flags for ``getnameinfo()`` in the Resolver --by :user:`GitNMLee`

- Fixed ``Site.name`` when host is an empty string -- by :user:`Dreamsorcerer`.
Link-Local IPv6 addresses can now be handled by the Resolver correctly.


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



- Fixed resolve_host() 'Task was destroyed but is pending' errors -- by :user:`Dreamsorcerer`.
- Fixed StreamResponse.prepared to return True after EOF is sent -- by :user:`arthurdarcet`.


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



- Fixed changing scheme/host in ``Response.clone()`` for absolute URLs -- by :user:`Dreamsorcerer`.
- Changed ``make_mocked_request()`` to use empty payload by default -- by :user:`rahulnht`.


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



- Fixed client incorrectly reusing a connection when the previous message had not been fully sent -- by :user:`Dreamsorcerer`.
- Used more precise type for ``ClientResponseError.headers``, fixing some type errors when using them -- by :user:`Dreamsorcerer`.


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



- Fixed an error when trying to add a route for multiple methods with a path containing a regex pattern -- by :user:`Dreamsorcerer`.
- Changed behavior when returning an invalid response to send a 500 response -- by :user:`Dreamsorcerer`.


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



- Updated Python parser to reject messages after a close message, matching C parser behaviour -- by :user:`Dreamsorcerer`.
- Fixed response reading from closed session to throw an error immediately instead of timing out -- by :user:`Dreamsorcerer`.


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



- Fixed creation of ``SSLContext`` inside of :py:class:`aiohttp.TCPConnector` with multiple event loops in different threads -- by :user:`bdraco`.
- Fixed ``CancelledError`` from one cleanup context stopping other contexts from completing -- by :user:`Dreamsorcerer`.


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



- Fixed (on Python 3.11+) some edge cases where a task cancellation may get incorrectly suppressed -- by :user:`Dreamsorcerer`.
- Fixed changing scheme/host in ``Response.clone()`` for absolute URLs -- by :user:`Dreamsorcerer`.


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

:issue:`8990`.


- Fixed the incorrect use of flags for ``getnameinfo()`` in the Resolver --by :user:`GitNMLee`

Link-Local IPv6 addresses can now be handled by the Resolver correctly.
- Fixed ``Site.name`` when host is an empty string -- by :user:`Dreamsorcerer`.


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



- Fixed exception information getting lost on ``HttpProcessingError`` -- by :user:`Dreamsorcerer`.
- Updated Python parser to reject messages after a close message, matching C parser behaviour -- by :user:`Dreamsorcerer`.


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



- Fixed ``If-None-Match`` not using weak comparison -- by :user:`Dreamsorcerer`.
- Fixed creation of ``SSLContext`` inside of :py:class:`aiohttp.TCPConnector` with multiple event loops in different threads -- by :user:`bdraco`.


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



- Fixed compressed requests failing when no body was provided -- by :user:`Dreamsorcerer`.
- Fixed (on Python 3.11+) some edge cases where a task cancellation may get incorrectly suppressed -- by :user:`Dreamsorcerer`.


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



- Added :exc:`aiohttp.ClientConnectionResetError`. Client code that previously threw :exc:`ConnectionResetError`
will now throw this -- by :user:`Dreamsorcerer`.
- Fixed exception information getting lost on ``HttpProcessingError`` -- by :user:`Dreamsorcerer`.


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



- Fixed race condition that could cause server to close connection incorrectly at keepalive timeout -- by :user:`Dreamosorcerer`.
- Fixed ``If-None-Match`` not using weak comparison -- by :user:`Dreamsorcerer`.


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



Expand Down Expand Up @@ -322,6 +295,14 @@ Features



- Declared Python 3.13 supported -- by :user:`bdraco`.


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




Removals and backward incompatible breaking changes
---------------------------------------------------
Expand All @@ -336,6 +317,14 @@ Removals and backward incompatible breaking changes



- Increased minimum yarl version to 1.12.0 -- by :user:`bdraco`.


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




Improved documentation
----------------------
Expand Down
1 change: 0 additions & 1 deletion CHANGES/4414.doc

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/6764.doc.rst

This file was deleted.

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

This file was deleted.

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

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/8564.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/8748.feature.rst

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

1 change: 0 additions & 1 deletion CHANGES/8847.misc.rst

This file was deleted.

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

This file was deleted.

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

This file was deleted.

Loading

0 comments on commit 2272c2b

Please sign in to comment.