Skip to content

v2.5.1 - Fix ReasonCode TypeError on MQTT disconnect

Choose a tag to compare

@pentafive pentafive released this 06 Feb 17:27

Fix

ReasonCode TypeError — paho-mqtt v2's ReasonCode object does not support direct int() cast, causing an uncaught TypeError crash on every MQTT disconnect. Now uses .value attribute to extract the integer code.

Upgrade recommended for all v2.5.0 users.

Full Changelog

See CHANGELOG.md