Skip to content

Releases: cometchat/cometchat-uikit-angular

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).

v5.0.0-beta.1

v5.0.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@raj-dubey1 raj-dubey1 released this 31 Mar 07:42
3295e3c

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-template projections 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 MessagesDataSource and DataSourceDecorator, 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 on prefix (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

Choose a tag to compare

@raj-dubey1 raj-dubey1 released this 19 Jan 15:20
10526e4

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

Choose a tag to compare

@raj-dubey1 raj-dubey1 released this 16 Dec 09:20
23cdc06

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

Choose a tag to compare

@raj-dubey1 raj-dubey1 released this 28 Nov 06:54
be5c4e5

New

  • None

Enhancements

  • None

Fixes

  • Removed a non-interactive hover icon that was incorrectly visible in the message header.
  • Fixed listItemView in GroupMemberConfiguration inside DetailsConfiguration not 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

Choose a tag to compare

@raj-dubey1 raj-dubey1 released this 31 Oct 14:38
1098cbe

New

  • None

Enhancements

  • Added the setStorageMode method 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.