From e6a6de835962ea0976c222f620c7066a81c2d036 Mon Sep 17 00:00:00 2001 From: distiller Date: Thu, 29 Aug 2024 02:24:33 +0000 Subject: [PATCH] Release - 4.21.0 --- CHANGELOG.md | 36 ++++++++++++++++++++++++++++++++++++ Package.swift | 4 ++-- SendbirdChatSDK.podspec | 4 ++-- 3 files changed, 40 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 81c8f8a..6980a42 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/Package.swift b/Package.swift index 5f62d2a..0faf9d7 100644 --- a/Package.swift +++ b/Package.swift @@ -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" ), ] ) diff --git a/SendbirdChatSDK.podspec b/SendbirdChatSDK.podspec index 7b18835..998177f 100644 --- a/SendbirdChatSDK.podspec +++ b/SendbirdChatSDK.podspec @@ -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' @@ -16,7 +16,7 @@ Pod::Spec.new do |s| 'Young Hwang' => 'young.hwang@sendbird.com', 'Kai Lee' => 'kai.lee@sendbird.com' } - 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'