Commit Graph

3 Commits

Author SHA256 Message Date
29809fa1f7 Accepting request 1142747 from home:glaubitz:branches:devel:languages:python
- Update to version 3.9.3
  * Fixed backwards compatibility breakage (in 3.9.2) of ``ssl`` parameter
    when set outside of ``ClientSession`` (e.g. directly in ``TCPConnector``)
  * Improved test suite handling of paths and temp files to consistently
    use pathlib and pytest fixtures.
- from version 3.9.2 (bsc#1219341, CVE-2024-23334, bsc#1219342, CVE-2024-23829)
  * Fixed server-side websocket connection leak.
  * Fixed ``web.FileResponse`` doing blocking I/O in the event loop.
  * Fixed double compress when compression enabled and compressed file
    exists in server file responses.
  * Added runtime type check for ``ClientSession`` ``timeout`` parameter.
  * Fixed an unhandled exception in the Python HTTP parser on header lines
    starting with a colon.
  * Improved validation of paths for static resources requests to the server.
  * Added support for passing :py:data:`True` to ``ssl`` parameter in
    ``ClientSession`` while deprecating :py:data:`None`.
  * Fixed an unhandled exception in the Python HTTP parser on header lines
    starting with a colon.
  * Fixed examples of ``fallback_charset_resolver`` function in the
    :doc:`client_advanced` document.
  * The Sphinx setup was updated to avoid showing the empty
    changelog draft section in the tagged release documentation
    builds on Read The Docs.
  * The changelog categorization was made clearer. The contributors can
    now mark their fragment files more accurately.
  * Updated :ref:`contributing/Tests coverage <aiohttp-contributing>`
    section to show how we use ``codecov``.
  * Replaced all ``tmpdir`` fixtures with ``tmp_path`` in test suite.
- Refresh patches for new version
  * remove-re-assert.patch

OBS-URL: https://build.opensuse.org/request/show/1142747
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=116
2024-01-31 08:35:12 +00:00
80453ee8c0 - update to 3.9.0:
* Introduced ``AppKey`` for static typing support of
    ``Application`` storage.
  * Added a graceful shutdown period which allows pending tasks
    to complete before the application's cleanup is called.
  * Added `handler_cancellation`_ parameter to cancel web handler on
    client disconnection.
  * This (optionally) reintroduces a feature removed in a
    previous release.
  * Recommended for those looking for an extra level of
    protection against denial-of-service attacks.
  * Added support for setting response header parameters
    ``max_line_size`` and ``max_field_size``.
  * Added ``auto_decompress`` parameter to
    ``ClientSession.request`` to override
    ``ClientSession._auto_decompress``.
  * Changed ``raise_for_status`` to allow a coroutine.
  * Added client brotli compression support (optional with
    runtime check).
  * Added ``client_max_size`` to ``BaseRequest.clone()`` to allow
    overriding the request body size. -- :user:`anesabml`.
  * Added a middleware type alias
    ``aiohttp.typedefs.Middleware``.
  * Exported ``HTTPMove`` which can be used to catch any
    redirection request that has a location -- :user:`dreamsorcerer`.
  * Changed the ``path`` parameter in ``web.run_app()`` to accept
    a ``pathlib.Path`` object.
  * Performance: Skipped filtering ``CookieJar`` when the jar is
    empty or all cookies have expired.
  * Performance: Only check origin if insecure scheme and there

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=106
2023-11-26 01:07:55 +00:00
4bc5709bac - Add remove-re-assert.patch, we really don’t need beautifuly
presented exceptions for our testing; remove re-assert BR.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=102
2023-10-14 17:33:08 +00:00