Skip to content

Commit

Permalink
Merge pull request #187 from GetStream/release/v5.0.0
Browse files Browse the repository at this point in the history
Upgrade project to v5.0.0
  • Loading branch information
sierpinskid authored Oct 4, 2024
2 parents 7aaf8cc + 33ab38e commit 302144f
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
37 changes: 37 additions & 0 deletions Assets/Plugins/StreamChat/Changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,40 @@
v5.0.0:
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.

Added:
* 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.

Deprecated (will be removed in a future major release):
* MessageRequest deprecated fields: Html, PinnedBy, User, UserId
* StreamUpdateMessageRequest deprecated field: PinnedBy
* StreamSendMessageRequest deprecated field: PinnedBy
* StreamMessageRequest deprecated field: PinnedBy
* MessageRequest deprecated field: Html

Moved:
* StreamChat.Core.Requests.CreateDeviceRequest -> StreamChat.Core.LowLevelClient.Requests.CreateDeviceRequest
* StreamChat.Core.Responses.ListDevicesResponse -> StreamChat.Core.LowLevelClient.Responses.ListDevicesResponse

Improvements:
* Improved StreamChannel.MemberCount updates from additional API events.
* Replaced enums with structs:
* StreamChat.Core.Models.StreamMessageType
* StreamChat.Core.Responses.StreamImageCropType
* StreamChat.Core.Responses.StreamImageResizeType
* StreamChat.Core.InternalDTO.Models.AutomodBehaviourType
* StreamChat.Core.InternalDTO.Models.AutomodType
* StreamChat.Core.InternalDTO.Models.BlockListOptionsBehavior
* StreamChat.Core.InternalDTO.Models.ImageCropType
* StreamChat.Core.InternalDTO.Models.ImageResizeType
* StreamChat.Core.InternalDTO.Models.MessageType
* StreamChat.Core.InternalDTO.Models.PushProviderType
* StreamChat.Core.InternalDTO.Requests.CreateCallRequestType
* StreamChat.Core.InternalDTO.Requests.CreatePollRequestVotingVisibility
* StreamChat.Core.InternalDTO.Requests.MessageRequestType
* StreamChat.Core.InternalDTO.Requests.TranslateMessageRequestLanguage
* StreamChat.Core.InternalDTO.Requests.UpdatePollRequestVotingVisibility
* StreamChat.Core.InternalDTO.Responses.ChannelMemberResponseRole

v4.9.0:
Fixes:
* Fix compiler errors after switching to WebGL platform
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ private set
/// <summary>
/// SDK Version number
/// </summary>
public static readonly Version SDKVersion = new Version(4, 9, 0);
public static readonly Version SDKVersion = new Version(5, 0, 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

0 comments on commit 302144f

Please sign in to comment.