Skip to content

Releases: GetStream/stream-chat-swift

4.56.0

20 May 13:52
Compare
Choose a tag to compare

May 20, 2024

StreamChat

✅ Added

  • Add a new state layer with async-await and observable state objects (learn more) #3177

4.55.0

13 May 14:55
Compare
Choose a tag to compare

May 13, 2024

StreamChat

🐞 Fixed

  • Fix triggering user query calls whenever a new user was added in UserListController #3184
  • Fix duplicated watching channel calls when reconnecting #3187
  • Fix /sync call failing because of surpassing the 255 channels limit #3188
  • Improve channel list performance by enabling reconfigure cells #3186

🔄 Changed

  • Do not retry rate-limited requests #3182
  • UserListController won't update automatically when a new user is added #3184

StreamChatUI

🐞 Fixed

  • Fix marking channel read after leaving channel view #3193

4.54.0

06 May 12:49
Compare
Choose a tag to compare

May 06, 2024

StreamChat

✅ Added

  • Add reason parameter to flagMessage() #3173

🐞 Fixed

  • Reset managed object contexts before removing all the data on logout #3170
  • Rare crash when @Cached property triggered fetching a new value with computeValue closure #3174

🔄 Changed

  • Replace message update request to partial update on message pinning #3166

StreamChatUI

✅ Added

  • Make ChatMessageContentView.prepareForReuse() open #3176

4.53.0

30 Apr 17:40
Compare
Choose a tag to compare

April 30, 2024

StreamChat

✅ Added

  • Add user privacy settings to control user events #3142
  • Add privacySettings parameter to connectUser() and CurrentUserController.updateUserData() #3142
  • Expose ChatCurrentUser.privacySettings #3142
  • Adds reactionGroups to ChatMessage so that reactions can be sorted by date in the message list #3158

StreamChatUI

✅ Added

  • Adds firstReactionAt and lastReactionAt to ChatMessageReactionData to be able to sort by dates in Components.reactionsSorting #3158
  • Add ChatReactionListController to query and filter reactions from a message #3167
  • Add ChatClient.reactionListController() to create an instance of ChatReactionListController #3167

4.52.0

09 Apr 12:20
001015a
Compare
Choose a tag to compare

April 09, 2024

StreamChat

🐞 Fixed

  • Fix pinning messages with attachments stuck in sending state #3116
  • Fix member list not updated after moderator is demoted #3132

StreamChatUI

🐞 Fixed

  • Fix thread parent message not updating in the Thread View #3129
  • Fix a crash in channel list when reconfiguring cells #3136

4.51.0

26 Mar 12:54
Compare
Choose a tag to compare

March 26, 2024

StreamChat

✅ Added

  • Add mute expiration support when muting a channel #3083
  • Add ChatClient.loadAppSettings and ChatClient.appSettings #3091
  • Load the app settings when connecting the user #3091
  • Expose notificationsMuted in ChatChannelMember #3111

🐞 Fixed

  • Fix saving reaction counts for messages #3109

🔄 Changed

  • Deprecates ChatClientConfig.maxAttachmentSize in favour of defining the value from Stream's Dashboard #3105

StreamChatUI

✅ Added

  • Validates file size limit per attachment type defined in Stream's Dashboard #3105
  • Make it easier to customize ComposerVC.updateContent() #3112
  • Add support markdown font styling customization #3101

🐞 Fixed

  • Fix support for markdown ordered list with all numbers #3090
  • Fix support for markdown italic and bold styles inside snake-styled text #3094
  • Fix Message View not updated when new translations are added or removed #3103

4.50.0

12 Mar 11:28
Compare
Choose a tag to compare

March 11, 2024

StreamChat

✅ Added

  • Add new ChatMessage.textUpdatedAt for when the message text is edited #3059
  • Expose ClientError.errorPayload to easily check for server error details #3061

🐞 Fixed

  • Fix token provider retrying after calling disconnect #3052
  • Fix connect user never completing when disconnecting after token provider fails #3052
  • Fix current user cache not deleted on logout causing unread count issues after switching users #3055
  • Fix rare crash in startObserver() on logout when converting DTO to model in itemCreator #3053
  • Fix invalid token triggering token refresh in an infinite loop #3056
  • Do not mark a message as failed when the server returns duplicated message error #3061

StreamChatUI

✅ Added

  • Add new Components.isMessageEditedLabelEnabled #3059
  • Add "Edited" label when a message is edited #3059
    • Note: For now, only when the text changes it is marked as edited.
  • Add message.edited localization key #3059

4.49.0

27 Feb 18:17
Compare
Choose a tag to compare

February 27, 2024

StreamChat

✅ Added

  • Add parallel attachment uploading #3034

🐞 Fixed

  • Fix controllers having empty data when state changed to .remoteDataFetched with background mapping enabled #3042
  • Fix showing empty search results with background mapping enabled #3042

StreamChatUI

✅ Added

  • Add support for user mentions in channels with 100+ members #3043

🐞 Fixed

  • Fix composer link preview overridden by previous enrichment #3025
  • Fix merged avatars changing sub-image locations when opening channel list #3013
  • Fix native swipe-back gesture overridden by swipe-to-reply #3029
  • Fix CGBitmapContextInfoCreate console log warning when creating merged channel avatars #3018
  • Slight performance improvement in the message list by caching NSRegularExpression in MarkdownFormatter #3020
  • Slight performance improvement in the message list by skipping channel list updates when it is not visible #3021
  • Fix rare race condition when dismissing the gallery causing the UI to be blocked #3037

4.48.1

12 Feb 13:12
Compare
Choose a tag to compare

February 09, 2024

StreamChat

🐞 Fixed

  • Fix TextLink.url in TextLinkDetector not having the HTTP URL #3023

StreamChatUI

🐞 Fixed

  • Fix tapping message links without http scheme not opening Safari #3023
  • Fix links not being highlighted when message text contains markdown #3023

4.48.0

09 Feb 13:58
Compare
Choose a tag to compare

February 09, 2024

⚠️ Regression found! Please use the 4.48.1 version.

  • Links in messages do not open the browser

StreamChat

✅ Added

  • Add new ChatChannelController.enrichUrl() function to get metadata from URL #2984
  • Add new TextLinkDetector for parsing and detecting links given a string #2984
  • Automatically restart uploading suspended attachments when the app is reopened #3008

🐞 Fixed

  • Fix message link preview showing empty space when no metadata available #2984
  • Fix threading issues in ConnectionRepository #2985, #2987
  • Fix threading issues in AuthenticationRepository #2986
  • Fix NewMessagePendingEvent.message with empty cid #2997
  • Fix attachments being sent with local URL paths #3008
  • Fix rare crash in AttachmentDTO.id when accessed outside of CoreData's context #3008

🔄 Changed

  • Do not check token expiration client-side, only server-side #3014

StreamChatUI

✅ Added

  • Add Components.default.isComposerLinkPreviewEnabled flag to enable composer link previews #2984
  • Add support for showing link previews in the composer #2984

🐞 Fixed

  • Fix link flickering when opening a channel #2984
  • Fix link flickering when quoting a message with a link #2984
  • Fix channel item actions gesture overriding native swipe go-back gesture #3000
  • Fix flashing channel list avatars and improve channel list update performance #2996