Skip to content

v5.1.0

Choose a tag to compare

@aanshisingh-cometchat aanshisingh-cometchat released this 26 Jul 16:31
· 1 commit to v5 since this release
e0abd06

New

  • Added support for sending multiple images, videos, audio files, and documents in a single send, enabled by the new enableMultipleAttachments input on CometChatMessageComposer (default: true). #MultipleAttachments
  • Added CometChatImagesBubble (<cometchat-images-bubble>) to display multiple images in a grid with a +N overflow badge and full-screen preview. #ImagesBubble
  • Added CometChatVideosBubble (<cometchat-videos-bubble>) to display multiple videos in a grid with a +N overflow badge and full-screen playback. #VideosBubble
  • Added CometChatFilesBubble (<cometchat-files-bubble>) to display multiple document attachments within a single message. #FilesBubble
  • Added CometChatAudiosBubble (<cometchat-audios-bubble>) to display multiple audio files with playback controls, seek, download, and expandable +N more support. #AudiosBubble
  • Added CometChatVoiceNoteBubble (<cometchat-voice-note-bubble>) to render recorded voice notes using the built-in waveform player, identified by the audioType message metadata. #VoiceNoteBubble
  • Added a composer attachment tray with attachment previews, upload progress, retry/remove/cancel actions, and full-screen preview for staged images and videos. #ComposerAttachmentTray

Enhancements

  • Grouped mixed attachment sends into one message per media type (Images → Videos → Audios → Voice Note → Files) using a shared batchId for unified rendering. #AttachmentBatching
  • Limited moderation-blocked messages to Copy and Delete actions, with moderation notices visible only to the sender. #ModerationOptions

Fixes

  • Fixed multiple composers recording voice notes simultaneously by allowing only one active recording across conversations and threads. #SingleVoiceRecording
  • Fixed media and text collapsing in narrow conversation and thread panels by enforcing minimum panel widths and full-width media rendering in threads. #ResponsiveMediaLayout
  • Fixed an issue where the same message could be added twice to the message list when it was received multiple times from the listener

Deprecated

  • Deprecated the single-attachment bubbles CometChatImageBubble, CometChatVideoBubble, CometChatAudioBubble, and CometChatFileBubble; use the new per-type media bubbles instead. #SingleAttachmentBubbles