Skip to content

Releases

v5.2.3

Choose a tag to compare

@cometchat cometchat released this 06 Nov 16:11
8ad6e03

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/core and @angular/common >=18.0.0 <22.0.0). Upgrade the app to Angular 18 or later before installing 5.2.3.
  • Raised the minimum dompurify version to 3.4.17 (^3.4.17, previously ^3.0.0). Update dompurify to 3.4.17 or later, or npm reports a peer dependency conflict on upgrade.

v5.2.2

Choose a tag to compare

@aanshisingh-cometchat aanshisingh-cometchat released this 30 Sep 18:00
d87c167

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

Choose a tag to compare

@shagundeogharkar shagundeogharkar released this 09 Sep 12:18
687e37b

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

Choose a tag to compare

@aanshisingh-cometchat aanshisingh-cometchat released this 08 Sep 12:44
e0abd06

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 hidePinMessageOption and hideUnpinMessageOption props on CometChatMessageList.
  • 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 hideSaveMessageOption and hideUnsaveMessageOption props on CometChatMessageList.
  • Added CometChatPinnedMessages to display messages pinned in a conversation, with options to unpin, save, copy, and view message information. Open it from the message header by setting showPinnedMessagesOption and handling pinnedMessagesClick on CometChatMessageHeader.
  • Added CometChatSavedMessages to 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 hidePinConversation prop on CometChatConversations.
  • 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 enableThreadSubscription to true in COMETCHAT_GLOBAL_CONFIG to opt in — this is off by default, as the backend exposes no capability flag for the UI Kit to detect. Hide either surface with the hideThreadSubscriptionOption prop on CometChatMessageList and the hideThreadSubscriptionToggle prop on CometChatThreadHeader.
  • Added CometChatPinSaveEvents so an application can keep its own surfaces in step with pin and save changes, including changes made on the user's other devices. Subscribe to pinned$, unpinned$, saved$, unsaved$, conversationPinned$ or conversationUnpinned$, each of which delivers both the confirmed server state and this client's own change.
  • Added CometChatThreadEvents to report thread subscription changes through ccThreadSubscriptionChanged. CometChatThreadHeader also emits threadSubscriptionChange for 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

Choose a tag to compare

@aanshisingh-cometchat aanshisingh-cometchat released this 26 Jul 16:31
e0abd06

New

  • Added support for sending multiple images, videos, audio files, and documents in a single send, enabled by the new enableMultipleAttachments input on CometChatMessageComposer (default: true). #MultipleAttachments
  • Added CometChatImagesBubble (<cometchat-images-bubble>) to display multiple images in a grid with a +N overflow badge and full-screen preview. #ImagesBubble
  • Added CometChatVideosBubble (<cometchat-videos-bubble>) to display multiple videos in a grid with a +N overflow 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 more support. #AudiosBubble
  • Added CometChatVoiceNoteBubble (<cometchat-voice-note-bubble>) to render recorded voice notes using the built-in waveform player, identified by the audioType message 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 batchId for 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, and CometChatFileBubble; use the new per-type media bubbles instead. #SingleAttachmentBubbles

v5.0.4

Choose a tag to compare

@aanshisingh-cometchat aanshisingh-cometchat released this 08 Jul 15:43
a0131be

New

  • Added render-only support for card messages through the new CometChatCardBubble component, which displays developer-sent cards (messages in the card category) using the card renderer and forwards actions without handling them.
  • Added card action forwarding through the new ccCardActionClicked event on CometChatMessageEvents, 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 CometChatNotificationFeed component, a CometChatNotificationBadge component, and a NotificationUnreadCountService for 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

Choose a tag to compare

@aanshisingh-cometchat aanshisingh-cometchat released this 16 Jun 18:36
661f4c8

New

  • None

Enhancements

  • Improved internal code structure for better maintainability and performance.

Fixes

  • None

v5.0.2

Choose a tag to compare

@raj-dubey1 raj-dubey1 released this 18 May 15:46
1a29344

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 CometChatSearch component crashed in Angular v19 environments.

v5.0.0

Choose a tag to compare

@raj-dubey1 raj-dubey1 released this 08 May 14:08
236e903

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 showMarkAsUnreadOption property in CometChatMessageList to control the visibility of the "Mark as Unread" action. The property defaults to true.
  • Added the startFromUnreadMessages property in CometChatMessageList to automatically position the message list at unread messages when enabled. The property defaults to true.
  • Added the ccUpdateConversation event in CometChatConversationEvents, 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 CometChatFlagMessageDialog component, enabling users to report messages for moderation purposes.
  • Added the hideFlagMessageOption property in CometChatMessageList to hide the "Flag Message" action from the message actions menu. The property defaults to false.
  • Added the hideFlagRemarkField property in CometChatMessageList to hide the remark input field in the flag dialog. The property defaults to false.
  • Introduced reply support for messages, allowing users to reply directly to specific messages within a conversation.
  • Added the hideReplyOption property in CometChatMessageList to control the visibility of the reply action. The property defaults to false.
  • Added the ccReplyToMessage event in CometChatMessageEvents to display a preview of the replied message in the message composer.
  • Added the replyView part in BubblePartMap and support in CometChatMessageBubble to display replied message previews inside message bubbles.
  • Introduced the CometChatAIAssistantChat component, 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 and isStreamingFor(chatId) method in CometChatAIStreamingService, allowing developers to subscribe to AI message events and monitor streaming state updates.
  • Added CometChatAIAssistantMessageBubble with Markdown rendering support through CometChatMarkdownRenderer for improved readability of AI-generated responses.
  • Added support for suggested prompts in CometChatAIAssistantChat through the showSuggestedMessages and suggestedMessages inputs, helping users start AI conversations more quickly.
  • Added the loadLastAgentConversation input in CometChatAIAssistantChat to restore previous AI conversation context during initialization.
  • Added customization options in CometChatAIAssistantChat, including streamingSpeed, greetingTemplate, showBackButton, and showSuggestedMessages.
  • Added the backClick output event in CometChatAIAssistantChat to handle back navigation interactions.
  • Added the aiAssistantTools input in CometChatAIAssistantChat to enable AI assistant tool and function calling during conversations.
  • Introduced the CometChatSearch component, allowing users to search across conversations, messages, or both from a unified interface.
  • Added support for conversation filters in CometChatSearch, including Unread and Groups.
  • Added support for message filters in CometChatSearch, including Audio, Videos, Photos, Documents, and Links.
  • Added the showSearchOption input and searchClick output in CometChatMessageHeader to control and handle search interactions.
  • Added the showSearchBar and searchView inputs in CometChatConversations to customize the search experience and control search bar visibility.
  • Added the searchBarClick output in CometChatConversations to handle interactions with the default search bar.
  • Added the goToMessageId input in CometChatMessageList to launch the message list with a specific message highlighted, supporting navigation from search results.
  • Introduced the CometChatSearchScope enum to define search scope options for conversations, messages, or both.
  • Introduced the CometChatSearchFilter enum to configure available search filters and initial filter selections in CometChatSearch.
  • Added SearchConversationsService and SearchMessagesService to support programmatic search integrations.

Enhancements

  • None

Fixes

  • None

v5.0.0-beta.3

v5.0.0-beta.3 Pre-release
Pre-release

Choose a tag to compare

@raj-dubey1 raj-dubey1 released this 28 Apr 14:27
60162b4

New

  • None

Enhancements

  • None

Fixes

  • Fixed an issue in Angular v19 by enabling signal writes within effect() calls using the allowSignalWrites option across key messaging components.
  • Fixed an issue where @ characters in the MessageComposer template were incorrectly interpreted as Angular control flow syntax (such as @if and @for).