Releases: cometchat/cometchat-uikit-react
Releases · cometchat/cometchat-uikit-react
v6.1.0
New
- Introduced
CometChatSearchcomponent, 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
showSearchOptionprop inCometChatMessageHeaderto toggle the visibility of the search icon, andonSearchOptionClickedcallback to handle its click event. - Added
showSearchBarandsearchViewprops toCometChatConversationsto control search bar visibility and allow custom search views. Also introducedonSearchBarClickedcallback to handle interactions with the default search bar. - Added
goToMessageIdprop inCometChatMessageListto 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
subtitleViewandonSubtitleClickedprops inCometChatThreadHeader. The new subtitle displays the user or group name for the active thread and allows custom views and interaction callbacks. - Introduced
CometChatSearchScopeenum to define whether the search should be performed in conversations, messages, or both. - Introduced
CometChatSearchFilterenum to support setting aninitialSearchFilteror to provide a custom list of filters for theCometChatSearchcomponent.
Enhancements
- None
Fixes
- Fixed an issue where, when mentions were disabled in
CometChatMessageComposer, pasted text would appear multiple times. - Resolved a bug where all
onClickcallbacks inCometChatMessageOptionswere triggered, even if only one option was clicked within theCometChatConversationcomponent.
v6.0.7
New
- Added
showScrollbarprop 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
New
- Added
showScrollbarprop 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
New
- None
Enhancements
- Added a new
showBackButtonprop 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
hideBackButtonprop in favor of the newshowBackButtonfor improved clarity and consistency.
v5.0.9
New
- None
Enhancements
- Added a new
showBackButtonprop 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
hideBackButtonprop in favor of the newshowBackButtonfor improved clarity and consistency.
v6.0.5
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
CometChaThreadHeadereven whenhideReceiptswas set totrueinCometChatMessageListcomponent. - Resolved a visual bug where joining a group call via the Thread Header displayed two ongoing call screens simultaneously.
v5.0.8
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
CometChaThreadHeadereven whenhideReceiptswas set totrueinCometChatMessageListcomponent. - Resolved a visual bug where joining a group call via the Thread Header displayed two ongoing call screens simultaneously.
v6.0.4
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
hideUserStatusproperty did not work as expected in theCometChatConversationscomponent. - 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().getMessageOptionsmethod. - 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
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
hideUserStatusproperty did not work as expected in theCometChatConversationscomponent. - 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().getMessageOptionsmethod. - 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
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
CometChatMessageHeaderwhen 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
CometChatMessageComposerprops:hideEditMessageOption,hideDeleteMessageOption,hideTranslateMessageOption&hideMessagePrivatelyOption. - Resolved an issue where a blocked user's status was visible in the
CometChatUserscomponent.