Releases: GetStream/stream-chat-swift
Releases · GetStream/stream-chat-swift
4.63.0
September 12, 2024
StreamChat
✅ Added
- Local attachment downloads (docs) #3393
- Add
downloadAttachment(_:)
anddeleteLocalAttachmentDownload(for:)
toChat
andMessageController
- Add
deleteAllLocalAttachmentDownloads()
toConnectedUser
andCurrentUserController
- Add
- Add
unset
argument toCurrentChatUserController.updateUserData
andConnectedUser.update
for clearing user data fields #3404 - Add
reason
andextraData
arguments toChatUserController.flag(reason:extraData:completion:)
andConnectedUser.flag(_:reason:extraData:)
#3417 - Add
extraData
argument toChatMessageController.flag(reason:extraData:completion:)
andChat.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
andFilter.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 isfalse
)
- Feature toggle for download and share buttons:
4.62.0
August 15, 2024
StreamChat
⚡ Performance
- Use background database observers for
CurrentUserController.currentUser
,ChatChannelMemberListController.members
, andChatMessageController.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
4.61.0
July 30, 2024
StreamChat
⚡ Performance
- Improve performance of
ChatChannel
database model conversions more than 7 times #3325 - Improve performance of
ChatChannel
andChatMessage
equality checks #3335
✅ Added
- Expose
MissingConnectionId
+InvalidURL
+InvalidJSON
Errors #3332 - Add support for
.hasUnread
filter key toChannelListQuery
#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
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
andDebouncer
toutility
#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
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
- Add
🐞 Fixed
- Fix user not able to connect when the user name contains a semicolon #3275
🔄 Changed
- Add additional fields to the
Equatable
conformance inChatChannel
andChatMessage
#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
- Marks a thread read when reaching the bottom of the replies in
🔄 Changed
ChatChannelUnreadCountView
now shares a common view (badgeView
) withChatThreadUnreadCountView
#3229
🎭 New Localizations
message.item.deleted
threadListItem.replied-to
threadList.empty.description
threadList.error.message
threadList.new-threads
4.58.0
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
4.56.1
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()
andupdateMentionSuggestions()
withupdateSuggestions()
inChatSuggestionVC
#3215
4.56.0
May 20, 2024
StreamChat
✅ Added
- Add a new state layer with async-await and observable state objects (learn more) #3177
4.55.0
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