Skip to content

Releases: cometchat/cometchat-uikit-react

v6.1.0

16 Jun 16:09
0cccdd8

Choose a tag to compare

New

  • Introduced CometChatSearch component, enabling users to search across conversations, messages, or both. Users can also apply filters such as:
    • Conversation filters: Unread, Group.
    • Message filters: Audio, Video, Photo, File, and Link.
  • Added showSearchOption prop in CometChatMessageHeader to toggle the visibility of the search icon, and onSearchOptionClicked callback to handle its click event.
  • Added showSearchBar and searchView props to CometChatConversations to control search bar visibility and allow custom search views. Also introduced onSearchBarClicked callback to handle interactions with the default search bar.
  • Added goToMessageId prop in CometChatMessageList to launch the list with a specific message highlighted—useful when navigating from search results.
  • Introduced CometChatTextHighlightFormatter, which enables highlighting of specific keywords in a text message.
  • Added subtitleView and onSubtitleClicked props in CometChatThreadHeader. The new subtitle displays the user or group name for the active thread and allows custom views and interaction callbacks.
  • Introduced CometChatSearchScope enum to define whether the search should be performed in conversations, messages, or both.
  • Introduced CometChatSearchFilter enum to support setting an initialSearchFilter or to provide a custom list of filters for the CometChatSearch component.

Enhancements

  • None

Fixes

  • Fixed an issue where, when mentions were disabled in CometChatMessageComposer, pasted text would appear multiple times.
  • Resolved a bug where all onClick callbacks in CometChatMessageOptions were triggered, even if only one option was clicked within the CometChatConversation component.

v6.0.7

06 Jun 10:29
dca559a

Choose a tag to compare

New

  • Added showScrollbar prop to CometChatConversations, CometChatUsers, CometChatGroups, CometChatMessageList, and CometChatMessageComposer components.

Enhancements

  • None

Fixes

  • Resolved an issue where the message list caused the entire webpage to scroll to the bottom on load.
  • Fixed a crash caused by unsupported regular expression features in certain JavaScript engines.

v5.0.10

06 Jun 10:28
8277a91

Choose a tag to compare

New

  • Added showScrollbar prop to CometChatConversations, CometChatUsers, CometChatGroups, CometChatMessageList, and CometChatMessageComposer components.

Enhancements

  • None

Fixes

  • Resolved an issue where the message list caused the entire webpage to scroll to the bottom on load.

v6.0.6

09 May 12:20
c4dda6c

Choose a tag to compare

New

  • None

Enhancements

  • Added a new showBackButton prop to offer clearer control over the visibility of the back button.

Fixes

  • Fixed an issue where the edit preview did not close automatically when it was closed in another composer instance.
  • Fixed an issue where message bubble would break when translating long text containing mentions.
  • Fixed an issue where the send button became inactive if users pasted only spaces after entering valid text in the composer.

Deprecations

  • Deprecated the hideBackButton prop in favor of the new showBackButton for improved clarity and consistency.

v5.0.9

09 May 12:19
c754038

Choose a tag to compare

New

  • None

Enhancements

  • Added a new showBackButton prop to offer clearer control over the visibility of the back button.

Fixes

  • Fixed an issue where the edit preview did not close automatically when it was closed in another composer instance.
  • Fixed an issue where message bubble would break when translating long text containing mentions.
  • Fixed an issue where the send button became inactive if users pasted only spaces after entering valid text in the composer.

Deprecations

  • Deprecated the hideBackButton prop in favor of the new showBackButton for improved clarity and consistency.

v6.0.5

25 Apr 08:46
7c0cda6

Choose a tag to compare

New

  • None

Enhancements

  • None

Fixes

  • Resolved an issue where group members were duplicated in the members component when the group owner left the group in strict mode.
  • Corrected the default behavior of the message editing feature to show "more" when editing a long text message instead of displaying the complete text.
  • Fixed an issue where the group member count displayed incorrectly after creating a new group.
  • Resolved a problem causing the group owner to appear twice in the "View Members" section.
  • Fixed an unexpected line appearance due to z-index issues when clicking the attach button with strict mode enabled in Next.js.
  • Resolved an issue where a group call would disconnect when the second-to-last participant left.
  • Fixed an issue where the edit preview would remain open if the message being edited is deleted.
  • Fixed an issue where message receipts were still visible in CometChaThreadHeader even when hideReceipts was set to true in CometChatMessageList component.
  • Resolved a visual bug where joining a group call via the Thread Header displayed two ongoing call screens simultaneously.

v5.0.8

25 Apr 08:45
f6f914e

Choose a tag to compare

New

  • None

Enhancements

  • None

Fixes

  • Resolved an issue where group members were duplicated in the members component when the group owner left the group in strict mode.
  • Corrected the default behavior of the message editing feature to show "more" when editing a long text message instead of displaying the complete text.
  • Fixed an issue where the group member count displayed incorrectly after creating a new group.
  • Resolved a problem causing the group owner to appear twice in the "View Members" section.
  • Fixed an unexpected line appearance due to z-index issues when clicking the attach button with strict mode enabled in Next.js.
  • Resolved an issue where a group call would disconnect when the second-to-last participant left.
  • Fixed an issue where the edit preview would remain open if the message being edited is deleted.
  • Fixed an issue where message receipts were still visible in CometChaThreadHeader even when hideReceipts was set to true in CometChatMessageList component.
  • Resolved a visual bug where joining a group call via the Thread Header displayed two ongoing call screens simultaneously.

v6.0.4

11 Apr 10:45
6288763

Choose a tag to compare

New

  • None

Enhancements

  • Allowed direct import of the stylesheet from the package, eliminating the need for specifying a relative path.

Fixes

  • Fixed an issue where the hideUserStatus property did not work as expected in the CometChatConversations component.
  • Fixed an issue where the conversation summary appeared in threads if a thread was open.
  • Resolved a bug where the message object incorrectly displayed & as & when sent.
  • Corrected the positioning of the reaction tooltip to ensure it displays accurately, even when there is limited space.
  • Resolved the issue of duplicate icons displayed in app created via Vite.
  • Fixed an issue where editing any message in the main message list mistakenly updated the parent message of a thread if a thread was open.
  • Fixed an issue where the message count increased by 2 for each new reply in a thread if React Strict Mode is enabled in NextJs.
  • Fixed the Create Poll UI to open properly in mobile view.
  • Resolved the flickering issue of the date separator.
  • Fixed incorrect timestamp in date separator when conversations contained few or same-day messages with no previous message present.
  • Fixed the UI of the date pattern in sticker bubbles when receipts are hidden in the message list to ensure proper alignment.
  • Fixed the issue where message options were not being returned for custom messages from the CometChatUIKit.getDataSource().getMessageOptions method.
  • Addressed an issue where reloading the page during an ongoing call did not clear the active call, preventing new calls from being initiated post-reload.
  • Fixed an issue where the ThreadHeader message bubble did not reflect updates when the corresponding message was edited or deleted in the Main Chat List.
  • Resolved an issue where the shimmer loader continued indefinitely when the conversations list was empty.
  • Fixed an issue where long messages overflowed outside the edit preview UI, causing layout breaks.

v5.0.7

11 Apr 10:42
c2180fe

Choose a tag to compare

New

  • None

Enhancements

  • Allowed direct import of the stylesheet from the package, eliminating the need for specifying a relative path.

Fixes

  • Fixed an issue where the hideUserStatus property did not work as expected in the CometChatConversations component.
  • Fixed an issue where the conversation summary appeared in threads if a thread was open.
  • Resolved a bug where the message object incorrectly displayed & as & when sent.
  • Corrected the positioning of the reaction tooltip to ensure it displays accurately, even when there is limited space.
  • Resolved the issue of duplicate icons displayed in app created via Vite.
  • Fixed an issue where editing any message in the main message list mistakenly updated the parent message of a thread if a thread was open.
  • Fixed an issue where the message count increased by 2 for each new reply in a thread if React Strict Mode is enabled in NextJs.
  • Fixed the Create Poll UI to open properly in mobile view.
  • Resolved the flickering issue of the date separator.
  • Fixed incorrect timestamp in date separator when conversations contained few or same-day messages with no previous message present.
  • Fixed the UI of the date pattern in sticker bubbles when receipts are hidden in the message list to ensure proper alignment.
  • Fixed the issue where message options were not being returned for custom messages from the CometChatUIKit.getDataSource().getMessageOptions method.
  • Addressed an issue where reloading the page during an ongoing call did not clear the active call, preventing new calls from being initiated post-reload.
  • Fixed an issue where the ThreadHeader message bubble did not reflect updates when the corresponding message was edited or deleted in the Main Chat List.
  • Resolved an issue where the shimmer loader continued indefinitely when the conversations list was empty.
  • Fixed an issue where long messages overflowed outside the edit preview UI, causing layout breaks.

v6.0.3

28 Mar 07:51
271a204

Choose a tag to compare

New

  • Added support for React 19, ensuring compatibility with the latest version.
  • Messages sent in a new conversation now appear at the bottom of the message list for better readability.

Enhancements

  • Added an error view in the voice recorder when microphone permission is not granted, improving user feedback.
  • Disabled interaction with Message bubble in the Message Information component to prevent unintended actions.

Fixes

  • Next.js: Resolved an issue where the message options menu flickered when opened for messages at the top of the list.
  • Fixed an issue where messages were not marked as delivered in the conversation list when the recipient had the message list open.
  • Adjusted message options placement, preventing them from moving down when reactions or replies are added.
  • Resolved a rendering issue where attachment options with two choices appeared incorrectly in Threads.
  • Next.js: Fixed selection mode issue where list items were not marked as selected correctly when clicking the checkbox.
  • Corrected the CometChatThreadHeader width, preventing message bubbles from being cut off on the right side.
  • Fixed an issue where Poll bubbles did not update correctly in the main chat when a vote was cast in Threads.
  • Prevented message bubbles from increasing in size abnormally when adding more than 10+ reactions to long messages.
  • Fixed an issue where stickers sent in the main chat appeared in Threads if the Thread view was open.
  • Fixed an issue where error messages did not reappear when selecting an unsupported file type the second time.
  • Fixed a flickering issue in the reaction list when only 1-2 reactions were present.
  • Fixed an issue where the call interface was not displayed when initiating a call from the Call Log when opened in a small window.
  • Corrected a bug where the 'Today' label appeared twice in the message list.
  • Safari Browser: Fixed an issue where the video bubble broke after playing the parent video in a Thread.
  • Improved the Conversation Starters UI to look better in mobile view.
  • Resolved an issue where sending continuous messages in caused the 'Today' sticky separator to display previous dates instead of remaining on "Today".
  • Fixed a bug where the reaction list did not close when opening a reaction list for another message.
  • Resolved a flickering issue in the voice recording pop-up when opening.
  • Fixed call button flickering in CometChatMessageHeader when either button was clicked.
  • Fixed an issue where message options remained visible when scrolling, instead of closing in mobile browser.
  • Fixed real-time updates for the following CometChatMessageComposer props: hideEditMessageOption, hideDeleteMessageOption, hideTranslateMessageOption & hideMessagePrivatelyOption.
  • Resolved an issue where a blocked user's status was visible in the CometChatUsers component.