Skip to content

Commit a19be54

Browse files
Merge pull request #101 from sendbird/release/4.27.0
Release 4.27.0
2 parents 66f9251 + 8adcb0e commit a19be54

File tree

3 files changed

+43
-4
lines changed

3 files changed

+43
-4
lines changed

CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,44 @@
11
# Changelog
22

3+
## 4.27.0 (May 26, 2025)
4+
5+
### New Feature
6+
- Added `markAsUnread(message: BaseMessage, completionHandler: SBErrorHandler?)` to `GroupChannel`. This new feature changes the read status of messages in the channel to `unread`, starting from the specified message.
7+
```swift
8+
groupChannel.markAsUnread(message) { error in
9+
// Handle error if any.
10+
}
11+
12+
// Listen to updates in the current user's `myLastRead` of the channel in the below `GroupChannelDelegate`.
13+
// Also use this delegate method to listen to updates in the read status by other channel members.
14+
func channelDidUpdateReadStatus(_ channel: BaseChannel, userIds: [String]) {
15+
// ...
16+
}
17+
18+
// Listen to updates in the current user's unread message count in the below `UserEventDelegate`.
19+
func didUpdateTotalUnreadMessageCount(unreadMessageCount:) {
20+
let totalUnreadCount = unreadMessageCount.groupChannelCount
21+
}
22+
```
23+
24+
### New Interfaces
25+
- A new delegate method is added in `GroupChannelDelegate`.
26+
- This delegate method is called when the `readReceipts` of group channel is updated or when the current user's `myLastRead` of group channel is updated.
27+
```swift
28+
optional func channelDidUpdateReadStatus(_ channel: GroupChannel, userIds: [String])
29+
```
30+
- The below `GroupChannelDelegate` is deprecated.
31+
```swift
32+
optional func channelDidUpdateReadStatus(_ channel: GroupChannel)
33+
```
34+
35+
- Added `apiHost` and `wsHost` parameters to the InitParams initialization method
36+
- This allows custom API and WebSocket hosts to be set during initialization.
37+
38+
39+
### Improvements
40+
- Added `isAIAgent` and `isDesk` flags to `GroupChannel` class to indicate whether a channel is an AI Agent or Desk channel.
41+
342
## 4.26.1 (May 21, 2025)
443

544
## Improvements

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ let package = Package(
1515
targets: [
1616
.binaryTarget(
1717
name: "SendbirdChatSDK",
18-
url: "https://github.com/sendbird/sendbird-chat-sdk-ios/releases/download/4.26.1/SendbirdChatSDK.xcframework.zip",
19-
checksum: "cc5fdb592a73ca5baf75c9131584686d18646fac3db47c8aaeb5a97ae674ecf6"
18+
url: "https://github.com/sendbird/sendbird-chat-sdk-ios/releases/download/4.27.0/SendbirdChatSDK.xcframework.zip",
19+
checksum: "731f2e0a3fd61d6ddcaaee76dcdf5045105e0221acebb3d8f37fb05eb7e56a5f"
2020
),
2121
]
2222
)

SendbirdChatSDK.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Pod::Spec.new do |s|
33
s.name = 'SendbirdChatSDK'
4-
s.version = "4.26.1"
4+
s.version = "4.27.0"
55
s.summary = 'Sendbird Chat iOS Framework'
66
s.description = 'Messaging and Chat API for Mobile Apps and Websites'
77
s.homepage = 'https://sendbird.com'
@@ -15,7 +15,7 @@ Pod::Spec.new do |s|
1515
'Young Hwang' => '[email protected]',
1616
'Kai Lee' => '[email protected]'
1717
}
18-
s.source = { :http => "https://github.com/sendbird/sendbird-chat-sdk-ios/releases/download/4.26.1/SendbirdChatSDK.zip", :sha1 => "fed5cec95c2982a4b34c1d11d736c8b6db19b2dd" }
18+
s.source = { :http => "https://github.com/sendbird/sendbird-chat-sdk-ios/releases/download/4.27.0/SendbirdChatSDK.zip", :sha1 => "3a3444227574580c383f22e20669781c28401347" }
1919
s.requires_arc = true
2020
s.platform = :ios, '13.0'
2121
s.documentation_url = 'https://sendbird.com/docs/chat'

0 commit comments

Comments
 (0)