Releases: adafruit/Adafruit_CircuitPython_MiniMQTT
7.1.1 - Fixed MQTT docstring
Removed argument from docstring that no longer exists. 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.1.0 Userdata Argument for Callbacks
This release adds user_data
argument to the init function. This optional data object will be passed to the mqtt callback functions when they are called.
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.0.2 - Throw MQTTError to avoid Memory Allocation Error
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.0.1 - Fixed connecting with empty username
Fixed connecting with an empty username. Thanks @flavio-fernandes!
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.0.0 - Made MQTT() keyword-only
Made adafruit_minimqtt.adafruit_minimqtt.MQTT()
keyword only to prevent mismatching arguments. This is an API breaking change.
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.
6.0.1
What's Changed
- Issue #126 by @jinglemansweep in #127: handle messages that are a single zero byte.
This may be a temporary fix until we diagnose the problem further.
New Contributors
- @jinglemansweep made their first contribution in #127
Full Changelog: 6.0.0...6.0.1
6.0.0 - is_connected() returns only boolean
Updated is_connected()
to return True
or False
depending on connection status, and no longer raises an exception if not connected. This is an API breaking change.
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.
5.5.2 Fix Timeout Argument + Receive all Messages
This release fixes an issue that resulted in timeout
argument being effectively ignored. It also changes the loop
behavior to have callbacks for all messages in the queue rather than just the first one in the queue. Thank you @calcut
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.
5.5.1 - _wait_for_msg(): accept EAGAIN in addition to ETIMEDOUT
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.
5.5.0 - Made number of connect retries configurable
Made the number of connect retries configurable upon initialization. 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.