Skip to content

Releases: sendbird/sendbird-chat-sdk-ios

v4.9.2

22 Jun 10:23
Compare
Choose a tag to compare

Improvements

  • Fixed a security flaw related to the connection
  • Fixed a bug where a group channel can be filtered out when a message in the channel is removed
  • Improved stability

v4.9.1

14 Jun 14:29
Compare
Choose a tag to compare

IMPORTANT NOTICE

iOS Chat SDK version `4.9.0` has a bug where FileMessage is not received. Please skip version `4.9.0`, and update to version **`4.9.1`** or above instead.

Improvements

  • Fixed FileMessage being parsed as MultipleFilesMessage

v4.9.0

09 Jun 08:08
Compare
Choose a tag to compare

Features

MultipleFilesMessage

You can send a MultipleFilesMessage that contains multiple files in a single message via GroupChannel.sendMultipleFilesMessage(params:fileUploadHandler:completionHandler:)

  • Added MultipleFilesMessage.
  • Added GroupChannel.sendMultipleFilesMessage, MultipleFilesMessageCreateParams, UploadableFileInfo and UploadedFileInfo.
  • Added MultipleFilesMessageHandler and FileUploadHandler.
  • Added SendbirdChat.getMultipleFilesMessageFileCountLimit() that indicates the maximum count of files that can be included in a single message.
let params = MultipleFilesMessageCreateParams(
    uploadableFileInfoList: [UploadableFileInfo(file: file), UploadableFileInfo(fileURL: fileUrl)]
)

channel.sendMultipleFilesMessage(
    params: params,
    fileUploadHandler = { requestId, index, uploadableFileInfo, error ->
        // handle the upload result of each UploadableFileInfo. 
    },
    completionHandler = { message, error ->
        // handle the result of sending MultipleFilesMessage.
    }
)

v4.8.6

07 Jun 13:31
Compare
Choose a tag to compare

Improvements

  • Fixed not to hang main thread when requesting huge gap API
  • Fixed issues in MessageCollection.startCollection and NotificationCollection.startCollection
    • Fixed an error that returned duplicate cache messages
    • Fixed an issue that did not fetch cache messages based on starting point
  • Resolved DB migration issue

v4.8.5

24 May 10:05
Compare
Choose a tag to compare

Improvements

  • Fixed MessageCollectionDelegate.messageCollection(_:context:channel:updatedMessages:) to be invoked after sending a message via API fallback
  • Fixed GroupChannelCollectionDelegate.channelCollection(_:context:addedChannels:) to not be invoked for added messages until loadMore is called in GroupChannelCollection

v4.8.4

17 May 06:43
Compare
Choose a tag to compare

Improvements

  • Improved stability

v4.8.3

16 May 05:07
Compare
Choose a tag to compare

Improvements

  • Improved stability

v4.8.2

12 May 10:38
Compare
Choose a tag to compare
  • Added includeParentMessageInfo to PinnedMessageListQueryParams

v4.8.1

10 May 11:33
Compare
Choose a tag to compare

Improvements

  • Fixed a crash issue that occurred when encoding User

v4.8.0

03 May 09:49
Compare
Choose a tag to compare

Features

PinnedMessageListQuery

You can now retrieve all pinned messages within a GroupChannel by the PinnedMessageListQuery.

  • Added PinnedMessage
  • Added PinnedMessageListQuery, PinnedMessageListQueryParams
  • Added createPinnedMessageListQuery(params:) for GroupChannel object
let queryParams = PinnedMessageListQueryParams { params in
    params.limit = 20
    // Set other properties in `params`
}
self.query = channel.createPinnedMessageListQuery(queryParams)
self.query.loadNextPage { messages, error in
    // Handle result
}

Improvements

  • Added URL encoding for userId with non-ascii characters