Skip to content

Commit

Permalink
Merge pull request #60 from sendbird/release/4.21.0
Browse files Browse the repository at this point in the history
Release 4.21.0
  • Loading branch information
sendbird-sdk-deployment authored Aug 29, 2024
2 parents e8cdfcd + e6a6de8 commit 9bbd960
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 4 deletions.
36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,41 @@
# Changelog

## 4.21.0 (Aug 29, 2024)


## New Interfaces
- Supports customTypes filtering on gets unreadItemCount
- Added `getUnreadItemCount(params:completionHandler:)` method in `SendbirdChat` class
- Added `GroupChannelUnreadItemCountParams` class
- Deprecated `getUnreadItemCount(key:completionHandler:)` method in `SendbirdChat` class
- Added `EventDetail` in `ChannelContext` to hold detailed information of channel events
- i.e. Getting an inviter/invitees information when a channel has been added from receiving an invitation:
```swift
func addedChannels( _ collection: GroupChannelCollection, context: ChannelContext, addedChannels: [GroupChannel]) {
if let detail = context.eventDetail as? EventDetail.UserReceivedInvitation {
let inviter = detail.inviter
let invitees = detail.invitees
}
}
```
- Added interfaces for `MessageForm` to work with Sendbird dashboard
(`Form` interfaces have been deprecated)
- Added `submitMessageForm(completionHandler:)` method in `BaseMessage` class
- Added `messageForm` property in `BaseMessage` class
- Added `MessageForm` class
- Added `MessageFormItem` class
- Added `MessageFormItem.Style` class
- Added `MessageFormItem.LayoutType` enum
- Added `MessageFormItem.ResultCount` enum
- Deprecated `submitForm(form:completionHandler)` method in `BaseMessage` class
- Deprecated `forms` property in `BaseMessage` class
- Deprecated `Form` class and interfaces
- Deprecated `FormField` class and interfaces
- Deprecated `FormFieldAnswer` class and interfaces

## Improvements
- Fix invalid query parameter value in `getTotalScheduledMessageCount` request

## 4.20.0 (Aug 07, 2024)

## New Interfaces
Expand Down
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ let package = Package(
targets: [
.binaryTarget(
name: "SendbirdChatSDK",
url: "https://github.com/sendbird/sendbird-chat-sdk-ios/releases/download/4.20.0/SendbirdChatSDK.xcframework.zip",
checksum: "40d92f0eb300ab9649f28e1880b78c0212e1be68d9119c821cfbc509f851f8d6"
url: "https://github.com/sendbird/sendbird-chat-sdk-ios/releases/download/4.21.0/SendbirdChatSDK.xcframework.zip",
checksum: "308ae3e42191bc495230250aaae33a1c4d2f091998c5809ccfb0544523d9c4a7"
),
]
)
4 changes: 2 additions & 2 deletions SendbirdChatSDK.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Pod::Spec.new do |s|
s.name = 'SendbirdChatSDK'
s.version = "4.20.0"
s.version = "4.21.0"
s.summary = 'Sendbird Chat iOS Framework'
s.description = 'Messaging and Chat API for Mobile Apps and Websites'
s.homepage = 'https://sendbird.com'
Expand All @@ -16,7 +16,7 @@ Pod::Spec.new do |s|
'Young Hwang' => '[email protected]',
'Kai Lee' => '[email protected]'
}
s.source = { :http => "https://github.com/sendbird/sendbird-chat-sdk-ios/releases/download/4.20.0/SendbirdChatSDK.zip", :sha1 => "43b3c2f082c4febed11263a25bf0bd9b876e470e" }
s.source = { :http => "https://github.com/sendbird/sendbird-chat-sdk-ios/releases/download/4.21.0/SendbirdChatSDK.zip", :sha1 => "aacb7b404c844f1ffb3daf113939400ec07b56a1" }
s.requires_arc = true
s.platform = :ios, '12.0'
s.documentation_url = 'https://sendbird.com/docs/chat'
Expand Down

0 comments on commit 9bbd960

Please sign in to comment.