Skip to content

Releases: GetStream/stream-chat-swift

4.22.0

27 Sep 14:30
Compare
Choose a tag to compare

September 26, 2022

StreamChat

✅ Added

  • Added timeoutIntervalForRequest to ChatClientConfig to control URLSession's timeout #2311
  • Added channel.ownCapabilities #2317

🐞 Fixed

  • Fixed pagination in message list not working when synchronize does not succeed #2241
  • Do not mark channels as read when the controller is not on screen #2288
  • Do not show old messages not belonging to the history when paginating #2298). Caveat: Explained here
  • Fix logic to determine errors related to connectivity #2311
  • Stop logging false positive errors for 'channel.created' events #2314
  • Properly handle Global Ban events #2312

StreamChatUI

✅ Added

  • Highlighted user mentions support #2253
  • New ChatMessageListRouter.showUser() to easily provide a custom profile view when user clicks on an avatar or user mention #2253

🐞 Fixed

  • User mentions suggestions would not show when typing in a new line #2253
  • User mentions suggestions would stop showing when typing a space #2253
  • Fix Thread not loading more replies #2297
  • Fix Channel and Thread pagination not working when initialized offline #2297

4.21.2

20 Sep 15:49
e729dde
Compare
Choose a tag to compare

September 19, 2022

StreamChatUI

🐞 Fixed

  • Fix Message List cell not updating when an existing reaction of the same type was updated from the current user #2304
  • Fix Message List cell not updating when the number of reactions of the same type changed #2304

4.21.1

06 Sep 14:43
Compare
Choose a tag to compare

September 06, 2022

StreamChatUI

🐞 Fixed

  • Fix message list crash when inserting message in empty list on iOS <15 #2269

4.21.0

02 Sep 14:55
ac66f8c
Compare
Choose a tag to compare

September 01, 2022

🚨 Known Issue: There is a crash on iOS <15 when inserting messages in an empty list, please update to 4.21.1

StreamChat

🔄 Changed

  • From now on, if you want to logout the user from the app, especially when switching users, you should call the client.logout() method instead of client.disconnect(). Read more here #2241

🐞 Fixed

  • Fix hidden channels showing past history #2216
  • Fix token not being refreshed because of parsing error #2248
  • Fix deadlock caused by ListDatabaseObserver.startObserving() changes #2252
  • Fix parsing member field in notification.removed_from_channel event #2259
  • Fix broken pagination when quoting or pinning old messages #2258

StreamChatUI

🔄 Changed

  • New Message List Diffing Implementation #2226
  • _messageListDiffingEnabled flag has been removed #2226

🐞 Fixed

  • Fix jumps in Message List #2226
  • Fix image flickers when adding image attachment to a message #2226
  • Fix message list scrolling when popping from navigation stack #2239
  • Fix message timestamp not appearing after hard deleting the last message in the group #2226

4.20.0

04 Aug 09:08
Compare
Choose a tag to compare

August 02, 2022

StreamChat

✅ Added

  • Support for message moderation (NNBB) #2103

🐞 Fixed

  • Fix crash in ListDatabaseObserver.startObserving() #2177
  • Make BaseOperation thread safe #2198
  • Fix build issues in Xcode 14 beta #2202
  • Improve consistency when retrieving Message after Push Notification #2200
  • Make sure ChannelDTO is still valid when accessing Lazy blocks #2204

StreamChatUI

✅ Added

  • Add channel list states; empty, error and loading views #2187
  • Support for message moderation (NNBB) #2103

4.19.0

21 Jul 15:53
Compare
Choose a tag to compare

July 21, 2022

StreamChat

✅ Added

  • Add hide history option when adding a new member #2155
  • Add Extra Data Usage Improvements #2174
    • For more details please read the documentation here.

🐞 Fixed

  • Avoid triggering CoreData updates in willSave() #2156
  • Sync active channels when no channel list #2163

StreamChatUI

🐞 Fixed

  • Fix Channel missing messages from NSE push updates #2166

4.18.0

05 Jul 14:22
Compare
Choose a tag to compare

July 05, 2022

StreamChat

✅ Added

  • Added missing ChannelListFilterScope and MemberListFilterScope filter keys #2119

🔄 Changed

  • Improved performance when saving big payloads (by 50% in some edge cases)#2113
  • Chat SDK now leverages chat.stream-io-api.com endpoint by default #2125
  • JSON decoding performance is futher increased, parsing time reduced by another %50 #2128
  • Better errors in case JSON decoding fails #2126
  • File upload size limit is increased to 100MB #2136

🐞 Fixed

  • Allow sending giphy messages programmatically #2124
  • JSON decoding is now more robust, single incomplete/broken object won't disable whole channel list #2126

StreamChatUI

🐞 Fixed

  • Allow scroll automatically to the bottom when sending a giphy from the middle of the message list #2130

4.17.0

22 Jun 15:43
Compare
Choose a tag to compare

June 22, 2022

StreamChat

✅ Added

  • parentMessageId parameter for typing events #2080
  • Adds support for multi bundle push notifications #2101

🐞 Fixed

  • Fix hidden channels not appearing on relaunch #2056
  • Fix channel.hidden event failing to decode on launch/reconnection #2056
  • Fix messages in hidden channels with clearHistory re-appearing #2056
  • Fix last message of hidden channel with clearHistory visible in channel list #2056
  • Message action title now supports displaying 2 lines of text instead of 1 #2082
  • Fix Logger persisting config after usage, preventing changing parameters (such as LogLevel) #2081
  • Fix crash in ChannelVC when it's initialized using a ChannelController created with createDirectMessageChannelWith factory #2097
  • Fix ChannelListSortingKey.unreadCount causing database crash #2094

🔄 Changed

  • JSON decoding performance is increased 3 times, parsing time reduced by %70 #2081
  • EventPayload decoding errors are now more verbose #2099

StreamChatUI

✅ Added

  • Show typing users within a thread #2080
  • Add support for Markdown syntax #2067

🐞 Fixed

  • Fix Logger persisting config after usage, preventing changing parameters (such as LogLevel) #2081

4.16.0

10 Jun 07:12
Compare
Choose a tag to compare

June 10, 2022

StreamChat

💥 Removed

  • The tokenProvider property was removed from ChatClient #2031

✅ Added

  • Make it possible to call ChatClient.connect with a tokenProvider #2031

🐞 Fixed

  • Saving payloads to local database is now 50% faster. Initial launch and displaying channel list should be noticeably faster #1973
  • Fix not waiting for last batch of events to be processed when connecting as another user #2016
  • Fix Date._unconditionallyBridgeFromObjectiveC(NSDate?) crash #2027
  • Fix NSHashTable count underflow crash #2032
  • Fix crash when participant hard deletes a message 2075
  • Fix possible deadlock in CurrentUserController functions being called from background threads #2074
  • Fix using incorrect index path for updates #2044

🔄 Changed

  • Changing the decoding of role to channel_role as role is now deprecated on the backend. This allows for custom roles defined within your V2 permissions #2028

StreamChatUI

✅ Added

  • Add Support for Slow Mode #1953
  • Present channel screen modally when channel list in not embedded by navigation controller #2011
  • Show channel screen as right detail when channel list is embedded by split view controller #2011

🐞 Fixed

  • Fix DM Channel with multiple members displaying only 1 user avatar #2019
  • Improve stability of Message List with Diffing disabled #2006 #2076
  • Fix quoted message extra spacing jump UI glitch #2050
  • Fix edge case where cell would be hidden after reacting to it #2053

4.15.1

01 Jun 15:26
Compare
Choose a tag to compare

June 01, 2022

This release does not contain any code changes.

🔄 Changed