Skip to content

v7.2.0

Choose a tag to compare

@PrajwalDhuleCC PrajwalDhuleCC released this 08 Sep 12:25
· 1 commit to v7 since this release
a9fb497

v7.2.0

New

  • Added support for pinning messages to a conversation, visible to everyone in that conversation. Pin Messages must be enabled for your app in the CometChat Dashboard; the UI Kit resolves this at login. Hide the actions using the hidePinMessageOption and hideUnpinMessageOption props on CometChatMessageList.
  • Added support for saving messages privately for the logged-in user, across every conversation. Save Messages must be enabled for your app in the CometChat Dashboard. Hide the actions using the hideSaveMessageOption and hideUnsaveMessageOption props on CometChatMessageList.
  • Added CometChatPinnedMessages to display the messages pinned in a conversation, with options to unpin, save, copy, and view message information. Open it from CometChatMessageHeader using the onPinnedMessagesClicked prop, or hide the action using hidePinnedMessagesOption.
  • Added CometChatSavedMessages to display the logged-in user's saved messages across all conversations.
  • Added support for pinning a conversation to the top of the conversation list. Pin Conversations must be enabled for your app in the CometChat Dashboard. Hide the action using the hidePinConversation prop on CometChatConversations.
  • Added support for subscribing to a message thread to follow its replies, in both one-on-one and group conversations. Sending a message, replying in a thread, or being mentioned in a reply subscribes you automatically. This is enabled by default; disable it using the hideThreadSubscriptionOption prop on CometChatMessageList and the hideThreadSubscriptionToggle prop on CometChatThreadHeader. Use the useThreadSubscription and useThreadSubscriptionState hooks to drive your own UI.
  • Added support for custom text formatters across every message surface — the composer, message bubbles, conversation subtitles, search results, reply and edit previews, and the pinned and saved message lists — using the textFormatters prop.
  • Added the toolbarTrailingView prop on CometChatMessageComposer to render a custom control, such as a colour picker, at the end of the rich text formatting toolbar.
  • Added the parentMessage prop on CometChatMessageList to enable thread mode by passing the parent message itself. This deprecates parentMessageId, which continues to work.

Enhancements

  • None

Fixes

  • Fixed a duplicate WebSocket connection across browser tabs. The UI Kit's Calls SDK login wrote to a Chat SDK-owned storage key that other tabs read as a second login; it has been removed, and the call token request now passes the user's auth token explicitly.