Releases: adafruit/Adafruit_CircuitPython_MiniMQTT
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.
7.3.1 - Backoff Test and SUBACK Fix
This release contains a new automated test to validate the backoff functionality and a fix for SUBACK messages. 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.0 TLS On Any Port
This release adds a new argument is_ssl
that can be used to enable or disable ssl connection for any port. Also removed an unused internal function. 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.