Releases: sendbird/sendbird-uikit-ios-spm
3.27.1
- SendbirdChatSDK dependency version has been updated to v4.21.1
Improvements
- Fixed incorrect exposure of trailing layouts when rendering templates
- Replaced the deprecated method
markAsViewed()
withlogViewed()
from SendbirdChatSDK
3.27.0
New Features
- Added support for EmojiCategory. You can now filter emojis for different messages when adding Reactions to a message.
- Interfaces
SBUGlobals.emojiCategoryFilter: (BaseMessage) -> [Int64]?
- Note: You need to set your custom EmojiCategory using Sendbird Platform API in advance.
- Interfaces
New Interfaces
-
Added views for
MessageForm
that work with the Sendbird dashboard (interfaces related toform
have been deprecated)-
Added
SBUMessageFormView
data base view class -
Added
SBUSimpleMessageFormView
view class -
Added
SBUMessageFormItemView
data base view class -
Added
SBUMessageFormChipsItemView
,SBUMessageFormSingleTextItemView
andSBUMessageFormMultiTextItemView
item view classes -
Added
SBUMessageFormFallbackView
fallback view class -
Added
SBUMesageFormChipView
,SBUTextView
view classes -
Added
SBUMessageFormViewDelegate
andSBUMessageFormItemViewDelegate
protocols -
Added
submitMessageForm(message:)
inSBUGroupChannelViewModel
class -
Added
getChatInputDisabledState(hasNext:)
method in extension ofBaseMessage
-
Added
isFormSubmitting
,formItemValidationStatus
properties in extension ofBaseMessage
-
Added
isValidVersion
property in extension ofMessageForm
-
Added
keyboardType
andisTextInputType
properties in extension ofMessageFormItem.LayoutType
-
Added
canUpdate(_:)
andisValid(_:)
functions in extension ofMessageFormItem.ResultCount
-
Added
isOnlyOne
property in extension ofMessageFormItem.ResultCount
-
Deprecated
SBUFormViewDelegate
andSBUFormFieldViewDelegate
protocols -
Deprecated
SBUFormFieldView
andSBUSimpleFormFieldView
classes -
Deprecated
SBUFormFieldInputType
enum -
Deprecated
SBUFormView
andSBUSimpleFormView
classes
-
3.26.0
- Fixed wrong background color issue in mention limit guide
- Improve stream message determination criteria
- Fixed an issue where the alignment of menu and aciton sheet was exposed as rtl style.
- Fixed text alignment in
SBUUserMessageTextView
andSBUMessageInputView
to be changed by checking the RTL property of the input message if the app is RTL layout- Add
isRTLCharacter(with:)
static method inSBUUtils
- Add
rtlCharacterSet
static property inSBUUtils
- Add
3.25.0
- Support Right-to-Left (RTL) languages
- Added a static method to force a change to the value of a view's semantic content attribute
- Added setSemanticContentAttributeRecursively(view: UIView, attribute: UISemanticContentAttribute) in UIView Extension
- Resolved the autolayout warnings for the message template
- Fixed Markdown syntax exposed in channel preview even when Markdown is enabled
3.24.4
- ChatSDK dependency version has been updated to v4.19.9
Improvements
- Fixed menu sheet item background color appearing white after theme change
- Fixed issue with
voiceMessageInputView
being drawn behind tabbar - Fixed
voiceMessageInputView
layouts to be drawn without being affected by rotation - Fixed minor bugs in MessageTemplate and default layout values
3.24.3
Improvements
- ChatSDK dependency version has been updated to v4.19.8
3.24.2
Improvements
- Remove the deprecated
ALAssetsLibrary
import logic that is not used by Sendbird UIKit - Added crash defense logic when setting autolayout constraints
- Fixed suggested-replies view not displaying correctly
- Fixed channel preview messages in the channel list to not expose markdown syntax.
- (when
SendbirdUI.config.groupChannel.channel.isMarkdownForUserMessageEnabled
istrue
)
- (when
3.24.1
- Fixed download failures due to logic issues with storing files in cache
3.24.0
Improvements
- ChatSDK dependency version has been updated to v4.19.7
- Changed timing of Builder internal calls related to send of
SBUGlobalCustomParams
- If
replyType
value of UIKit config is not of type none andmessageListParams.replyType
value is set, it will not be overwritten by UIKit config value - Changed the naming of SBUColor inside SBUColorSet (e.g.,
primary300
->primaryMain
) - Renamed
information
in SBUColorSet toinformationLight
and added a newinformation
color set - Deprecated the setter of
isSuperGroupReactionsEnabled
, which is disabled by default. If you wish to use this feature, contact us. - Fixed link not working correctly when markdown syntax is nested
- Fixed a bug where the updated theme is not applied
- Applied
safeAreaLayoutGuide
tolistComponent
3.23.0
New Feature
- Add markdown (link, bold) message feature
SendbirdUI.config.groupChannel.channel.isMarkdownForUserMessageEnabled = true
- Added Horizontal suggested replies view
SendbirdUI.config.groupChannel.channel.suggestedRepliesDirection = .vertical
Improvements
- Improved stability