Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

January 29th Release

Compare
Choose a tag to compare
@mattmazzola mattmazzola released this 29 Jan 21:47
· 54 commits to master since this release
2fe88a7

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. Either logic or render or both.
    Previously if you didn't provide a render function internally we used a default which simply rendered the result of the logic function.
    Now if your logic function returns a result you MUST define a render 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.