November 15, 2022
StreamChat
🔄 Changed
channelController.uploadFile()
andchannelController.uploadImage()
are deprecated in favour ofchannelController.uploadAttachment()
#2369imageAttachmentPayload.imagePreviewURL
is deprecated since it was misleading, it was basically using the originalimageURL
#2369
✅ Added
- Added new
AttachmentUploader
to allow changing attachment info with custom CDN #2369
🐞 Fixed
- Add timeout for token/connectionId providers so that
ChatClient.connect()
completes even in edge cases where we cannot get the needed data #2361 - Stop spamming the console with "Socket is not connected" error when token is being refreshed #2361
- Update documentation around
CurrentUserController.currentUser
to state that a non-nil value does not mean there is a valid authentication #2361 - Allow flow where
ChatClient.setToken()
is called beforeChatClient.connect()
#2361 - Properly recover from a missing/expired token on the first execution of
TokenProvider
#2361 - Fix data races created by
AsyncOperation
looped execution when refreshing tokens #2361
StreamChatUI
🐞 Fixed
- Fix issue where cell content would not be updated when order changes in Channel List #2371