Skip to content

Releases: GetStream/stream-chat-swift

4.58.0

27 Jun 10:50
Compare
Choose a tag to compare

June 26, 2024

StreamChat

✅ Added

  • Add role argument to partial user updates #3253

🐞 Fixed

  • Fix channel.pinnedMessages with missing messages #3244
  • Fix notifications muted state for the current user in channel members #3239
  • Reset channel members and watchers state when fetching the initial state of the channel #3245
  • Fix inconsistent message text when extremely quickly updating it #3242
  • Fix message attachments returning nil sometimes in push notification extensions #3263
  • Significantly improve performance of database observers #3260

🔄 Changed

  • Enable background mapping by default, which improves performance overall #3250

StreamChatUI

🐞 Fixed

  • Fix an issue with markdown ordered list processing #3234

4.57.0

06 Jun 15:42
Compare
Choose a tag to compare

June 06, 2024

StreamChat

✅ Added

  • Low-level client support for Polls - creating different types of polls, adding and removing votes, comments, and more #3220

4.56.1

23 May 08:20
Compare
Choose a tag to compare

May 23, 2024

StreamChatUI

🐞 Fixed

  • Do not re-display suggestion view on each character change #3215
  • Fix command suggestions not appearing #3215
  • Reduce suggestion view height updates while scrolling #3215

🔄 Changed

  • Replace updateCommandSuggestions() and updateMentionSuggestions() with updateSuggestions() in ChatSuggestionVC #3215

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