Skip to content

Releases: adafruit/Adafruit_CircuitPython_MiniMQTT

4.0.2: Update example, minimqtt_pub_sub_pyportal.py

20 Jan 15:55
eb6c942
Compare
Choose a tag to compare

This release:

  • #56 Updatesminimqtt_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

23 Sep 21:11
921346c
Compare
Choose a tag to compare

This release:

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

06 Aug 14:36
f4233d0
Compare
Choose a tag to compare

This release:

  • #46 Removed deprecated loop_forever method in favor of loop 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

28 Jul 17:25
237373f
Compare
Choose a tag to compare
  • #39 Modified will_set to mimic expected paho_mqtt behavior. 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.

Updated API documentation

21 Jul 13:17
1adb75d
Compare
Choose a tag to compare

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

09 Jul 21:05
Compare
Choose a tag to compare

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

03 Jul 14:16
eb07565
Compare
Choose a tag to compare

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

22 Jun 15:06
6ed8b95
Compare
Choose a tag to compare

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

08 Jun 19:07
4f01403
Compare
Choose a tag to compare

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

04 Jun 20:01
c546f2e
Compare
Choose a tag to compare

This release adds:

  • BREAKING: last_will method renamed to will_set to mirror Paho-MQTT.
    • message kwarg changed to payload
  • 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.