Skip to content

Commit 302144f

Browse files
authored
Merge pull request #187 from GetStream/release/v5.0.0
Upgrade project to v5.0.0
2 parents 7aaf8cc + 33ab38e commit 302144f

File tree

2 files changed

+38
-1
lines changed

2 files changed

+38
-1
lines changed

Assets/Plugins/StreamChat/Changelog.txt

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,40 @@
1+
v5.0.0:
2+
Check out the [Migration Guide to 5.x](https://getstream.io/chat/docs/unity/migration_guide_to_5x/?language=unity) for guidance on adjusting your project.
3+
4+
Added:
5+
* StreamChatClient.SetAuthorizationCredentials - allows setting the authorization credentials without connecting a user to the Stream Chat Service. This can be used in scenarios where you want to fetch unread counts via StreamChatClient.GetLatestUnreadCountsAsync in "offline" mode, without establishing a persistent connection, which would contribute towards CCU.
6+
7+
Deprecated (will be removed in a future major release):
8+
* MessageRequest deprecated fields: Html, PinnedBy, User, UserId
9+
* StreamUpdateMessageRequest deprecated field: PinnedBy
10+
* StreamSendMessageRequest deprecated field: PinnedBy
11+
* StreamMessageRequest deprecated field: PinnedBy
12+
* MessageRequest deprecated field: Html
13+
14+
Moved:
15+
* StreamChat.Core.Requests.CreateDeviceRequest -> StreamChat.Core.LowLevelClient.Requests.CreateDeviceRequest
16+
* StreamChat.Core.Responses.ListDevicesResponse -> StreamChat.Core.LowLevelClient.Responses.ListDevicesResponse
17+
18+
Improvements:
19+
* Improved StreamChannel.MemberCount updates from additional API events.
20+
* Replaced enums with structs:
21+
* StreamChat.Core.Models.StreamMessageType
22+
* StreamChat.Core.Responses.StreamImageCropType
23+
* StreamChat.Core.Responses.StreamImageResizeType
24+
* StreamChat.Core.InternalDTO.Models.AutomodBehaviourType
25+
* StreamChat.Core.InternalDTO.Models.AutomodType
26+
* StreamChat.Core.InternalDTO.Models.BlockListOptionsBehavior
27+
* StreamChat.Core.InternalDTO.Models.ImageCropType
28+
* StreamChat.Core.InternalDTO.Models.ImageResizeType
29+
* StreamChat.Core.InternalDTO.Models.MessageType
30+
* StreamChat.Core.InternalDTO.Models.PushProviderType
31+
* StreamChat.Core.InternalDTO.Requests.CreateCallRequestType
32+
* StreamChat.Core.InternalDTO.Requests.CreatePollRequestVotingVisibility
33+
* StreamChat.Core.InternalDTO.Requests.MessageRequestType
34+
* StreamChat.Core.InternalDTO.Requests.TranslateMessageRequestLanguage
35+
* StreamChat.Core.InternalDTO.Requests.UpdatePollRequestVotingVisibility
36+
* StreamChat.Core.InternalDTO.Responses.ChannelMemberResponseRole
37+
138
v4.9.0:
239
Fixes:
340
* Fix compiler errors after switching to WebGL platform

Assets/Plugins/StreamChat/Core/LowLevelClient/StreamChatLowLevelClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ private set
203203
/// <summary>
204204
/// SDK Version number
205205
/// </summary>
206-
public static readonly Version SDKVersion = new Version(4, 9, 0);
206+
public static readonly Version SDKVersion = new Version(5, 0, 0);
207207

208208
/// <summary>
209209
/// Use this method to create the main client instance or use StreamChatClient constructor to create a client instance with custom dependencies

0 commit comments

Comments
 (0)