Skip to content

Releases: GetStream/stream-chat-swift

4.63.0

12 Sep 10:27
Compare
Choose a tag to compare

September 12, 2024

StreamChat

✅ Added

  • Local attachment downloads (docs) #3393
    • Add downloadAttachment(_:) and deleteLocalAttachmentDownload(for:) to Chat and MessageController
    • Add deleteAllLocalAttachmentDownloads() to ConnectedUser and CurrentUserController
  • Add unset argument to CurrentChatUserController.updateUserData and ConnectedUser.update for clearing user data fields #3404
  • Add reason and extraData arguments to ChatUserController.flag(reason:extraData:completion:) and ConnectedUser.flag(_:reason:extraData:) #3417
  • Add extraData argument to ChatMessageController.flag(reason:extraData:completion:) and Chat.flagMessage(_:reason:extraData:) #3417

🐞 Fixed

  • Fix Logger printing the incorrect thread name #3382
  • Channel watching did not resume on web-socket reconnection #3409

🔄 Changed

  • Discard offline state changes when saving database changes fails #3399
  • Deprecate Filter.notEqual and Filter.notIn #3414

StreamChatUI

✅ Added

  • Downloading and sharing file attachments in the message list #3393
    • Feature toggle for download and share buttons: Components.default.isDownloadFileAttachmentsEnabled (default is false)

4.62.0

16 Aug 13:44
c14c5a1
Compare
Choose a tag to compare

August 15, 2024

StreamChat

⚡ Performance

  • Use background database observers for CurrentUserController.currentUser, ChatChannelMemberListController.members, and ChatMessageController.message which reduces CPU usage on the main thread #3357
  • CurrentChatUserController was often recreated when sending typing events #3372
  • Reduce latency of the BackgroundDatabaseObserver by reducing thread switching when handling changes #3373

🐞 Fixed

  • Fix an issue where pending messages (moderation feature) were not visible after returning to the channel #3378
  • Fix rare crashes when deleting local database content on logout #3355
  • Fix rare crashes in MulticastDelegate when accessing it concurrently #3361
  • Fix reading the local database state just after the initial write #3373
  • Fix a timing issue where accessing channels in controllerWillChangeChannels returned already changed channels #3373

🔄 Changed

  • Made loadBlockedUsers in ConnectedUser public #3352
  • Removed Agora and 100ms related code, the recommended way to support calls is to use StreamVideo #3364
  • Run offline state sync in the background instead of pausing other API requests while it runs #3367

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