Skip to content

Releases: cometchat/cometchat-uikit-react

v6.0.2

15 Mar 15:26
148279b

Choose a tag to compare

New

  • Added support for Interactive Messages, displaying a default message when an interactive message is received.

Enhancements

  • None

Fixes

  • Fixed an issue where passing formatters in the textFormatters prop of CometChatMessageComposer did not work.
  • Resolved an error occurring when continuously clicking the Pause and Resume buttons in the voice recording popover, which caused the recording to stop unexpectedly.
  • Fixed an issue where clicking outside the media recorder pop-up would close the pop-up and result in the loss of recording progress.
  • Fixed a bug where group member scope changes were not updating in real-time unless the user hovered over the member.
  • Addressed inconsistent call icons in call logs that caused user confusion.
  • Fixed an issue where passing hideReceipt={true} in CometChatMessageList or CometChatConversations prevented messages from being marked as read/delivered, leaving an unread count that did not clear even after opening the conversation.
  • Resolved a bug where receiving a new message in a group incorrectly marked all previous messages sent by the logged-in user as read, even when not all members had read them.
  • Fixed an issue where the date header in the message list showed an outdated date instead of a shimmer effect when switching chats.
  • Fixed a UI bug where long text messages changed bubble size on hover in small viewports due to message options appearing.
  • 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 overflow issues where Emoji Keyboard, and Reaction List extended outside the message list in small viewports.
  • Resolved an error that occurred when attempting to play a newly sent voice recording before the message was delivered.
  • Fixed an issue where the Sticker Keyboard component used a * CSS selector, unintentionally overriding global styles.
  • Fixed an issue in CometChatMessageList where scrolling sometimes displayed incorrect old dates instead of the actual message date.
  • Resolved a bug where the Today label was incorrectly shown for messages sent a day earlier in CometChatMessageList and CometChatConversations.
  • Fixed a real-time update issue where group messages were not marked as read/delivered immediately after all group members read/delivered them.

v5.0.5

15 Mar 15:27
f1a98a3

Choose a tag to compare

New

  • Added support for Interactive Messages, displaying a default message when an interactive message is received.

Enhancements

  • None

Fixes

  • Fixed an issue where passing formatters in the textFormatters prop of CometChatMessageComposer did not work.
  • Resolved an error occurring when continuously clicking the Pause and Resume buttons in the voice recording popover, which caused the recording to stop unexpectedly.
  • Fixed an issue where clicking outside the media recorder pop-up would close the pop-up and result in the loss of recording progress.
  • Fixed a bug where group member scope changes were not updating in real-time unless the user hovered over the member.
  • Addressed inconsistent call icons in call logs that caused user confusion.
  • Fixed an issue where passing hideReceipt={true} in CometChatMessageList or CometChatConversations prevented messages from being marked as read/delivered, leaving an unread count that did not clear even after opening the conversation.
  • Resolved a bug where receiving a new message in a group incorrectly marked all previous messages sent by the logged-in user as read, even when not all members had read them.
  • Fixed an issue where the date header in the message list showed an outdated date instead of a shimmer effect when switching chats.
  • Fixed a UI bug where long text messages changed bubble size on hover in small viewports due to message options appearing.
  • 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 overflow issues where Emoji Keyboard, and Reaction List extended outside the message list in small viewports.
  • Resolved an error that occurred when attempting to play a newly sent voice recording before the message was delivered.
  • Fixed an issue where the Sticker Keyboard component used a * CSS selector, unintentionally overriding global styles.
  • Fixed an issue in CometChatMessageList where scrolling sometimes displayed incorrect old dates instead of the actual message date.
  • Fixed a real-time update issue where group messages were not marked as read/delivered immediately after all group members read/delivered them.

v6.0.1

28 Feb 14:52
300675c

Choose a tag to compare

New

  • None

Enhancements

  • Updated group member options:
    • "Block" is now renamed to "Ban".
    • "Remove" is now renamed to "Kick".
    • "Change Role" is now renamed to "Change Scope".

Fixes

  • Fixed an issue where a call gets cut with a busy status if the recipient rejects the call and the caller tries again immediately.
  • Resolved an issue where the reaction pop-up overflowed when opened for the last message in a conversation in both mobile and desktop views.
  • Fixed an issue where the reaction list did not scroll to the bottom when a message had more than 10 reactions.
  • Resolved an issue where videos could not be resumed after being paused once.
  • Resolved an issue where the browser's default language was not being set as the language of the UI Kit.
  • Resolved a duplicate key error occurring in the message list, attachment options, and reaction list.
  • Fixed a flushSync error occurring in the message composer component.
  • Resolved an issue where an error appeared in the console when trying to remove reactions from the reaction list.
  • Fixed an issue where the audio waveform was visible over the reaction list.
  • Resolved a bug where removing reactions from the reaction list made it appear empty, even when other reactions were still present.
  • Fixed an issue in Next.js where the reaction list closed when a single reaction was removed.
  • Fixed an issue where starting a voice recording in strict mode caused the recording time counter to double, leading to incorrect duration display.
  • Resolved an issue where the UI Kit did not default to the browser's timezone when Auto Detection was enabled.

v5.0.4

28 Feb 14:47
ccaf5ff

Choose a tag to compare

New

  • None

Enhancements

  • Updated group member options:
    • "Block" is now renamed to "Ban".
    • "Remove" is now renamed to "Kick".
    • "Change Role" is now renamed to "Change Scope".

Fixes

  • Fixed an issue where a call gets cut with a busy status if the recipient rejects the call and the caller tries again immediately.
  • Resolved an issue where the reaction pop-up overflowed when opened for the last message in a conversation in both mobile and desktop views.
  • Fixed an issue where the reaction list did not scroll to the bottom when a message had more than 10 reactions.
  • Resolved an issue where videos could not be resumed after being paused once.
  • Fixed a bug in Next.js where the "+1" reaction pill remained visible when adding the first reaction, unless hovered over.
  • Resolved an issue where the browser's default language was not being set as the language of the UI Kit.
  • Fixed a bug in Next.js where pop-ups (attachment options, reactions, stickers, etc.) could not be opened.
  • Resolved a duplicate key error occurring in the message list, attachment options, and reaction list.
  • Fixed a flushSync error occurring in the message composer component.
  • Resolved an issue where an error appeared in the console when trying to remove reactions from the reaction list.
  • Fixed an issue where the audio waveform was visible over the reaction list.
  • Resolved a bug where removing reactions from the reaction list made it appear empty, even when other reactions were still present.
  • Fixed an issue in Next.js where the reaction list closed when a single reaction was removed.
  • Fixed an issue where starting a voice recording in strict mode caused the recording time counter to double, leading to incorrect duration display.

v6.0.0

14 Feb 15:19
3355e4d

Choose a tag to compare

New

  • Added support for new languages: Italian, Japanese, Korean, Turkish, and Dutch.
  • Implemented global date localization support in the CometChatLocalize class.
  • Added lastMessageDateTimeFormat in Conversations component to provide consistent datetime formatting.
  • Added lastActiveAtDateTimeFormat in Message Header component to provide consistent datetime formatting.
  • Added the below props in the Message List component to provide consistent datetime formatting,
    • separatorDateTimeFormat,
    • stickyDateTimeFormat,
    • messageSentAtDateTimeFormat,
    • messageInfoDateTimeFormat
  • Added separatorDateTimeFormat and messageSentAtDateTimeFormat in Thread Header component to provide consistent datetime formatting.
  • Added callInitiatedDateTimeFormat in Call Logs to provide consistent datetime formatting.
  • Added the below methods in the CometChatLocalize class,
    • addTranslation for custom translations.
    • getDefaultLanguage to retrieve the default language.
    • getDateLocaleLanguage for date localization.
    • formatDate to format dates consistently across the application.
    • getCurrentLanguage to retrieve the current language.
    • setCurrentLanguage to set the current language.
    • getLocalizedString to retrieve the localized text based on the current language.

Enhancements

  • Updated the CometChatLocalization class with new initialization methods.
  • Improved localization handling by changing localization keys for better consistency.

Fixes

  • None

Removals

  • Removed datePattern prop from Conversations for streamlined datetime formatting.
  • Removed datePattern prop from Call Logs for streamlined datetime formatting.
  • Removed the following prop from Message List component streamlined datetime formatting,
    • datePattern
    • timePattern
  • Removed the following methods from CometChatLocalize class,
    • getLanguageCode
    • setDefaultLanguage
    • isRTL
    • getDir
    • getLocale
    • setLocale
    • localize

Deprecations

  • None

v5.0.3

13 Feb 07:59
4705355

Choose a tag to compare

New

  • None

Enhancements

  • None

Fixes

  • Fixed an issue where conversations were duplicated upon page refresh.
  • Resolved a problem where messages were duplicated when rapidly switching between chats.
  • Fixed an issue where groups were duplicated upon page refresh.
  • Addressed an issue where message receipts were not updating in real-time.

v5.0.2

30 Jan 09:17
d162aec

Choose a tag to compare

New

  • None

Enhancements

  • Restored the missing poll bubble options type interface, ensuring full functionality.

Fixes

  • Resolved an error that occurred when switching between chats rapidly.
  • Corrected an issue where the group member count displayed inaccurately after actions such as adding or removing members.
  • Fixed a shimmer width issue in the CometChatUsers component.
  • Addressed a problem where the initialText prop in the CometChatMessageComposer component did not function as intended.
  • Fixed the sticker keyboard to display the default active tab correctly upon initialization.
  • Resolved an issue where the single selection mode did not work as expected.
  • Fixed a bug in CometChatMessageList where using scrollToBottom inadvertently caused the entire screen to scroll to the bottom.
  • Resolved an issue where the sticky date would change to a past date when sending messages rapidly.

v4.3.10

30 Jan 11:50
9ffe701

Choose a tag to compare

New

  • None

Enhancements

  • None

Fixes

  • Fixed vulnerability issues in the sample app to ensure a more secure and stable experience.

v5.0.1

13 Jan 17:10
3d9db84

Choose a tag to compare

New

  • None

Enhancements

  • None

Fixes

  • Resolved an issue where the screen momentarily flickered when sending a sticker, ensuring a smoother user experience.
  • Fixed uneven padding in image message bubbles when the placeholder image was visible, improving visual consistency.
  • Resolved a bug that caused duplicate messages to appear after scrolling in group chats, ensuring accurate message display.
  • Fixed an issue where the logged-in user's avatar was incorrectly shown for users who had not set their own avatar.
  • Corrected the issue where blue ticks appeared on group messages even if not all group members had read the message, ensuring accurate read status.
  • Resolved a problem where audio playback in audio message bubbles continued while recording and sending a new voice message, ensuring seamless media interactions.
  • Fixed a bug where the conversation subtitle text failed to refresh upon receiving new messages, ensuring accurate and real-time updates.
  • Ensured that messages containing empty spaces are now displayed correctly as sent, preserving formatting integrity.
  • Addressed a performance issue that caused unexpected behavior when rapidly switching between chats, ensuring stable and consistent navigation.

v5.0.0

03 Jan 15:47
7cae555

Choose a tag to compare

New

  • Expanded Customization Options: Introduced a range of new props to provide greater control over UI elements, allowing developers to hide/show components, enable/disable features, and override views for a more tailored user experience.

Enhancements

  • Standardized prop naming conventions across components for improved consistency.
  • Renamed hideReceipt to hideReceipts in Conversations component.
  • Renamed disableUsersPresence to hideUserStatus in Conversations, Users, and Message List components.
  • Renamed listItemView to itemView in Conversations, Users, Groups, Group Members, Message Header, and Call Logs components.
  • Renamed tailView to trailingView in Group Members, Message Header, and Call Logs components.
  • Renamed showAvatar to hideAvatar in Message List component.
  • Renamed alignment to messageAlignment in Message List component.
  • Renamed text to initialComposerText in Message Composer component.
  • Renamed hideVoiceRecording to hideVoiceRecordingButton in Message Composer component.
  • Renamed onClose to onCallCanceled in Outgoing Call component.

Fixes

  • Resolved an issue where the empty state of the message information in a user conversation was not visible in dark mode
  • Resolved an issue where the sticky date header in the message list overlapped the outgoing call modal.
  • Resolved an issue where the audio bubble overlapped the message information modal.
  • Corrected the message bubble styling in the Message List component when message alignment is set to left.
  • Addressed an issue in Safari where selecting an emoji from the emoji keyboard did not insert it into the message composer.
  • Fixed an issue where the ongoing call screen is dismissed if another incoming call is received.
  • Fixed an issue where the unread count was getting doubled when a message was received in real time.
  • Fixed an issue where the group member count was showing 0 members even though there is 1 member in the group in an edge case.
  • Fixed an issue where the timestamp was not visible in the group voice/video call bubble in the message information component.
  • Fixed an issue where the last seen of the user is not updated when they go offline.
  • Fixed an issue with message list flickering in group conversation.
  • Fixed an issue where the deleted custom message bubble was incorrect.
  • Fixed an issue where the outgoing call screen is dismissed if another incoming call is received.
  • Fixed an issue where the user avatar is not visible in the poll message bubble in some edge cases.
  • Fixed an issue where the message bubble was being rendered incorrectly in the ThreadedMessagePreview component.
  • Fixed an issue where the reply message option was being clicked only when the text is clicked.