diff --git a/CHANGES.rst b/CHANGES.rst index 36f05700df3..f5610288454 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -10,26 +10,8 @@ .. towncrier release notes start -3.10.6rc1 (2024-09-22) -====================== - -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`. - - - - ----- - - -3.10.6rc0 (2024-09-22) -====================== +3.10.6 (2024-09-23) +=================== Bug fixes --------- @@ -150,7 +132,7 @@ Bug fixes *Related issues and pull requests on GitHub:* - :issue:`8898`. + :issue:`8898`, :issue:`9267`. @@ -327,6 +309,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 ---------------------- diff --git a/CHANGES/4414.doc b/CHANGES/4414.doc deleted file mode 100644 index b4be46afee8..00000000000 --- a/CHANGES/4414.doc +++ /dev/null @@ -1 +0,0 @@ -Clarified that ``GracefulExit`` needs to be handled in ``AppRunner`` and ``ServerRunner`` when using ``handle_signals=True``. -- by :user:`Daste745` diff --git a/CHANGES/4650.bugfix b/CHANGES/4650.bugfix deleted file mode 100644 index e3e17b00ae8..00000000000 --- a/CHANGES/4650.bugfix +++ /dev/null @@ -1 +0,0 @@ -Implemented binding to IPv6 addresses in the pytest server fixture. diff --git a/CHANGES/5343.bugfix b/CHANGES/5343.bugfix deleted file mode 100644 index 4e33071ea94..00000000000 --- a/CHANGES/5343.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fixed StreamResponse.prepared to return True after EOF is sent -- by :user:`arthurdarcet`. diff --git a/CHANGES/6485.bugfix.rst b/CHANGES/6485.bugfix.rst deleted file mode 100644 index b1d912f1579..00000000000 --- a/CHANGES/6485.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed ``Response.text`` when body is a ``Payload`` -- by :user:`Dreamsorcerer`. diff --git a/CHANGES/6494.bugfix.rst b/CHANGES/6494.bugfix.rst deleted file mode 100644 index 3827644f0d1..00000000000 --- a/CHANGES/6494.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Added support for URL credentials with empty (zero-length) username, e.g. ``https://:password@host`` -- by :user:`shuckc` diff --git a/CHANGES/6732.bugfix b/CHANGES/6732.bugfix deleted file mode 100644 index a460d7cd695..00000000000 --- a/CHANGES/6732.bugfix +++ /dev/null @@ -1 +0,0 @@ -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`. diff --git a/CHANGES/6764.doc.rst b/CHANGES/6764.doc.rst deleted file mode 100644 index dea2019fc76..00000000000 --- a/CHANGES/6764.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Clarified that auth parameter in ClientSession will persist and be included with any request to any origin, even during redirects to different origins. -- by :user:`MaximZemskov`. diff --git a/CHANGES/6807.bugfix.rst b/CHANGES/6807.bugfix.rst deleted file mode 100644 index 4eb07b9e0da..00000000000 --- a/CHANGES/6807.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Stopped logging exceptions from ``web.run_app()`` that would be raised regardless -- by :user:`Dreamsorcerer`. diff --git a/CHANGES/7167.bugfix.rst b/CHANGES/7167.bugfix.rst deleted file mode 100644 index 766f1438b66..00000000000 --- a/CHANGES/7167.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Changed ``make_mocked_request()`` to use empty payload by default -- by :user:`rahulnht`. diff --git a/CHANGES/8564.feature.rst b/CHANGES/8564.feature.rst deleted file mode 100644 index 1eac9d12217..00000000000 --- a/CHANGES/8564.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Improved type on ``params`` to match the underlying type allowed by ``yarl`` -- by :user:`lpetre`. diff --git a/CHANGES/8768.bugfix.rst b/CHANGES/8768.bugfix.rst deleted file mode 100644 index 18512163572..00000000000 --- a/CHANGES/8768.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Used more precise type for ``ClientResponseError.headers``, fixing some type errors when using them -- by :user:`Dreamorcerer`. diff --git a/CHANGES/8823.bugfix.rst b/CHANGES/8823.bugfix.rst deleted file mode 100644 index ea18e65fd4a..00000000000 --- a/CHANGES/8823.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed Python parser chunked handling with multiple Transfer-Encoding values -- by :user:`Dreamsorcerer`. diff --git a/CHANGES/8845.bugfix.rst b/CHANGES/8845.bugfix.rst deleted file mode 100644 index c37a0095ed3..00000000000 --- a/CHANGES/8845.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Changed behavior when returning an invalid response to send a 500 response -- by :user:`Dreamsorcerer`. diff --git a/CHANGES/8847.misc.rst b/CHANGES/8847.misc.rst deleted file mode 100644 index 58f61d48420..00000000000 --- a/CHANGES/8847.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Improved performance of making requests when there are no auto headers to skip -- by :user:`bdraco`. diff --git a/CHANGES/8858.bugfix.rst b/CHANGES/8858.bugfix.rst deleted file mode 100644 index e4efa91a2fd..00000000000 --- a/CHANGES/8858.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Stopped adding a default Content-Type header when response has no content -- by :user:`Dreamsorcerer`. diff --git a/CHANGES/8875.bugfix.rst b/CHANGES/8875.bugfix.rst deleted file mode 100644 index fa33df05ae2..00000000000 --- a/CHANGES/8875.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed an unclosed transport ``ResourceWarning`` on web handlers -- by :user:`Dreamsorcerer`. diff --git a/CHANGES/8876.bugfix.rst b/CHANGES/8876.bugfix.rst deleted file mode 100644 index 539eeb4c7d3..00000000000 --- a/CHANGES/8876.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed error handling after 100-continue so server sends 500 response instead of disconnecting -- by :user:`Dreamsorcerer`. diff --git a/CHANGES/8878.bugfix.rst b/CHANGES/8878.bugfix.rst deleted file mode 100644 index df53dea3c35..00000000000 --- a/CHANGES/8878.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed response reading from closed session to throw an error immediately instead of timing out -- by :user:`Dreamsorcerer`. diff --git a/CHANGES/8898.bugfix.rst b/CHANGES/8898.bugfix.rst deleted file mode 100644 index 0de6646c8cb..00000000000 --- a/CHANGES/8898.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed web router not matching pre-encoded URLs (requires yarl 1.9.6+) -- by :user:`Dreamsorcerer`. diff --git a/CHANGES/8908.bugfix.rst b/CHANGES/8908.bugfix.rst deleted file mode 100644 index 0eb450431db..00000000000 --- a/CHANGES/8908.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed ``CancelledError`` from one cleanup context stopping other contexts from completing -- by :user:`Dreamsorcerer`. diff --git a/CHANGES/8929.bugfix.rst b/CHANGES/8929.bugfix.rst deleted file mode 100644 index 229d5abd0e7..00000000000 --- a/CHANGES/8929.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed ``Site.name`` when host is an empty string -- by :user:`Dreamsorcerer`. diff --git a/CHANGES/8947.misc.rst b/CHANGES/8947.misc.rst deleted file mode 100644 index 277ba915c50..00000000000 --- a/CHANGES/8947.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Exported ``aiohttp.TraceRequestHeadersSentParams`` -- by :user:`Hadock-is-ok`. diff --git a/CHANGES/8967.bugfix.rst b/CHANGES/8967.bugfix.rst deleted file mode 100644 index 1046f36bd8b..00000000000 --- a/CHANGES/8967.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed resolve_host() 'Task was destroyed but is pending' errors -- by :user:`Dreamsorcerer`. diff --git a/CHANGES/8968.doc.rst b/CHANGES/8968.doc.rst deleted file mode 100644 index 3420794586f..00000000000 --- a/CHANGES/8968.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Clarified which timeout exceptions happen on which timeouts -- by :user:`Dreamsorcerer`. diff --git a/CHANGES/8990.bugfix.rst b/CHANGES/8990.bugfix.rst deleted file mode 100644 index 9a9783103fd..00000000000 --- a/CHANGES/8990.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed changing scheme/host in ``Response.clone()`` for absolute URLs -- by :user:`Dreamsorcerer`. diff --git a/CHANGES/8991.doc.rst b/CHANGES/8991.doc.rst deleted file mode 100644 index c29850c4f3c..00000000000 --- a/CHANGES/8991.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Updated ``ClientSession`` parameters to match current code -- by :user:`Dreamsorcerer`. diff --git a/CHANGES/8992.bugfix.rst b/CHANGES/8992.bugfix.rst deleted file mode 100644 index bc41d5feb81..00000000000 --- a/CHANGES/8992.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed client incorrectly reusing a connection when the previous message had not been fully sent -- by :user:`Dreamsorcerer`. diff --git a/CHANGES/8998.bugfix.rst b/CHANGES/8998.bugfix.rst deleted file mode 100644 index 1b6b189e7ea..00000000000 --- a/CHANGES/8998.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed an error when trying to add a route for multiple methods with a path containing a regex pattern -- by :user:`Dreamsorcerer`. diff --git a/CHANGES/9004.packaging.rst b/CHANGES/9004.packaging.rst deleted file mode 100644 index f6b0f8ff2a3..00000000000 --- a/CHANGES/9004.packaging.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed ``test_client_session_timeout_zero`` to not require internet access -- by :user:`Dreamsorcerer`. diff --git a/CHANGES/9018.bugfix.rst b/CHANGES/9018.bugfix.rst deleted file mode 100644 index 2de6d142900..00000000000 --- a/CHANGES/9018.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Updated Python parser to reject messages after a close message, matching C parser behaviour -- by :user:`Dreamsorcerer`. diff --git a/CHANGES/9029.bugfix.rst b/CHANGES/9029.bugfix.rst deleted file mode 100644 index 7ca956e3832..00000000000 --- a/CHANGES/9029.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed creation of ``SSLContext`` inside of :py:class:`aiohttp.TCPConnector` with multiple event loops in different threads -- by :user:`bdraco`. diff --git a/CHANGES/9030.bugfix.rst b/CHANGES/9030.bugfix.rst deleted file mode 100644 index 2e9d48f5359..00000000000 --- a/CHANGES/9030.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed (on Python 3.11+) some edge cases where a task cancellation may get incorrectly suppressed -- by :user:`Dreamsorcerer`. diff --git a/CHANGES/9031.misc.rst b/CHANGES/9031.misc.rst deleted file mode 100644 index 1874a4deddd..00000000000 --- a/CHANGES/9031.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Avoided tracing overhead in the http writer when there are no active traces -- by user:`bdraco`. diff --git a/CHANGES/9032.bugfix.rst b/CHANGES/9032.bugfix.rst deleted file mode 100644 index 8c8d81f6319..00000000000 --- a/CHANGES/9032.bugfix.rst +++ /dev/null @@ -1,3 +0,0 @@ -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. diff --git a/CHANGES/9052.bugfix.rst b/CHANGES/9052.bugfix.rst deleted file mode 100644 index 913288d3368..00000000000 --- a/CHANGES/9052.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed exception information getting lost on ``HttpProcessingError`` -- by :user:`Dreamsorcerer`. diff --git a/CHANGES/9054.misc.rst b/CHANGES/9054.misc.rst deleted file mode 100644 index ddc71f453e5..00000000000 --- a/CHANGES/9054.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Improved performance of reify Cython implementation -- by :user:`bdraco`. diff --git a/CHANGES/9063.bugfix.rst b/CHANGES/9063.bugfix.rst deleted file mode 100644 index e512677b9c8..00000000000 --- a/CHANGES/9063.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed ``If-None-Match`` not using weak comparison -- by :user:`Dreamsorcerer`. diff --git a/CHANGES/9068.misc.rst b/CHANGES/9068.misc.rst deleted file mode 100644 index 7ce5ec5c839..00000000000 --- a/CHANGES/9068.misc.rst +++ /dev/null @@ -1,3 +0,0 @@ -Use :meth:`URL.extend_query() ` to extend query params (requires yarl 1.11.0+) -- by :user:`bdraco`. - -If yarl is older than 1.11.0, the previous slower hand rolled version will be used. diff --git a/CHANGES/9095.misc.rst b/CHANGES/9095.misc.rst deleted file mode 100644 index f4a06cb09d6..00000000000 --- a/CHANGES/9095.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Improved performance of checking if a host is an IP Address -- by :user:`bdraco`. diff --git a/CHANGES/9108.bugfix.rst b/CHANGES/9108.bugfix.rst deleted file mode 100644 index 8be000575e8..00000000000 --- a/CHANGES/9108.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed compressed requests failing when no body was provided -- by :user:`Dreamsorcerer`. diff --git a/CHANGES/9137.bugfix.rst b/CHANGES/9137.bugfix.rst deleted file mode 100644 index d99802095bd..00000000000 --- a/CHANGES/9137.bugfix.rst +++ /dev/null @@ -1,2 +0,0 @@ -Added :exc:`aiohttp.ClientConnectionResetError`. Client code that previously threw :exc:`ConnectionResetError` -will now throw this -- by :user:`Dreamsorcerer`. diff --git a/CHANGES/9140.bugfix.rst b/CHANGES/9140.bugfix.rst deleted file mode 100644 index c9b8f7bf4ea..00000000000 --- a/CHANGES/9140.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed race condition that could cause server to close connection incorrectly at keepalive timeout -- by :user:`Dreamosorcerer`. diff --git a/CHANGES/9158.misc.rst b/CHANGES/9158.misc.rst deleted file mode 100644 index 8d87623c056..00000000000 --- a/CHANGES/9158.misc.rst +++ /dev/null @@ -1,3 +0,0 @@ -Significantly improved performance of middlewares -- by :user:`bdraco`. - -The construction of the middleware wrappers is now cached and is built once per handler instead of on every request. diff --git a/CHANGES/9160.bugfix b/CHANGES/9160.bugfix deleted file mode 100644 index 253cfd07d50..00000000000 --- a/CHANGES/9160.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fixed badly encoded charset crashing when getting response text instead of falling back to charset detector. diff --git a/CHANGES/9167.bugfix.rst b/CHANGES/9167.bugfix.rst deleted file mode 100644 index 4c33c8ad355..00000000000 --- a/CHANGES/9167.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Rejected `\n` in `reason` values to avoid sending broken HTTP messages -- by :user:`Dreamsorcerer`. diff --git a/CHANGES/9168.misc.rst b/CHANGES/9168.misc.rst deleted file mode 120000 index d6a2f2aaaab..00000000000 --- a/CHANGES/9168.misc.rst +++ /dev/null @@ -1 +0,0 @@ -9174.misc.rst \ No newline at end of file diff --git a/CHANGES/9169.misc.rst b/CHANGES/9169.misc.rst deleted file mode 120000 index d6a2f2aaaab..00000000000 --- a/CHANGES/9169.misc.rst +++ /dev/null @@ -1 +0,0 @@ -9174.misc.rst \ No newline at end of file diff --git a/CHANGES/9170.misc.rst b/CHANGES/9170.misc.rst deleted file mode 120000 index e41cbad0125..00000000000 --- a/CHANGES/9170.misc.rst +++ /dev/null @@ -1 +0,0 @@ -9158.misc.rst \ No newline at end of file diff --git a/CHANGES/9172.misc.rst b/CHANGES/9172.misc.rst deleted file mode 120000 index d6a2f2aaaab..00000000000 --- a/CHANGES/9172.misc.rst +++ /dev/null @@ -1 +0,0 @@ -9174.misc.rst \ No newline at end of file diff --git a/CHANGES/9173.misc.rst b/CHANGES/9173.misc.rst deleted file mode 100644 index 6fcc098747f..00000000000 --- a/CHANGES/9173.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Improved performance of starting web requests when there is no response prepare hook -- by :user:`bdraco`. diff --git a/CHANGES/9174.misc.rst b/CHANGES/9174.misc.rst deleted file mode 100644 index 13dc00ec1de..00000000000 --- a/CHANGES/9174.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Improved performance of web requests -- by :user:`bdraco`. diff --git a/CHANGES/9175.misc.rst b/CHANGES/9175.misc.rst deleted file mode 120000 index d6a2f2aaaab..00000000000 --- a/CHANGES/9175.misc.rst +++ /dev/null @@ -1 +0,0 @@ -9174.misc.rst \ No newline at end of file diff --git a/CHANGES/9200.breaking.rst b/CHANGES/9200.breaking.rst deleted file mode 100644 index 0282e165c41..00000000000 --- a/CHANGES/9200.breaking.rst +++ /dev/null @@ -1,3 +0,0 @@ -Improved middleware performance -- by :user:`bdraco`. - -The ``set_current_app`` method was removed from ``UrlMappingMatchInfo`` because it is no longer used, and it was unlikely external caller would ever use it. diff --git a/CHANGES/9203.misc.rst b/CHANGES/9203.misc.rst deleted file mode 100644 index 766fdc01a57..00000000000 --- a/CHANGES/9203.misc.rst +++ /dev/null @@ -1,3 +0,0 @@ -Significantly improved performance of expiring cookies -- by :user:`bdraco`. - -Expiring cookies has been redesigned to use :mod:`heapq` instead of a linear search, to better scale. diff --git a/CHANGES/9204.misc.rst b/CHANGES/9204.misc.rst deleted file mode 100644 index 9f3196fa5be..00000000000 --- a/CHANGES/9204.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Significantly sped up filtering cookies -- by :user:`bdraco`. diff --git a/CHANGES/9239.bugfix.rst b/CHANGES/9239.bugfix.rst deleted file mode 100644 index 95b229742ce..00000000000 --- a/CHANGES/9239.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Changed :py:meth:`ClientResponse.raise_for_status() ` to only release the connection when invoked outside an ``async with`` context -- by :user:`Dreamsorcerer`. diff --git a/CHANGES/9241.misc.rst b/CHANGES/9241.misc.rst deleted file mode 120000 index d6a2f2aaaab..00000000000 --- a/CHANGES/9241.misc.rst +++ /dev/null @@ -1 +0,0 @@ -9174.misc.rst \ No newline at end of file diff --git a/CHANGES/9267.breaking.rst b/CHANGES/9267.breaking.rst deleted file mode 100644 index 82fec1d21b4..00000000000 --- a/CHANGES/9267.breaking.rst +++ /dev/null @@ -1 +0,0 @@ -Increased minimum yarl version to 1.12.0 -- by :user:`bdraco`. diff --git a/CHANGES/9267.bugfix.rst b/CHANGES/9267.bugfix.rst deleted file mode 120000 index 2a85c7ec63c..00000000000 --- a/CHANGES/9267.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -8898.bugfix.rst \ No newline at end of file diff --git a/aiohttp/__init__.py b/aiohttp/__init__.py index 25d7f39ffe5..8830d340940 100644 --- a/aiohttp/__init__.py +++ b/aiohttp/__init__.py @@ -1,4 +1,4 @@ -__version__ = "3.10.6rc1" +__version__ = "3.10.6" from typing import TYPE_CHECKING, Tuple