unstale

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-12-05.

6 breaking1 deprecations2 performance2 behavior and defaults2 tooling21 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.3.1 on npm

aio-pika 1027 changes

Breaking changes 2

  • Robust channel operations fail fast after the connection is closed.

    10.2.2release notes

  • Require aiormq consumer publishing error propagation.

    10.1.0release notes

Performance 2

  • The pool lock is not held while waiting for returned items.

    10.2.0release notes

  • Queue iterators are no longer kept in memory.

    10.2.0release notes

Behavior and default changes 1

  • Callbacks are invoked outside the collection lock.

    10.2.0release notes

Tooling 1

  • Package metadata is now included in PyInstaller bundles.

    10.1.1release notes

Fixes and other changes 21

  • Generator-based callback coroutines are now awaited.

    10.2.3release notes

  • Pool items can now be released after shutdown.

    10.2.3release notes

  • Close notifications are completed for channels that were never opened.

    10.2.2release notes

  • Closing a pool wakes pending acquisition attempts.

    10.2.1release notes

  • Cancellation of close notifications is isolated so it does not interfere with other close-notification handling.

    10.2.0release notes

  • Close notifications are completed even when there is no transport.

    10.2.0release notes

  • The RPC factory now applies host_exceptions.

    10.2.0release notes

  • Robust bindings are preserved across routing keys and exchange references.

    10.2.0release notes

  • RPC futures are cleaned up when calls fail or are cancelled.

    10.2.0release notes

  • Robust consumers are restored after broker cancellation.

    10.1.1release notes

  • Automatic channel restoration stops when the connection closes.

    10.1.0release notes

  • Connection options are honored when a URL is supplied.

    10.1.0release notes

  • Fixes reconnect when topology depends on another channel.

    10.0.4release notes

  • Finalizes timed-out iterator cleanup without reviving consumers.

    10.0.4release notes

  • Processing errors are preserved when the delivery channel closes.

    10.0.3release notes

  • Robust types are preserved through await and async with.

    10.0.2release notes

  • Makes AbstractQueueIterator.__aenter__ an async method.

    10.0.2release notes

  • Annotates Exchange.publish() with the values it actually returns.

    10.0.2release notes

  • Declares ready() on AbstractRobustChannel so the method is represented in the channel's types.

    10.0.2release notes

  • The return type now uses TypeVar, improving the typing of connect.

    10.0.1release notes

  • The return type now uses TypeVar, improving the typing of connect_robust.

    10.0.1release notes

aio-pika 97 changes

Breaking changes 4

Deprecations 1

  • Accessing this attribute prints a deprecation warning.

    9.0.0release notes

Behavior and default changes 1

  • Calls to log.exception are split into error and debug log calls, changing the library's log output.

    9.6.0release notes

Tooling 1

  • Built distributions now include the license file.

    9.6.2release notes