Skip to content

Commit 2cd17d1

Browse files
committed
v5.2.16
1 parent d7d5965 commit 2cd17d1

35 files changed

Lines changed: 2433 additions & 1663 deletions

calls_uikit/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 5.0.16
2+
3+
## Enhancements
4+
- Improved `CometChatCallButtons` customization support by applying `voiceCallButtonPadding` and `videoCallButtonPadding` styles directly to the underlying `IconButton` components.
5+
- Enhanced the spacing between voice and video call actions in `CometChatCallButtons` by adding an 8px gap for improved visual separation and usability.
6+
17
## 5.0.15
28

39
## Fixes

calls_uikit/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ android {
6161

6262
defaultConfig {
6363
minSdkVersion 24
64-
buildConfigField("String", "SDK_VERSION", "\"5.0.15\"")
64+
buildConfigField("String", "SDK_VERSION", "\"5.0.16\"")
6565
}
6666

6767
dependencies {}

calls_uikit/ios/cometchat_calls_uikit.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
Pod::Spec.new do |s|
66
s.name = 'cometchat_calls_uikit'
7-
s.version = '5.0.15'
7+
s.version = '5.0.16'
88
s.summary = 'Flutter plugin featuring custom audio and video call widgets. Integrate seamlessly with Cometchat Chat UI Kit or use independently for streamlined development.'
99
s.description = <<-DESC
1010
A new Flutter plugin project.

calls_uikit/lib/src/call_buttons/cometchat_call_buttons.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ class CometChatCallButtons extends StatelessWidget {
9393
BorderSide.none,
9494
),
9595
backgroundColor: style.voiceCallButtonColor,
96+
padding: style.voiceCallButtonPadding,
9697
),
9798
onPressed: () {
9899
if (!viewModel.disabled) {
@@ -108,6 +109,8 @@ class CometChatCallButtons extends StatelessWidget {
108109
colorPalette.iconPrimary,
109110
),
110111
),
112+
if (hideVoiceCallButton != true && hideVideoCallButton != true)
113+
const SizedBox(width: 8),
111114
if (hideVideoCallButton != true)
112115
IconButton(
113116
style: IconButton.styleFrom(
@@ -119,6 +122,7 @@ class CometChatCallButtons extends StatelessWidget {
119122
BorderSide.none,
120123
),
121124
backgroundColor: style.videoCallButtonColor,
125+
padding: style.videoCallButtonPadding,
122126
),
123127
onPressed: () {
124128
if (viewModel.disabled == false) {

calls_uikit/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: cometchat_calls_uikit
22
description: Flutter plugin featuring custom audio and video call widgets. Integrate seamlessly with Cometchat Chat UI Kit or use independently for streamlined development.
3-
version: 5.0.15
3+
version: 5.0.16
44
homepage: https://www.cometchat.com/
55

66
environment:

chat_uikit/CHANGELOG.md

Lines changed: 67 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,84 @@
1-
# 5.2.15
1+
# 5.2.16
2+
3+
## New
4+
- None
5+
6+
## Enhancements
7+
- Enhanced the Edit Message composer UI in the Hybrid iOS sample application to better align with the latest Figma design specifications.
8+
- Improved the Call Detail screen in the Hybrid iOS sample application by adding dedicated voice and video calling options for easier call initiation.
9+
- Updated the Create Group modal UI in the Hybrid Mobile sample application to better match the latest Figma-based design guidelines.
10+
- Enhanced the bottom navigation menu in the Hybrid iOS sample application for improved consistency with the latest UI specifications.
11+
- Improved the App Credentials screen in the Hybrid iOS sample application to better align with the latest Figma design patterns.
12+
- Updated the Social Login screen UI in the Hybrid Mobile sample application to match the latest design specifications and improve visual consistency.
13+
- Enhanced the Chat List profile context menu in the Hybrid Mobile sample application to align with the latest design system updates.
14+
- Improved the Login screen UI in the Hybrid Mobile sample application to better match the latest Figma specifications and onboarding experience.
15+
16+
## Fixes
17+
- None
18+
19+
# 6.0.1
220

321
## New
22+
- AI Assistant Chat History component for viewing past AI conversations
23+
- AI-specific message configuration (smart replies, conversation starters)
24+
- New Chat and Chat History buttons in AI message header
25+
- Public group auto-rejoin on tap (for kicked users)
26+
- Blocked user and kicked/banned banners in messages screen
27+
- Search with thread reply navigation support
28+
- AppCredentials screen with SharedPreferences persistence
29+
30+
## Enhancements
31+
- Updated CometChat SDK to 5.0.1
32+
- Updated Calls SDK to 5.0.2
33+
- Migrated sample apps from GetX to plain setState architecture
34+
- Fixed stale user/group objects bug in messages screen (using mutable local copies)
35+
- Improved message list with markdown formatting support
36+
- Enhanced login screen with dotted background pattern and user grid
37+
38+
## Fixes
39+
- Messages screen now passes mutable `_user`/`_group` to UIKit components instead of stale `widget.user`/`widget.group`
40+
- Guard screen properly re-initializes Calls SDK on cached session restore
41+
- Protected group join flow from conversations and groups tabs
42+
43+
# 5.2.15
444

45+
## New
546
- None
647

748
## Enhancement
8-
949
- None
1050

1151
## Fixes
12-
1352
- Fixed an issue where favicons were missing in URL preview messages for shared links.
1453
- Fixed an issue where the “See More” button in the search component did not behave correctly while loading additional search results.
1554
- Fixed an issue where received `.m4a` audio files were not immediately playable and their duration was not displayed correctly after receipt.
1655
- Fixed an issue where `MessagesRequestBuilder` usage caused inconsistent message retrieval behavior under certain filtering and pagination scenarios.
1756

57+
# v6.0.0
58+
59+
## New
60+
- Added message flagging and reporting support, along with translations for 20 locales, allowing users to moderate conversations in their preferred language.
61+
- Added the `CometChatComposerLayout` component with both single-line and double-line layout options for greater flexibility when customizing the message composer experience.
62+
- Added a keyboard diagnostics utility to simplify troubleshooting and validation of keyboard-related behaviors across chat interfaces.
63+
- Added a thumbnail extraction utility to generate preview images from supported media content more efficiently.
64+
- Added an in-chat image viewer, allowing users to open and preview shared images directly within conversations.
65+
- Added Firebase configuration support to the sample application to simplify setup for push notifications and related integrations.
66+
67+
## Enhancements
68+
- Improved the composer layout rendering pipeline to provide more consistent behavior and easier customization across composer variants.
69+
- Enhanced the rich-text messaging flow to use a dedicated WYSIWYG-only rendering path for more predictable formatting behavior.
70+
- Improved image message bubbles to provide a more polished and consistent media viewing experience in conversations.
71+
- Expanded the conversation preview utility to support additional conversation and message preview scenarios.
72+
- Refreshed BLoC implementations across conversations, groups, users, message actions, call buttons, and ongoing call flows to improve consistency and maintainability across the SDK experience.
73+
- Updated sample application screens to better reflect the latest UI components, layouts, and interaction patterns.
74+
- Reorganized the Skills directory structure and added `.claude-plugin` manifest support to improve plugin discovery and project organization.
75+
76+
## Fixes
77+
- Fixed an issue where long-press actions on formatted mentions could produce incorrect formatter behavior in certain message interaction flows.
78+
- 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.
79+
- Fixed an issue where Android audio message recording could become stuck after the microphone permission prompt, restoring smooth voice message recording.
80+
81+
1882
# 5.2.14
1983

2084
## New

chat_uikit/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ android {
6161

6262
defaultConfig {
6363
minSdkVersion 21
64-
buildConfigField("String", "SDK_VERSION", "\"5.2.15\"")
64+
buildConfigField("String", "SDK_VERSION", "\"5.2.16\"")
6565
}
6666

6767
dependencies {

chat_uikit/ios/cometchat_chat_uikit.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
Pod::Spec.new do |s|
66
s.name = 'cometchat_chat_uikit'
7-
s.version = '5.2.15'
7+
s.version = '5.2.16'
88
s.summary = 'CometChat Flutter UI KIt'
99
s.description = <<-DESC
1010
CometChat Flutter UI KIt

chat_uikit/lib/src/compact_message_composer/cometchat_compact_message_composer.dart

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1504,7 +1504,7 @@ class _CometChatCompactMessageComposerState
15041504
right: effectiveSpacing.margin2 ?? 8,
15051505
),
15061506
child: Container(
1507-
padding: EdgeInsets.all(effectiveSpacing.padding1 ?? 4),
1507+
padding: EdgeInsets.all(effectiveSpacing.padding2 ?? 8),
15081508
decoration: BoxDecoration(
15091509
color: effectiveStyle.backgroundColor ?? effectiveColorPalette.background1,
15101510
borderRadius: BorderRadius.only(
@@ -1541,7 +1541,9 @@ class _CometChatCompactMessageComposerState
15411541
},
15421542
messagePreviewStyle: CometChatMessagePreviewStyle(
15431543
messagePreviewTitleStyle: TextStyle(
1544-
color: effectiveColorPalette.textHighlight,
1544+
color: controller.previewMessageMode == PreviewMessageMode.edit
1545+
? const Color(0xFF141414)
1546+
: effectiveColorPalette.textHighlight,
15451547
fontSize: effectiveTypography.caption1?.medium?.fontSize,
15461548
fontWeight: effectiveTypography.caption1?.medium?.fontWeight,
15471549
fontFamily: effectiveTypography.caption1?.medium?.fontFamily,
@@ -1554,9 +1556,11 @@ class _CometChatCompactMessageComposerState
15541556
),
15551557
closeIconColor: effectiveStyle.closeIconTint ?? effectiveColorPalette.iconPrimary,
15561558
messagePreviewBackground: effectiveColorPalette.background3,
1557-
messagePreviewBorderRadius: BorderRadius.zero,
1559+
messagePreviewBorderRadius: controller.previewMessageMode == PreviewMessageMode.edit
1560+
? BorderRadius.circular(4)
1561+
: BorderRadius.zero,
15581562
messagePreviewBorder: controller.previewMessageMode == PreviewMessageMode.edit
1559-
? Border.all(width: 0)
1563+
? Border.all(width: 0, color: Colors.transparent)
15601564
: null,
15611565
).merge(messagePreviewStyle),
15621566
),

chat_uikit/lib/src/message_composer/cometchat_message_composer.dart

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -859,9 +859,7 @@ class _CometChatMessageComposerState extends State<CometChatMessageComposer> {
859859
bottom: (value.preview != null ? 8 : 0),
860860
),
861861
child: Container(
862-
padding: EdgeInsets.all(
863-
spacing.padding1 ?? 0,
864-
),
862+
padding: EdgeInsets.all(spacing.padding2 ?? 0),
865863
decoration: BoxDecoration(
866864
color: style.backgroundColor ?? colorPalette.background1,
867865
borderRadius: style.borderRadius ??
@@ -896,7 +894,7 @@ class _CometChatMessageComposerState extends State<CometChatMessageComposer> {
896894
onCloseClick: value.onMessagePreviewClose,
897895
messagePreviewStyle: CometChatMessagePreviewStyle(
898896
messagePreviewTitleStyle: TextStyle(
899-
color: colorPalette.textHighlight,
897+
color: const Color(0xFF141414),
900898
fontSize: typography.caption1?.medium?.fontSize,
901899
fontWeight: typography.caption1?.medium?.fontWeight,
902900
fontFamily: typography.caption1?.medium?.fontFamily,
@@ -910,7 +908,8 @@ class _CometChatMessageComposerState extends State<CometChatMessageComposer> {
910908
closeIconColor:
911909
style.closeIconTint ?? colorPalette.iconPrimary,
912910
messagePreviewBackground: colorPalette.background3,
913-
messagePreviewBorder: Border.all(width: 0))
911+
messagePreviewBorderRadius: BorderRadius.circular(4),
912+
messagePreviewBorder: Border.all(width: 0, color: Colors.transparent))
914913
.merge(
915914
messagePreviewStyle,
916915
),

0 commit comments

Comments
 (0)