This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
Release 1.4.2019
This is the last WAW version which supports python 2.7.
New Features
- Support for cloud functions was added for deployment and testing
- WAW now supports pattern entities and contextual entities (csv to json direction only)
- We employ
logging
module for logging - Using workspace_addjson.py script you are now able to add custom json structures to specified location in the workspace json
- It is now possible to deploy workspace by its name (by setting
workspace_name_unique
to true) - Dialog testing script now outputs
junit.xml
file with test results - requirements.txt and requirements_dev.txt were added to simplify installation process
- Sample configuration file was split into three: common.cfg (common project settings), private.cfg (filled-in template contains credentials, not to be pushed) and builg.cfg (settings specific for concrete build environment, usually not to be pushed). These are just proposal split, not mandatory.
WAW xml format
- Following node tags were added into WAW xml format
disabled
,metadata
,type
,digress_in
,digress_out
anddigress_out_slots
tags event_name
tag was added for handlersresult_variable
tag was added for actions- Nodes have new attribute
title
- In
goto
structure, there is a new tagbehavior
defaulting tojump_to
- It is possible to add
scope
attribute to most of the nodes. Scope can be used for creating customized dialogs from a default one. - Output structure was updated accordingly to WA changes to contain
generic
tag
T2Cformat
- T2C format now supports folders in a form of an extra channel
- Options (buttons) in T2C are translated to a format which is understood by clientv2 (it is not yet compliant with response types)
- Foldables are supported by T2C. Foldables are texts present in a short and a long form. If client supports their rendering (clentv2 does), user can switch between these two forms by clicking on the text.
Bug fixes
- It is now possible to load intents from multiple folders
- Duplicated entities and empty synonyms are handled correctly without raising an error
- WAW now exports boolean type values into json as booleans, not as strings
- Conversion of null values, empty values and more complicated structures from json to xml and back again was fixed to result in the json same as original
- T2C was fixed to create nodes correctly (#41)
- One can now write HTML in T2C or escaped html to WAW xml and it gets rendered properly by the client
- Reverse order of imported nodes was fixed and nodes are imported to a specified position, not at the end of a node list
- String formatting issues were fixed
WAW CI
- Nightly builds are set up for
devel
andmaster
branches - Fork PR builds are enabled
- Artifactory cleanup takes place on each run
- CI scripts were rewritten to
pytest
- Unit testing is enabled for scripts and will be part of all future features
flake8
tests are now part of the CI process, their results are just informative- Python 3.6 was added to CI in
allow_failures
mode - Check for back and forth conversion (json2xml + xml2json) was added to CI
Internal
- Representation of T2C data now employs objective programming
getFilesAtPath
function now supports pattern matching- Code was modernized to get ready for Python 3 and an
absolute_import
was added
Documentation
Following documentation was added
- Intents and entities format documentation
- Documentation for localization
- Documentation for logging