Aiohttp

Latest version: v3.11.11

Safety actively analyzes 690739 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 16 of 33

2.2.2

Not secure
==================

- Allow `await session.close()` along with `yield from session.close()`



----

2.2.1

Not secure
==================

- Relax `yarl` requirement to 0.11+
- Backport 2026: `session.close` *is* a coroutine (`2029 <https://github.com/aio-libs/aiohttp/pull/2029>`_)



----

2.2.0

Not secure
==================

- Add doc for add_head, update doc for add_get. (`1944 <https://github.com/aio-libs/aiohttp/pull/1944>`_)
- Fixed consecutive calls for `Response.write_eof`.
- Retain method attributes (e.g. :code:`__doc__`) when registering synchronous
handlers for resources. (`1953 <https://github.com/aio-libs/aiohttp/pull/1953>`_)
- Added signal TERM handling in `run_app` to gracefully exit (`1932 <https://github.com/aio-libs/aiohttp/pull/1932>`_)
- Fix websocket issues caused by frame fragmentation. (`1962 <https://github.com/aio-libs/aiohttp/pull/1962>`_)
- Raise RuntimeError is you try to set the Content Length and enable
chunked encoding at the same time (`1941 <https://github.com/aio-libs/aiohttp/pull/1941>`_)
- Small update for `unittest_run_loop`
- Use CIMultiDict for ClientRequest.skip_auto_headers (`1970 <https://github.com/aio-libs/aiohttp/pull/1970>`_)
- Fix wrong startup sequence: test server and `run_app()` are not raise
`DeprecationWarning` now (`1947 <https://github.com/aio-libs/aiohttp/pull/1947>`_)
- Make sure cleanup signal is sent if startup signal has been sent (`1959 <https://github.com/aio-libs/aiohttp/pull/1959>`_)
- Fixed server keep-alive handler, could cause 100% cpu utilization (`1955 <https://github.com/aio-libs/aiohttp/pull/1955>`_)
- Connection can be destroyed before response get processed if
`await aiohttp.request(..)` is used (`1981 <https://github.com/aio-libs/aiohttp/pull/1981>`_)
- MultipartReader does not work with -OO (`1969 <https://github.com/aio-libs/aiohttp/pull/1969>`_)
- Fixed `ClientPayloadError` with blank `Content-Encoding` header (`1931 <https://github.com/aio-libs/aiohttp/pull/1931>`_)
- Support `deflate` encoding implemented in `httpbin.org/deflate` (`1918 <https://github.com/aio-libs/aiohttp/pull/1918>`_)
- Fix BadStatusLine caused by extra `CRLF` after `POST` data (`1792 <https://github.com/aio-libs/aiohttp/pull/1792>`_)
- Keep a reference to `ClientSession` in response object (`1985 <https://github.com/aio-libs/aiohttp/pull/1985>`_)
- Deprecate undocumented `app.on_loop_available` signal (`1978 <https://github.com/aio-libs/aiohttp/pull/1978>`_)



----

2.1.0

Not secure
==================

- Added support for experimental `async-tokio` event loop written in Rust
https://github.com/PyO3/tokio
- Write to transport ``\r\n`` before closing after keepalive timeout,
otherwise client can not detect socket disconnection. (`1883 <https://github.com/aio-libs/aiohttp/pull/1883>`_)
- Only call `loop.close` in `run_app` if the user did *not* supply a loop.
Useful for allowing clients to specify their own cleanup before closing the
asyncio loop if they wish to tightly control loop behavior
- Content disposition with semicolon in filename (`917 <https://github.com/aio-libs/aiohttp/pull/917>`_)
- Added `request_info` to response object and `ClientResponseError`. (`1733 <https://github.com/aio-libs/aiohttp/pull/1733>`_)
- Added `history` to `ClientResponseError`. (`1741 <https://github.com/aio-libs/aiohttp/pull/1741>`_)
- Allow to disable redirect url re-quoting (`1474 <https://github.com/aio-libs/aiohttp/pull/1474>`_)
- Handle RuntimeError from transport (`1790 <https://github.com/aio-libs/aiohttp/pull/1790>`_)
- Dropped "%O" in access logger (`1673 <https://github.com/aio-libs/aiohttp/pull/1673>`_)
- Added `args` and `kwargs` to `unittest_run_loop`. Useful with other
decorators, for example `patch`. (`1803 <https://github.com/aio-libs/aiohttp/pull/1803>`_)
- Added `iter_chunks` to response.content object. (`1805 <https://github.com/aio-libs/aiohttp/pull/1805>`_)
- Avoid creating TimerContext when there is no timeout to allow
compatibility with Tornado. (`1817 <https://github.com/aio-libs/aiohttp/pull/1817>`_) (`#1180 <https://github.com/aio-libs/aiohttp/pull/1180>`_)
- Add `proxy_from_env` to `ClientRequest` to read from environment
variables. (`1791 <https://github.com/aio-libs/aiohttp/pull/1791>`_)
- Add DummyCookieJar helper. (`1830 <https://github.com/aio-libs/aiohttp/pull/1830>`_)
- Fix assertion errors in Python 3.4 from noop helper. (`1847 <https://github.com/aio-libs/aiohttp/pull/1847>`_)
- Do not unquote `+` in match_info values (`1816 <https://github.com/aio-libs/aiohttp/pull/1816>`_)
- Use Forwarded, X-Forwarded-Scheme and X-Forwarded-Host for better scheme and
host resolution. (`1134 <https://github.com/aio-libs/aiohttp/pull/1134>`_)
- Fix sub-application middlewares resolution order (`1853 <https://github.com/aio-libs/aiohttp/pull/1853>`_)
- Fix applications comparison (`1866 <https://github.com/aio-libs/aiohttp/pull/1866>`_)
- Fix static location in index when prefix is used (`1662 <https://github.com/aio-libs/aiohttp/pull/1662>`_)
- Make test server more reliable (`1896 <https://github.com/aio-libs/aiohttp/pull/1896>`_)
- Extend list of web exceptions, add HTTPUnprocessableEntity,
HTTPFailedDependency, HTTPInsufficientStorage status codes (`1920 <https://github.com/aio-libs/aiohttp/pull/1920>`_)



----

2.0.7

Not secure
==================

- Fix *pypi* distribution
- Fix exception description (`1807 <https://github.com/aio-libs/aiohttp/pull/1807>`_)
- Handle socket error in FileResponse (`1773 <https://github.com/aio-libs/aiohttp/pull/1773>`_)
- Cancel websocket heartbeat on close (`1793 <https://github.com/aio-libs/aiohttp/pull/1793>`_)



----

2.0.6

Not secure
==================

- Keeping blank values for `request.post()` and `multipart.form()` (`1765 <https://github.com/aio-libs/aiohttp/pull/1765>`_)
- TypeError in data_received of ResponseHandler (`1770 <https://github.com/aio-libs/aiohttp/pull/1770>`_)
- Fix ``web.run_app`` not to bind to default host-port pair if only socket is
passed (`1786 <https://github.com/aio-libs/aiohttp/pull/1786>`_)



----

Page 16 of 33

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.