From f7c138a1b29e1e823cfd37f1646b37bdfa716901 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sierpi=C5=84ski?= Date: Thu, 27 Jun 2024 14:33:20 +0200 Subject: [PATCH] Upgrade the package to version 4.7.0 (#157) --- Assets/Plugins/StreamChat/Changelog.txt | 10 ++++++++++ .../Core/LowLevelClient/StreamChatLowLevelClient.cs | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Assets/Plugins/StreamChat/Changelog.txt b/Assets/Plugins/StreamChat/Changelog.txt index cd55c7bf..685773c6 100644 --- a/Assets/Plugins/StreamChat/Changelog.txt +++ b/Assets/Plugins/StreamChat/Changelog.txt @@ -1,3 +1,13 @@ +v4.7.0: +Fixes: +* Fix the IStreamChannel instance provided by an event not triggering its own events (the channel was not being watched if it was only returned via event) +* Fix client events: IStreamChatClient.AddedToChannelAsMember, IStreamChatClient.RemovedFromChannelAsMember, IStreamChatClient.ChannelInviteReceived, IStreamChatClient.ChannelInviteAccepted, IStreamChatClient.ChannelInviteRejected not being executed on the main thread +* Fix the client not reconnecting immediately after losing network connection when the network is available again +* Fix internal WebSocket client sometimes getting stuck in the Connecting state on Android when the network was not available + +Features: +* Add state recovery after the disconnected period - once the client reconnects, it will fetch any missed events (like new messages, etc.) from the server and reconstruct the missed state + v4.6.0: Improvements: * Added client events that are fired when the local user is added to a new channel -> IStreamChatClient.AddedToChannelAsMember or removed from a channel IStreamChatClient.RemovedFromChannelAsMember - These two events fire only for channels that are not tracked locally. For tracked channels, the IStreamChannel.MemberAdded & IStreamChannel.MemberRemoved should be used diff --git a/Assets/Plugins/StreamChat/Core/LowLevelClient/StreamChatLowLevelClient.cs b/Assets/Plugins/StreamChat/Core/LowLevelClient/StreamChatLowLevelClient.cs index 59e4c733..437dcdf6 100644 --- a/Assets/Plugins/StreamChat/Core/LowLevelClient/StreamChatLowLevelClient.cs +++ b/Assets/Plugins/StreamChat/Core/LowLevelClient/StreamChatLowLevelClient.cs @@ -205,7 +205,7 @@ private set /// /// SDK Version number /// - public static readonly Version SDKVersion = new Version(4, 6, 0); + public static readonly Version SDKVersion = new Version(4, 7, 0); /// /// Use this method to create the main client instance or use StreamChatClient constructor to create a client instance with custom dependencies