Releases: GetStream/stream-chat-swift
Releases · GetStream/stream-chat-swift
4.22.0
September 26, 2022
StreamChat
✅ Added
- Added
timeoutIntervalForRequest
to ChatClientConfig to control URLSession's timeout #2311 - Added
channel.ownCapabilities
#2317
🐞 Fixed
- Fixed pagination in message list not working when synchronize does not succeed #2241
- Do not mark channels as read when the controller is not on screen #2288
- Do not show old messages not belonging to the history when paginating #2298). Caveat: Explained here
- Fix logic to determine errors related to connectivity #2311
- Stop logging false positive errors for 'channel.created' events #2314
- Properly handle Global Ban events #2312
StreamChatUI
✅ Added
- Highlighted user mentions support #2253
- New
ChatMessageListRouter.showUser()
to easily provide a custom profile view when user clicks on an avatar or user mention #2253
🐞 Fixed
4.21.2
4.21.1
4.21.0
September 01, 2022
🚨 Known Issue: There is a crash on iOS <15 when inserting messages in an empty list, please update to 4.21.1
StreamChat
🔄 Changed
- From now on, if you want to logout the user from the app, especially when switching users, you should call the
client.logout()
method instead ofclient.disconnect()
. Read more here #2241
🐞 Fixed
- Fix hidden channels showing past history #2216
- Fix token not being refreshed because of parsing error #2248
- Fix deadlock caused by ListDatabaseObserver.startObserving() changes #2252
- Fix parsing
member
field innotification.removed_from_channel
event #2259 - Fix broken pagination when quoting or pinning old messages #2258
StreamChatUI
🔄 Changed
- New Message List Diffing Implementation #2226
_messageListDiffingEnabled
flag has been removed #2226
🐞 Fixed
4.20.0
August 02, 2022
StreamChat
✅ Added
- Support for message moderation (NNBB) #2103
🐞 Fixed
- Fix crash in ListDatabaseObserver.startObserving() #2177
- Make BaseOperation thread safe #2198
- Fix build issues in Xcode 14 beta #2202
- Improve consistency when retrieving Message after Push Notification #2200
- Make sure ChannelDTO is still valid when accessing Lazy blocks #2204
StreamChatUI
✅ Added
4.19.0
July 21, 2022
StreamChat
✅ Added
- Add hide history option when adding a new member #2155
- Add Extra Data Usage Improvements #2174
- For more details please read the documentation here.
🐞 Fixed
- Avoid triggering CoreData updates in willSave() #2156
- Sync active channels when no channel list #2163
StreamChatUI
🐞 Fixed
- Fix Channel missing messages from NSE push updates #2166
4.18.0
July 05, 2022
StreamChat
✅ Added
- Added missing
ChannelListFilterScope
andMemberListFilterScope
filter keys #2119
🔄 Changed
- Improved performance when saving big payloads (by 50% in some edge cases)#2113
- Chat SDK now leverages
chat.stream-io-api.com
endpoint by default #2125 - JSON decoding performance is futher increased, parsing time reduced by another %50 #2128
- Better errors in case JSON decoding fails #2126
- File upload size limit is increased to 100MB #2136
🐞 Fixed
- Allow sending giphy messages programmatically #2124
- JSON decoding is now more robust, single incomplete/broken object won't disable whole channel list #2126
StreamChatUI
🐞 Fixed
- Allow scroll automatically to the bottom when sending a giphy from the middle of the message list #2130
4.17.0
June 22, 2022
StreamChat
✅ Added
parentMessageId
parameter for typing events #2080- Adds support for multi bundle push notifications #2101
🐞 Fixed
- Fix hidden channels not appearing on relaunch #2056
- Fix
channel.hidden
event failing to decode on launch/reconnection #2056 - Fix messages in hidden channels with
clearHistory
re-appearing #2056 - Fix last message of hidden channel with
clearHistory
visible in channel list #2056 - Message action title now supports displaying 2 lines of text instead of 1 #2082
- Fix Logger persisting config after usage, preventing changing parameters (such as LogLevel) #2081
- Fix crash in
ChannelVC
when it's initialized using aChannelController
created withcreateDirectMessageChannelWith
factory #2097 - Fix
ChannelListSortingKey.unreadCount
causing database crash #2094
🔄 Changed
- JSON decoding performance is increased 3 times, parsing time reduced by %70 #2081
- EventPayload decoding errors are now more verbose #2099
StreamChatUI
✅ Added
🐞 Fixed
- Fix Logger persisting config after usage, preventing changing parameters (such as LogLevel) #2081
4.16.0
June 10, 2022
StreamChat
💥 Removed
- The
tokenProvider
property was removed fromChatClient
#2031
✅ Added
- Make it possible to call
ChatClient.connect
with atokenProvider
#2031
🐞 Fixed
- Saving payloads to local database is now 50% faster. Initial launch and displaying channel list should be noticeably faster #1973
- Fix not waiting for last batch of events to be processed when connecting as another user #2016
- Fix
Date._unconditionallyBridgeFromObjectiveC(NSDate?)
crash #2027 - Fix
NSHashTable
count underflow crash #2032 - Fix crash when participant hard deletes a message 2075
- Fix possible deadlock in
CurrentUserController
functions being called from background threads #2074 - Fix using incorrect index path for updates #2044
🔄 Changed
- Changing the decoding of
role
tochannel_role
asrole
is now deprecated on the backend. This allows for custom roles defined within your V2 permissions #2028
StreamChatUI
✅ Added
- Add Support for Slow Mode #1953
- Present channel screen modally when channel list in not embedded by navigation controller #2011
- Show channel screen as right detail when channel list is embedded by split view controller #2011
🐞 Fixed
4.15.1
June 01, 2022
This release does not contain any code changes.
🔄 Changed
- Provides new
SPI
config. - Adds swift docc plugin to package dependencies.