Releases: cometchat/cometchat-uikit-flutter
Release list
v6.0.0
New
- Added message flagging and reporting support, along with translations for 20 locales, allowing users to moderate conversations in their preferred language.
- Added the
CometChatComposerLayoutcomponent with both single-line and double-line layout options for greater flexibility when customizing the message composer experience. - Added a keyboard diagnostics utility to simplify troubleshooting and validation of keyboard-related behaviors across chat interfaces.
- Added a thumbnail extraction utility to generate preview images from supported media content more efficiently.
- Added an in-chat image viewer, allowing users to open and preview shared images directly within conversations.
- Added Firebase configuration support to the sample application to simplify setup for push notifications and related integrations.
Enhancements
- Improved the composer layout rendering pipeline to provide more consistent behavior and easier customization across composer variants.
- Enhanced the rich-text messaging flow to use a dedicated WYSIWYG-only rendering path for more predictable formatting behavior.
- Improved image message bubbles to provide a more polished and consistent media viewing experience in conversations.
- Expanded the conversation preview utility to support additional conversation and message preview scenarios.
- Refreshed BLoC implementations across conversations, groups, users, message actions, call buttons, and ongoing call flows to improve consistency and maintainability across the SDK experience.
- Updated sample application screens to better reflect the latest UI components, layouts, and interaction patterns.
- Reorganized the Skills directory structure and added
.claude-pluginmanifest support to improve plugin discovery and project organization.
Fixes
- Fixed an issue where long-press actions on formatted mentions could produce incorrect formatter behavior in certain message interaction flows.
- Fixed an issue where calling functionality could stop working after a user logged out and logged back in, ensuring calls continue to work reliably across session changes.
- Fixed an issue where Android audio message recording could become stuck after the microphone permission prompt, restoring smooth voice message recording.
Deprecations
- None
Removals
- None
v6.0.0-beta.2
New
- Added AI Assistant support with chat history, events, and stream services.
- Added a new AI sample app in
examples/ai_sample_app. - Added an overlay for managing ongoing calls.
- Added emoji utilities for improved text rendering.
- Added AI agent skills and configuration support for AI coding assistants.
Enhancements
- Improved calling UI components and workflows.
- Enhanced the message composer, message list, and conversation components.
- Updated group, user, and search components for improved performance and consistency.
- Refined shared UI components, including message inputs, reactions, badges, and action bubbles.
- Improved media components, text formatting utilities, and status indicators.
- Updated keyboard handling, Android native plugins, and audio recording support.
- Enhanced sample app screens and feature configuration options.
- Updated the
cometchat_uikitpackage with architectural improvements.
Fixes
- None
v5.2.14
New
- None
Enhancements
- None
Fixes
- Fixed an issue where call screens could appear partially hidden behind system UI elements on certain devices.
- Fixed mention styling limitations in
CometChatThreadedHeaderby adding support for thetextFormattersparameter for custom appearance.
Deprecations
- None
Removals
- None
v6.0.0-beta.1
New
-
Introduced a Clean Architecture with BLoC-based state management across all components, enabling predictable updates using immutable states and event-driven workflows.
-
Added a Smart Message Bubble system using a factory-based registry for efficient message type rendering, supporting both automatic and custom message views.
-
Introduced
CometChatMessageTemplate, allowing granular customization of message UI sections such as header, content, footer, status, thread, and reply views. -
Added a
DefaultBubbleFactoriesregistry that provides built-in bubble implementations with customizable styling for text, image, video, audio, and file messages. -
Introduced configurable data access through Repository and DataSource overrides, enabling developers to customize component data handling.
-
Added request builder parameters for conversations and messages to allow request-level customization without replacing the entire data layer.
-
Introduced a WYSIWYG Rich Text Composer with inline formatting options including bold, italic, strikethrough, code, links, ordered lists, bullet lists, and code blocks.
-
Added a hybrid theme caching system that allows theme values to be pre-cached and reused across widgets to improve UI performance during scrolling and keyboard interactions.
-
Introduced keyboard-aware spacing using
SliverSpacing, enabling dynamic layout adjustments based on scroll position. -
Added a shared call operations module to standardize call handling across call UI components.
-
Introduced AI-powered extensions including Smart Replies, Conversation Summary, and Conversation Starter.
Enhancements
-
Enhanced the UIKit architecture with a modular structure using BLoC, Repository, Use Cases, and Dependency Injection across conversations, messages, users, groups, search, and call modules.
-
Improved state management by adopting
flutter_blocwith optimized UI rebuild handling. -
Improved message list performance with optimized lookup and indexing mechanisms to support smoother rendering of large datasets.
-
Enhanced theme handling with cached theme helpers to reduce repeated theme lookups during UI updates.
-
Added a
ValueNotifierpattern for high-frequency UI updates such as typing indicators and user presence. -
Optimized MediaQuery usage to reduce unnecessary UI overhead.
-
Expanded message customization capabilities by allowing templates to fully replace or extend default message bubble implementations.
Removals
- Removed the GetX dependency from migrated components as part of the updated architecture.
v5.2.13
New
- None
Enhancements
- Improved stability by safely handling API calls to avoid conflicts during UI rebuilds.
- Enhanced the handling in 1-on-1 calls ensuring calls close as expected when the other participant leaves.
Fixes
- Fixed missing AI “thinking” placeholder after text message end events.
- Resolved issue where custom mention formatters were ignored.
- Fixed crash when tapping on
TextSpanwith a gesture recognizer.
Deprecations
- None
Removals
- None
v5.2.12
New
- Introduced the
CometChatCompactMessageComposercomponent, a streamlined, single-line message composer for a more efficient message composition experience. - Added the
showTextSelectionMenuItemsprop, enabling the display of text formatting options (e.g., bold, italic) in the native text selection menu when users select text within the composer. - Added the
hideRichTextFormattingOptionsprop to hide the fixed formatting toolbar above the message composer, providing a cleaner interface. - Introduced the
enableRichTextEditormaster prop to control all rich text functionality. When disabled:- Both the selection menu items and fixed formatting toolbar are hidden, regardless of other settings.
Enhancements
- None
Fixes
- None
Deprecations
- None
Removals
- None
v5.2.11
New
- None
Enhancements
- Added validation for unsupported file types in chat and displayed an error message in the message bubble when users attempt to send a restricted file format.
- Updated
cometchat_uikit_sharedto version5.2.1. - Improved iOS app lifecycle handling and added support for Flutter version
3.41. - Enhanced the Users, Groups, Call Logs and Conversations screens to refresh automatically after the internet connection is restored.
Fixes
- Resolved a problem where the Messages screen did not refresh automatically after the internet connection was restored, preventing newly received messages from appearing until the screen was reloaded.
- Fixed an issue where an incorrect error message indicated that a file exceeded the 100 MB upload limit when attempting to upload a much smaller file under unstable or slow internet conditions.
Deprecations
- None
Removals
- None
v5.2.10
New
- Introduced badge count support in the Flutter Sample App, enabling the app icon to display unread message counts for improved visibility of new activity.
- Integrated badge functionality using a reliable badge management dependency to ensure accurate and consistent badge updates across supported platforms.
Enhancements
- Improved notification experience by automatically updating the app icon badge count based on unread messages.
- Ensured seamless badge synchronization when messages are received, read, or cleared.
Fixes
- Fixed an issue where the group call events were missing in
CometChatMessageListController.
Deprecations
- None
Removals
- None
v5.2.9
New
- Added the 'Mark as Unread' option, allowing users to mark previously read messages as unread for better message management.
- Introduced a new message indicator UI that visually separates unread messages from read ones, improving the user experience and making unread messages more noticeable.
Enhancements
- Implemented the
setStartFromUnreadproperty, enabling the message list to start from the unread messages when set totrue. This feature provides a more seamless experience for users who want to focus on new messages.
Fixes
- None
Deprecations
- None
Removals
- None
v5.2.8
New
- Global Conversation and Message Search: Introduced a new feature that allows users to easily search across all conversations and messages for quick access to specific content.
- Quoted Replies: Users can now swipe to a message and reply directly to it, creating a quoted reply for improved context in conversations.
Enhancements
- Updated
cometchat_uikit_sharedto version5.1.9.
Fixes
- None
Deprecations
- None
Removals
- None