Releases: adafruit/Adafruit_CircuitPython_MiniMQTT
4.0.2: Update example, minimqtt_pub_sub_pyportal.py
This release:
- #56 Updates
minimqtt_pub_sub_pyportal.py
example for use with Adafruit CircuitPython PyPortal v5.0.0 refactor.
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.
4.0.1 - Add dependency, Adafruit Logging
This release:
- #49 Adds Adafruit_Logging as a dependency, thanks @askpatrickw
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.
Deprecate loop_forever, consolidate fixed_header
This release:
- #46 Removed deprecated
loop_forever
method in favor ofloop
and allowing user-code to manage the network interface. - #46 Consolidates
fixed_header
packet initialization to one-line.
Thanks @2bndy5!
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.
Last-Will compatible with Paho_MQTT Python
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.
Updated API documentation
This release:
- #44 Fixes API documentation rendering, code example in documentation.
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.
3.2.1 - Fixed discord invite link
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.
Publish large payloads
This release:
- #42 Allows publishing for payloads larger than 127 bytes to a MQTT broker.
- Adds a more verbose error for publishing with a QoS of 2 (unsupported by this client library).
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.
Update examples
This release:
- #41 Fixes library file inclusion path in code examples.
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.
Topic-specific callback methods
This release adds:
add_topic_callback
method: Registers a callback_method for a specific MQTT topic.remove_topic_callback
method: Removes a registered callback method
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.
BREAKING CHANGE: Updated Last Will and Testament
This release adds:
- BREAKING:
last_will
method renamed towill_set
to mirror Paho-MQTT.message
kwarg changed topayload
- LWT properties set in init instead of directly calling
will_set
- #36 Updates to the
will_set
method to correctly set payload data as bytes.
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.