You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
⚠️ Breaking changes
Requires Python 3.12 or newer (tested on 3.12, 3.13, 3.14)
reconnect_retries now defaults to unlimited (-1) instead of 1
reconnect_retries / reconnect_delay reject None and negative values
✨ Highlights
Pydantic models for message payloads: type a handler parameter with a model to receive parsed messages, and publish models directly (#51). See the docs
@mqtt.on_payload_error() to handle invalid payloads
mqtt_shutdown(reason_code=...) for MQTT 5.0 disconnect reason codes (#95)
Handlers and topics registered after connecting now work right away (#98)
Fixed optimistic_acknowledgement=False being ignored, and installing with Poetry (#96)