[4.5.0] - 2019-07-10
Speech changes in Web Chat 4.5
This is a breaking change on behavior expectations regarding speech in Web Chat.
In issue #2022, it was brought to the Web Chat team's attention that the speech behavior of v3 and v4 of Web Chat do not match. In the 4.5 release, the expected behavior of a speech bot has been modified in order to bring parity to v3 behavior regarding input hint. This means the following:
- Expecting input will now be respected by Web Chat and open the microphone during a speech conversation. This is assuming that the user has given permission for the browser to use the mic.
- Accepting input will no longer open the mic after the bot has responded to a speech activity from the user. Instead, the user will have to press the microphone button again in order to further interact with the bot.
- Ignoring input will continue to not open the mic after a speech activity has been sent from the bot.
Added
*
: Addedeslint
to static code analysis, by @compulim, in PR #1970- Added pt-PT language, by @bodyzatva in PR #2005 and PR #2020
- Added documentation for using Web Chat dev build, by @corinagum, in PR #2074
- Added the Web Chat version to DirectLine's botAgent option, by @tdurnford, in PR #2101
- Added
richCardWrapTitle
todefaultStyleOptions
, by @tdurnford, in PR #2115 - Added test harness for speech recognition and synthesis for #2122, by @compulim, in PR #2153
Changed
*
: Bumps to[email protected]
, by @corinagum, in PR #1989*
: Bumps to:[email protected]
,[email protected]
,[email protected]
, by @corinagum, in PR #1965
bundle
: Bumps to[email protected]
, by @corinagum, in PR #2064
Fixed
- Fix #1974. Update
/docs/
folder to/media/
and delete unused images, by @corinagum in PR #1975 - Fix #1980. Changed
sendBoxTextArea
styles to break words longer than thetextarea
, by @tdurnford in PR #1986 - Fix #1969. Move
styleSet
s related to Adaptive Cards to full bundle, by @corinagum in PR #1987 - Fix #1429. Changed Markdown-It options to render newline characters correctly, by @tdurnford in PR #1988
- Fix #1736. Fixed only first activity in a batch is spoken, by @compulim in PR #2016
- Fix #2008. Fixed playground due to recent eslint changes, by @compulim in PR #2009
- Fix #1876. Accessibility fixes on Web Chat transcript, by @corinagum in PR #2018
- Fix #1829. Fixed long text not being synthesized by Cognitive Services by bumping to
[email protected]
, by @compulim in PR #2035 - Fix #1982. Move to prettier! by @corinagum in PR #2038
- Fix #1429. Added Markdown string preprocessing so the renderer will respect CRLF carriage returns (\r\n), by @tdurnford in PR #2055
- Fix #2057. Added
sip:
protocol to sanitize HTML options, by @tdurnford in PR #2061 - Fix #2062. Fixed Markdown rendering issue in cards, by @tdurnford in PR #2063
- Fix #1896. Added data schema to render base64 images, by @denscollo in PR#2067
- Fix #2068. Fixed Adaptive Cards validate and rich card speak issues, by @tdurnford in PR #2075
- Fix #1966. Update Localization files for es-ES, ja-JP, zh-HANS, zh-HANT, zh-YUE, by @corinagum in PR #2077
- Fix #2078. Update Localization files for tr-TR by @vefacaglar
- Fix #2069. Fixed Markdown renderer issue in playground, by @tdurnford in PR#2073
- Fix #1971. Fix mobile UX of Sendbox, SendButton, and SuggestedAction focus, by @corinagum in PR #2087
- Fix #1627. Fixed timestamps randomly stopped from updating, by @compulim in PR #2090
- Fix #2001. Strip Markdown from ARIA labels, so screen readers do not speak Markdown in text, by @corinagum in PR #2096
- Fix #1926. Fixed scroll stickiness issue when submitting an Adaptive Card form with suggested actions opened, by @compulim in PR #2107
- Fix #2110. Fixed sendBox input/textarea background color issue, by @tdurnford in PR #2111
- Fix #2104. Remove deprecated
/master/webchat**.js
links from samples, by @corinagum in PR #2105 - Fix #1863. Remove title, subtitle, and text of cards from being spoken by @corinagum in PR #2118
- Fix #2134. Added
azure-pipelines.yml
for embed package, by @compulim in PR #2135 - Fix #2106. Fix
AdaptiveCardHostConfig
warning associated with theCommonCard
component, by @tdurnford in PR #2108 - Fix #1872. Fixed
observeOnce
to unsubscribe properly, by @compulim in PR #2140 - Fix #2022. Fixed
"expectingInput"
ininputHint
is not respected, by @compulim and @corinagum in PR #2149 and PR #2166
Samples
*
: Single sign-on for enterprise apps, by @compulim in #2002*
: Upload to Azure Storage, by @compulim in #2127*
: Speech UI demo. Reconfigured to use Cognitive Services properly, by @compulim in PR #2132*
: Single sign-on for Intranet apps, by @compulim in #2144