Skip to content

v6.0.0-beta.1

Choose a tag to compare

@vivekCometChat vivekCometChat released this 03 Apr 14:55
· 4 commits to v6 since this release
a869f1b

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.

Enhancements

  • Enhanced the UI Kit architecture with a modular structure, 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 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.

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.

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.
  • 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.

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.