Fedora-messaging

Latest version: v3.5.0

Safety actively analyzes 613750 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 5

1.0.0b1

API Changes

- `fedora_messaging.message.Message.summary` is now a property rather than a method ([\25](https://github.com/fedora-infra/fedora-messaging/pull/25)).
- The non-functional `--amqp-url` parameter has been removed from the CLI ([\49](https://github.com/fedora-infra/fedora-messaging/pull/49)).

Features

- Configuration parsing failures now produce point to the line and column of the parsing error ([\21](https://github.com/fedora-infra/fedora-messaging/pull/21)).
- `fedora_messaging.message.Message` now come with a set of standard accessors ([\32](https://github.com/fedora-infra/fedora-messaging/pull/32)).
- Consumers can now specify whether a message should be re-queued when halting ([\44](https://github.com/fedora-infra/fedora-messaging/pull/44)).
- An example consumer that prints to standard output now ships with fedora-messaging. It can be used by running `fedora-messaging consume --callback="fedora_messaging.example:printer"` ([\40](https://github.com/fedora-infra/fedora-messaging/pull/40)).
- `fedora_messaging.message.Message` now have a `severity` associated with them ([\48](https://github.com/fedora-infra/fedora-messaging/pull/48)).

Bug Fixes

- Fix an issue where invalid or missing configuration files resulted in a traceback rather than a formatted error message from the CLI ([\21](https://github.com/fedora-infra/fedora-messaging/pull/21)).
- Client authentication with x509 now works with both the synchronous API and the Twisted API ([\29](https://github.com/fedora-infra/fedora-messaging/pull/29), [\#35](https://github.com/fedora-infra/fedora-messaging/pull/35)).
- `fedora_messaging.api.publish` no longer raises a `pika.exceptions.ChannelClosed` exception. Instead, it raises a `fedora_messaging.exceptions.ConnectionException` ([\31](https://github.com/fedora-infra/fedora-messaging/pull/31)).
- `fedora_messaging.api.consume` is now documented to raise a `ValueError` when the callback isn't callable ([\47](https://github.com/fedora-infra/fedora-messaging/pull/47)).

Development Features

- The fedora-messaging code base is now compliant with the [Black](https://github.com/ambv/black) Python formatter and this is enforced with continuous integration.
- Test coverage is moving up and to the right.

Many thanks to the contributors of bug reports, pull requests, and pull
request reviews for this release:

- Aurélien Bompard
- Clement Verna
- Ken Dreyer
- Jeremy Cline
- Miroslav Suchý
- Patrick Uiterwijk
- Sebastian Wojciechowski

Page 5 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.