Skip to content

Commit

Permalink
Upgrade SDK to 4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
sierpinskid committed Jan 3, 2024
1 parent 3737732 commit 93353b9
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
20 changes: 20 additions & 0 deletions Assets/Plugins/StreamChat/Changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
v4.3.0:
Fixes:
* Fixed state update after channel.truncated event with a past date
* Added potential fix for a crash on Android with IL2CPP

Improvements:
* Improved reconnection logic to monitor Unity's [Network Reachability](https://docs.unity3d.com/ScriptReference/NetworkReachability.html) for faster reaction to when the network is available again
* Reduced the overhead and potential heating issues on mobile devices by optimizing the background tasks that handle WebSocket connection
* Updated DTOs to the latest OpenAPI spec
* Implemented invites -> [Invites Docs](https://getstream.io/chat/docs/unity/channel_invites/?language=unity)
* Added optional hide history & message parameters to IStreamChannel.AddMembersAsync
* Implemented IStreamChannel.UpdateOverwriteAsync -> [Channel Overwrite Update Docs](https://getstream.io/chat/docs/unity/channel_update/?language=unity&q=update#full-update-(overwrite))
* Added channel freezing & unfreezing -> [Channel Freeze Docs](https://getstream.io/chat/docs/unity/disabling_channels/?language=unity#freeze-a-channel)

Sample Project:
* Fixes:
* Fixed excessive TryLoadPreviousMessagesAsync calling - this could lead to performance issues after loading older messages
* Improvements
* Added invite mechanics

v4.2.0:
Deprecated (will be removed in a future release):
* IStreamChatClient.QueryChannelsAsync overload with IDictionary<string, object> filters parameter. Please use the other overload with IEnumerable<IFieldFilterRule> filters parameter.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ private set
/// <summary>
/// SDK Version number
/// </summary>
public static readonly Version SDKVersion = new Version(4, 2, 0);
public static readonly Version SDKVersion = new Version(4, 3, 0);

/// <summary>
/// Use this method to create the main client instance or use StreamChatClient constructor to create a client instance with custom dependencies
Expand Down
2 changes: 1 addition & 1 deletion ProjectSettings/ProjectSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ PlayerSettings:
16:10: 1
16:9: 1
Others: 1
bundleVersion: 4.2.0
bundleVersion: 4.3.0
preloadedAssets: []
metroInputSource: 0
wsaTransparentSwapchain: 0
Expand Down

0 comments on commit 93353b9

Please sign in to comment.