Upgrading aiohttp 0.13 to 0.14
Breaking0.13.1 → 0.14.4Breaking5New7Changed7Fixed4
BreakingUpgrade verdict
5 breaking changes.
In plain terms
- 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.
Must act Top 3 of 5 that need code or config changes
What you must change
Breaking5
Multidict views no longer accept the getall parameter and always return the full body.
getallApplication no longer accepts **kwargs.
Applicationmultidict.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).
MultiDictCIMultiDictMultiDictProxyCIMultiDictProxyConverts ConnectionError to aiohttp.DisconnectedError and stops swallowing ConnectionError from web handlers.
ConnectionErroraiohttp.DisconnectedError