- INFO level as an alias for LOG
- allows for overriding API version, by setting
WIT_API_VERSION
- adding API versioning (defaults to
20160516
) - warns instead of throwing when validating actions
- fixing null values when cloning context
- callbacks are not called asynchronously by default, choice is left to the developer (use process.nextTick in your callback to emulate the previous behavior)
- using
node-fetch
instead ofrequests
- the
message()
API takes now an optional context as second parameter
- fixing context not updated in interactive mode
- fixing array values in context
- create readline interface only in interactive mode
Unifying action parameters.
- the
say
action now takes 4 parameters:sessionId
,context
,message
,cb
- the
error
action now takes 3 parameters:sessionId
,context
,error
Updating action parameters.
- the
merge
action now takes 5 parameters:sessionId
,context
,entities
,message
,cb
- the
error
action now takes the context as second parameter - custom actions now take 3 parameters:
sessionId
,context
,cb
Bot Engine integration
- the library now provides a Wit object
captureTextIntent
has been moved toWit.message
with no token- audio not supported