Skip to content

v3.0.0

Latest

Choose a tag to compare

@sabuhish sabuhish released this 17 Oct 12:23
055a2e4

⚠️ 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)