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.

Unreleased

Added

Changed

Deprecated

Removed

Fixed

Security

0.6.0 - 2019-04-19

Added

Changed

Fixed

0.5.4 - 2019-04-11

Added

Fixed

  • Removed ‘/usr/local/etc/assistant/assistant.json’ as a default path for AssistantConfig. This was added erroneously in version 0.5.3.

0.5.3 - 2019-04-11

Added

  • New module snipskit.services with functions to check the versions of Snips services, whether a Snips service is installed or running and what the model version of Snips NLU is.

Fixed

  • Added ‘/usr/local/etc/assistant/assistant.json’ as a default path for AssistantConfig. This was meant to fix a bug reported in issue #4.

0.5.2 - 2019-04-09

Added

0.5.1 - 2019-04-09

Fixed

  • Example code in documentation fixed to use the new callback signature for methods of MQTTSnipsComponent.
  • PyPi package was built incorrectly.

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 to snipskit.mqtt submodules.
  • Breaking change: Class SnipsConfig uses the new class MQTTConfig 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 the snipskit.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. Drop SnipsAppMixin.get_assistant() method, add constructor.

0.2.0 - 2019-03-17

Added

  • Changelog.
  • Examples in documentation.

Changed

  • Breaking change: Divided snipskit.decorators module into two submodules: snipskit.decorators.hermes and snipskit.decorators.mqtt.

Fixed

  • Cleaned up API documentation.

0.1.0 - 2019-03-16

Added

  • This is the first version with a ‘semi-stable’ API.