Skip to content

Conversation

Stream-SDK-Bot
Copy link
Collaborator

StreamChat

βœ… Added

  • Add support for user.messages.deleted event #3792
  • Add upload endpoint for standalone attachments #3788
  • Add option to access the total message count of a channel #3796

🐞 Fixed

  • Fix channel getting removed from channel list which includes blocked channels #3794
  • Fix system messages not incrementing and decrementing unread counts #3795

StreamChatUI

🐞 Fixed

  • Fix input text view's placeholder alignment in RTL #3790
  • Flip directional icons in RTL #3790
  • Fix swipe to reply gesture in RTL #3790

πŸ”„ Changed

  • Use chevron icons in ChatMessageAttachmentPreviewVC #3790

@Stream-SDK-Bot Stream-SDK-Bot requested a review from a team as a code owner August 29, 2025 13:16
Copy link

coderabbitai bot commented Aug 29, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbit review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing Touches
πŸ§ͺ Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch release/4.87.0

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❀️ Share
πŸͺ§ Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbit in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbit in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbit gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbit read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbit help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbit ignore or @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbit summary or @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbit or @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

1 Warning
⚠️ Big PR

Generated by 🚫 Danger

Copy link

Public Interface

+ public struct UserMessagesDeletedEvent: Event  
+ 
+   public let user: ChatUser
+   public let hardDelete: Bool
+   public let createdAt: Date

+ public struct StreamAttachment  
+ 
+   public let type: AttachmentType
+   public var payload: Payload
+   public let downloadingState: AttachmentDownloadingState?
+   public let uploadingState: AttachmentUploadingState?
+   
+ 
+   public init(type: AttachmentType,payload: Payload,downloadingState: AttachmentDownloadingState?,uploadingState: AttachmentUploadingState?)



 public enum ChannelCodingKeys: String, CodingKey, CaseIterable  
-   case cooldownDuration = "cooldown"
+   case messageCount = "message_count"
-   case blocked
+   case cooldownDuration = "cooldown"
+   case blocked

 public class ChatClient  
+   public func upload(_ attachment: StreamAttachment<Payload>,progress: ((Double) -> Void)?,completion: @escaping (Result<UploadedFile, Error>) -> Void)

 public struct AttachmentUploadingState: Hashable  
+   
+ 
+   public init(localFileURL: URL,state: LocalAttachmentState,file: AttachmentFile)

 public struct ChatChannel  
-   public let lastActiveMembers: [ChatChannelMember]
+   public let messageCount: Int?
-   public let currentlyTypingUsers: Set<ChatUser>
+   public let lastActiveMembers: [ChatChannelMember]
-   public internal var membership: ChatChannelMember?
+   public let currentlyTypingUsers: Set<ChatUser>
-   public var isArchived: Bool
+   public internal var membership: ChatChannelMember?
-   public var isPinned: Bool
+   public var isArchived: Bool
-   public let lastActiveWatchers: [ChatUser]
+   public var isPinned: Bool
-   public let watcherCount: Int
+   public let lastActiveWatchers: [ChatUser]
-   public let team: TeamId?
+   public let watcherCount: Int
-   public let unreadCount: ChannelUnreadCount
+   public let team: TeamId?
-   public let latestMessages: [ChatMessage]
+   public let unreadCount: ChannelUnreadCount
-   public let lastMessageFromCurrentUser: ChatMessage?
+   public let latestMessages: [ChatMessage]
-   public let pinnedMessages: [ChatMessage]
+   public let lastMessageFromCurrentUser: ChatMessage?
-   public let pendingMessages: [ChatMessage]
+   public let pinnedMessages: [ChatMessage]
-   public let reads: [ChatChannelRead]
+   public let pendingMessages: [ChatMessage]
-   public let muteDetails: MuteDetails?
+   public let reads: [ChatChannelRead]
-   public var isMuted: Bool
+   public let muteDetails: MuteDetails?
-   public let cooldownDuration: Int
+   public var isMuted: Bool
-   public let extraData: [String: RawJSON]
+   public let cooldownDuration: Int
-   public let previewMessage: ChatMessage?
+   public let extraData: [String: RawJSON]
-   public let draftMessage: DraftMessage?
+   public let previewMessage: ChatMessage?
-   public let activeLiveLocations: [SharedLocation]
+   public let draftMessage: DraftMessage?
-   
+   public let activeLiveLocations: [SharedLocation]
- 
+   
-   public func replacing(name: String?,imageURL: URL?,extraData: [String: RawJSON]?)-> ChatChannel
+ 
-   public func changing(name: String? = nil,imageURL: URL? = nil,lastMessageAt: Date? = nil,createdAt: Date? = nil,deletedAt: Date? = nil,updatedAt: Date? = nil,truncatedAt: Date? = nil,isHidden: Bool? = nil,createdBy: ChatUser? = nil,config: ChannelConfig? = nil,ownCapabilities: Set<ChannelCapability>? = nil,isFrozen: Bool? = nil,isDisabled: Bool? = nil,isBlocked: Bool? = nil,reads: [ChatChannelRead]? = nil,members: [ChatChannelMember]? = nil,membership: ChatChannelMember? = nil,memberCount: Int? = nil,watchers: [ChatUser]? = nil,watcherCount: Int? = nil,team: TeamId? = nil,cooldownDuration: Int? = nil,pinnedMessages: [ChatMessage]? = nil,extraData: [String: RawJSON]? = nil)-> ChatChannel
+   public func replacing(name: String?,imageURL: URL?,extraData: [String: RawJSON]?)-> ChatChannel
+   public func changing(name: String? = nil,imageURL: URL? = nil,lastMessageAt: Date? = nil,createdAt: Date? = nil,deletedAt: Date? = nil,updatedAt: Date? = nil,truncatedAt: Date? = nil,isHidden: Bool? = nil,createdBy: ChatUser? = nil,config: ChannelConfig? = nil,ownCapabilities: Set<ChannelCapability>? = nil,isFrozen: Bool? = nil,isDisabled: Bool? = nil,isBlocked: Bool? = nil,reads: [ChatChannelRead]? = nil,members: [ChatChannelMember]? = nil,membership: ChatChannelMember? = nil,memberCount: Int? = nil,watchers: [ChatUser]? = nil,watcherCount: Int? = nil,team: TeamId? = nil,cooldownDuration: Int? = nil,pinnedMessages: [ChatMessage]? = nil,extraData: [String: RawJSON]? = nil)-> ChatChannel

 public class StreamAttachmentUploader: AttachmentUploader  
+   public func uploadStandaloneAttachment(_ attachment: StreamAttachment<Payload>,progress: ((Double) -> Void)?,completion: @escaping (Result<UploadedFile, Error>) -> Void)

 open class SlideToCancelView: _View, ThemeProvider  
-   override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?)
+   override open func updateContent()
-   override open func updateContent()
+   
-   
+ 
- 
+   public struct Content: Equatable  
-   public struct Content: Equatable  
+   
-   
+     public var alpha: CGFloat
-     public var alpha: CGFloat
+     
-     
+   
-   
+     public init(alpha: CGFloat)
-     public init(alpha: CGFloat)

@Stream-SDK-Bot
Copy link
Collaborator Author

SDK Size

title previous release current release diff status
StreamChat 8.08 MB 8.09 MB +19 KB 🟒
StreamChatUI 4.86 MB 4.86 MB 0 KB 🟒

@Stream-SDK-Bot
Copy link
Collaborator Author

SDK Performance

target metric benchmark branch performance status
MessageList Hitches total duration 10 ms 6.68 ms 33.2% πŸ”Ό 🟒
Duration 2.6 s 2.55 s 1.92% πŸ”Ό 🟒
Hitch time ratio 4 ms per s 2.62 ms per s 34.5% πŸ”Ό 🟒
Frame rate 75 fps 78.24 fps 4.32% πŸ”Ό 🟒
Number of hitches 1 0.8 20.0% πŸ”Ό 🟒

Copy link

Build for regression testing β„–123457091 has been uploaded to TestFlight 🎁

Copy link

@laevandus
Copy link
Contributor

/merge release

@testableapple
Copy link
Contributor

Publication of the release has been launched πŸ‘

@github-actions github-actions bot merged commit 10373de into main Aug 29, 2025
16 checks passed
@github-actions github-actions bot deleted the release/4.87.0 branch August 29, 2025 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants