Features
- Add a
max_redeliveriessetting (default 10) that halts the consumer when the same message keeps being redelivered, instead of letting it loop forever on a message it can never finish
Bug Fixes
- Raise
ConnectionExceptionon the connection-close reasons pika 1.5 reports when publishing, such as a heartbeat timeout or an oversized message - Report a failure to resume consuming after the broker closes the channel, instead of silently hanging
Development Changes
- Close declaration channels through one shared context manager
- Keep
DEFAULTS,ConfigTypeand the configuration reference in step with a test - Point the pika intersphinx inventory at its new home on GitHub Pages, so the docs build again
- Stop leaking a started Twisted service and its reactor shutdown trigger out of the test suite
- Test
FedoraMessagingProtocolV2.halt()directly, instead of relying on it running at reactor shutdown - The
types-pikastubs are no longer used: pika 1.5 ships its own type annotations
Other Changes
- Exercise the pika version floor in CI with a new
pika-oldestenvironment - Name the CLI exit codes, and document the three that were missing from the reference
- Support pika 1.5.0
Contributors
Many thanks to the contributors of bug reports, pull requests, and pull request reviews for this release:
- Aurélien Bompard
- Akashdeep Dhar
- Stephen Gallagher