Skip to content

v6.0.0

Choose a tag to compare

@vivekCometChat vivekCometChat released this 07 May 14:01
· 2 commits to v6 since this release
b90292c

New

  • Introduced full Jetpack Compose support, enabling developers to build chat experiences with a modern, fully declarative UI using Material 3.
  • Added AI Smart Replies to help users respond faster with contextual reply suggestions.
  • Added AI Conversation Summary to help users quickly catch up on chat activity with auto-generated summaries.
  • Added AI Conversation Starter to help users begin conversations more easily with suggested openers.
  • Introduced a Compose-native theming system with support for light and dark mode, along with customization for colors, typography, and shapes.
  • Added Rich Text editing support with Markdown formatting, @mentions, code blocks with syntax highlighting, and a rich text toolbar in the message composer.
  • Added inline audio recording with waveform visualization in the message composer.
  • Added dedicated AI sample apps (ai-sample-app-kotlin and ai-sample-app-compose) demonstrating AI feature integration.

Enhancements

  • Enhanced the UI Kit architecture with a modular structure (chatuikit-core, chatuikit-kotlin, chatuikit-compose), improving scalability, maintainability, and flexibility across implementations.
  • Updated the SDK to Kotlin 2.2.0 for improved compatibility and performance.
  • Replaced Glide with Coil in the Compose module to improve image-loading performance.
  • Improved state management and UI rendering by using the shared chatuikit-core module with Clean Architecture patterns (UseCase → Repository → DataSource) across both Compose and XML-based UI kits.
  • Refined theme management by replacing XML-based style attributes with Kotlin data classes for more flexible customization.
  • Improved real-time event handling with a centralized event system in the core module.
  • Enhanced call management with dedicated components for incoming, outgoing, and ongoing calls.

Fixes

  • Fixed UI structure limitations by reorganizing the codebase into modular components for more reliable extension and maintenance.
  • Improved rendering consistency and performance across both Compose and XML-based UI kits.
  • Resolved compatibility issues by updating platform requirements for newer Android versions.

Removals

  • Removed the legacy chatuikit module and replaced it with the new modular structure: chatuikit-core, chatuikit-compose, and chatuikit-kotlin.
  • Removed Glide-based image loading support from the Compose module in favor of Coil.
  • Removed Java language support — all modules are now Kotlin-only.

Breaking Changes

  • Raised the minimum supported Android SDK version from 24 to 28.
  • Updated Java compatibility from Java 8 to Java 11.
  • Upgraded the Chat SDK dependency from version 4.x to 5.0.0.
  • Upgraded the Calls SDK dependency to version 5.0.0-beta.2.
  • Replaced Glide with Coil for image loading in Compose-based implementations.
  • Replaced the single chatuikit module with a modular dependency structure.
  • Redesigned theming and styling APIs for Compose, replacing XML style attributes with Kotlin data classes.
  • Changed package names to com.cometchat.uikit.core, com.cometchat.uikit.kotlin, and com.cometchat.uikit.compose.

Migration Notes

  • Replace the chatuikit dependency with chatuikit-core and your preferred UI module: chatuikit-compose or chatuikit-kotlin.
  • Update SDK initialization to use the new CometChatUIKit class from the core module.
  • Wrap Compose-based UI with CometChatTheme { } and migrate to the new composable components.
  • Use chatuikit-kotlin for XML-based integrations with shared core functionality.
  • Update your app configuration to support a minimum SDK version of 28.
  • Review and update existing custom styles to align with the new theming APIs.
  • Update import statements to reflect the new package structure.