Releases: microsoft/BotFramework-WebChat
Releases · microsoft/BotFramework-WebChat
v0.9.1
This week's minor release contains:
- An update to DirectLineJS to correctly handle error conditions
- Latvian language support - thanks to contributor andrejs-mamontovs
- correct handling of
webSocket
anddebug
URL parameters in sample code.
v0.9.0
v0.7.1
Last Friday's release was delayed until this Wednesday, so this week's release is a small one:
- The latest version of DirectLineJS in which WebSocket is now on by default. You can revert to GET polling by specifying
webSocket: false
in the options you pass to the DirectLine constructor. Please note that WebSocket is still disabled in the official WebChat channel of the Bot Framework. - Uploading a file in Edge now works.
- Unit tests, starting with shell tests
v0.6.5
In this week's release:
- DirectLine has been extracted into its own repo/package
botchat.js
(with all dependencies bundled) is now much smaller - down from 480k to 340k minified, 104k gzipped- all button actions now supported
- YouTube and Vimeo videos now use their embedded players
- The previous sample is now the
/standalone
sample - There is now a
/backchannel
sample - There is a new optional
Chat
property calledsendTyping
. If true (defaults to false), sends a'typing'
activity to the bot whenever the user is typing and it's been > 3 seconds since one was last sent
0.5.1
We are aiming for weekly releases of WebChat. Here's what's notably new this week:
- Better behaved carousels. Now they can be as wide as you want.
- Receipt card now shows subtitle and buttons
- If your Direct Line token goes stale, your website can supply a new one.
- Fixed a bug where specified locale was ignored.
- Longer timeouts when calling Direct Line. Now your C# bot can take its time coming up with a clever response.
First Release: 0.4.3
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 suppliedsamples/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
oractivity$
. 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!