Releases: GetStream/stream-chat-swift
Releases · GetStream/stream-chat-swift
1.3.15
1.3.14
Added
- Support expired
Token's with a token provider:
Client.shared.set(user: user) { tokenProvider in
YourClient.shared.getToken { token in
tokenProvider(token)
}
}- More flexibility of Push Notifications setup for hosted apps.
- A local notification body with an attachment file name.
Fixed
ChannelPresenterfor creating a channel for 1-by-1.- The content channel type value for notifications.
ChatViewControllerfor UI warnings.ComposerViewfor different safe areas.- UITextView height in the
ComposerViewin combinations with attachments.
1.3.13-core
Added
BaseURLwith a custom URL more flexible:BaseURL(customURL: URL(string: "chat-server.com")!)- A convenience Channel init for a 1-by-1 chat:
public convenience init(type: ChannelType, with member: Member, extraData: Codable? = nil)1.3.12
1.3.11
Added
Presenterhas a new propertyhasNextPage.- A user info key
channelTypefor Push Notifications.
Fixed
- Error message for the sending mark read event for channels with disabled the read message feature.
- Crash in AvatarView for user name
test. - A disabled keyboard bug for none
messagingchannels. - Bugs filtering channels by id + type.
1.3.10
1.3.9
Added
ChannelsViewController.defaultStyleandChatViewController.defaultStylefor easer way to override the style in subclasses.
Changed
Notificationsmore flexible for push notifications to use in hosted apps.
Fixed
- Unread count for own messages.
- Members in channels.
1.3.8
Added
Client.disconnect()will disconnect from web sockets and the current user will be logged out.ViewChanges.disconnectedfor user log out.- Added style for an unread channel name.
Changed
ChannelsPresenterhas no filter or sorting. By default channels sorted on server side by the last message date.
Fixed
ChannelsViewControllerfor user log out.
1.3.7
Fixed
- Unread observable state for
Channel. - Unread state for
ChannelPresenter.
Changed
ChannelsPresenterinit with filter and sorting parameters.- The default filter for channels in
ChannelsPresenterchanged to filter by members with the current user id. - Cleaned up
Client.onEventmethods. Required aChannelinstead ofchannelType+channelId.