Releases: GetStream/stream-chat-swift
Releases · GetStream/stream-chat-swift
1.3.8
Added
Client.disconnect()
will disconnect from web sockets and the current user will be logged out.ViewChanges.disconnected
for user log out.- Added style for an unread channel name.
Changed
ChannelsPresenter
has no filter or sorting. By default channels sorted on server side by the last message date.
Fixed
ChannelsViewController
for user log out.
1.3.7
Fixed
- Unread observable state for
Channel
. - Unread state for
ChannelPresenter
.
Changed
ChannelsPresenter
init with filter and sorting parameters.- The default filter for channels in
ChannelsPresenter
changed to filter by members with the current user id. - Cleaned up
Client.onEvent
methods. Required aChannel
instead ofchannelType
+channelId
.
1.3.6
1.3.5
Added
- Delete a channel.
Channel.delete()
Channel.create(options: QueryOptions = []) -> Observable<ChannelResponse>
ChatViewStyleVisibility.none
to hidesendButton
inComposerView
ComposerView.sendButtonVisibility
for a custom send button. The property can be observed for visibility states:isEnabled
,isHidden
.
Changed
- The file
ChatEndpoint.swift
renamed toEndpoint.swift
. ChannelsViewController.channelPresenter
open.
Fixed
- A bug for replies count in the
ChatViewController
. - Hide ephemeral messages from replies in the
ChatViewController
. - Fixed Token payload parsing (thanks to @nlash-livly).
- Fixed
ComposerView
layout when theattachmentButton
is disabled.
1.3.4
Added
- Stream Chat version is public:
Client.version
. User
hascurrentDevice
when a device token for Push Notifications was received.
Changed
- Example project updated with switches for unread count messages, online users, push notifications.
ChatViewController
footer will showConnecting...
andWaiting for network
more precisely.Client
connection will skip react on.inactive
app state.AvatarView
removed from an Objective-C bridging.
Fixed
- Push Notifications.
Member
hash.- Device token to string.
InternetConnection
status.ChatViewController
scroll to bottom.
1.3.3
Added
var onlineUsers: Driver<[User]>
forChannel
stayConnectedInBackground
parameter inClient
setup. When the app will go to the background, start a background task to stay connected for 5 min. By default: true.
Changed
- Renamed channel query method:
fromChannel.query(pagination: Pagination, queryOptions: QueryOptions = [])
toChannel.query(pagination: Pagination = .none, options: QueryOptions = [])
- Renamed
MVar
toAtomic
Fixed
Member
equal operator