5.0.0
And that's a big one 🍾 ! The 5.0.0 version represents a more robust and future proof approach.
Currently available skills will be updated soon.
Breaking changes
This version has several breaking changes documented here so if you use the library, you may have some modifications to do. If you still can't find how to migrate, feel free to open an issue.
Here is a quick summary of changes.
Code organization
Everything has been moved to a more domain centric approach, some core refactoring has made tests easier and isolated.
Utilities files have been splitted.
Command Line Utility
- Looks for a configuration file
pytlas.ini
in the current working directory by default - Default skills directory is the current working directory (was
/skills
)
Settings handling
See https://pytlas.readthedocs.io/en/develop/migrating.html#access-to-settings
Testing
pytlas.testing.mock.ModelMock.get_call
defaut to the last call (was the first one)
New features
SnipsInterpreter
now automatically download needed resources at runtimeSkillsManager
does not allow to install a skill for an incompatible pytlas version (by looking at the skillrequirements.txt
), you should now usepytlas~=5.0
.
Chore
- ⬆️ transitions 0.6.9 -> 0.7.0
- ⬆️ fuzzywuzzy 0.16.9 -> 0.17.0
- ⬆️ colorlog 3.1.4 -> 4.0.2
- ⬆️ pychatl 1.2.7 -> 2.0.1
- ⬆️ python-dateutil 2.7.3 -> 2.8.0
- ⬆️ Babel 2.6.0 -> 2.7.0
- ⬆️ Markdown 3.0.1 -> 3.1.1
- ⬆️ beautifusoup4 4.6.3 -> 4.8.0
- ⬆️ snips-nlu 0.19.7 -> 0.20.0