Skip to content

v5.2.0

Choose a tag to compare

@jitvarpatil jitvarpatil released this 17 Oct 14:42
· 15 commits to v5 since this release
a09b7ac

New

  • Added messageStream observable and streamingState observable, enabling developers to subscribe to AI agent message events and stream content updates in real time.
  • Added CometChatAIAssistantMessageBubble with Markdown support, enabling clear and formatted rendering of AI Agent messages for improved readability and user experience.
  • Provided quick starter suggestions in the empty state to help users begin interactions with the AI agent faster.
  • Added "New Chat" button to reset conversation context and chat history sidebar for easy access to previous sessions.
    • Enabled full customization through props, including:
    • Streaming speed adjustments.
    • Custom header, empty state, and error views.
    • Visibility toggles for suggestions, history, and new chat buttons.
    • Introduced callback actions for:
      • onBackButtonClicked — Handle back navigation.
      • onCloseButtonClicked — Handle closing the assistant chat.
      • onError — Capture and handle runtime errors from header, list, or composer.
  • Added aiAssistantTools prop to enable AI agent tool/function calls during conversation.

Enhancements

  • None

Fixes

  • The mic button is now correctly hidden when audio sharing is disabled in Chat Builder.
  • Delivery and read receipts no longer appear in the thread header when a message is being held.
  • Mentions are no longer visible when disabled in chat builder.
  • The online/offline presence status is now correctly hidden when disabled in chat builder.
  • Attachment options are no longer visible when disabled in the chat builder.
  • Group info and user info are now correctly hidden when disabled in chat builder.
  • The user's online status is no longer shown when the status visibility is set to "gone" in UserInfo and CallDetails screen.
  • The primary color is now properly applied to the text inside the user profile.
  • Delivery and read receipts are no longer shown when a message is long pressed.
  • Private messaging within groups is now properly hidden when disabled in chat builder.
  • Fixed an issue preventing multimedia (videos, audio files, etc.) and location sharing from being played in the app. The problem where a "location cannot be played" popup appeared unexpectedly has been resolved.
  • Fixed an issue in the V5 Android UI Kit where image messages were not previewing the image until it was fully loaded. Now, images are displayed correctly while loading.
  • Fixed an issue where the screen would scroll for both users when voting on a poll in Android. This fix ensures that only the relevant user’s screen scrolls during polling interactions.