January 29th Release
Release Notes
This release contains two breaking changes and other minor bug fixes. Now you can start the UI and Bot with a single command.
Breaking Changes
-
Changes to how the interface is served.
Previously you needed to run a separate command:npm run ui
to serve / start the interface.
Now, the UI is now included with your Bot at the path/ui
! This reduces and extra setup step and aligns us more closely with normal BotFramework bots that only have 1 command to start and have everything under a single URL.CONVERSATION_LEARNER_UI_PORT
is no longer used. You may remove it from your.env
file if you used it.- We added an example
index.html
to serve as homepage for the sample bot.
-
Changes to API callbacks.
API callbacks only required you do define one of the functions. Eitherlogic
orrender
or both.
Previously if you didn't provide arender
function internally we used a default which simply rendered the result of the logic function.
Now if yourlogic
function returns a result you MUST define arender
function.
This helps educate users on how to write API callbacks and helps prevent a bug with returning activity-like objects and having them rendered by default.