History¶
0.4.0 (2026-12-05)¶
- Requires SPADE 4.2 (Python 3.11 to 3.14).
- Fix publishing: the text payload was sent with a duplicated
xmlns, so the server could not parse it and the request timed out. An XML element payload is now sent as it is. - Fix
get_node_subscriptions: it asked for the agent's own subscriptions instead of the subscribers of the node (owner query). - Fix the access to the slixmpp XEP-0060 plugin (
client.plugin["xep_0060"]). - Errors are handled the same way in every operation: a server error or a timeout is logged and the operation
returns
None(or[]forget_nodes,get_itemsandget_node_subscriptions).get_itemsalways returns a list. publishreturns the ID of the item also when it is given.- The plugin hook no longer hides
AttributeErrorraised inside the agent's hooks. - Packaging with
pyproject.tomland uv (uv.lock):setup.py,setup.cfg,requirements*.txt, tox and Travis removed. The development and documentation dependencies are thedevanddocsextras. - CI with uv: lint, and tests on Linux, macOS and Windows with Python 3.11 to 3.14. Version tags are published to PyPI (Trusted Publishing).
- New documentation with MkDocs Material, published at https://spadeagents.eu/docs/spade_pubsub/ (Read the Docs
and Sphinx removed): quick start, guides, API reference and a runnable example (
examples/news.py). - Tests with PyJabber 0.5.1 (create and configure a node in one request).
- Tests: a single XMPP server per session, notifications with two agents (publish and retract), subscribers seen by the owner, XML payloads, errors, and cleanup of the nodes when a test fails.
0.3.0 (2025-07-16)¶
- Add support for slixmpp.
0.2.1 (2025-05-19)¶
- Refactor code to imitate the response format of aioxmpp.
- Improve documentation.
0.2.0 (2024-12-17)¶
- Migration to the Slixmpp library for PubSub operations.
- Refactor and fix of the previous tests.
0.1.3 (2021-06-29)¶
- Minor bug fixed.
0.1.2 (2021-06-25)¶
- First release on PyPI.