Releases: GetStream/stream-chat-swift
Releases · GetStream/stream-chat-swift
4.48.0
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 emptycid
#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
4.47.1
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
from10
to30
to align with the backend. #2977
StreamChatUI
🐞 Fixed
4.47.0
January 09, 2024
StreamChat
🐞 Fixed
- Fix Channel ID initializer crashing with an empty string #2964
✅ Added
- Expose
UserListQuery.search(term:)
andUserListQuery.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
4.46.0
4.45.0
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 andnil
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
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
'scompletion
's argument is now a(Result<ChatChannel, Error>
instead ofError?
4.43.0
November 17, 2023
StreamChat
✅ Added
- Add new
NewMessageErrorEvent
when observingEventsController
#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
4.42.0
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
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
October 25, 2023
StreamChat
✅ Added
- Add
language
parameter toconnectUser()
#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
- Enabled by
🐞 Fixed
- Do not mark a channel as read if the app is in background #2832