Releases: GetStream/stream-chat-unity
Releases · GetStream/stream-chat-unity
v5.3
v5.2
Features:
- Handle message shadowing. The
IStreamChannel.MessagesandIStreamChannel.PinnedMessageswill have shadowed message removed. A moderation policy can apply shadowing. Such a message will be visible to the author but invisible to other users.
v5.1.1
Fixes:
- Fix failing channel response deserialization for channels with dynamic partition enabled, caused by the
PartitionTtlfield inChannelConfigInternalDTOand ChannelConfigWithInfoInternalDTO not being a string.
Features:
- Expose
PartitionSizeandPartitionTtlproperties inIStreamChannel.Config
v5.1.0
Deprecated (will be removed in a future major release):
IStreamChatClient.UpsertUsersis renamed toIStreamChatClient.UpsertUsersAsync. Please use theUpsertUsersAsync.
Fixed:
- Fixed exception being thrown when the
user.updatedevent is received. This resulted inInvalidOperationException: Failed to find id getter for: StreamChat.Core.InternalDTO.Models.UserEventPayloadInternalDTOexception.
v5.0.0
Check out the Migration Guide to 5.x 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 viaStreamChatClient.GetLatestUnreadCountsAsyncin "offline" mode, without establishing a persistent connection, which would contribute towards CCU.
Deprecated (will be removed in a future major release):
MessageRequestdeprecated fields:Html,PinnedBy,User,UserIdStreamUpdateMessageRequestdeprecated field:PinnedByStreamSendMessageRequestdeprecated field:PinnedByStreamMessageRequestdeprecated field:PinnedByMessageRequestdeprecated field:Html
Moved:
StreamChat.Core.Requests.CreateDeviceRequest->StreamChat.Core.LowLevelClient.Requests.CreateDeviceRequestStreamChat.Core.Responses.ListDevicesResponse->StreamChat.Core.LowLevelClient.Responses.ListDevicesResponse
Improvements:
- Improved
StreamChannel.MemberCountupdates from additional API events. - Replaced enums with structs:
StreamChat.Core.Models.StreamMessageTypeStreamChat.Core.Responses.StreamImageCropTypeStreamChat.Core.Responses.StreamImageResizeTypeStreamChat.Core.InternalDTO.Models.AutomodBehaviourTypeStreamChat.Core.InternalDTO.Models.AutomodTypeStreamChat.Core.InternalDTO.Models.BlockListOptionsBehaviorStreamChat.Core.InternalDTO.Models.ImageCropTypeStreamChat.Core.InternalDTO.Models.ImageResizeTypeStreamChat.Core.InternalDTO.Models.MessageTypeStreamChat.Core.InternalDTO.Models.PushProviderTypeStreamChat.Core.InternalDTO.Requests.CreateCallRequestTypeStreamChat.Core.InternalDTO.Requests.CreatePollRequestVotingVisibilityStreamChat.Core.InternalDTO.Requests.MessageRequestTypeStreamChat.Core.InternalDTO.Requests.TranslateMessageRequestLanguageStreamChat.Core.InternalDTO.Requests.UpdatePollRequestVotingVisibilityStreamChat.Core.InternalDTO.Responses.ChannelMemberResponseRole
v4.9.0
v4.8.0
Features:
- Add method to get the current state of the unread counts with
IStreamChatClient.GetLatestUnreadCountsAsync()-> this method also works when the client is disconnected. The unread counts state provides a detailed information about unread messages in each channel and thread.
v4.7.0
Fixes:
- Fix the
IStreamChannelinstance provided by an event not triggering its own events (the channel was not being watched if it was only returned via event) (#149) - Fix client events:
IStreamChatClient.AddedToChannelAsMember,IStreamChatClient.RemovedFromChannelAsMember,IStreamChatClient.ChannelInviteReceived,IStreamChatClient.ChannelInviteAccepted,IStreamChatClient.ChannelInviteRejectednot being executed on the main thread (#151) - Fix the client not reconnecting immediately after losing network connection when the network is available again (#153)
- Fix internal WebSocket client sometimes getting stuck in the Connecting state on Android when the network was not available (#154)
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 (#152)
v4.6.0
Improvements:
- Added client events that are fired when the local user is added to a new channel ->
IStreamChatClient.AddedToChannelAsMemberor removed from a channelIStreamChatClient.RemovedFromChannelAsMember- These two events fire only for channels that are not tracked locally. For tracked channels, theIStreamChannel.MemberAdded&IStreamChannel.MemberRemovedshould be used (#146)