Fedora-messaging

Latest version: v3.6.0

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

Scan your dependencies

Page 1 of 5

3.6.0

Features

- Add `api.twisted_publish()`, a function to publish messages from within a consumer callback (remember to use `twisted.internet.threads.blockingCallFromThread()` when calling it, or `reactor.callFromThread()`)
- Add a `summary` property to `ValidationError` exceptions

Bug Fixes

- Add missing dependency on `requests` (PR 365)
- Don't respect the configured `topic_prefix` when replaying messages

Documentation Improvements

- Add the maubot-fedora-messages schema package (4b3c8d0)

Development Changes

- Integrate diff-cover in the testing workflow
- Switch to ruff instead of flake8 + isort + bandit

Other Changes

- Drop the dependency on pytz
- Get rid of `pkg_resources`

Contributors

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

- Vidit Maheshwari
- Aurélien Bompard
- Matej Focko

3.5.0

Features

- Add a replay command (332)
- Add support Python 3.11 and 3.12, drop support for Python 3.6 and 3.7
- Better protection against invalid bodies breaking the headers generation and the instanciation of a message
- Testing framework: make the sent messages available in the context manager

Documentation Improvements

- Add SECURITY.md for project security policy
(PR 314)
- Add fedora-messaging-git-hook-messages to the known schema packages

Development Changes

- Make the tests use the pytest fixtures and assert system
([961b82d](https://github.com/fedora-infra/fedora-messaging/commit/961b82d))
- Make fedora-messaging use poetry (294)
- Add some generic pre-commit checks
- Don't distribute the tests in the wheel

Contributors

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

- Aurélien Bompard
- Thibaut Batale
- Khaled Achech
- Lenka Segura
- Ryan Lerch

3.4.1

Bug Fixes

- Fix CI
([0f2e39c](https://github.com/fedora-infra/fedora-messaging/commit/0f2e39c))

3.4.0

Features

- Mirror the message priority in the headers
([eba336b](https://github.com/fedora-infra/fedora-messaging/commit/eba336b))

3.3.0

Features

- Add support for asyncio-based callbacks in the consumer. As a consequence,
the Twisted reactor used by the CLI is now `asyncio`.
(PR 282)

Documentation Improvements

- Improve documentation layout, and add some documentation on the message
schemas.
([1fa8998](https://github.com/fedora-infra/fedora-messaging/commit/1fa8998))
- Add koji-fedoramessaging-messages to the list of known schemas.
([ef12fa2](https://github.com/fedora-infra/fedora-messaging/commit/ef12fa2))

Development Changes

- Update pre-commit linters.
([0efdde1](https://github.com/fedora-infra/fedora-messaging/commit/0efdde1))

3.2.0

Features

- Add a priority property to messages, and a default priority in the
configuration
(PR 275)
- Add a message schema attribute and some documentation to help deprecate and
upgrade message schemas
(227)

Other Changes

- Use tomllib from the standard library on Python 3.11 and above,
fallback to tomli otherwise.
(PR 274)

Contributors

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

- Akashdeep Dhar
- Aurélien Bompard
- Erol Keskin
- Miro Hrončok
- Stephen Coady

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.