Skip to content

Upgrading aiohttp 0.13 to 0.14

Breaking0.13.1 → 0.14.4Breaking5New7Changed7Fixed4

BreakingUpgrade verdict

5 breaking changes.

  • Multidict views always return the full body and no longer take a getall option.
  • You can no longer pass arbitrary keyword arguments to Application.
  • getall() now gives you a list rather than a tuple.
  • Multidicts are now split into mutable and read-only versions.
Top 3 of 5 that need code or config changes
Breaking5
Multidict views no longer accept the getall parameter and always return the full body.
getall
Application no longer accepts **kwargs.
Application
multidict.getall() now returns a list instead of a tuple.
multidict.getall()
Splits multidicts into two mutable types (MultiDict, CIMultiDict) and two immutable proxies (MultiDictProxy, CIMultiDictProxy).
MultiDictCIMultiDictMultiDictProxyCIMultiDictProxy
Converts ConnectionError to aiohttp.DisconnectedError and stops swallowing ConnectionError from web handlers.
ConnectionErroraiohttp.DisconnectedError