Skip to content

Commit

Permalink
Merge pull request #76 from sendbird/release/4.23.0
Browse files Browse the repository at this point in the history
Release 4.23.0
  • Loading branch information
sendbird-sdk-deployment authored Nov 20, 2024
2 parents 43e0619 + 11531f6 commit ad81001
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 4 deletions.
44 changes: 44 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,49 @@
# Changelog

## 4.23.0 (Nov 20, 2024)

### **Features**
SDK now supports `Custom Report Categories` configured through Sendbird Dashboard, which takes effect after restarting the app.
Previous report categories will remain until app restart.

- Added `SendbirdChat.getReportCategoryInfoList(completionHandler:)`
- Added `ReportCategoryInfo`
- Added new `report()` methods with using `ReportCategoryInfo`

```swift
class SendbirdChat {
// Fetch list of `ReportCategoryInfo`
public static func getReportCategoryInfoList(completionHandler: ReportCategoryInfoListHandler? = nil)
}

class BaseChannel {
public func report(
reportCategoryInfo: ReportCategoryInfo,
reportDescription: String?,
completionHandler: SBErrorHandler?
)
public func reportUser(
_ offendingUser: User,
reportCategoryInfo: ReportCategoryInfo,
reportDescription: String?,
completionHandler: SBErrorHandler?
)
public func reportMessage(
_ message: BaseMessage,
reportCategoryInfo: ReportCategoryInfo,
reportDescription: String?,
completionHandler: SBErrorHandler?
)
}
```
- Deprecated `ReportCategory`
- Deprecated `BaseChannel.report(category:reportDescription:completionHandler:)`
- Deprecated `BaseChannel.report(offendingUser:reportCategory:reportDescription:completionHandler)`
- Deprecated `BaseChannel.report(message:reportCategory:reportDescription:completionHandler)`

### Improvement
- Improved SDK's memory cache management.

## 4.22.1 (Nov 08, 2024)

### Improvements
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.22.1/SendbirdChatSDK.xcframework.zip",
checksum: "1ac126de7963826f6a7c573f7de32fea433bdc4c057f24cb8996c9fad8d831b3"
url: "https://github.com/sendbird/sendbird-chat-sdk-ios/releases/download/4.23.0/SendbirdChatSDK.xcframework.zip",
checksum: "cd8d2b81313e8acc2951646fb40ca370a280033bcc9f2e18612620f76ee83e82"
),
]
)
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.22.1"
s.version = "4.23.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.22.1/SendbirdChatSDK.zip", :sha1 => "8b79dd0f6776b9e27ec2f8298a7a6ff6c4a20b3f" }
s.source = { :http => "https://github.com/sendbird/sendbird-chat-sdk-ios/releases/download/4.23.0/SendbirdChatSDK.zip", :sha1 => "a808008d94dc5dae3f7f012676f114aa617f52f5" }
s.requires_arc = true
s.platform = :ios, '12.0'
s.documentation_url = 'https://sendbird.com/docs/chat'
Expand Down

0 comments on commit ad81001

Please sign in to comment.