Changelog¶
All notable changes to the SnipsKit project are documented in this file.
The format is based on Keep a Changelog, and this project adheres to the Semantic Versioning specification with major, minor and patch version.
Given a version number MAJOR.MINOR.PATCH, this project increments the:
- MAJOR version when incompatible API changes are made;
- MINOR version when functionality is added in a backwards-compatible manner;
- PATCH version when backwards-compatible bug fixes are made.
Warning
Note that major version zero (0.y.z) is for initial development. Anything may change at any time. The public API should not be considered stable. Before SnipsKit reaches version 1.0.0, the API does not adhere to the above specification, but the minor version is incremented when incompatible API changes are made.
0.5.0 - 2019-04-08¶
Added¶
- Example code and documentation about accessing the app’s configuration, the assistant’s configuration and the configuration of Snips.
- Method
MQTTSnipsComponent.publish()
to publish a payload, optionally encoded as JSON.
Changed¶
- Breaking change: The callback signature for methods of
MQTTSnipsComponent
has changed to (self, topic, payload). - Breaking change: the decorator
snipskit.mqtt.decorators.topic()
now has an optional argument ‘json_decode’ to decode a JSON payload to a dict, which is True by default.
0.4.0 - 2019-03-25¶
Added¶
- Support for Python 3.7.
- Extra documentation about installation and usage.
Changed¶
- Breaking change: Moved all Hermes Python-related classes to
snipskit.hermes
submodules and all MQTT-related classes tosnipskit.mqtt
submodules. - Breaking change: Class
SnipsConfig
uses the new classMQTTConfig
for its MQTT connection settings so it doesn’t depend on Hermes Python. - Breaking change: Use pip install snipskit[hermes] to install the Hermes Python dependency, and pip install snipskit[mqtt] to install the Paho MQTT dependency. This way you can use the
snipskit.hermes
module without pulling in the Paho MQTT dependency, or thesnipskit.mqtt
module without pulling in the Hermes Python dependency.
0.3.0 - 2019-03-22¶
Added¶
- Extra documentation about installation and usage.
- Example code in directory examples.
- Script scripts/check_examples.sh to check example code with pylint.
Changed¶
- Breaking change: Refactored
SnipsAppMixin
. DropSnipsAppMixin.get_assistant()
method, add constructor.