microsoft/BotFramework-WebChat v4.19.0
microsoft/BotFramework-WebChat
Captured source
source ↗published May 26, 2026seen 1dcaptured 14hhttp 200method plain
[4.19.0] - 2025-05-25
Repository: microsoft/BotFramework-WebChat
Tag: v4.19.0
Published: 2026-05-26T19:55:45Z
Prerelease: no
Release notes:
[4.19.0] - 2026-05-25
Breaking changes in this release:
- 💥
styleOptions.bubbleImageHeightis being deprecated in favor ofstyleOptions.bubbleImageMaxHeightandstyleOptions.bubbleImageMinHeight. The option will be removed on or after 2026-07-05 - 💥
styleOptions.bubbleMaxWidth/bubbleMinWidthis being deprecated in favor ofstyleOptions.bubbleAttachmentMaxWidth/bubbleAttachmentMinWidthandstyleOptions.bubbleMessageMaxWidth/bubbleMessageMinWidth. The option will be removed on or after 2026-10-08 - 💥 Moved to
micromarkfor rendering Markdown, instead ofmarkdown-it - Please refer to PR #5330 for details
- 💥 HTML sanitizer is moved from
renderMarkdownto HTML content transformer middleware, please refer to PR #5338 - If you customized
renderMarkdownwith a custom HTML sanitizer, please move the HTML sanitizer to the new HTML content transformer middleware - 💥
useGroupActivitieshook is being deprecated in favor of theuseGroupActivitiesByNamehook. The hook will be removed on or after 2027-05-04 - 💥
useSuggestedActions()hook is being deprecated in favor of theuseSuggestedActionsHooks().useSuggestedActions()hook. The hook will be removed on or after 2027-05-30 - 💥 The following middleware should be created using their respective factory function:
activityBorderDecoratorMiddleware, related to PR #5504, #5510activityGroupingDecoratorMiddleware, related to PR #5504sendBoxMiddleware, related to PR #5504sendBoxToolbarMiddleware, related to PR #5504- 💥
styleOptions.hideUploadButtonis being deprecated in favor ofstyleOptions.disableFileUpload. The option will be removed on or after 2027-07-14 - 💥
botframework-directlinespeech-sdkno longer ponyfillAbortController, it is supported by modern browsers, in PR #5530 - 💥
activityMiddlewareis being deprecated in favor of [polymiddleware](./docs/MIDDLEWARE.md). It will be removed on or after 2027-08-16, related to PR #5515 - 💥 Root-level (unconnected)
Claimentity is being deprecated, in PR #5564, by @compulim. It will be removed on or after 2027-08-29 - Use
entities[@id=""][@type="Message"].citation[@type="Claim"]instead - 💥
activityStatusMiddleware.nextVisibleActivityandactivityStatusMiddleware.sameTimestampGroupis removed after deprecation, in PR #5565, by @compulim - 💥
avatarMiddlewareis being deprecated in favor of [polymiddleware](./docs/MIDDLEWARE.md). It will be removed on or after 2028-03-16, related to PR #5779
Added
- (Experimental) Added pre-chat message with starter prompts in Fluent UI, in PR #5255 and #5263, by @compulim
- (Experimental) Added
isPrimaryprops to Fluent UI send box. When set, will wire up withuseSendBoxValueand works with starter prompts in pre-chat message, in PR #5257, by @compulim - (Experimental) Expand Fluent theme support to activities and transcript, in PR #5258, by @OEvgeny
- Added new Fluent UI theme variant "copilot" with updated styling and components, in PR #5258, by @OEvgeny
- Introduced
ActivityDecoratorcomponent for enhanced message styling and layout, in PR #5258, by @OEvgeny - Added
CopilotMessageHeadercomponent for displaying bot information in the "copilot" variant, in PR #5258, by @OEvgeny - Updated Fluent theme styling to improve accessibility and visual consistency, in PR #5258, by @OEvgeny
- Fixed header font in copilot variant, in PR #5261, by @OEvgeny
- Added "Copy" button to bot messages in Fluent UI if it contains keyword
AllowCopy, in PR #5259, #5262, and #5285, by @compulim - Resolves #4876 and #4939. Added support of informative message in livestreaming, by @compulim, in PR #5265
- Introduced centralized announcements approach via the new
usePushToLiveRegionhook, in PR #5251, by @OEvgeny - Added keyboard shortcut for the "New Messages" button, in PR #5251, by @OEvgeny
- Added decorators for loading and completion states to the Fluent theme, in PR #5269, by @OEvgeny
- Added blueprint of starter prompts…
Excerpt shown — open the source for the full document.