v6.0.0-beta.1
·
4 commits
to v6
since this release
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-coremodule 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
chatuikitmodule and replaced it with the new modular structure:chatuikit-core,chatuikit-compose, andchatuikit-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
chatuikitmodule with a modular dependency structure. - Redesigned theming and styling APIs for Compose, replacing XML style attributes with Kotlin data classes.
Migration Notes
- Replace the
chatuikitdependency withchatuikit-coreand your preferred UI module:chatuikit-composeorchatuikit-kotlin. - Update SDK initialization to use the new
CometChatUIKitclass from the core module. - Wrap Compose-based UI with
CometChatTheme { }and migrate to the new composable components. - Use
chatuikit-kotlinfor 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.