All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Resolves #2753. Added support for updating an activity by the ID, by @compulim in PR #2825
- Added custom hooks -
useTimer
anduseIntervalSince
- to replace the headlessTimer
component, by @tdurnford, in PR #2771 - Resolves #2720, added customizable activity status using
activityStatusMiddleware
props, by @compulim, in PR #2788
- Fixes #2611. Fix sample 21: hooks errors, by @corinagum in PR #2740
- Fixes #2609. Fix sample 12: minimizable button is causing another reconnect on restore, by @compulim in PR #2758
- Fixes #2773. Import ES5 version of the following bundles, by @compulim in PR #2774
- Fixes the following issues and improves test reliability, by @compulim in PR #XXX
- Fixes #2612. Wait until language change
- Fixes #2653. Scroll-to-bottom check will do 5 consecutive checks to determine stickiness.
- Fixes #2691. Wait until button is shown/hid before taking screenshot
- Fixes #2737. Use
driver.wait
for conditions - Fixes #2776. Wait until button is shown/hid before taking screenshot
- Use a new timeout
fetchImage
for images
- Fixes #2780. Added the
tel
protocol to theallowedSchema
in thesanitize-html
options, by @tdurnford in PR #2787 - Fixes #2747. Moved
Timestamp
into theSendStatus
component and removed theTimestamp
style set, by @tdurnford in PR #2786 - Fixes #2647. Update the
CroppedImage
componentPropType
, by @tdurnford in PR #2795 - Fixes #2794. Fix change locale sample, by @corinagum in PR #2798
- Fixes #2510. Host hybrid-react and clear-after-idle samples, by @corinagum in PR #2798
- Fixes #2772. Updated Adaptive Cards HostConfig to include container styles, by @tdurnford in PR #2810
- Fixes #2145. Updated Adaptive Cards styles to include action styles, by @tdurnford in PR #2810
- Fixes #2459. Updated Cognitive Services Speech Services to use latest fetch credentials signature, by @compulim in PR #2740
- Fixes #1673. Configured suggested action and carousel flippers to blur on click, by @tdunford in PR #2801
- Fixes #2822. Fixed
credentials
should returnauthorizationToken
andsubscriptionKey
as string and allow empty LUIS reference grammar ID, by @compulim in PR #2824 - Fixes #2751. Move documentation to docs folder, by @corinagum in PR #2832
- Fixes #2838. Fixed
concatMiddleware
should allow any middleware to call its downstream middleware twice, by @compulim in PR #2839
- Bumped all dependencies to latest versions, by @corinagum in PR #2740
- Development dependencies
- Root package
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
- Other packages
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@types/[email protected]
@types/[email protected]
@typescript-eslint/[email protected]
@typescript-eslint/[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
- Root package
- Production dependencies
core
bundle
component
embed
- Development dependencies
- Resolves #2748, updated build scripts and CI pipeline, by @compulim, in PR #2767
component
: Bumps[email protected]
, by @tdurnford in PR #2801
- Bump samples to Web Chat 4.7.0, by @compulim in PR #2726
- Resolves #2641. Reorganize Web Chat samples, by @corinagum, in PR #2762
- Moved
core-js
from dev dependencies to dependencies inbotframework-directlinespeech-sdk
package, by @tonyanziano, in PR #2727
adaptiveCardHostConfig
is being renamed toadaptiveCardsHostConfig
- If you are using the deprecated
adaptiveCardHostConfig
, we will rename it automatically
- If you are using the deprecated
- Resolves #2539, added React hooks for customization, by @compulim, in the following PRs:
- PR #2540:
useActivities
,useReferenceGrammarID
,useSendBoxShowInterims
- PR #2541:
useStyleOptions
,useStyleSet
- PR #2542:
useLanguage
,useLocalize
,useLocalizeDate
- PR #2543:
useAdaptiveCardsHostConfig
,useAdaptiveCardsPackage
,useRenderMarkdownAsHTML
- PR #2544:
useAvatarForBot
,useAvatarForUser
- PR #2547:
useEmitTypingIndicator
,usePeformCardAction
,usePostActivity
,useSendEvent
,useSendFiles
,useSendMessage
,useSendMessageBack
,useSendPostBack
- PR #2548:
useDisabled
- PR #2549:
useSuggestedActions
- PR #2550:
useConnectivityStatus
,useGroupTimestamp
,useTimeoutForSend
,useUserID
,useUsername
- PR #2551:
useLastTypingAt
,useSendTypingIndicator
,useTypingIndicator
- PR #2552:
useFocusSendBox
,useScrollToEnd
,useSendBoxValue
,useSubmitSendBox
,useTextBoxSubmit
,useTextBoxValue
- PR #2553:
useDictateInterims
,useDictateState
,useGrammars
,useMarkActivityAsSpoken
,useMicrophoneButton
,useShouldSpeakIncomingActivity
,useStartDictate
,useStopDictate
,useVoiceSelector
,useWebSpeechPonyfill
- PR #2554:
useRenderActivity
,useRenderAttachment
- PR #2644: Added
internal/useWebChatUIContext
for cleaner code - PR #2652: Update samples to use hooks
- PR #2540:
- Bring your own Adaptive Cards package by specifying
adaptiveCardsPackage
prop, by @compulim in PR #2543 - Fixes #2597. Modify
watch
script tostart
and addtableflip
script for throwingnode_modules
, by @corinagum in PR #2598 - Adds Arabic Language Support, by @midineo, in PR #2593
- Adds
AdaptiveCardsComposer
andAdaptiveCardsContext
for composability for Adaptive Cards, by @compulim, in PR #2648 - Adds Direct Line Speech support, by @compulim in PR #2621
- Adds
[email protected]
, in PR #2704
- Adds
- Fixes #2692. Rename sample 17 to 17.a, by @corinagum in PR #2695
- Fixes #2565. Fixed Adaptive Card host config should generate from style options with default options merged, by @compulim in PR #2566
- Resolves #2337. Remove Cognitive Services Preview warning, by @corinagum in PR #2578
- Fixes #2559. De-bump remark and strip-markdown, by @corinagum in PR #2576
- Fixes #2512. Adds check to ensure Adaptive Card's content is an Object, by @tdurnford in PR #2590
- Fixes #1780, #2277, and #2285. Make Suggested Actions accessible, Fix Markdown card in carousel being read multiple times, and label widgets of Connectivity Status and Suggested Actions containers, by @corinagum in PR #2613
- Fixes #2608. Focus will return to sendbox after clicking New Messages or a Suggested Actions button, by @corinagum in PR #2628
- Resolves #2597. Modify
watch
script tostart
and addtableflip
script for throwingnode_modules
, by @corinagum in PR #2598 - Resolves #1835. Adds
suggestedActionLayout
todefaultStyleOptions
, by @spyip, in PR #2596 - Resolves #2331. Updated timer to use React Hooks, by @spyip in PR #2546
- Resolves #2620. Adds Chinese localization files, by @spyip in PR #2631
- Fixes #2639. Fix passed in prop time from string to boolean, by @corinagum in PR #2640
component
: Updated timer to use functional component, by @spyip in PR #2546- Fixes #2651. Add
ends-with
string module to es5 bundle, by @corinagum in PR #2654 - Fixes #2658. Fix rendering of markdown images in IE11, by @corinagum in PR #2659
- Fixes #2662 and #2666. Fix various issues related to Direct Line Speech, by @compulim in PR #2671
- Added triple-buffering to reduce pops/cracks.
- Enable Safari by upsampling to 48000 Hz.
- Support detailed output format on Web Chat side.
- Fixes #2700. Enable
<SayComposer>
and Adaptive Cards in recompose story, in PR #2649- Moved
<SayComposer>
from<BasicTranscript>
to<Composer>
- Moved WebSpeechPonyfill patching code from
<BasicTranscript>
to<Composer>
- Moved
- Fixes #2699. Disable speech recognition and synthesis when using Direct Line Speech under IE11, by @compulim, in PR #2649
- Fixes #2709. Reduce wasted render of activities by memoizing partial result of
<BasicTranscript>
, by @compulim in PR #2710 - Fixes #2710. Suggested actions container should persist for AT, by @corinagum in PR #2710
- Fixes #2718. Add
Object.is
polyfill for IE11, by @compulim in PR #2719 - Fixes #2723. Fix
renderMarkdown
should not be called if it isundefined
in minimal bundle, by @compulim in PR #2724
- Bumped all dependencies to latest version, by @compulim, in PR #2533 and PR #2621
- Development dependencies
- Root package
@azure/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
- Other packages
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@types/[email protected]
@types/[email protected]
@typescript-eslint/[email protected]
@typescript-eslint/[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
- Root package
- Production dependencies
core
@babel/[email protected]
[email protected]
math-random
[email protected]
[email protected]
bundle
component
embed
- Development dependencies
component
: Bumps[email protected]
, by @corinagum in PR #2523- Bumps Chrome in Docker to 78.0.3904.70, by @spyip in PR #2545
bundle
: Webpack will now usewebpack-stats-plugin
instead ofwebpack-visualizer-plugin
, by @compulim in PR #2584- This will fix #2583 by not bringing in transient dependency of React
- To view the bundle stats, browse to https://chrisbateman.github.io/webpack-visualizer/ and drop the file
/packages/bundle/dist/stats.json
- Resolves #2674. Update embed docs, by @corinagum, in PR #2696
- Clear Conversation After Idle, by @tdurnford, in PR #2375
- Smart Display, by @compulim, in PR #2649
- We will no longer include
react
andreact-dom
in our NPM package, instead, we will requires peer dependencies ofreact@^16.8.6
andreact-dom@^16.8.6
*
: Bumps all dev dependencies to latest version, by @compulim, in PR #2182 and PR #2308*
: Bumps@babel/[email protected]
, by @compulim, in PR #2182*
: Bumps Docker container for headless Chrome toselenium/standalone-chrome:3.141.59-radium
, by @compulim, in PR #2182*
: Moves frombabel-plugin-version-transform
tobabel-plugin-transform-inline-environment-variables
, by @compulim, in PR #2182*
: Bumps ESLint and related dependencies to latest version, by @compulim, in PR #2185*
: Bumps React, Redux and their related dependencies to latest version, by @compulim, in PR #2184*
: Bumpslodash-*
(https://www.npmjs.com/package/lodash), by @compulim, in PR #2199- Bumps
[email protected]
, by @compulim in PR #2246, PR #2274, and PR #2338 - Fix for React hooks constraints: both app and component must share the same reference of
react
andreact-dom
, in PR #2274/
: Installreact
andreact-dom
todevDependencies
bundle
: Movereact
andreact-dom
fromdependencies
topeerDependencies
component
: Removereact
andreact-dom
fromdevDependencies
playground
: Removereact
andreact-dom
fromdependencies
samples/*
: Move to production version of Web Chat, and bump to[email protected]
and[email protected]
- Moved the typing indicator to the send box and removed the typing indicator logic from the sagas, by @tdurnford, in PR #2321
component
: MoveComposer
to React hooks and functional components, by @compulim, in PR #2308component
: Fix #1818 Move to functional components by @corinagum, in PR #2322- Fix #2292. Added function to select voice to props,
selectVoice()
, by @compulim, in PR #2338 - Bumping dependencies, by @compulim, in PR #2500
*
:[email protected]
bundle
:[email protected]
component
:[email protected]
- Fixes #2328. Updating submitSendBoxSaga.js to send sendBoxValue.trim(), by @jimmyjames177414 in PR #2331
- Fixes #2160. Clear suggested actions after clicking on a suggested actions of type
openUrl
, by @tdurnford in PR #2190 - Fixes #1954. Estimate clock skew and adjust timestamp for outgoing activity, by @compulim in PR #2208
- Fixes #2240. Fix microphone button should be re-enabled after error, by @compulim in PR #2241
- Fixes #2250. Fix React warnings related prop types, by @compulim in PR #2253
- Fixes #2245. Fix speech synthesis not working on Safari by priming the engine on the first microphone button click, by @compulim in PR #2246
- Fixes #1514. Added reference grammar ID when using Cognitive Services Speech Services, by @compulim in PR #2246
- Fixes #1515. Added dynamic phrases when using Cognitive Services Speech Services, by @compulim in PR #2246
- Fixes #2273. Add
ScreenReaderText
component, by @corinagum in PR #2278 - Fixes #2231. Fallback to English (US) if date time formatting failed, by @compulim in PR #2286
- Fixes #2298. Speech synthesize errors to be ignored, by @compulim in PR #2300
- Fixes #2243. Fixed sagas to correctly mark activities with speaking attachments, by @tdurnford in PR #2320
- Fixes #2365. Fix Adaptive Card
pushButton
appearance on Chrome, by @corinagum in PR #2382 - Fixes #2379. Speech synthesis can be configured off by passing
null
, by @compulim in PR #2408 - Fixes #2418. Connectivity status should not waste-render every 400 ms, by @compulim in PR #2419
- Fixes #2415 and #2416. Fix receipt card rendering, by @compulim in PR #2417
- Fixes #2415 and #2416. Fix Adaptive Cards cannot be disabled on-the-fly, by @compulim in PR #2417
- Fixes #2360. Timestamp should update on language change, by @compulim in PR #2414
- Fixes #2428. Should interrupt speech synthesis after microphone button is clicked, by @compulim in PR #2429
- Fixes #2435. Fix microphone button getting stuck on voice-triggered expecting input hint without a speech synthesis engine, by @compulim in PR #2445
- Fixes #2472. Update samples to use repo's version of React, by @corinagum in PR #2478
- Fixes #2473. Fix samples 13 using wrong region for Speech Services credentials, by @compulim in PR #2482
- Fixes #2420. Fix saga error should not result in an unhandled exception, by @compulim in PR #2421
- Fixes #2513. Fix
core-js
not loading properly, by @compulim in PR #2514 - Fixes #2516. Disable microphone input for
expecting
input hint on Safari, by @compulim in PR #2517 and PR #2520 - Fixes #2518. Synthesis of bot activities with input hint expecting, should be interruptible, by @compulim in PR #2520
- Fixes #2519. On Safari, microphone should turn on after synthesis of bot activities with input hint expecting, by @compulim in PR #2520
- Fixes #2521.
webchat-es5.js
should not contains non-ES5 code and must be loadable by IE11, by @compulim in PR #2522 - Fixes #2524. Version was not burnt into source code correctly, by @compulim in PR #2525
- Resolves #2157, added
emitTypingIndicator
action and dispatcher, by @compulim, in PR #2413 - Resolves #2307. Added options to hide ScrollToEnd button, by @nt-7 in PR #2332
- Added bubble nub and style options, by @compulim, in PR #2137 and PR #2487
- Resolves #1808. Added documentation on activity types, by @corinagum in PR #2228
- Added
timestampFormat
option to the default style options and createdAbsoluteTime
component, by @tdurnford, in PR #2295 embed
: Added ES5 polyfills and dev server, by @compulim, in PR #2315- Resolves #2380. Added
botAvatarBackgroundColor
anduserAvatarBackgroundColor
to the default style options, by @tdurnford in PR #2384 - Added full screen capability to
IFRAME
in theYouTubeContent
andVimeoContent
components by @tdurnford in PR #2399 - Resolves #2461, added
isomorphic-react
andisomorphic-react-dom
packages, by @compulim and @corinagum, in PR #2478 and PR #2486 - Added missing Norwegian (nb-NO) translations, by @taarskog
- Added missing Italian (it-IT) translations, by @AntoT84
- Resolve #2481. Support alternative audio input source by adding
audioConfig
prop tocreateCognitiveServicesSpeechServicesPonyfillFactory
, by @corinagum, in PR #2491 - Added missing Finnish (fi-FI) translations, by @sk91swd, in PR #2501
- Single sign-on for Microsoft Teams apps, by @compulim in #2196
- Customize Web Chat with Reaction Buttons. Updated reaction handlers to send
messageReaction
activities, by @tdurnford in #2239 - Select voice for speech synthesis, by @compulim, in PR #2338
- Using different versions of React on a hosting app via NPM packages, by @compulim, in PR #2509
bundle
: Bumped DirectLineJS to support metadata when uploading attachments, in PR #2433[email protected]
- Removed DirectLineJS as a dev dependency for
component
because it was not referenced
- Fixes #2248. Remove download links from user-uploaded attachment without thumbnails, by @compulim in PR #2262
- Fixes Emulator:#1823. Fix Sendbox "Type your message" being read twice by AT, by @corinagum in PR #2423
- Fixes #2422. Store thumbnail URL using the activity's
attachment.thumbnailUrl
field, by @compulim in PR #2433
- Make thumbnails when uploading GIF/JPEG/PNG and store it in
channelData.attachmentThumbnails
, by @compulim, in PR #2206, requires modern browsers with following features: - Render thumbnail for image attachments using
activity.attachments[].thumbnailUrl
, by @compulim in PR #2433
- Fixes #2273. Add
ScreenReaderText
component, by @corinagum in PR #2278
- Fixes #2187. Bump core-js and update core-js modules on index-es5.js, by @corinagum in PR #2195
- Fixes #2193. Fix Adaptive Card/attachments do not get read by Narrator, by @corinagum in PR #2226
- Fixes #2150. Fix timestamps read by Narrator, by @corinagum in PR #2226
- Fixes #2250. Fix React warnings related prop types, by @compulim in PR #2253
*
: 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
*
: 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
- Fixes #1974. Update
/docs/
folder to/media/
and delete unused images, by @corinagum in PR #1975 - Fixes #1980. Changed
sendBoxTextArea
styles to break words longer than thetextarea
, by @tdurnford in PR #1986 - Fixes #1969. Move
styleSet
s related to Adaptive Cards to full bundle, by @corinagum in PR #1987 - Fixes #1429. Changed Markdown-It options to render newline characters correctly, by @tdurnford in PR #1988
- Fixes #1736. Fixed only first activity in a batch is spoken, by @compulim in PR #2016
- Fixes #2008. Fixed playground due to recent eslint changes, by @compulim in PR #2009
- Fixes #1876. Accessibility fixes on Web Chat transcript, by @corinagum in PR #2018
- Fixes #1829. Fixed long text not being synthesized by Cognitive Services by bumping to
[email protected]
, by @compulim in PR #2035 - Fixes #1982. Move to prettier! by @corinagum in PR #2038
- Fixes #1429. Added Markdown string preprocessing so the renderer will respect CRLF carriage returns (\r\n), by @tdurnford in PR #2055
- Fixes #2057. Added
sip:
protocol to sanitize HTML options, by @tdurnford in PR #2061 - Fixes #2062. Fixed Markdown rendering issue in cards, by @tdurnford in PR #2063
- Fixes #1896. Added data schema to render base64 images, by @denscollo in PR#2067
- Fixes #2068. Fixed Adaptive Cards validate and rich card speak issues, by @tdurnford in PR #2075
- Fixes #1966. Update Localization files for es-ES, ja-JP, zh-HANS, zh-HANT, zh-YUE, by @corinagum in PR #2077
- Fixes #2078. Update Localization files for tr-TR by @vefacaglar
- Fixes #2069. Fixed Markdown renderer issue in playground, by @tdurnford in PR#2073
- Fixes #1971. Fix mobile UX of Sendbox, SendButton, and SuggestedAction focus, by @corinagum in PR #2087
- Fixes #1627. Fixed timestamps randomly stopped from updating, by @compulim in PR #2090
- Fixes #2001. Strip Markdown from ARIA labels, so screen readers do not speak Markdown in text, by @corinagum in PR #2096
- Fixes #1926. Fixed scroll stickiness issue when submitting an Adaptive Card form with suggested actions opened, by @compulim in PR #2107
- Fixes #2110. Fixed sendBox input/textarea background color issue, by @tdurnford in PR #2111
- Fixes #2104. Remove deprecated
/master/webchat**.js
links from samples, by @corinagum in PR #2105 - Fixes #1863. Remove title, subtitle, and text of cards from being spoken by @corinagum in PR #2118
- Fixes #2134. Added
azure-pipelines.yml
for embed package, by @compulim in PR #2135 - Fixes #2106. Fix
AdaptiveCardHostConfig
warning associated with theCommonCard
component, by @tdurnford in PR #2108 - Fixes #1872. Fixed
observeOnce
to unsubscribe properly, by @compulim in PR #2140 - Fixes #2022. Fixed
"expectingInput"
ininputHint
is not respected, by @compulim and @corinagum in PR #2149 and PR #2166
*
: 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*
: Change locale on-the-fly, by @compulim in #2451
- Adds handling of reconnection, by @compulim, in PR #1880
- Adds embed page, by @compulim, in PR #1910, PR #1928 and PR #1938
- Deployment: Bumps to
[email protected]
, by @compulim, in PR #1897 - Deployment: Adds
charset
to content type of JavaScript files on CDN, by @compulim, in PR #1897 component
: Bumps to[email protected]
, by @corinagum and @compulim, in PR #1900 and PR #1924- Build: Bumps to
@babel/*
, by @corinagum, in PR #1918 component
: Carousel flippers on carousel layout and suggested actions will use initial cursor style, by @compulim, in PR #1924
- Fixes #1423. Added sample for hosting WebChat in Angular, by @omarsourour in PR #1813
- Fixes#1767. Remove
cursor: pointer
from buttons, by @corinagum in PR #1819 - Fixes #1774. Add
styleSetOption
to allow word break. Default tobreak-word
, by @corinagum in PR #1832 - Fixes #1847. Bump react-say, which adds babel-runtime dependency, by @corinagum in PR #1849
- Adds #1524 Add Offline UI: connecting for the first time, by @corinagum, in PR #1866
- Fixes #1768. Add style options to be able to modify all Send Box borders, by @corinagum in PR #1871
- Fixes #1827. Remove renderer for unknown activities, by @corinagum in PR #1873
- Fixes #1586. Fix theming of suggested actions buttons, by @corinagum in PR #1883
- Fixes #1837, #1643. Fix style conflicts with bootstrap and bump
memoize-one
, by @corinagum in PR #1884 - Fixes #1877. Add viewport meta tag and fix a few sample links, by @corinagum in PR #1919
- Fixes #1789. Focus send box after message is being sent, by @corinagum in PR #1915
- Fixes #1920. Added disabled property to send button, by @tdurnford in PR #1922
- Fixes #1525. Add JavaScript error Offline UI, by @corinagum in PR #1927
- Fixes #1934. Fix spacing of empty ConnectivityStatus component, by @corinagum in PR #1939
- Fixes #1943. Fix extra vertical padding in IE11 and Firefox, by @compulim in PR #1949
- Fixes #1945. QA fixes for 4.4, by @corinagum in PR #1950
- Fixes #1947. Fix scrollbar in suggested action should be hidden in Firefox, remove gaps, and use style set for customizing
react-film
, by @compulim in PR #1953 - Fixes #1948. Fixed sample 04.api/g.chat-send-history to work with Firefox and Edge, by @tdurnford in PR #1956
- Fixes #1304. Move Adaptive Cards from component to bundle, by @compulim and @corinagum in PR #1936
- Fixes #1990. Bump Adaptive Cards & fix textarea font-family from monospace to Web Chat's
primaryFont
, by @corinagum in PR #2064
- Resolves #1383. Added options to hide upload button, by @compulim in PR #1491
- Adds support of avatar image, thru
styleOptions.botAvatarImage
andstyleOptions.userAvatarImage
, in PR #1486 - Adds ability to style sendbox background and text color, thru
styleOptions.sendBoxBackground
andstyleOptions.sendBoxTextColor
, in PR #1575 core
: AddssendEvent
, in PR #1286core
: AddsCONNECT_FULFILLING
action to workaroundredux-saga
design decision, in PR #1286component
: Added missing Spanish (es-ES) by @schgressive in PR #1615- Adds missing Spanish (es-ES) by @schgressive in PR #1615
- Resolves #1602. Fix suggested actions regression of buttons, by @corinagum in PR #1616
component
: Allow font family and adaptive cards text color to be set via styleOptions, by @a-b-r-o-w-n, in PR #1670component
: Add fallback logic to browser which do not supportwindow.Intl
, by @compulim, in PR #1696*
: Addsusername
back to activity, fixed #1321, by @compulim, in PR #1682component
: Allow root component height and width customization viastyleOptions.rootHeight
andstyleOptions.rootWidth
, by @tonyanziano, in PR #1702component
: AddedcardActionMiddleware
to customize the behavior of card action, by @compulim, in PR #1704bundle
: Addwatermark
andstreamUrl
parameters to createDirectLine, by @corinagum, in PR #1817component
: Addedtextarea
option toSendBox
per issues #17 and #124, by @tdurnford, in PR #1889component
: AddedsuggestedAction
images per issue #1739, by @tdurnford, in PR #1909
- Bumps
botframework-directlinejs
to 0.11.4 in PR #1783 - Moves
botAvatarImage
anduserAvatarImage
tostyleOptions.botAvatarImage
andstyleOptions.userAvatarImage
respectively, in PR #1486 - Fixes string interpolation error in Russian localization and fallback for browsers without Intl support by @odysseus1973 in PR #1509
playground
: Bumps to[email protected]
, in PR #1511playground
: Bumps to[email protected]
, in PR #1535*
: Bumps to[email protected]
, in #1558core
: Fixes #1344. Use random user ID if not specified, by @compulim in PR #1612component
: Bump to[email protected]
and[email protected]
, by @compulim, in PR #1621 and PR #1725- Expand german by @matmuenzel in PR #1740
- Update Russian and Japanese by @corinagum in PR #1747
- Update Spanish by @ckgrafico in PR #1757
- Update Danish by @simon_lfr in PR #1810
- Update Swedish by @pekspro in PR #1797
- Update Dutch by @imicknl in PR #1812
- Fixes #1360. Added
roles
to components of Web Chat, by @corinagum in PR #1462 - Fixes #1409. Added microphone status as screen reader only text, by @corinagum in PR #1490
- Fixes #1605, #1316, #1341, #1411. Fix color contrast ratios & downloadIcon narrator accessibility by @corinagum in PR #1494
- Fixes #1264, #1308, #1318, #1334,#1425. Update icons with accessibilty, Sent message accessibility, and fix sample README.md, @corinagum in PR #1506 and #1542
- Fixes #1512. Fix #1512: fix sanitization of anchors (allow title attributes), by @corinagum in PR #1530
- Fixes #1499.
- Fix screen reader handling of name, activity, and timestamp,
connectCarouselFilmStrip
: FixedbotAvatarInitials
anduserAvatarInitials
functionality from recent name change,BasicTranscript
: Fixed user activity should not be recreated after receive ACK from Direct Line,- by @corinagum in PR #1528
component
: Fix #1560, #1625 and #1635. Fixed carousel layout not showing date and alignment issues, by @compulim in PR #1561 and #1641playground
: Fixes #1562. Fixed timestamp grouping "Don't group" and added "Don't show timestamp", by @compulim in PR #1563component
: Fixes #1576. Rich card withouttap
should be rendered properly, by @compulim in PR #1577core
: Some sagas missed handling successive actions, in PR #1286core
:incomingActivitySaga
may throw null-ref exception if the first activity is from user, in PR #1286component
: Fixes #1328. Should not start microphone if input hint is set toignoringInput
, in PR #1286component
: Fixes outgoing typing indicators are not sent and acknowledged properly, in PR #1286- Fixes #1402. Add
messageBack
support, by @corinagum in PR #1581 - Fixes #1539. Fix outgoing typing indicators are not sent and acknowledged properly, in PR #1541
component
: Fix #1547. Fixed unhandled activity type should be forwarded to custom middleware, by @compulim in PR #1569playground
: Fix #1610. Fixed bot and user avatar initials not working, by @compulim in PR #1611bundle
: Fix #1613. Pass conversationId to DirectLineJS constructor, by @neetu-das in PR #1614component
: Fix #1626. FixedNumber.isNaN
is not available in IE11, by @compulim in PR #1628bundle
: Fix #1652. PasspollingInterval
to DirectLineJS constructor, by @neetu-das in PR #1655core
: Reworked logic on connect/disconnect for reliability on handling corner cases, by @compulim in PR #1649core
: Fix #1521. Add connectivity status component and update localization, by @corinagum in PR #1679core
: Fix #1057. Fixed suggested actions destined for other recipients should not show up, by @compulim in PR #1706component
: Fixed pt-br locale not being selected, addedX minutes ago
and missing translations, by @pedropacheco92 in PR #1745component
: Fix #1741 wherescrollToEndButton
does not havetype="button"
by @corinagum in PR #1743component
: Fix #1625 to updateREADME.md
by @corinagum in PR #1752
botAvatarImage
anduserAvatarImage
props, as they are moved insidestyleOptions
, in PR #1486sendTyping
props is now renamed tosendTypingIndicator
, by @compulim, in PR #1584
core
: Programmatic access to post activity, in #1568component
: Hide upload button, in #1491component
: Avatar image, in #1486core
: Incoming activity to JavaScript event, in #1567core
: Send welcome event, in PR #1286core
: Send typing indicator, in #1541component
: Password input activity, in #1569*
: Updated minimizable Web Chat sample to useWEB_CHAT/SEND_EVENT
action, in #1631component
: Hybrid speech engine, in #1617component
: Use Speech Services token for speech UI sample, in #1634component
: Selectable Activity, in #1624component
: Chat Send History, in #1678*
: UpdateREADME.md
's for samples 05-10 #1444 and improve accessibility of anchors #1681, by @corinagum in PR #1710component
: Customizing open URL behavior, in PR #1704
- Build: Development build now include instrumentation code, updated build scripts
npm run build
will build for development with instrumentation codenpm run prepublishOnly
will build for productionnpm run watch
will also run Webpack in watch loop
- Build: Automated testing using visual regression testing technique in #1323
- Docker-based automated testing using headless Chrome and Web Driver
- Screenshot comparison using
jest-image-snapshot
andpixelmatch
- Code is instrumented using
istanbul
- Test report is hosted on Coveralls
- Added French localization, by @tao1 in PR #1327
- Resolve #1344, by updating
README.md
and adding validation logic foruserID
props, in #1447- If
userID
props present and also embedded in Direct Line token, will use the one from Direct Line token - If
userID
props present, they must be string and not prefixed withdl_
, to avoid confusion betweenuserID
props and Direct Line embedded user ID (which is forgery-proof) - If
userID
props does not pass the validation test or not specified, Web Chat will usedefault-user
instead
- If
- Added support for Cognitive Services Speech to Text and Text to Speech in PR #1442
- Core: Saga will run after custom middleware, in #1331
- Custom middleware run before saga to allow user to modify default behavior
- Build: Bump dependencies, in #1303
@babel
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
[email protected]
jest
[email protected]
webpack
- Fixes Russian localization by @odysseus1973 in PR #1377
- Fixes #1397. Patched activities without
from
field, in PR #1405 - Fixes #1237. Added new sample called
migration
, by @corinagum in PR #1398 - Fixes #1332. Updated sample names and add table to README, by @corinagum in PR #1435
- Fixes #1125. Added error handling for Adaptive Card JSON render, by @corinagum in PR #1395
- Build: Webpack watch mode now emits non-minified code for shorter dev RTT, in #1331
- Backchannel: Inject custom data into every
POST_ACTIVITY
, in #1331 - UI: Minimizable Web Chat, in #1290
- Others: Using Web Chat v3, in #1287
- Speech: Cognitive Services Speech to Text and Text to Speech (both subscription key and authorization token flow)
- Speech: Cognitive Services Speech to Text using lexical result (text normalization)
- Initial release of Web Chat v4