Releases: adafruit/Adafruit_CircuitPython_MiniMQTT
7.5.3 - Fix Header Bytes Re-Use Issue
This release fixes an issue that caused header bytes send to the MQTT server to be re-used in a modified state unintentionally. Thank you @vladak.
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-minimqtt
.
Read the docs for info on how to use it.
7.5.2 - Fix Consistency with _wait_for_msg() Returns
This release updates the internal function _wait_for_msg()
to consistently return the packet type to match the functionality noted in the docs. Thank you @vladak.
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-minimqtt
.
Read the docs for info on how to use it.
7.5.1 - Use time.monotonic_ns() When Available
This release updates the library to use time.monotonic_ns()
when it's available to avoid the imprecision that occurs with time.monotonic()
. Thank you @vladak. User code can pass use_impercise_time=True
argument to the constructor to fallback to using time.monotonic()
.
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-minimqtt
.
Read the docs for info on how to use it.
7.5.0 - Public user_data Property
This release changes what was previously client._user_data
to be client.user_data
with no leading underscore, to denote that it is part of the intended public API for code outside of this class to access as needed. Thank you @vladak
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-minimqtt
.
Read the docs for info on how to use it.
7.4.4 - Enforce Connection in `loop()`
This release properly raises an exception if loop()
is called when the mqtt client is not connected. Thank you @vladak
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-minimqtt
.
Read the docs for info on how to use it.
7.4.3 - Removing Un-used Argument
This release removes an unused argument from the on_message handler. Thank you @vladak.
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-minimqtt
.
Read the docs for info on how to use it.
7.4.2 - Fix RTD Theme Issue
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-minimqtt
.
Read the docs for info on how to use it.
7.4.1 - Added test code
Added test code for basic loop()
functionality. Thanks @vladak!
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-minimqtt
.
Read the docs for info on how to use it.
7.4.0 - Loop Timeout Improvement
This release has changed the timeout behavior on loop()
function to behave more as expected. Thank you @vladak!
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-minimqtt
.
Read the docs for info on how to use it.
7.3.2 - Typing Information
This release contains typing information for function arguments and returns. Thank you @vladak!
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-minimqtt
.
Read the docs for info on how to use it.