Skip to content

Releases: wit-ai/node-wit

Node.js SDK - custom API versioning

18 May 18:42
Compare
Choose a tag to compare
  • allows for targeting a specific API version, by setting WIT_API_VERSION

Node.js SDK - API versioning + warns when validating actions

18 May 18:41
Compare
Choose a tag to compare
  • adding API versioning (defaults to 20160516)
  • warns instead of throwing when validating actions
  • fixing null values when cloning context

Node.js SDK - node-fetch, message context, sync callbacks

06 May 15:59
Compare
Choose a tag to compare
  • 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 of requests
  • the message() API takes now an optional context as second parameter

Node.js SDK - fixes

19 Apr 19:05
Compare
Choose a tag to compare
  • fixing context not updated in interactive mode
  • fixing array values in context
  • create readline interface only in interactive mode

Node.js SDK - unifying action parameters

15 Apr 19:19
Compare
Choose a tag to compare

Breaking changes:

  • the say action now takes 4 parameters: sessionId, context, message, cb
  • the error action now takes 3 parameters: sessionId, context, error

Node.js SDK - new action parameters

15 Apr 16:13
Compare
Choose a tag to compare

Breaking changes:

  • 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