From b011f8f181279a6ada3f0efa757e76473b077395 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sierpi=C5=84ski?= <33436839+sierpinskid@users.noreply.github.com> Date: Mon, 15 Jun 2026 17:51:09 +0200 Subject: [PATCH] bump version --- Assets/Plugins/StreamChat/Changelog.txt | 17 +++++++++++++++++ .../LowLevelClient/StreamChatLowLevelClient.cs | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/Assets/Plugins/StreamChat/Changelog.txt b/Assets/Plugins/StreamChat/Changelog.txt index 310da753..4fc10064 100644 --- a/Assets/Plugins/StreamChat/Changelog.txt +++ b/Assets/Plugins/StreamChat/Changelog.txt @@ -1,3 +1,20 @@ +v5.5.0: +Features: + +* Add IStreamChatClient.SearchMessagesAsync for searching messages across the channels the local user can access. Returns IStreamMessage results together with their IStreamChannel. Supports free-text Query, message- and channel-level filters, sorting, and offset/cursor pagination. By default the result channels are watched so the returned messages and channels keep receiving realtime updates; set StreamSearchMessagesRequest.WatchResultChannels = false for one-off results that don't need to stay up to date (e.g. a search bar where the user opens one result at a time). +* Add MessageFilter and MessagesSort strongly-typed query builders for SearchMessagesAsync, consistent with the existing channel/user/thread filter and sort builders. +* Add IStreamChannel.WatchAsync(), the counterpart to the existing StopWatchingAsync(). Starts watching a channel so it receives realtime updates. Use it to start watching a channel obtained from SearchMessagesAsync(WatchResultChannels=false) or QueryThreadsAsync(Watch=false). +* Add IStreamChannel.IsWatched to check whether a channel is currently watched and receiving realtime updates. +* Add IStreamMessage.IsWatched to check whether a message is receiving realtime updates. A message is watched while its parent channel is watched. + +Fixes: + +* Fix IStreamChatClient.WatchedChannels listing channels that are not actually being watched — e.g. a thread's parent channel loaded via QueryThreadsAsync/GetThreadAsync with Watch=false, a channel returned from SearchMessagesAsync with WatchResultChannels=false, or a channel for which StopWatchingAsync had already been called. Such channels no longer appear in the list, so you no longer subscribe to events that never fire. +* Fix IStreamChannel.StopWatchingAsync not updating local watch state after the server confirms the stop. The channel is now removed from IStreamChatClient.WatchedChannels and IsWatched becomes false. +* Fix IStreamThread.CustomData always being empty (since v5.4.0). It is now populated correctly. Note: the type of IStreamThread.CustomData changed from IReadOnlyDictionary to IStreamCustomData, matching IStreamChannel/IStreamMessage/IStreamUser. +* Fix IStreamMessage.SoftDeleteAsync() not updating the local message until the corresponding realtime event arrived. IsDeleted, DeletedAt, and the cleared Text are now updated as soon as the call returns. +* Fix a message occasionally missing from IStreamChannel.Messages (e.g. a thread reply with ShowInChannel = true), introduced in v5.4.0. + v5.4.0: Fixes: diff --git a/Assets/Plugins/StreamChat/Core/LowLevelClient/StreamChatLowLevelClient.cs b/Assets/Plugins/StreamChat/Core/LowLevelClient/StreamChatLowLevelClient.cs index bae9febc..ec3d1924 100644 --- a/Assets/Plugins/StreamChat/Core/LowLevelClient/StreamChatLowLevelClient.cs +++ b/Assets/Plugins/StreamChat/Core/LowLevelClient/StreamChatLowLevelClient.cs @@ -229,7 +229,7 @@ private set /// /// SDK Version number /// - public static readonly Version SDKVersion = new Version(5, 4, 0); + public static readonly Version SDKVersion = new Version(5, 5, 0); /// /// Use this method to create the main client instance or use StreamChatClient constructor to create a client instance with custom dependencies