Repository navigation
Releases
Releases · cometchat/cometchat-uikit-angular
v5.2.3
v5.2.3
New
- None
Enhancements
- None
Fixes
- Fixed an XSS vulnerability in the Markdown renderer caused by crafted message text.
- Fixed missing messages, incorrect send statuses, and chat loading errors, ensuring failed messages remain visible with error indicators.
- Fixed stale conversation, user, group, and member lists after reconnects while preserving filters and active searches; prevented outdated search results from overwriting newer ones.
- Fixed AI agent reply formatting, numbered list rendering, copy functionality, and unintended Markdown formatting of underscores and asterisks in URLs and words.
Breaking Changes
- Raised the minimum supported Angular version to 18 (
@angular/coreand@angular/common>=18.0.0 <22.0.0). Upgrade the app to Angular 18 or later before installing 5.2.3. - Raised the minimum
dompurifyversion to 3.4.17 (^3.4.17, previously^3.0.0). Updatedompurifyto 3.4.17 or later, or npm reports a peer dependency conflict on upgrade.
v5.2.2
New
- None
Enhancements
- None
Fixes
- Fixed localization across the UI Kit so that all supported strings, dates, times, and durations display correctly in every supported language.
- Fixed browsers reporting a region-tagged locale (
de-DE,ja-JP,pt-BR) falling back to English. Apps that do not set a language explicitly will see those users switch from English to their own language.
v5.2.1
New
- None
Enhancements
- None
Fixes
- Fixed the link dialog and link popover in the message composer rendering in English regardless of the configured language. The dialog title, the Text and Link field labels, both input placeholders, the validation messages, and the Cancel, Save, Edit, and Remove buttons now display in the selected language across all 17 supported non-English locales.
v5.2.0
New
- Added support for pinning messages to a conversation, making pinned messages visible to everyone in the conversation. Enable Pin Messages for your app in the CometChat Dashboard; the UI Kit resolves this setting at login. Hide the pin and unpin actions with the
hidePinMessageOptionandhideUnpinMessageOptionprops onCometChatMessageList. - Added support for privately saving messages for the logged-in user across all conversations. Enable Save Messages for your app in the CometChat Dashboard, and hide the save and unsave actions with the
hideSaveMessageOptionandhideUnsaveMessageOptionprops onCometChatMessageList. - Added
CometChatPinnedMessagesto display messages pinned in a conversation, with options to unpin, save, copy, and view message information. Open it from the message header by settingshowPinnedMessagesOptionand handlingpinnedMessagesClickonCometChatMessageHeader. - Added
CometChatSavedMessagesto display the logged-in user's saved messages across all conversations. - Added support for pinning conversations to the top of the conversation list. Enable Pin Conversations for your app in the CometChat Dashboard, and hide the pin action with the
hidePinConversationprop onCometChatConversations. - Added support for subscribing to a message thread, so a user is notified about new replies without having to reply first. The action appears in the message action sheet and as a control in the thread header, in both group and one-to-one conversations. Set
enableThreadSubscriptiontotrueinCOMETCHAT_GLOBAL_CONFIGto opt in — this is off by default, as the backend exposes no capability flag for the UI Kit to detect. Hide either surface with thehideThreadSubscriptionOptionprop onCometChatMessageListand thehideThreadSubscriptionToggleprop onCometChatThreadHeader. - Added
CometChatPinSaveEventsso an application can keep its own surfaces in step with pin and save changes, including changes made on the user's other devices. Subscribe topinned$,unpinned$,saved$,unsaved$,conversationPinned$orconversationUnpinned$, each of which delivers both the confirmed server state and this client's own change. - Added
CometChatThreadEventsto report thread subscription changes throughccThreadSubscriptionChanged.CometChatThreadHeaderalso emitsthreadSubscriptionChangefor the thread it is displaying. Use these to keep a custom thread list in step, as the UI Kit does not ship one.
Fixes
- Fixed call token generation depending on the Calls SDK's separately cached auth token, which could be stale or unset after a re-login or user switch; the call token request now passes the logged-in user's auth token explicitly.
Enhancements
- None
v5.1.0
New
- Added support for sending multiple images, videos, audio files, and documents in a single send, enabled by the new
enableMultipleAttachmentsinput onCometChatMessageComposer(default:true). #MultipleAttachments - Added
CometChatImagesBubble(<cometchat-images-bubble>) to display multiple images in a grid with a+Noverflow badge and full-screen preview. #ImagesBubble - Added
CometChatVideosBubble(<cometchat-videos-bubble>) to display multiple videos in a grid with a+Noverflow badge and full-screen playback. #VideosBubble - Added
CometChatFilesBubble(<cometchat-files-bubble>) to display multiple document attachments within a single message. #FilesBubble - Added
CometChatAudiosBubble(<cometchat-audios-bubble>) to display multiple audio files with playback controls, seek, download, and expandable+N moresupport. #AudiosBubble - Added
CometChatVoiceNoteBubble(<cometchat-voice-note-bubble>) to render recorded voice notes using the built-in waveform player, identified by theaudioTypemessage metadata. #VoiceNoteBubble - Added a composer attachment tray with attachment previews, upload progress, retry/remove/cancel actions, and full-screen preview for staged images and videos. #ComposerAttachmentTray
Enhancements
- Grouped mixed attachment sends into one message per media type (Images → Videos → Audios → Voice Note → Files) using a shared
batchIdfor unified rendering. #AttachmentBatching - Limited moderation-blocked messages to Copy and Delete actions, with moderation notices visible only to the sender. #ModerationOptions
Fixes
- Fixed multiple composers recording voice notes simultaneously by allowing only one active recording across conversations and threads. #SingleVoiceRecording
- Fixed media and text collapsing in narrow conversation and thread panels by enforcing minimum panel widths and full-width media rendering in threads. #ResponsiveMediaLayout
- Fixed an issue where the same message could be added twice to the message list when it was received multiple times from the listener
Deprecated
- Deprecated the single-attachment bubbles
CometChatImageBubble,CometChatVideoBubble,CometChatAudioBubble, andCometChatFileBubble; use the new per-type media bubbles instead. #SingleAttachmentBubbles
v5.0.4
New
- Added render-only support for card messages through the new
CometChatCardBubblecomponent, which displays developer-sent cards (messages in thecardcategory) using the card renderer and forwards actions without handling them. - Added card action forwarding through the new
ccCardActionClickedevent onCometChatMessageEvents, which emits an event containing the owning message and the raw action whenever a user taps a card action. - Added a notification feed composed of the new
CometChatNotificationFeedcomponent, aCometChatNotificationBadgecomponent, and aNotificationUnreadCountServicefor tracking unread notification counts. - Added support for AI agent messages in group conversations, which previously appeared only in one-to-one chats.
Enhancements
- None
Fixes
- Fixed an issue where a duplicate conversation appeared in the conversation list when a new group was created.
v5.0.3
New
- None
Enhancements
- Improved internal code structure for better maintainability and performance.
Fixes
- None
v5.0.2
New
- None
Enhancements
-
Added end-to-end test coverage across key UIKit components to validate real-world scenarios in the browser environment.
-
Expanded automated browser testing with 286 Playwright-based end-to-end test cases running against the sample application, improving validation coverage and helping ensure consistent UIKit behavior across supported workflows.
Fixes
- Fixed an issue where the
CometChatSearchcomponent crashed in Angular v19 environments.
v5.0.0
New
- Added a "Mark as Unread" option to the message actions menu, allowing users to mark previously read messages as unread for improved message management.
- Introduced an unread message indicator UI that visually separates unread messages from read messages, making unread conversations easier to identify.
- Added the
showMarkAsUnreadOptionproperty inCometChatMessageListto control the visibility of the "Mark as Unread" action. The property defaults totrue. - Added the
startFromUnreadMessagesproperty inCometChatMessageListto automatically position the message list at unread messages when enabled. The property defaults totrue. - Added the
ccUpdateConversationevent inCometChatConversationEvents, enabling developers to update a specific conversation in the conversations list after actions such as marking a message as unread. - Added support for reporting messages through the
CometChatFlagMessageDialogcomponent, enabling users to report messages for moderation purposes. - Added the
hideFlagMessageOptionproperty inCometChatMessageListto hide the "Flag Message" action from the message actions menu. The property defaults tofalse. - Added the
hideFlagRemarkFieldproperty inCometChatMessageListto hide the remark input field in the flag dialog. The property defaults tofalse. - Introduced reply support for messages, allowing users to reply directly to specific messages within a conversation.
- Added the
hideReplyOptionproperty inCometChatMessageListto control the visibility of the reply action. The property defaults tofalse. - Added the
ccReplyToMessageevent inCometChatMessageEventsto display a preview of the replied message in the message composer. - Added the
replyViewpart inBubblePartMapand support inCometChatMessageBubbleto display replied message previews inside message bubbles. - Introduced the
CometChatAIAssistantChatcomponent, combining a message header, message list, and composer to provide an AI assistant chat experience. - Added
CometChatStreamMessageBubble, enabling AI-generated messages to stream in real time for more natural interactions. - Added the
messageStream$observable andisStreamingFor(chatId)method inCometChatAIStreamingService, allowing developers to subscribe to AI message events and monitor streaming state updates. - Added
CometChatAIAssistantMessageBubblewith Markdown rendering support throughCometChatMarkdownRendererfor improved readability of AI-generated responses. - Added support for suggested prompts in
CometChatAIAssistantChatthrough theshowSuggestedMessagesandsuggestedMessagesinputs, helping users start AI conversations more quickly. - Added the
loadLastAgentConversationinput inCometChatAIAssistantChatto restore previous AI conversation context during initialization. - Added customization options in
CometChatAIAssistantChat, includingstreamingSpeed,greetingTemplate,showBackButton, andshowSuggestedMessages. - Added the
backClickoutput event inCometChatAIAssistantChatto handle back navigation interactions. - Added the
aiAssistantToolsinput inCometChatAIAssistantChatto enable AI assistant tool and function calling during conversations. - Introduced the
CometChatSearchcomponent, allowing users to search across conversations, messages, or both from a unified interface. - Added support for conversation filters in
CometChatSearch, includingUnreadandGroups. - Added support for message filters in
CometChatSearch, includingAudio,Videos,Photos,Documents, andLinks. - Added the
showSearchOptioninput andsearchClickoutput inCometChatMessageHeaderto control and handle search interactions. - Added the
showSearchBarandsearchViewinputs inCometChatConversationsto customize the search experience and control search bar visibility. - Added the
searchBarClickoutput inCometChatConversationsto handle interactions with the default search bar. - Added the
goToMessageIdinput inCometChatMessageListto launch the message list with a specific message highlighted, supporting navigation from search results. - Introduced the
CometChatSearchScopeenum to define search scope options for conversations, messages, or both. - Introduced the
CometChatSearchFilterenum to configure available search filters and initial filter selections inCometChatSearch. - Added
SearchConversationsServiceandSearchMessagesServiceto support programmatic search integrations.
Enhancements
- None
Fixes
- None
v5.0.0-beta.3
New
- None
Enhancements
- None
Fixes
- Fixed an issue in Angular v19 by enabling signal writes within
effect()calls using theallowSignalWritesoption across key messaging components. - Fixed an issue where
@characters in theMessageComposertemplate were incorrectly interpreted as Angular control flow syntax (such as@ifand@for).