Skip to content

Releases: GetStream/stream-chat-swift

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

4.47.1

24 Jan 13:45
Compare
Choose a tag to compare

January 24, 2024

StreamChat

🐞 Fixed

  • Fix not possible to resend messages with failed attachments #2966
  • Fix not mentioning users if they are not fetched in the local device #2967
  • Fix rare crash in startObserver() in login/logout flow #2972

🔄 Changed

  • Bump maxAttachmentCountPerMessage from 10 to 30 to align with the backend. #2977

StreamChatUI

🐞 Fixed

  • Fix file attachments retry button not retrying upload #2966
  • Fix mentioned users without names not highlighted #2967
  • Fix duplicated mentioned users not highlighted #2967

4.47.0

09 Jan 20:13
Compare
Choose a tag to compare

January 09, 2024

StreamChat

🐞 Fixed

  • Fix Channel ID initializer crashing with an empty string #2964

✅ Added

  • Expose UserListQuery.search(term:) and UserListQuery.user(withID:) #2959

StreamChatUI

✅ Added

  • Better support for custom mixed attachments rendering #2947
  • Add default rendering for unsupported attachments #2948

🐞 Fixed

  • Fix deleted messages showing custom attachments #2947
  • Fix blocked messages showing attachments #2947

🔄 Changed

  • Minor breaking change in the ChatMessageListView.reuseIdentifier() function. It has a new message parameter. #2947
  • Minor breaking change in the ChatMessageListView.dequeueReusableCell() function. It has a new message parameter. #2947

4.46.0

21 Dec 18:12
Compare
Choose a tag to compare

December 21, 2023

StreamChat

🐞 Fixed

  • Fix duplicated Runpath Search Paths #2937
  • Fix _dispatch_lane_resume crash in RepeatingTimer #2938
  • Fix editing of async voice messages #2943

StreamChatUI

🐞 Fixed

  • Fix duplicated Runpath Search Paths #2937
  • Fix file attachments not rendering file size #2941
  • Fix quoted chat message view with wrong text #2946
  • Fix jumping to bottom when loading new messages #2945
  • Fix messages failing to be deleted when pending updates to the server #2949

4.45.0

13 Dec 12:38
Compare
Choose a tag to compare

December 11, 2023

StreamChat

✅ Added

  • Add an option to configure the AudioSession when using VoiceRecordings #2919

🐞 Fixed

  • Fix UserInfo.isInvisible not nullable #2920
  • Fix CocoaPods minimum iOS target not in sync with the Xcode project #2924
  • Improve InternetConnection.Monitor stability #2923

🔄 Changed

  • The UserInfo.isInvisible is now nullable and nil by default #2920

StreamChatUI

🐞 Fixed

  • Fix date separator decoration view showing in the last message of the current page #2899
  • Fix JumpToUnreadMessagesButton not localizable #2917
  • Fix CocoaPods minimum iOS target not in sync with the Xcode project #2924
  • Fix quoting message without bubble view when text is only emojis #2925
  • Fix user mention not tappable when contains "@" character #2928
  • Fix user mention not tappable if user does not have a name #2928
  • Fix edit action possible in giphy messages #2926
  • Fix not adding a space in the message input when mentioning a user #2927

⚠️ Important

  • iOS 11 support has been dropped since Xcode 15 does not allow publishing apps with iOS 11.

4.44.0

30 Nov 18:36
Compare
Choose a tag to compare

November 30, 2023

StreamChatUI

🐞 Fixed

  • Fix skip slow mode capability not handled #2904
  • Fix layout crash when sending an app to background and ChatMessageGalleryView is visible #2907
  • Fix channel history being marked as read for new members #2905

🔄 Changed

  • ChannelController.markUnread's completion's argument is now a (Result<ChatChannel, Error> instead of Error?

4.43.0

20 Nov 11:33
Compare
Choose a tag to compare

November 17, 2023

StreamChat

✅ Added

  • Add new NewMessageErrorEvent when observing EventsController #2885

StreamChatUI

✅ Added

  • Add jump to unread messages interaction #2894
  • Add support for opening a channel in the unread messages page with Components.shouldJumpToUnreadWhenOpeningChannel #2894

StreamChatUI

🐞 Fixed

  • Fix Message List UI not updated when message.updatedAt changes #2884
  • Fix jump to unread button showing "0" unread counts #2894
  • Fix not able to mark channel read when isJumpToUnread is disabled #2902

4.42.0

14 Nov 21:52
Compare
Choose a tag to compare

November 14, 2023

StreamChat

🐞 Fixed

  • Fix not able to mark channel read after clearing history #2867

StreamChatUI

✅ Added

  • Add support for editing custom attachments #2879

🐞 Fixed

  • Fix composer not interactable after enabling send-message capability #2866
  • Fix pasting images from browser when isPastingImagesEnabled is false #2874
  • Fix not being able to paste images when multiple attachments are present #2874
  • Fix ComposerVC InputTextView caret's position issues #2878
  • Fix avatar alignment in quoted messages #2876

4.41.0

03 Nov 14:28
Compare
Choose a tag to compare

November 03, 2023

StreamChat

✅ Added

  • Add message moderation details to ChatMessage #2846
  • Add support for resending, editing and deleting bounced messages #2846

🐞 Fixed

  • Fix not being able to delete local-only messages #2846
  • Fix bounced message displayed as a system message instead of an error #2846
  • Fix not showing bounced actions when long pressing bounced message #2846
  • Fix empty channel list when querying both hidden or shown channels #2865

StreamChatUI

✅ Added

  • Allow easier customisation of the ChatChannelListItemView #2855

🐞 Fixed

  • Always use reloadChannels() in the Channel List to improve stability #2858

⚠️ Important

  • From now on, our XCFrameworks will be built with Swift 5.7. In order to use them, you need Xcode 14 or above.

4.40.0

25 Oct 18:42
Compare
Choose a tag to compare

October 25, 2023

StreamChat

✅ Added

  • Add language parameter to connectUser() #2847
  • Expose language in users #2847
  • Expose originalLanguage in messages #2847

StreamChatUI

✅ Added

  • Add message attachment preview in the channel list #2838
  • Add support for automatic translations #2847
    • Enabled by Components.default.messageAutoTranslationEnabled

🐞 Fixed

  • Do not mark a channel as read if the app is in background #2832