Skip to content

v3.52.0

Choose a tag to compare

@github-actions github-actions released this 11 Sep 16:36
· 13 commits to main since this release
1d4b2c9

Bug Fixes

  • Pressing Enter no longer sends a message while the Send button is disabled. Empty inputs no longer trigger a webchat/outgoing-message analytics event, and a message with a failed file upload is no longer sent without its attachment (CGY-37418) — #319
  • Speech-to-text now works reliably in Microsoft Edge: dictation waits for the recognition engine, and engine errors are reported instead of failing silently (CGY-37417) — #318
  • Security: the xApp overlay validates the sender's full origin, closing a prefix-matching bypass (WCH-SI10-004) — #304
  • Security: customAllowedHtmlTags can no longer re-enable dangerous tags or attributes (such as iframe, form, style, srcdoc) in user-typed input and the privacy notice. Bot and agent messages are unaffected (WCH-SI10-001) — #310

Accessibility

  • The xApp overlay is now a proper modal dialog: it is named after the xApp title, receives focus on open, traps Tab/Shift+Tab, closes on Escape when a close icon is shown, restores focus on close, and respects prefers-reduced-motion. New optional customTranslations.ariaLabels.xAppOverlay (CGY-37635) — #325
  • Unread-message counts are announced to screen readers while the chat is closed. Customize the text via customTranslations.ariaLabels.unreadMessageSingularText / unreadMessagePluralText; ariaLabels.unreadMessages is deprecated (CGY-3163) — #327
  • The "You're now chatting with an AI Agent" notice is no longer re-announced to screen-reader users when a conversation is restored after a page reload (CGY-37546) — #321
  • Gallery: image-less cards show a readable title, pagination bullets meet the 24×24 px target size and sit below the slides, card links are keyboard-reachable with a plain-text name, and the lightbox is a modal with a two-way focus trap (CGY-37634) — Cognigy/chat-components#274, Cognigy/chat-components#278
  • Date picker: days are exposed as a grid with full-date names and selected/current states, week numbers are row headers, and the AM/PM toggle is a keyboard-operable spinbutton. New optional customTranslations.ariaLabels: datePickerRangeStart, datePickerRangeEnd, datePickerWeekNumber, datePickerAmPm (CGY-30559, CGY-30560) — Cognigy/chat-components#275

Note: this release changes the rendered DOM/ARIA of the gallery carousel and the open date picker. If you override .swiper-pagination positioning or target the carousel link structure with custom CSS, please re-check after upgrading.

Improvements

  • Dependencies: @cognigy/chat-components 0.80.0 → 0.81.0 — #328
  • Tests: expanded real-browser accessibility E2E coverage (CGY-30265) — #322
  • CI: added an npm audit gate for production dependencies and resolved its findings (CGY-36979) — #314