Aiohttp

Latest version: v3.9.5

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

Scan your dependencies

Page 17 of 29

1.0.1

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

- Restore `aiohttp.web.MsgType` alias for `aiohttp.WSMsgType` for sake
of backward compatibility (`1178 <https://github.com/aio-libs/aiohttp/pull/1178>`_)

- Tune alabaster schema.

- Use `text/html` content type for displaying index pages by static
file handler.

- Fix `AssertionError` in static file handling (`1177 <https://github.com/aio-libs/aiohttp/pull/1177>`_)

- Fix access log formats `%O` and `%b` for static file handling

- Remove `debug` setting of GunicornWorker, use `app.debug`
to control its debug-mode instead

1.0.0

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

- Change default size for client session's connection pool from
unlimited to 20 (`977 <https://github.com/aio-libs/aiohttp/pull/977>`_)

- Add IE support for cookie deletion. (`994 <https://github.com/aio-libs/aiohttp/pull/994>`_)

- Remove deprecated `WebSocketResponse.wait_closed` method (BACKWARD
INCOMPATIBLE)

- Remove deprecated `force` parameter for `ClientResponse.close`
method (BACKWARD INCOMPATIBLE)

- Avoid using of mutable CIMultiDict kw param in make_mocked_request
(`997 <https://github.com/aio-libs/aiohttp/pull/997>`_)

- Make WebSocketResponse.close a little bit faster by avoiding new
task creating just for timeout measurement

- Add `proxy` and `proxy_auth` params to `client.get()` and family,
deprecate `ProxyConnector` (`998 <https://github.com/aio-libs/aiohttp/pull/998>`_)

- Add support for websocket send_json and receive_json, synchronize
server and client API for websockets (`984 <https://github.com/aio-libs/aiohttp/pull/984>`_)

- Implement router shourtcuts for most useful HTTP methods, use
`app.router.add_get()`, `app.router.add_post()` etc. instead of
`app.router.add_route()` (`986 <https://github.com/aio-libs/aiohttp/pull/986>`_)

- Support SSL connections for gunicorn worker (`1003 <https://github.com/aio-libs/aiohttp/pull/1003>`_)

- Move obsolete examples to legacy folder

- Switch to multidict 2.0 and title-cased strings (`1015 <https://github.com/aio-libs/aiohttp/pull/1015>`_)

- `{FOO}e` logger format is case-sensitive now

- Fix logger report for unix socket 8e8469b

- Rename aiohttp.websocket to aiohttp._ws_impl

- Rename aiohttp.MsgType tp aiohttp.WSMsgType

- Introduce aiohttp.WSMessage officially

- Rename Message -> WSMessage

- Remove deprecated decode param from resp.read(decode=True)

- Use 5min default client timeout (`1028 <https://github.com/aio-libs/aiohttp/pull/1028>`_)

- Relax HTTP method validation in UrlDispatcher (`1037 <https://github.com/aio-libs/aiohttp/pull/1037>`_)

- Pin minimal supported asyncio version to 3.4.2+ (`loop.is_close()`
should be present)

- Remove aiohttp.websocket module (BACKWARD INCOMPATIBLE)
Please use high-level client and server approaches

- Link header for 451 status code is mandatory

- Fix test_client fixture to allow multiple clients per test (`1072 <https://github.com/aio-libs/aiohttp/pull/1072>`_)

- make_mocked_request now accepts dict as headers (`1073 <https://github.com/aio-libs/aiohttp/pull/1073>`_)

- Add Python 3.5.2/3.6+ compatibility patch for async generator
protocol change (`1082 <https://github.com/aio-libs/aiohttp/pull/1082>`_)

- Improvement test_client can accept instance object (`1083 <https://github.com/aio-libs/aiohttp/pull/1083>`_)

- Simplify ServerHttpProtocol implementation (`1060 <https://github.com/aio-libs/aiohttp/pull/1060>`_)

- Add a flag for optional showing directory index for static file
handling (`921 <https://github.com/aio-libs/aiohttp/pull/921>`_)

- Define `web.Application.on_startup()` signal handler (`1103 <https://github.com/aio-libs/aiohttp/pull/1103>`_)

- Drop ChunkedParser and LinesParser (`1111 <https://github.com/aio-libs/aiohttp/pull/1111>`_)

- Call `Application.startup` in GunicornWebWorker (`1105 <https://github.com/aio-libs/aiohttp/pull/1105>`_)

- Fix client handling hostnames with 63 bytes when a port is given in
the url (`1044 <https://github.com/aio-libs/aiohttp/pull/1044>`_)

- Implement proxy support for ClientSession.ws_connect (`1025 <https://github.com/aio-libs/aiohttp/pull/1025>`_)

- Return named tuple from WebSocketResponse.can_prepare (`1016 <https://github.com/aio-libs/aiohttp/pull/1016>`_)

- Fix access_log_format in `GunicornWebWorker` (`1117 <https://github.com/aio-libs/aiohttp/pull/1117>`_)

- Setup Content-Type to application/octet-stream by default (`1124 <https://github.com/aio-libs/aiohttp/pull/1124>`_)

- Deprecate debug parameter from app.make_handler(), use
`Application(debug=True)` instead (`1121 <https://github.com/aio-libs/aiohttp/pull/1121>`_)

- Remove fragment string in request path (`846 <https://github.com/aio-libs/aiohttp/pull/846>`_)

- Use aiodns.DNSResolver.gethostbyname() if available (`1136 <https://github.com/aio-libs/aiohttp/pull/1136>`_)

- Fix static file sending on uvloop when sendfile is available (`1093 <https://github.com/aio-libs/aiohttp/pull/1093>`_)

- Make prettier urls if query is empty dict (`1143 <https://github.com/aio-libs/aiohttp/pull/1143>`_)

- Fix redirects for HEAD requests (`1147 <https://github.com/aio-libs/aiohttp/pull/1147>`_)

- Default value for `StreamReader.read_nowait` is -1 from now (`1150 <https://github.com/aio-libs/aiohttp/pull/1150>`_)

- `aiohttp.StreamReader` is not inherited from `asyncio.StreamReader` from now
(BACKWARD INCOMPATIBLE) (`1150 <https://github.com/aio-libs/aiohttp/pull/1150>`_)

- Streams documentation added (`1150 <https://github.com/aio-libs/aiohttp/pull/1150>`_)

- Add `multipart` coroutine method for web Request object (`1067 <https://github.com/aio-libs/aiohttp/pull/1067>`_)

- Publish ClientSession.loop property (`1149 <https://github.com/aio-libs/aiohttp/pull/1149>`_)

- Fix static file with spaces (`1140 <https://github.com/aio-libs/aiohttp/pull/1140>`_)

- Fix piling up asyncio loop by cookie expiration callbacks (`1061 <https://github.com/aio-libs/aiohttp/pull/1061>`_)

- Drop `Timeout` class for sake of `async_timeout` external library.
`aiohttp.Timeout` is an alias for `async_timeout.timeout`

- `use_dns_cache` parameter of `aiohttp.TCPConnector` is `True` by
default (BACKWARD INCOMPATIBLE) (`1152 <https://github.com/aio-libs/aiohttp/pull/1152>`_)

- `aiohttp.TCPConnector` uses asynchronous DNS resolver if available by
default (BACKWARD INCOMPATIBLE) (`1152 <https://github.com/aio-libs/aiohttp/pull/1152>`_)

- Conform to RFC3986 - do not include url fragments in client requests (`1174 <https://github.com/aio-libs/aiohttp/pull/1174>`_)

- Drop `ClientSession.cookies` (BACKWARD INCOMPATIBLE) (`1173 <https://github.com/aio-libs/aiohttp/pull/1173>`_)

- Refactor `AbstractCookieJar` public API (BACKWARD INCOMPATIBLE) (`1173 <https://github.com/aio-libs/aiohttp/pull/1173>`_)

- Fix clashing cookies with have the same name but belong to different
domains (BACKWARD INCOMPATIBLE) (`1125 <https://github.com/aio-libs/aiohttp/pull/1125>`_)

- Support binary Content-Transfer-Encoding (`1169 <https://github.com/aio-libs/aiohttp/pull/1169>`_)

0.22.5

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

- Pin miltidict version to >=1.2.2

0.22.3

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

- Do not filter cookies if unsafe flag provided (`1005 <https://github.com/aio-libs/aiohttp/pull/1005>`_)

0.22.2

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

- Suppress CancelledError when Timeout raises TimeoutError (`970 <https://github.com/aio-libs/aiohttp/pull/970>`_)

- Don't expose `aiohttp.__version__`

- Add unsafe parameter to CookieJar (`968 <https://github.com/aio-libs/aiohttp/pull/968>`_)

- Use unsafe cookie jar in test client tools

- Expose aiohttp.CookieJar name

0.22.1

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

- Large cookie expiration/max-age does not break an event loop from now
(fixes (`967 <https://github.com/aio-libs/aiohttp/pull/967>`_))

Page 17 of 29

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.