Skip to content

First Release: 0.4.3

Compare
Choose a tag to compare
@billba billba released this 12 Jan 23:10
· 1576 commits to master since this release

In this, the first actual release of WebChat, you get:

  • an npm package: botframework-webchat
  • ... and the associated ability to use unpkg as a CDN, e.g. <script src="https://unpkg.com/botframework-webchat/botchat.js">
  • compiling the production botchat.js file now includes the production versions of React and Redux
  • compiled files are no longer included in the repo. Please clone the repo and build, or else get the compiled files from the npm package directly or via the CDN as described above.
  • beta WebSocket support. This is disabled by default, but you can set webSocket: true to your DirectLineOptions when creating a Chat, or if you're using the supplied samples/index.html just add &webSocket=true to the URL
  • significantly improved performance. Scales nicely to hundreds of messages. Haven't tried thousands but we're cautiously optimistic.
  • simpler invocation: previously when creating a BotChat you needed to create and pass in a DirectLine object. Now you can alternately just pass directLine: DirectLineOptions and Chat will create and manage its own DirectLine object.
  • automatic connection to bot: if you did create your own DirectLine object outside of Chat, you needed to wait until Chat was connected to the bot before accessing postActivity or activity$. Now the first use of either of those will connect to the bot.
  • links in Markdown now open a new browser tab
  • autoscroll should be reliable with the exception of videos that autoplay. They ruin everything.
  • locale support for German, Russian, and Polish

... and many other bug fixes!