Skip to content

Releases: cometchat/cometchat-uikit-react

v4.3.19

22 Aug 07:07
9c91626
Compare
Choose a tag to compare

New:

  • Added a new prop hideReceipt to hide the receipt in the message bubble and conversation’s last message.

Fixes:

  • Fixed an issue where previously selected users were cleared when searching and then clearing the search bar in the CometChatAddMembers component.

  • Fixed an issue where contactStyle was incorrectly marked as a required prop in the CometChatContacts component.

  • Fixed an issue where user & group prop were incorrectly marked as required in the CometChatCallButtons component.

Deprecations:

  • Deprecated disableReceipt prop from CometChatMessageList & CometChatConversations component.

v4.3.18

08 Aug 20:04
95f3e2b
Compare
Choose a tag to compare

New:

  • The sender of a message will now see a double tick on a group message to indicate that the message has been successfully delivered to all users within that group, and a double blue tick once it has been read by all participants in the group.

Enhancements:

  • If isIncludeBlockedUsers is set to true in the ConversationsRequestBuilder and the logged-in user blocks another user, the conversation is not removed from the list.

Fixes:

  • Fixed an issue where messages sent at 12 PM were incorrectly displaying “12AM” instead of “12PM” on the time label.
  • Fixed an issue where the padding prop of listItemStyle was not working.
  • Fixed an issue where overriding statusIndicatorStyle applied the style to all users instead of only active users.

v4.3.17

23 Jul 12:47
ba37a7c
Compare
Choose a tag to compare

Fixes:

  • Fixed an issue where the custom text in the text prop of messageComposerConfiguration was repeated after pasting copied text from a message bubble.
  • Fixed an issue where cancelling an ongoing call resulted in an error.
  • Fixed an issue where the unread message count was not updating in CometChatConversations for custom messages that only had updateConversation key present but lacked incrementUnreadCount key in metadata.
  • Fixed an issue where the text in the message input remained unchanged after switching chats.
  • Fixed an issue where the status of blocked users (online/typing) was still visible in the CometChatMessageHeader and CometChatConversation components.

v4.3.16

18 Jul 07:59
594d10a
Compare
Choose a tag to compare

Fixes:

  • Fixed an issue in Safari and Firefox browsers where the send button was not disabled after clearing text from the message input, resulting in sending a message with
    text.
  • Fixed an issue where overriding MessageHeaderStyle caused backIconTint to revert to the original theme instead of using the developer-defined theme.
  • Fixed an issue where the unread message count was not updated correctly when two users are logged in on different devices, ensuring that messages are marked as read consistently across both devices.
  • Fixed a bug where the prop to customise tint color of the live reaction icon was missing.
  • Fixed an issue where the attachmentOptions callback in CometChatMessageComposer was not returning the group in the callback.

v4.3.14

09 Jul 13:43
7c9241f
Compare
Choose a tag to compare

Fixes:

  • Fixed an issue in the CometChatCallLogWithDetails component where the time overlapped with the subtitle view when resizing the browser.
  • Resolved an issue where pasting text into the message composer included emojis from previous messages
  • Fixed an issue where message options would hide when hovering over a message and moving the cursor slowly or when trying to access the first option.
  • Fixed an issue where the unread message count was not updated correctly when two users are logged in on different devices, ensuring that messages are marked as read consistently across both devices.
  • Fixed an issue where the smart replies pop-up would automatically reopen on receiving subsequent messages if initially opened via the AI action button.

v4.3.13

02 Jul 13:21
19cde97
Compare
Choose a tag to compare

Fixes

  • Fixed an issue where the onSendButtonClick callback was not triggered after editing a message and then clicking the send button.
  • Fixed an issue where the edit preview from a previous conversation was visible in the composer when switching conversations.

v4.3.12

27 Jun 07:48
3935b96
Compare
Choose a tag to compare

Enhancements

  • Mentions formatter enhancements with different enums for consistency across every platform.

Fixes

  • Fixed an issue where the typing indicator was being sent even though the logged-in user had blocked the other user. The receiver was able to see typing.
  • Fixed an issue where the template property in the messageInformation component was not optional.
  • Fixed an app crash issue related to the dynamic last message feature following call termination.
  • Fixed an issue where the message bubble did not show an error icon if message sending failed.
  • Fixed an issue where the hideError prop was missing from the MessagesList component.

v4.3.11

19 Jun 08:40
54affa3
Compare
Choose a tag to compare

Fixes

  • Removed messageTextColor and messageTextFont properties from MessagesStyle.
  • Fixed an issue where the app was crashing when the loggedInUser clicked on messageInfo. This crash occurred when subtitleView was passed as a string or view. The application should no longer crash in this scenario, ensuring stability and a smoother user experience.
  • Fixed an issue in the CometChatUsersWithMessages component. Previously, some properties of various configurations, such as messageInformationConfiguration, were not functioning correctly. This fix ensures that all configurations are applied as expected, improving the component's reliability and flexibility.
  • Fixed an issue in the CometChatMessages component where setting hideMessageComposer to true caused messages not to fetch and displayed a loading state indefinitely. This fix ensures that messages are fetched correctly even when the messageComposer is hidden, improving the component's functionality and user experience.
  • Fixed an issue where the errorStateView prop was not working in the CometChatCallLogs component. This fix ensures that the errorStateView prop is now functioning correctly, allowing for better error handling and display within the component.
  • Fixed an issue in the CometChatCallLogDetails component where the call prop should be mandatory. This fix enforces that the call prop is required, ensuring that the component receives the necessary data to function correctly.
  • Fixed an issue where template overriding was not working in the CometChatCallLogDetails component. This fix ensures that custom templates can be applied correctly, enhancing the customization capabilities of the component.

v4.3.10

07 Jun 13:51
1bb9005
Compare
Choose a tag to compare

New

  • Introduced real-time updates for the last message and unread count in conversations based on App setting configured via dashboard, ensuring up-to-date information is displayed.

Enhancements

  • Optimized the CometChatMessageList component for better performance and maintainability.

Fixes

  • Fixed an issue with the DatePatterns in CometChatMessageList component: Previously, it was displaying "today" instead of "Today". This fix ensures the first letter is capitalized, improving the display consistency.
  • Fixed an issue in the CometChatConversationsWithMessages,CometChatGroupsWithMessages component. Previously, some properties of various configurations, such as ThreadedMessagesConfiguration, UserMemberWrapperConfiguration etc, were not working as expected. This fix ensures that all properties within these configurations function correctly, improving the overall performance and reliability of the components.
  • Fixed an issue with the CometChatCallButtons component. Previously, when the user or group prop was not provided, the component failed to throw an error and only displayed an empty screen. This fix ensures that an appropriate error is thrown when these required props are missing, improving error handling and user feedback in the CometChatCallButton component.
  • Fixed an issue with the deleted message bubble. The dashed border is now moved from the messageBubble to the contentView, improving override access and visual consistency.
  • Fixed a types issue in the CometChatCallButtons component. This fix addresses a types issue that was affecting the CometChatCallButtons component, ensuring proper type checking and preventing potential runtime errors.

v4.3.9

30 May 08:40
a4c8f04
Compare
Choose a tag to compare

Fixes:

  • Rectified an issue with the setSearchKeyword method not functioning as expected in several components, including CometChatGroups, CometChatUsers, CometChatGroupMembers, and CometChatBannedMembers. This specifically affected groupsRequestBuilder, searchRequestBuilder, userRequestBuilder, groupMemberRequestBuilder, and bannedMembersRequestBuilder. This adjustment ensures that the setSearchKeyword method operates correctly, enhancing search functionality across these components.
  • Rectified an issue where certain icon tint properties were not functioning as expected, specifically attachIconTint, emojiIconTint, and voiceRecordingIconTint. This fix ensures these properties work properly, enhancing the visual consistency of various icons within the application.
  • Resolved an issue in a group call (Direct Call). Previously, when user A ended the call, the call would also end at user B's end. This fix ensures accurate call management in group calls, delivering a better user experience.
  • Fixed an issue with the errorState property of the CometChatCallLogHistory and CometChatCallLogs components. Previously, when an error occurred, the component displayed the emptyStateText instead of the errorStateText. Moreover, the ErrorStateView was not rendering as expected. This fix ensures that the appropriate error text is displayed and that the ErrorStateView works as intended, improving the error handling within the components.
  • Rectified an issue in the CometChatAddMembers and CometChatBannedMembers components where the icon tint for the close button was not functioning properly. Despite attempts to adjust the icon tint, it previously remained at its default appearance. This fix ensures the icon tint properly applies, allowing for improved customization and consistency within the user interface.
  • Fixed an issue in the CometChatCallLogDetails where the avatarStyle prop was not functioning correctly. Previously, when custom styles were passed through the avatarStyle prop to override default styles, they were not being applied. This fix ensures that custom styles are properly applied, enhancing the flexibility of style customization in the CometChatCallLogDetails component.