Skip to content

Releases: GetStream/stream-chat-swift

1.3.7

01 Oct 15:00
@buh buh
Compare
Choose a tag to compare

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 a Channel instead of channelType+channelId.

1.3.6

01 Oct 14:56
@buh buh
Compare
Choose a tag to compare

Added

  • channel.deleted event.
  • ChannelsViewController.deleteChannelBySwipe if enabled, user can delete a channel by swiping a table cell.

Changed

  • Example project updated. Channels with dark mode has a plus button to add a new random channel.

1.3.5

27 Sep 09:30
@buh buh
Compare
Choose a tag to compare

Added

  • Delete a channel. Channel.delete()
  • Channel.create(options: QueryOptions = []) -> Observable<ChannelResponse>
  • ChatViewStyleVisibility.none to hide sendButton in ComposerView
  • ComposerView.sendButtonVisibility for a custom send button. The property can be observed for visibility states: isEnabled, isHidden.

Changed

  • The file ChatEndpoint.swift renamed to Endpoint.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 the attachmentButton is disabled.

1.3.4

23 Sep 08:35
@buh buh
Compare
Choose a tag to compare

Added

  • Stream Chat version is public: Client.version.
  • User has currentDevice 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 show Connecting... and Waiting 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

13 Sep 10:56
@buh buh
Compare
Choose a tag to compare

Added

  • var onlineUsers: Driver<[User]> for Channel
  • stayConnectedInBackground parameter in Client 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:
    from Channel.query(pagination: Pagination, queryOptions: QueryOptions = [])
    to Channel.query(pagination: Pagination = .none, options: QueryOptions = [])
  • Renamed MVar to Atomic

Fixed

  • Member equal operator

1.3.2

13 Sep 11:02
@buh buh
Compare
Choose a tag to compare

Changed

  • Channel init is required a channel type.
  • In channel query method the options parameter now by default is none.

Fixed

  • ChatViewController crash with inconsistent data.
  • Client.onEvent required channelType with channelId.

1.3.1

13 Sep 11:06
@buh buh
Compare
Choose a tag to compare

Added

  • API for Push Notifications: User.addDevice(deviceId:), User.removeDevice(deviceId:)

Fixed

  • Notifications.logsEnabled now is public.

1.3.0

13 Sep 11:10
@buh buh
Compare
Choose a tag to compare

Added

  • Observable Channel.unreadCount. No need to open a chat screen or use presenter to get the unread messages count.

Fixed

  • Update ChatViewController only when it's visible. isVisible variable could be customized.

1.2.11

13 Sep 11:12
@buh buh
Compare
Choose a tag to compare

Fixed

  • Parsing channel commands.
  • ChatViewController for correct behaviour of mute/unmute and flag/unflag.

1.2.10

13 Sep 11:13
@buh buh
Compare
Choose a tag to compare

Fixed

  • Message reaction counts parsing.