Skip to content

Commit

Permalink
Release - 4.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sendbird-sdk-deployment committed Feb 1, 2023
1 parent 2d7d80c commit b8ef870
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 4 deletions.
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# Changelog

## v4.3.0 (Feb 01, 2023)


### **Features**

Participant class in Open Channel

Participant is a new interface for User who joined Open Channel. It's optimized for scalability and contains much lighter information about the User than a Member in Group Channel.
Now clients can implement Open Channels easier in SDK with more built-in capabilities. You can compare how Member, Participant, and User are different [here]("https://sendbird.com/docs/chat/v4/ios/user/overview-user#2-user-types").

- `Participant` holds essential information about the participant like below. They contain their muted status (`is_muted`) on top of basic User information.
```
@objc(SBDParticipant)
public class Participant: User {
@objc
public internal(set) var isMuted: Bool
@objc
public func serialize() -> Data?
@objc
public class func build(fromSerializedData data: Data?) -> Self?
}
```

- `ParticipantListQuery.loadNextPage(completionHandler: @escaping UserListHandler)` now returns `[Participant]`
- For backward compatibility, the `UsersHandler` returns `User` list, but it can be casted into `Participant`

## v4.2.4 (Jan 20, 2023)


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/v4.2.4/SendbirdChatSDK.xcframework.zip",
checksum: "c9eb7a5aa6b308cf07d63926fca7876ce958398cdd8930ea72e1fd4efc9c61e0"
url: "https://github.com/sendbird/sendbird-chat-sdk-ios/releases/download/v4.3.0/SendbirdChatSDK.xcframework.zip",
checksum: "080f45a95d80015f295c1552b25ef4491fa59d57558afcc6936596980aed79f6"
),
]
)
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.2.4"
s.version = "4.3.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 @@ -13,7 +13,7 @@ Pod::Spec.new do |s|
'Celine Moon' => '[email protected]',
'Ernest Hong' => '[email protected]'
}
s.source = { :http => "https://github.com/sendbird/sendbird-chat-sdk-ios/releases/download/v4.2.4/SendbirdChatSDK.zip", :sha1 => "f2fd297c0f85cbd72d8545d84c9930dd1674620d" }
s.source = { :http => "https://github.com/sendbird/sendbird-chat-sdk-ios/releases/download/v4.3.0/SendbirdChatSDK.zip", :sha1 => "05897ff7b0b091dcda7fbece651cb124f38204d5" }
s.requires_arc = true
s.platform = :ios, '9.0'
s.documentation_url = 'https://sendbird.com/docs/chat'
Expand Down

0 comments on commit b8ef870

Please sign in to comment.