github fedora-infra/fedora-messaging v3.10.0

26 minutes ago

Features

  • Add a max_redeliveries setting (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 ConnectionException on 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, ConfigType and 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-pika stubs 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-oldest environment
  • 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

Don't miss a new fedora-messaging release

NewReleases is sending notifications on new releases.