Change8

v3.13.1

📦 aiohttpView on GitHub →
1 features🐛 5 fixes🔧 6 symbols

Summary

This release introduces new features for app configuration and fixes several bugs related to zstd decompression, Content-Type header parsing, Python 3.14 support, netrc authentication, and sub-application routing. It also includes packaging updates.

Migration Steps

  1. Users who installed ``zstandard`` for support on Python <3.14 will now need to install ``backports.zstd`` instead (installing ``aiohttp[speedups]`` will do this automatically).

✨ New Features

  • Configuration options in ``AppRunner`` are now also available in ``run_app()``.

🐛 Bug Fixes

  • Switched to `backports.zstd` for Python <3.14 and fixed zstd decompression for chunked zstd streams.
  • Updated ``Content-Type`` header parsing to return ``application/octet-stream`` when header contains invalid syntax.
  • Fixed Python 3.14 support when built without ``zstd`` support.
  • Fixed blocking I/O in the event loop when using netrc authentication by moving netrc file lookup to an executor.
  • Fixed routing to a sub-application added via ``.add_domain()`` not working if the same path exists on the parent app.

Affected Symbols