All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
-
Github action for continuous integration.
The workflow installs Python dependencies, run tests and lint with a single version of Python For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
-
connect to multiple MQTT servers
Added support for connecting to multiple MQTT servers. For more information, follow this link
-
Function enhancement for
unsubscribe_all()
-
Fixed topic population in subscribe() for tuple/list type topics
-
Mqtt.init_app(self, app: Flask, ···)
now assignsapp
toself.app
if this one is None. -
Dependabot updates
- #43 Remove reconnect for publish function. If you want to reconnect to server check the return value for MQTT_ERR_NO_CONN and call reconnect function.
- drop support for Python 2.7 and Python <= 3.5
- use type-annotations and variable type annotations
- include mypy type check in travis ci
- optional support for async mqtt loop
- include Python 3.7 and 3.8 in ci
- do not install typing when using Python >= 3.5 [cekk]
- omit verbose logging messages
- fix issue #40. One can now use the @mqtt decorators before calling
mqtt.init_app()
- fix problems with continuous integration on Travis CI
- complete coverage with type annotations
- add logging
- update Pipfile and add requirements.txt
- add limitation hint in the documentation and readme
- nothing special
- Establish Flake8 conformity
- add websockets support
- fix bug with qos subscriptions
- add
on_connect
andon_disconnect
decorators
- add last will to be published on client disconnect
- add
on_publish
,on_subscribe
andon_unsubscribe
decorator
- 100% test coverage
- bugfix: make flask application object at initialization optional again
- proper disconnecting on mqtt._disconnect
- Flask-MQTT now supports Python 2.7
- fixed unsupported type annotations for older Python 3 versions
- documentation improvements
- support Python 3 versions < 3.6 by installing typing package
- automatic reconnect
- instant auto-refresh
- set keepalive time in seconds
- logging decorator
- add SSL/TLS support