ReleaseMicrosoftMicrosoftpublished May 26, 2026seen 1d

microsoft/BotFramework-WebChat v4.19.0

microsoft/BotFramework-WebChat

Open original ↗

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.bubbleImageHeight is being deprecated in favor of styleOptions.bubbleImageMaxHeight and styleOptions.bubbleImageMinHeight. The option will be removed on or after 2026-07-05
  • 💥 styleOptions.bubbleMaxWidth/bubbleMinWidth is being deprecated in favor of styleOptions.bubbleAttachmentMaxWidth/bubbleAttachmentMinWidth and styleOptions.bubbleMessageMaxWidth/bubbleMessageMinWidth. The option will be removed on or after 2026-10-08
  • 💥 Moved to micromark for rendering Markdown, instead of markdown-it
  • Please refer to PR #5330 for details
  • 💥 HTML sanitizer is moved from renderMarkdown to HTML content transformer middleware, please refer to PR #5338
  • If you customized renderMarkdown with a custom HTML sanitizer, please move the HTML sanitizer to the new HTML content transformer middleware
  • 💥 useGroupActivities hook is being deprecated in favor of the useGroupActivitiesByName hook. The hook will be removed on or after 2027-05-04
  • 💥 useSuggestedActions() hook is being deprecated in favor of the useSuggestedActionsHooks().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, #5510
  • activityGroupingDecoratorMiddleware, related to PR #5504
  • sendBoxMiddleware, related to PR #5504
  • sendBoxToolbarMiddleware, related to PR #5504
  • 💥 styleOptions.hideUploadButton is being deprecated in favor of styleOptions.disableFileUpload. The option will be removed on or after 2027-07-14
  • 💥 botframework-directlinespeech-sdk no longer ponyfill AbortController, it is supported by modern browsers, in PR #5530
  • 💥 activityMiddleware is 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) Claim entity 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.nextVisibleActivity and activityStatusMiddleware.sameTimestampGroup is removed after deprecation, in PR #5565, by @compulim
  • 💥 avatarMiddleware is 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 isPrimary props to Fluent UI send box. When set, will wire up with useSendBoxValue and 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 ActivityDecorator component for enhanced message styling and layout, in PR #5258, by @OEvgeny
  • Added CopilotMessageHeader component 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 usePushToLiveRegion hook, 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.