• Pl chevron_right

      Mathieu Pasquet: slixmpp v1.16.0

      news.movim.eu / PlanetJabber • 3 hours ago • 1 minute

    Here is a new version for slixmpp, the python XMPP library.

    This release has one specific breaking change and two new XEP plugins. Thanks to everyone involved!

    Breaking changes

    The get_certs method on XEP_0257 is now an async function, which breaks compatibility with previous usages.

    New plugins

    Other improvements

    • MUC ( XEP-0045 ) and PubSub ( XEP-0060 ): items can now be retreived as a collection on the parent element using the items interface.

    Fixes

    • Crash when receiving presences with invalid JIDs (as a component).
    • Wrong plugin description for Mentions ( XEP-0513 ).
    • Added a missing variable in the RPC ( XEP-0009 ) plugin, which caused a specific error handling path to always be false.

    Internal / process

    • Fill the __all__ sections for XEP plugins, for nicer library use and less linter warnings.
    • Plenty of automated fixes (extra empty lines, ; characters, unused imports…, newlines at file ends…).
    • More type hints.
    • Enabled use of prek, and toggled harsher linting in CI.
    • Explicit section in CONTRIBUTING about LLM use.
    • The XEP-0257 plugin now has more tests and docs.
    • XEP-0045 are now typed as floats and not ints.

    Links

    You can find the new release on codeberg , pypi , or the distributions that package it in a short while.

    Previous version: 1.15.0 .