Releases: adafruit/Adafruit_CircuitPython_MiniMQTT
5.0.0 - BREAKING - ESP32S2 (Native Networking) and CPython
- Adds compatibility and examples for ESP32-S2 and "Native Networking"
- Adds compatibility and examples for usage with CPython
- NOTE: CPython SSL Sockets are not currently supported. They will be supported in a subsequent release. SSL sockets have different behavior from regular CPython sockets (https://docs.python.org/3/library/ssl.html#notes-on-non-blocking-sockets)
- Provides backwards-compatible "legacy" support for ESP32SPI, Ethernet socket interface.
- Removes dependency for Adafruit_CircuitPython_Logging to be installed, a logger may be passed into a MQTT object.
- Adds a
username_pw_set
method to dynamically set username and password outside of client initialization. - Reorganizes examples into folders, categorized by network interface
connect()
may now accept a keepalive timeloop()
may now accept atimeout
in seconds.
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.1.0 - Stability fixes
This release:
- #55 Fixes #54
- #55 Fixes handling of PINGRESP command messages.
- #55 Fixes logic within
disconnect()
- #55 Fixes socket size receive issues.
Thanks @flavio-fernandes for the contribution to this 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.
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.