Skip to content

v5.0.0

Choose a tag to compare

@raj-dubey1 raj-dubey1 released this 08 May 14:08
· 5 commits to v5 since this release
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