Releases: cometchat/cometchat-uikit-react
Releases · cometchat/cometchat-uikit-react
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.
v4.3.7
Enhancement
- Updated Sample App for UiKit version 4.3.7
v4.3.5
Enhancement
- Updated Sample App for UiKit version 4.3.5
v4.3.4
Enhancement
- Updated Sample App for UiKit version 4.3.3
v4.3.3
Enhancement
- Updated Sample App for UiKit version 4.3.3
v4.3.2
New
- Introduced UI components for adding reactions to messages as a core chat feature:
- Added
CometChatReactions
component to display reactions for messages, enhancing user interaction. - Added
CometChatReactionList
component to group and list users by their message reactions.
- Added
- Introduced CometChatTextFormatter Class designed to format text matching specific patterns.
- Launched UI components for mentioning users as a foundational chat feature:
- Introduced
CometChatMentionTextFormatter
class, an extension of CometChatTextFormatter, to specifically format user mentions within messages and provide the user suggestions when used with CometChatMessageComposer.
- Introduced
Enhancements
- Updated
CometChatMessageList
,CometChatMessageComposer
, andCometChatConversations
Components to accept an array ofCometChatTextFormatter
, providing a flexible text formatting system based on various regex patterns, such as differentiating between user mentions and URLs within a message. - Implemented a callback in CometChatMessages to handle header menu interactions.
Fixes
- Addressed the problem where the reactions screen was hidden behind the edge of the device in mobile devices.
- Fixed the issue where Conversations were not refreshing in real-time for interactive messages.
- Resolved the issue with the typing indicator only working for the initial typing event.
- Fixed the scrolling issue where clicking on a reaction would cause the message list to scroll to the bottom.
- Fixed the issue where realtime message listeners were not working in the thread messages screen.
- Fixed the
ccComposeMessage
event forCometChatMessageComposer
. - Resolved multiple issues with composing messages on iOS devices.
- Fixed the problem where passing the threadedMessagesConfiguration from MessagesConfiguration to CometChatMessages component was not working.