Releases: cometchat/cometchat-uikit-angular
Releases · cometchat/cometchat-uikit-angular
Release list
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).
v5.0.0-beta.1
New
- Introduced a fully redesigned Angular-native architecture using services, dependency injection, signals, and RxJS, improving performance, scalability, and maintainability.
- Added a comprehensive set of standalone UI components (e.g., Conversations, Users, Groups, Message List, Message Composer) for faster integration and flexible customization.
- Enabled advanced message capabilities, including rich text editing, media sharing, reactions, polls, and AI-powered features like smart replies and conversation summaries.
- Introduced a service-based state management system (
ChatStateService) for reactive handling of conversations, users, and groups. - Added extensive theming support using CSS variables, allowing full UI customization without overriding component styles.
- Delivered built-in accessibility support, including keyboard navigation, ARIA attributes, and screen reader compatibility.
- Provided localization support for 19 languages with runtime switching and custom overrides.
- Added a wide range of utility and base components (e.g., avatars, dialogs, dropdowns, emoji picker, media recorder) to accelerate development.
- Introduced event systems for messages, conversations, users, groups, calls, and UI interactions.
- Enabled dual initialization patterns for
CometChatUIKit, supporting both static and dependency-injected usage.
Enhancements
- Enhanced customization capabilities by replacing rigid patterns with
ng-templateprojections and configuration-driven approaches. - Improved developer experience with Storybook integration, sample applications, and comprehensive documentation.
- Standardized component APIs with consistent input/output naming for better usability and predictability.
- Improved messaging experience with features like smart scrolling, sticky headers, typing indicators, and unread message tracking.
Fixes
- None
Deprecations
- Deprecated the DataSource/Decorator customization approach in favor of Angular-native services and templates.
Removals
- Removed
MessagesDataSourceandDataSourceDecorator, replacing them with modern Angular-based customization methods. - Removed support for NgModule-based components; all components are now standalone.
- Removed legacy event naming conventions using the
onprefix (e.g.,onClose), replacing them with standardized event names (e.g.,closeClick). - Removed inconsistent input naming patterns and replaced them with standardized, user-friendly alternatives.
- Removed default calling enablement in
CometChatUIKit.init(). Calling must now be explicitly enabled. - Dropped support for Angular versions below 17; Angular 17+ is now required.
v4.3.36
New
- None
Enhancements
- None
Fixes
- Fixed an issue where messages sent from one browser tab were not appearing in another tab when the same user was logged in simultaneously.
- Fixed an issue while adding members to a group where the first selected user could not be unselected after choosing a second user.
v4.3.35
New
- None
Enhancements
- Added a preview of selected users in the Add Members component, allowing users to clearly view the full list of selected members before completing the action.
Fixes
- None
v4.3.34
New
- None
Enhancements
- None
Fixes
- Removed a non-interactive hover icon that was incorrectly visible in the message header.
- Fixed
listItemViewinGroupMemberConfigurationinsideDetailsConfigurationnot updating the rendered view. - Fixed an issue where the clickable area for MessageList option buttons was smaller than the visible UI.
- Fixed an issue where user selection in the Add Members component was only possible via the checkbox instead of the full row.
- Fixed an issue where the Add members button remained enabled even when no users were selected.
v4.3.33
New
- None
Enhancements
- Added the
setStorageModemethod in UIKit settings, allowing developers to choose between local and session storage for managing stored data.
Fixes
- Fixed an issue where the unread message count was visible even when the chat was open.