pypi / aio-pika
aio-pika
What changed in aio-pika 9 to 10, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-21.
1 breaking1 behavior and defaults2 tooling12 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initaio-pika 1014 changes
Breaking changes 1
Require aiormq consumer publishing error propagation.
Tooling 1
Package metadata is now included in PyInstaller bundles.
Fixes and other changes 12
Robust consumers are restored after broker cancellation.
Automatic channel restoration stops when the connection closes.
Connection options are honored when a URL is supplied.
Fixes reconnect when topology depends on another channel.
Finalizes timed-out iterator cleanup without reviving consumers.
Processing errors are preserved when the delivery channel closes.
Robust types are preserved through await and async with.
Makes AbstractQueueIterator.__aenter__ an async method.
Annotates Exchange.publish() with the values it actually returns.
Declares ready() on AbstractRobustChannel so the method is represented in the channel's types.
The return type now uses TypeVar, improving the typing of connect.
The return type now uses TypeVar, improving the typing of connect_robust.
aio-pika 92 changes
Behavior and default changes 1
Calls to log.exception are split into error and debug log calls, changing the library's log output.
Tooling 1
Built distributions now include the license file.