Aiohttp-middlewares

Latest version: v2.4.0

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

Scan your dependencies

Page 4 of 5

0.2.0b2

--------------------

- feature: Add ``cors_middleware`` to simplify handling CORS headers for
aiohttp apps comparing to `aiohttp-cors
<https://github.com/aio-libs/aiohttp-cors>`_ library
- chore: ``IDEMPOTENT_METHODS`` and ``NON_IDEMPOTENT_METHODS`` are now tuple
of strings, not frozenset

0.2.0b1

--------------------

- fix: Fix global visibility for error context & middleware

0.2.0b0

--------------------

- feature: Add ``error_middleware`` to allow handle errors inside of aiohttp
applications
- chore: Drop Python 3.5 support

0.2.0a2

--------------------

- feature: Put ``match_path`` function to ``aiohttp_middlewares.utils`` module
scope

0.2.0a1

--------------------

- chore: As aiohttp-middlewares heavily depends on aiohttp annotations, drop
support of aiohttp < 3.5
- chore: Wrap all middlewares into ``web.middleware`` decorator
- chore: Enable black code formatting
- chore: Enable pre-commit hooks

0.2.0a0

--------------------

- Ensure Python 3.7 support
- Drop aiohttp 2 support
- Ensure support latest aiohttp version, ``3.4.4``
- Make library `PEP-561 <https://www.python.org/dev/peps/pep-0561/>`_ compatible

Page 4 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.