Releases: sendbird/sendbird-chat-sdk-ios
Releases · sendbird/sendbird-chat-sdk-ios
v4.2.1
Improvements
- Fixed a bug where channel filters (ex:
channelURLFilter
) were not applied properly inGroupChannelCollection
v4.2.0
Features
Pinned Message 📌
Pinned Message is released. You can now maintain a special set of messages (up to 10 per channel) that you want everyone in the channel to share. It can be anything from announcements, surveys, upcoming events, and any many more. Pin your messages and never miss them!
Stay tuned for updates as we are rolling out more exciting features and see below for exact specifications:point_down:
Specification
- Pin when sending a message
UserMessageCreateParams.isPinnedMessage: Bool = false
FileMessageCreateParams.isPinnedMessage: Bool = false
- Pin existing message
GroupChannel.pinMessage(messageId:completionHandler:)
- Unpin a message
GroupChannel.unpinMessage(messageId:completionHandler:)
- Pinned messages
GroupChannel.lastPinnedMessage: BaseMessage? = nil
GroupChannel.pinnedMessageIds: [Int64]? = nil
We strongly recommend using Collections (Message, Channel) to implement Pinned Messages as it would automatically take care of numerous events out of the box when messages are created, updated, and deleted.
Improvements
- Added
use_local_cache
to the request header - Removed internal logs
v4.1.8
Improvements
- Added
urlSession(_:task:didCompleteWithError:)
method implementation to the native web socket engine
v4.1.7
Improvements
- Fixed a memory leak in the web socket engine
- Added error log when using uninitialized Sendbird instance
- Fixed to upsert channel change into database when receiving events
- Fixed to use cached open channel when receiving system event
v4.1.6
Improvements
- Fixed a bug where
GroupChannelCollection::loadMore
'scompletionHandler
is not called under iOS 13
v4.1.5
Improvements
- Fixed a crash issue when logging in RequestQueue
v4.1.4
Improvements
- Fixed filtering logic (
joinedOnly
) inGroupChannelListQuery.myMemberStateFilter
- Fixed an issue where deleted channels remain in the local cache
- Applied atomicity to
cacheChannels
,hasNext
inGroupChannelCollection
- Fixed concurrency issue in
SafeDictionary
v4.1.3
Improvements
- Fixed concurrency issue in
CachedDataMap
v4.1.2
- Fixed
MarkAsDelivered(remoteNotificationPayload: completionHandler:)
to work without being connected - Fixed a deserialized fileMessage's eKey not updating
- Added reachability log
- Fixed concurrency issue on user connection
v4.1.1
- Fixed a bug where the request ID of the user message response sent through the API is empty
- Fixed a bug when parsing other user's VOTE event
- Fixed a bug where poll changeLog not being delivered in message collection
- Changed PollListQueryParams.limit's defalut value 20 to 10
- Fixed default value of user.isActive