Skip to content

Releases: cometchat/chat-sdk-flutter

v4.1.0

30 Jan 12:19
a6ab6b7

Choose a tag to compare

New

  • Introduced markMessageAsUnread() method to allow marking messages as unread for easier tracking and follow-up.
  • Added markConversationAsDelivered() method to signal that a conversation has been delivered.
  • Introduced markConversationAsRead() method to update the status of a conversation to "read."
  • Updated lastReadMessageId variable to return and accept an int type instead of a string.
  • Added latestMessageId variable, which will hold the latest message id for that particular conversation.

Enhancements

  • None

Fixes

  • None

Deprecations

  • Deprecated markAsUnread() method. Please use markMessageAsUnread() instead.

Removals

  • None

v4.0.33

30 Dec 12:44
e560cea

Choose a tag to compare

New

  • None

Enhancements

  • None

Fixes

  • Resolved an issue where image and video thumbnails were not displayed when the URL was not included in the metadata and the token-based file access feature was enabled.

Deprecations

  • None

Removals

  • None

v4.0.32

15 Dec 08:09
29b5f32

Choose a tag to compare

New

  • Added a getFlagReasons method that retrieves the list of available flag reasons from the dashboard, allowing developers to display accurate and up-to-date reporting categories.
  • Added a flagMessage method that enables developers to flag a specific message by providing the message ID and the corresponding reason ID.
  • Added quotedMessageId variable to the BaseMessage class for retrieving and assigning the ID of a quoted message.
  • Introduced quotedMessage in the BaseMessage class to get or set the quoted message object.
  • Introduced hideQuotedMessages in the MessageRequestBuilder class to configure whether quoted messages should be included in the response.

Enhancements

  • None

Fixes

  • None

Deprecations

  • None

Removals

  • None

v4.0.31

15 Dec 07:15
04ac42c

Choose a tag to compare

New

  • Added a getFlagReasons method that retrieves the list of available flag reasons from the dashboard, allowing developers to display accurate and up-to-date reporting categories.
  • Added a flagMessage method that enables developers to flag a specific message by providing the message ID and the corresponding reason ID.
  • Added quotedMessageId variable to the BaseMessage class for retrieving and assigning the ID of a quoted message.
  • Introduced quotedMessage in the BaseMessage class to get or set the quoted message object.
  • Introduced hideQuotedMessages in the MessageRequestBuilder class to configure whether quoted messages should be included in the response.

Enhancements

  • None

Fixes

  • None

Deprecations

  • None

Removals

  • None

v4.0.30

24 Nov 20:10
b92ae0c

Choose a tag to compare

New

  • None

Enhancements

  • Changed the default limit to fetch in various request builders from 50 to 30.

Fixes

  • Fixed an issue where only offline group members were fetched by default.
  • Fixed pagination issue in various request builders.
  • Added a flag to prevent multiple requests from being triggered simultaneously within a method.

Deprecations

  • None

Removals

  • None

v4.0.29

17 Nov 13:29
8f6340f

Choose a tag to compare

New

  • Added filters (hideAgentic, onlyAgentic) to ConversationsRequest to help manage AI-driven (agentic) conversations.
  • Added a status filter to GroupMembersRequest for more precise member management.

Enhancements

  • Added setPage() methods to all request builders, enabling direct page navigation and improved data handling in paginated responses.
  • Implemented file size and file count validation in sendMediaMessage(), with configurable limits available through Settings.

Fixes

  • None

Deprecations

  • None

Removals

  • None

v4.0.28

05 Nov 13:25
36290b8

Choose a tag to compare

New

  • None

Enhancements

  • None

Fixes

  • Resolved an issue where sending multiple media files using the chat SDK did not return the list of attachments in the onSuccess callback. This issue occurred despite successful media transmission and has now been fixed to ensure accurate delivery feedback.

Deprecations

  • None

Removals

  • None

v4.0.27

16 Oct 14:18
6bd0de7

Choose a tag to compare

New

  • Added AI Assistant Event Classes to provide detailed lifecycle tracking for AI assistant interactions:
    • AIAssistantBaseEvent – Serves as the base type for all AI assistant-related events.
    • AIAssistantRunStartedEvent – Triggered when an AI assistant run begins.
    • AIAssistantRunFinishedEvent – Triggered when an AI assistant run completes.
    • AIAssistantMessageEndedEvent – Triggered when an AI assistant finishes sending a message.
    • AIAssistantContentReceivedEvent – Triggered when content is received from the AI assistant.
    • AIAssistantToolStartedEvent – Triggered when the AI assistant starts executing a tool.
    • AIAssistantToolEndedEvent – Triggered when the AI assistant completes a tool execution.
    • AIAssistantToolArgumentEvent – Triggered when arguments are passed to an AI tool.
    • AIAssistantToolResultEvent – Triggered when results are returned from an AI tool.
  • Introduced AIAssistantListener for subscribing to and handling AI assistant events:
    • addAIAssistantListener – Registers a listener for AI assistant events.
    • removeAIAssistantListener – Unregisters an AI assistant listener.
    • onAIAssistantEventReceived – Handles incoming AI assistant events.
  • Introduced new methods in MessageListener for subscribing to and handling new AI assistant messages:
    • onAIAssistantMessageReceived – Handles incoming AI assistant message.
    • onAIToolArgumentsReceived – Handles incoming AI tool arguments.
    • onAIToolResultReceived – Handles incoming AI tool result.
  • Added Messages & Data Classes for structured handling of AI tool call, argument, result and message:
    • AIToolResultMessage – Represents a message containing the result of a tool execution.
    • AIToolCall – Contains structured data for a specific AI tool call.
    • AIToolCallFunction – Contains structured data for a specific AI tool call function.
    • AIToolArgumentMessage – Represents a message containing tool arguments.
    • AIAssistantMessage – Represents a message sent by the AI assistant.

Enhancements

  • None

Fixes

  • None

v4.0.26

01 Oct 15:36
499284c

Choose a tag to compare

Fixes

  • Added a missing method to fetch message details by message ID.

v4.0.25

22 Aug 13:37
bed8290

Choose a tag to compare

New

  • Added a new onMessageModerated method in the MessageListener class. This method is triggered when a message sent by the logged-in user is successfully processed by moderation and receives either an approved or disapproved status.
  • Introduced a new moderationStatus variable in both TextMessage and MediaMessage classes, allowing users to check the moderation status of their messages.
  • Added a new ModerationStatusEnum enum that includes the following states:
    • pending
    • approved
    • disapproved
    • unmoderated (default for apps without moderation enabled)