Skip to content

Releases: GetStream/stream-chat-swift

4.61.0

31 Jul 10:50
Compare
Choose a tag to compare

July 30, 2024

StreamChat

⚡ Performance

  • Improve performance of ChatChannel database model conversions more than 7 times #3325
  • Improve performance of ChatChannel and ChatMessage equality checks #3335

✅ Added

  • Expose MissingConnectionId + InvalidURL + InvalidJSON Errors #3332
  • Add support for .hasUnread filter key to ChannelListQuery #3340

🐞 Fixed

  • Fix a rare issue with incorrect message order when sending multiple messages while offline #3316
  • Fix sorting channel list by unread count #3340

StreamChatUI

🐞 Fixed

  • Fix message search not showing results for new search terms #3345

4.60.0

19 Jul 13:36
Compare
Choose a tag to compare

July 18, 2024

StreamChat

✅ Added

  • Add an option to configure a reconnection timeout #3303

🐞 Fixed

  • Improve the stability of the reconnection process #3303
  • Fix invalid token errors considered as recoverable errors #3303
  • Fix crashes in LazyCachedMapCollection when logging out an user 3299

🔄 Changed

  • Dropped iOS 12 support #3285
  • Increase QoS for Throttler and Debouncer to utility #3297
  • Improve reliability of accessing data in controllers' completion handlers #3305

StreamChatUI

✅ Added

  • Add support for enabling message list view animations #3314

🐞 Fixed

  • Fix Channel List not hiding error state view when data is available #3303

4.59.0

10 Jul 15:18
Compare
Choose a tag to compare

July 10, 2024

⚠️ Important

  • This is the last SDK version that will support iOS 12 as the minimum deployment target.
  • Our next release will have iOS 13 as the minimum deployment target.

StreamChat

✅ Added

  • Add support for user blocking #3223
  • [Threads v2] Add support for Threads v2 #3229
    • Add ChatThreadListController to fetch current user threads
    • Add ChatMessageController.markThreadRead()
    • Add ChatMessageController.markThreadUnread()
    • Add ChatMessageController.updateThread()
    • Add ChatMessageController.loadThread()
    • Add ChatCurrentUserController.loadAllUnreads()
    • Add CurrentChatUser.unreadCount.threads

🐞 Fixed

  • Fix user not able to connect when the user name contains a semicolon #3275

🔄 Changed

  • Add additional fields to the Equatable conformance in ChatChannel and ChatMessage #3277

StreamChatUI

✅ Added

  • [Threads v2] Add ChatThreadListVC UI Component #3229
    • Marks a thread read when reaching the bottom of the replies in ChatThreadVC
    • Marking the parent message of a thread as unread in ChatThreadVC will mark the thread as unread

🔄 Changed

  • ChatChannelUnreadCountView now shares a common view (badgeView) with ChatThreadUnreadCountView #3229

🎭 New Localizations

  • message.item.deleted
  • threadListItem.replied-to
  • threadList.empty.description
  • threadList.error.message
  • threadList.new-threads

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