Skip to content

Releases: cometchat/chat-sdk-javascript

v4.0.5

Choose a tag to compare

@mayur-bhandari mayur-bhandari released this 16 Apr 10:38
7280836

Enhancement:

  • Added a new method isBannedFromGroup to the Group model class to indicate whether the user is banned from the group or not.
  • Introduced three new methods in CustomMessage class as follows:
    1. shouldSendNotification(val: boolean): It accepts boolean value, if you pass true it will trigger a notification for the custom message.
    2. setConversationText(text: string): It accepts a string which can be used to display the last message text in the conversation list.
    3. shouldUpdateConversation(val: boolean): It accepts boolean value, if you pass true the message will appear as the last message in the Conversation and will update and reorder the conversation list, placing the conversation at the top.

v4.0.4

Choose a tag to compare

@mayur-bhandari mayur-bhandari released this 20 Mar 16:40
1857701

New

  • Introduced Reaction and ReactionEvent classes to enhance the functionality of message reactions introduced in v4.0.3.
  • Added ReactionsRequest class as a replacement for ReactionRequest class introduced in v4.0.3.
  • Added ReactionsRequestBuilder class as a replacement for ReactionRequestBuilder class introduced in v4.0.3.
  • Introduced Enhanced Push Notification Feature.
    • Added PushPreferences, GroupPreferences, MutePreferences, MutedConversation, UnmutedConversation&DaySchedule` classes
    • Added method registerPushToken method to register push token.
    • Added method unregisterPushToken method to unregister push token.
    • Added method muteConversations method to mute push notifications of conversations.
    • Added method unmuteConversations method to unmute push notifications of conversations.
    • Added method fetchPushPreferences, updatePushPreferences & resetPushPreferences to fetch, update & reset push preferences.

Enhancements

  • The real-time listeners onMessageReactionAdded and onMessageReactionRemoved have been improved to return an object of ReactionEvent class, providing a more robust event model.
  • ReactionsRequestBuilder has been enhanced to return a list of Reaction objects, offering a more intuitive and consistent API.

Removals

  • Removed the MessageReaction class introduced in v4.0.3, transitioning its responsibilities to the new Reaction and ReactionEvent classes.
  • Removed myMentionsOnly method from MessagesRequestBuilder introduced in v4.0.2.

Fixes

  • Addressed an issue that led to unnecessary warnings being emitted from the Chat SDK, ensuring a cleaner console output.
  • Resolved a sorting problem that resulted in incorrect message order when the token based file access was enabled, improving message sequence integrity.

v4.0.4-beta1

v4.0.4-beta1 Pre-release
Pre-release

Choose a tag to compare

@mayur-bhandari mayur-bhandari released this 14 Mar 13:19

New

  • Introduced Reaction and ReactionEvent classes to enhance the functionality of message reactions introduced in v4.0.3.
  • Added ReactionsRequest class as a replacement for ReactionRequest class introduced in v4.0.3.
  • Added ReactionsRequestBuilder class as a replacement for ReactionRequestBuilder class introduced in v4.0.3.

Enhancements

  • The real-time listeners onMessageReactionAdded and onMessageReactionRemoved have been improved to return an object of ReactionEvent class, providing a more robust event model.
  • ReactionsRequestBuilder has been enhanced to return a list of Reaction objects, offering a more intuitive and consistent API.

Removals

  • Removed the MessageReaction class introduced in v4.0.3, transitioning its responsibilities to the new Reaction and ReactionEvent classes.
  • Removed myMentionsOnly method from MessagesRequestBuilder introduced in v4.0.2.

Fixes

  • Addressed an issue that led to unnecessary warnings being emitted from the Chat SDK, ensuring a cleaner console output.
  • Resolved a sorting problem that resulted in incorrect message order when the token based file access was enabled, improving message sequence integrity.

v4.0.3

Choose a tag to compare

@kaushikRitik kaushikRitik released this 15 Dec 11:44
  • Added support to react on Text, Media, and Custom Messages
  • Added a new field unreadMentionsCount field in Conversation Object
  • Added a new field lastReadMessageId field in Conversation Object

v4.0.2

Choose a tag to compare

@mayur-bhandari mayur-bhandari released this 15 Mar 14:37
  • New Added support to mention a user in Text & Media Message.
  • New Added support to send interactive messages like forms, card, etc.
  • New Added a method to mark a message as unread.

v4.0.1

Choose a tag to compare

@mayur-bhandari mayur-bhandari released this 13 Oct 08:55
  • Added AI Conversation Summary, AI Bot Assistance methods.
  • Updated AI Conversation Starter & AI Smart Replies methods.

3.0.12

Choose a tag to compare

@mayur-bhandari mayur-bhandari released this 22 May 10:14
  • Fixed issue with registerTokenForPushNotification method.
  • Miscellaneous optimisations.

v3.0.11

Choose a tag to compare

@mayur-bhandari mayur-bhandari released this 24 Jan 18:04

Added method to customise the Main Video Container in Spotlight mode.

v3.0.10

Choose a tag to compare

@mayur-bhandari mayur-bhandari released this 20 Jul 11:33
  • Fixed issue with onOutgoingCallRejected event not triggering when the call is marked unanswered.

v3.0.9

Choose a tag to compare

@mayur-bhandari mayur-bhandari released this 01 Jul 14:37
  • Added the ability to share multiple files/attachments in a single media message.