Fedora-messaging

Latest version: v3.5.0

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

Scan your dependencies

Page 4 of 5

1.5.0

Dependency Changes

- Replace the dependency on `pytoml` with `toml`
([\132](https://github.com/fedora-infra/fedora-messaging/issues/132)).

Features

- Support passive declarations for locked-down brokers
([\136](https://github.com/fedora-infra/fedora-messaging/issues/136)).

Bug Fixes

- Fix a bug in the sample schema pachage
([\135](https://github.com/fedora-infra/fedora-messaging/issues/135)).

Development Changes

- Switch to Mergify v2
([\136](https://github.com/fedora-infra/fedora-messaging/pull/129)).

Contributors

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

- Aurélien Bompard
- Jeremy Cline
- Michal Konečný
- Shraddha Agrawal

1.3.0

API Changes

- The `Message._body` attribute is renamed to `body`, and is now
part of the public API ([PR\119](https://github.com/fedora-infra/fedora-messaging/pull/119)).

Contributors

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

- Aurélien Bompard
- Jeremy Cline

1.2.0

Features

- The `fedora_messaging.api.consume` API now accepts a "queues"
keyword which specifies the queues to declare and consume from, and
the "fedora-messaging" CLI makes use of this
([PR\107](https://github.com/fedora-infra/fedora-messaging/pull/107))
- Utilities were added in the :py`schema_utils` module to help write
the Python API of your message schemas
([PR\108](https://github.com/fedora-infra/fedora-messaging/pull/108))
- No long require "--exchange", "--queue-name", and "--routing-key" to
all be specified when using "fedora-messaging consume". If one is
not supplied, a default is chosen. These defaults are documented in
the command's manual page
([PR\117](https://github.com/fedora-infra/fedora-messaging/pull/117))

Bug Fixes

- Fix the "consumer" setting in config.toml.example to point to a real
Python path
([PR\104](https://github.com/fedora-infra/fedora-messaging/pull/104))
- fedora-messaging consume now actually uses the --queue-name and
--routing-key parameter provided to it, and --routing-key can now be
specified multiple times as was documented
([PR\105](https://github.com/fedora-infra/fedora-messaging/pull/105))
- Fix the equality check on `fedora_messaging.message.Message` objects
to exclude the 'sent-at' header
([PR\109](https://github.com/fedora-infra/fedora-messaging/pull/109))
- Documentation for consumers indicated any callable object was
acceptable to use as a callback as long as it accepted a single
positional argument (the message). However, the implementation
required that the callable be a function or a class, which it then
instantiated. This has been fixed and you may now use any callable
object, such as a method or an instance of a class that implements
`__call__`
([PR\110](https://github.com/fedora-infra/fedora-messaging/pull/110))
- Fix an issue where the fedora-messaging CLI would only log if a
configuration file was explicitly supplied
([PR\113](https://github.com/fedora-infra/fedora-messaging/pull/113))

Contributors

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

- Aurélien Bompard
- Jeremy Cline
- Sebastian Wojciechowski
- Tomas Tomecek

1.1.0

Features

- Initial work on a serialization format for `fedora_messaging.message.Message` and APIs for loading and storing messages. This is intended to make it easy to record and replay messages for testing purposes ([\84](https://github.com/fedora-infra/fedora-messaging/issues/84)).
- Add a module, `fedora_messaging.testing`, to add useful test helpers. Check out the module documentation for details\ ([\100](https://github.com/fedora-infra/fedora-messaging/issues/100))

Contributors

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

- Jeremy Cline
- Sebastian Wojciechowski

1.0.1

Bug Fixes

* Fix a compatibility issue in Twisted between pika 0.12 and 1.0 ([97](https://github.com/fedora-infra/fedora-messaging/issues/97))

1.0.0

API Changes

- The unused `exchange` parameter from the PublisherSession was
removed
([PR\56](https://github.com/fedora-infra/fedora-messaging/pull/56))
- The `setupRead` API in the Twisted protocol has been removed and
replaced with `consume` and `cancel` APIs which allow for multiple
consumers with multiple callbacks
([PR\72](https://github.com/fedora-infra/fedora-messaging/pull/72))
- The name of the entry point is now used to identify the message type
([PR\89](https://github.com/fedora-infra/fedora-messaging/pull/89))

Features

- Ensure proper TLS client cert checking with `service_identity`
([PR\51](https://github.com/fedora-infra/fedora-messaging/pull/51))
- Support Python 3.7
([PR\53](https://github.com/fedora-infra/fedora-messaging/pull/53))
- Compatibility with [Click](https://click.palletsprojects.com/) 7.x
([PR\86](https://github.com/fedora-infra/fedora-messaging/pull/86))
- The complete set of valid severity levels is now available at
`fedora_messaging.api.SEVERITIES`
([PR\60](https://github.com/fedora-infra/fedora-messaging/pull/60))
- A `queue` attribute is present on received messages with the name of
the queue it arrived on
([PR\65](https://github.com/fedora-infra/fedora-messaging/pull/65))
- The wire format of fedora-messaging is now documented
([PR\88](https://github.com/fedora-infra/fedora-messaging/pull/88))

Development Changes

- Use [towncrier](https://github.com/hawkowl/towncrier) to generate
the release notes
([PR\67](https://github.com/fedora-infra/fedora-messaging/pull/67))
- Check that our dependencies have Free licenses
([PR\68](https://github.com/fedora-infra/fedora-messaging/pull/68))
- Test coverage is now at 97%.

Other Changes

- The library is available in Fedora as `fedora-messaging`.

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.