Releases: atlassistant/pytlas
Releases · atlassistant/pytlas
5.1.3
5.1.2
5.1.0
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.iniin 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_calldefaut to the last call (was the first one)
New features
SnipsInterpreternow automatically download needed resources at runtimeSkillsManagerdoes 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
4.0.6
4.0.5
- ⬆️ Updated snips-nlu to 0.19.6
- ♻️ Added
include_cancel_statetobuild_scopesbecause of snipsco/snips-nlu#788
4.0.4
4.0.3
- 🐛 Removed
shell=Truein pam which prevented cloning under Linux - 🐛 Added sorting functions related to training data to ensure the same checksum will be generated (there is still an issue on my rasp I could not resolve related to this...) and prevent unneeded retraining
4.0.0
Major release since there are breaking changes on how SlotValue are represented.
- ✨ Added
pytlas.testingnamespace containing some utilities to easily unit test your skills, see the documentation for more informations - 💥
SlotValuevalue now not always returns astr. Thevalueproperty will now contains a more meaningful python representation of the slot (dateutil.relativedeltafor durations,pytlas.interpreters.slot.UnitValuefor AmountOfMoney and Temperature,floatbetween0and1for percentages,datetime.datetimefor InstantTime, tuple ofdatetime.datetimefor date range andstrfor anything else). This make the developer stuff easier when retrieving slot withrequest.intent.slot('my_slot').first().value - ♻️
SkillDatais now calledMeta