Releases: cometchat/cometchat-uikit-react
Releases · cometchat/cometchat-uikit-react
v6.0.0
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
andmessageSentAtDateTimeFormat
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
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
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 theCometChatMessageComposer
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 usingscrollToBottom
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
New
- None
Enhancements
- None
Fixes
- Fixed vulnerability issues in the sample app to ensure a more secure and stable experience.
v5.0.1
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
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.
v5.0.0-beta2
New
- None
Enhancements
- Improved the clarity of images by updating the thumbnail size from small to medium, ensuring better visibility for certain images.
Fixes
- Fixed issue with sender name not visible in group conversation last message.
- Fixed issue with the message option not being visible for last message in a group conversation for admin/moderator.
- Resolved an issue where users could play multiple voice recordings at the same time.
- Corrected the member count in the group member list, which was showing incorrectly after a user left the group.
- Fixed a grammatical issue in time display: "1 minutes" now correctly displays as "1 minute".
- Resolved an issue where the maximum mention warning was not displayed when mentioning more than 10 users in a message.
- Resolved an issue where the download option in the file bubble was not visible for files with long names.
v5.0.0-beta1
New
- Revamped UI: Experience a fresh, modern design for improved visual appeal and consistency. The updated look enhances usability and engagement.
- Restructured Components: Enjoy a redesigned component architecture that improves scalability, making it easier to build and maintain modular designs.
Enhancements
- Optimized User Experience: Interactions have been streamlined to provide a smoother, more intuitive experience, reducing friction during use.
- Advanced Styling and Theming: Gain greater flexibility with enhanced customization options, allowing you to tailor appearances to suit your brand effortlessly.
- Simplified Integration: Set up faster and with ease thanks to a more intuitive, streamlined integration process.
Fixes
- None
Removals
- Style Props Removed: Style-specific props have been deprecated to encourage the use of modern theming practices, which offer more robust and scalable customization options.
v4.3.9
Fixes
- Fixed the Auto login issue on signup.
- Fixed an issue with auto-generated
UID
containing special characters and spaces in the name. - Added the
joinedOnly
option inGroupRequestBuilder
to fetch only joined groups. - Updated the
UI Kit
version.
v4.3.8
Enhancement
- Added functionality to fetch sample users from the API. If the API request fails, the app will now seamlessly fallback to using locally stored data. This ensures a smoother and more reliable user experience even in case of network or server issues.