Skip to content

Releases: GetStream/stream-chat-swift

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

4.15.0

17 May 11:53
Compare
Choose a tag to compare

May 17, 2022

StreamChat

✅ Added

  • Expose readBy/readByCount on ChatMessage containing info about users who has seen this message. These fields are populated only for messages sent by the current user #1887
  • Expose preview message on ChatChannel #1935

🐞 Fixed

  • Fix unread messages count bumping logic #1978
    • respect muted channels
    • respect muted users
    • decrement when message is hard deleted
  • Fix paginated channels in channel list were left without messages when sync is executed #1985
  • Fix deletedMessagesVisibility == .alwaysVisible shows deleted ephemeral messages in message list #1991

🔄 Changed

  • Rename mentionedMessages to mentions in ChannelUnreadCount #1978
  • Changes .team filter FilterKey to accept nil as a parameter #1968

StreamChatUI

🔄 Changed

  • Deprecate ChatMessage.isOnlyVisibleForCurrentUser as it does not account deleted messages visability setting #1948
  • Rename components related to message footnote content in ChatMessageContentView #1948

✅ Added

  • Show delivery status indicator for messages sent by the current user #1887
  • Show delivery status indicator for messages sent by the current user in channel preview #1935
  • Add support for custom reactions sorting #1944
  • Add nonEmpty filter for channel list query #1960

🐞 Fixed

  • Fix onlyVisibleForYouIndicator not being shown for ephemeral messages #1948
  • Fix message popup UI glitch for bigger messages and iPad/Landscape #1975
  • Fix footnote being hidden for the message followed by ephemeral message #1956
  • Fix footnote being hidden for the message followed by system message #1956

4.14.0

26 Apr 10:07
0c2505d
Compare
Choose a tag to compare

April 26, 2022

StreamChat

✅ Added

  • quotesEnabled property is added to the ChannelConfig #1891

🔄 Changed

  • Assertions are no longer thrown by default. Check StreamRuntimeCheck to enable them #1885
  • Local Storage is enabled by default. You can read more here #1890
  • Mark all read has been relocated to CurrentUserController to have parity with other platforms #1927
  • New CurrentUserController.addDevice(_pushDevice:) replaces CurrentUserController.addDevice(token:pushProvider:) #1934
    • How to use the new addDevice API: currentUserController.addDevice(.apn(token: apnDeviceToken))

🐞 Fixed

  • Fix support for multiple active channel lists at the same time #1879
  • Fix channels linked to the channel list not being watched #1924
  • Fix connection recovery flow being triggered after the first connection #1925
  • Fix connection recovery flow not being cancelled on disconnect #1925
  • Fix cooldown being applied to /sync endpoint in connection recovery flow #1925
  • Fix active components not being reset when another user is connected #1925
  • Fix unusable firebase push provider #1934
  • Fix DB errors happening when logging in after a logout / user switch #1926

StreamChatUI

💥 Removed

  • The toVCSnapshot, fromVCSnapshot and containerTransitionImageView properties were removed ZoomAnimator because they were the root cause of animation issues when presenting the popup actions #1899

🔄 Changed

  • The time interval between 2 messages so they are grouped in the UI is changed from 30 sec to 60 sec #1893

✅ Added

  • Quote message action visibility can be controlled from the dashboard #1891

🐞 Fixed

  • Fix full screen live photos weird flicker when presented / dismissed to / from full screen #1899
  • Timestamp not being shown for the message when the next message is error #1893
  • Another user's avatar not being shown for deleted message last in a group #1893
  • Fix audio files not rendering previews #1907
  • Fix message sender name is not shown in channel with > 2 members if member identifiers were passed on channel creation #1931
  • Fix incorrectly called viewWillAppear inside viewWillDissapear #1938

4.13.1

04 Apr 17:56
5088fe5
Compare
Choose a tag to compare

April 04, 2022

StreamChat

🚨 Fixed

  • Fix deadlock when accessing some properties from Events Delegate #1898

4.13.0

30 Mar 11:33
a1e769e
Compare
Choose a tag to compare

March 29, 2022

StreamChat

✅ Added

  • Introduce message translations. See docs for more info #1867
  • Add support for multiple push providers #1864

🐞 Fixed

  • Fix payload for reaction when using enforce_unique #1861
  • Use IndexPath's item instead of row for macOS compatibility #1859
  • Fix mime-type for file attachments #1873
  • Properly decode removed_from_channel event when channel is incomplete #1881

StreamChatUI

⚠️ Changed

  • AttachmentsPreviewVC contains significant deprecations #1877

✅ Added

  • Add Mixed Attachments UI Support #1877

🐞 Fixed

  • Resolve attachment type when importing file from file picker #1873
  • Fix long file names overlapped by the close button #1880
  • Fix long file names being truncated at the end instead of the middle #1880
  • Fix commands without arguments cannot be sent without text #1869
  • Fix pasting long text into composer won't update input height #1875

4.12.0

16 Mar 16:55
Compare
Choose a tag to compare

March 16, 2022

StreamChat

✅ Added

  • Add Offline Support (Connection & events recovery, and offline actions queuing) #1831
  • Add MessageSearchSortingKey.createdAt and updatedAt for sorting options #1824

🐞 Fixed

  • Fix ChatMessageSearchController not respecting sort param #1824
  • Fix ChatMessageSearchController not removing old search results #1824
  • Fix ChatMessageSearchController making empty searches #1824

StreamChatUI

🔄 Changed

  • ⚠️ Change default message deleted visibility to .alwaysVisible #1851
    • Note: This change is required to be align with the other SDK Platforms. If you still want the older behaviour, you should set the ChatClientConfig.deletedMessagesVisibility to .visibleForCurrentUser.

✅ Added

  • Make it possible to customize the message view only in the popup actions #1844

🐞 Fixed

  • Fix blurred avatar views when using image merger #1841
  • Fix "Only visible to you" shown when deleted messages visible for all users #1847
  • Fix channels list cell staying as selected when in Airplane mode #1831

4.11.0

02 Mar 10:47
Compare
Choose a tag to compare

March 01, 2022

✅ Added

  • Add Support for Message List Data Source Diffing (Experimental) #1770
  • Show Camera option on the ComposerVC #1798
  • ChannelController's truncateChannel function now allows you to specify systemMessage, hardDelete, skipPush properties #1799
  • Added truncatedAt property to ChatChannel
  • Added increased logging for CoreData crashes caused by lingering models from previous sessions #1814

🐞 Fixed

  • Fix ChatMentionSuggestionView permanently hiding subviews #1800
  • Fix showing channel watchers in mention suggestions list #1803
  • System message is now properly shown when channel is truncated #1799
  • Fix Memory Leaks when opening and closing channels #1812