Releases: sendbird/sendbird-chat-sdk-ios
Releases · sendbird/sendbird-chat-sdk-ios
4.21.7
Improvements
- Fixed occasional crash in
SessionWebSocketEngine.listen()
when reconnecting.
4.21.6
Improvements
- Improved
SendbirdChat.initialize()
andSendbirdChat.connect()
speed whenisLocalCachingEnabled
is true - Improved handling events related to reactions
- Fixed a bug where a channel gets unexpectedly unhidden upon receiving a new message
4.21.5
Improvements
- Fixed a crash in range check logic
4.21.4
Improvements
- Added timeout in
GroupChannelCollection.loadMore()
to prevent long delay during fetching channels - Fixed a bug where non-operator's message affects the last message and the unread message count for exclusive channels
- Modified
GroupChannel.markAsRead
behavior when called multiple times so thatGroupChannelDelegate.channelWasChanged(channel)
gets called when the unread count gets cleared
4.21.3
Improvements
- Fixed bug where
requestId
is not being set properly when sending a user message
4.21.2
Improvements
- Fixed internal
messageChangeLog
inMessageCollection
not updating to correct next token.
4.21.1
Improvements
- Fixed how "reset my channel history" is handled after it was triggered (both via SDK or Platform API)
4.21.0
New Interfaces
- Supports customTypes filtering on gets unreadItemCount
- Added
getUnreadItemCount(params:completionHandler:)
method inSendbirdChat
class - Added
GroupChannelUnreadItemCountParams
class - Deprecated
getUnreadItemCount(key:completionHandler:)
method inSendbirdChat
class
- Added
- Added
EventDetail
inChannelContext
to hold detailed information of channel events- i.e. Getting an inviter/invitees information when a channel has been added from receiving an invitation:
func addedChannels( _ collection: GroupChannelCollection, context: ChannelContext, addedChannels: [GroupChannel]) { if let detail = context.eventDetail as? EventDetail.UserReceivedInvitation { let inviter = detail.inviter let invitees = detail.invitees } }
- i.e. Getting an inviter/invitees information when a channel has been added from receiving an invitation:
- Added interfaces for
MessageForm
to work with Sendbird dashboard
(Form
interfaces have been deprecated)- Added
submitMessageForm(completionHandler:)
method inBaseMessage
class - Added
messageForm
property inBaseMessage
class - Added
MessageForm
class - Added
MessageFormItem
class - Added
MessageFormItem.Style
class - Added
MessageFormItem.LayoutType
enum - Added
MessageFormItem.ResultCount
enum - Deprecated
submitForm(form:completionHandler)
method inBaseMessage
class - Deprecated
forms
property inBaseMessage
class - Deprecated
Form
class and interfaces - Deprecated
FormField
class and interfaces - Deprecated
FormFieldAnswer
class and interfaces
- Added
Improvements
- Fix invalid query parameter value in
getTotalScheduledMessageCount
request
4.20.0
New Interfaces
- Support pinned message in
OpenChannel
- Added
pinnedMessageIds
property inBaseChannel
- Added
lastPinnedMessage
property inBaseChannel
- Added
pinMessage
method inBaseChannel
- Added
unpinMessage
method inBaseChannel
- Added
channelDidUpdatePinnedMessages
inOpenChannelDelegate
- Improved
SendbirdChat.createPinnedMessageListQuery
to use inOpenChannel
- Added
Improvements
- Added
hasBot
andhasAIBot
properties inGroupChannel
4.19.9
Improvements
- Fixed an issue with apiResult of the handler of
MessageCollection
receiving messages from a point in time beforeresetMyHistory()
call - Fixed to remove messages before resetMyHistory time from database when calling resetMyHistory
- Fixed for freeze status not updating
- Fixed timing for updating the count of participants