Releases: GetStream/stream-chat-swift
Releases · GetStream/stream-chat-swift
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
4.54.0
May 06, 2024
StreamChat
✅ Added
- Add
reason
parameter toflagMessage()
#3173
🐞 Fixed
- Reset managed object contexts before removing all the data on logout #3170
- Rare crash when
@Cached
property triggered fetching a new value withcomputeValue
closure #3174
🔄 Changed
- Replace message update request to partial update on message pinning #3166
StreamChatUI
✅ Added
- Make
ChatMessageContentView.prepareForReuse()
open #3176
4.53.0
April 30, 2024
StreamChat
✅ Added
- Add user privacy settings to control user events #3142
- Add
privacySettings
parameter toconnectUser()
andCurrentUserController.updateUserData()
#3142 - Expose
ChatCurrentUser.privacySettings
#3142 - Adds
reactionGroups
toChatMessage
so that reactions can be sorted by date in the message list #3158
StreamChatUI
✅ Added
- Adds
firstReactionAt
andlastReactionAt
toChatMessageReactionData
to be able to sort by dates inComponents.reactionsSorting
#3158 - Add
ChatReactionListController
to query and filter reactions from a message #3167 - Add
ChatClient.reactionListController()
to create an instance ofChatReactionListController
#3167
4.52.0
4.51.0
March 26, 2024
StreamChat
✅ Added
- Add mute expiration support when muting a channel #3083
- Add
ChatClient.loadAppSettings
andChatClient.appSettings
#3091 - Load the app settings when connecting the user #3091
- Expose
notificationsMuted
inChatChannelMember
#3111
🐞 Fixed
- Fix saving reaction counts for messages #3109
🔄 Changed
- Deprecates
ChatClientConfig.maxAttachmentSize
in favour of defining the value from Stream's Dashboard #3105
StreamChatUI
✅ Added
- Validates file size limit per attachment type defined in Stream's Dashboard #3105
- Make it easier to customize
ComposerVC.updateContent()
#3112 - Add support markdown font styling customization #3101
🐞 Fixed
4.50.0
March 11, 2024
StreamChat
✅ Added
- Add new
ChatMessage.textUpdatedAt
for when the message text is edited #3059 - Expose
ClientError.errorPayload
to easily check for server error details #3061
🐞 Fixed
- Fix token provider retrying after calling disconnect #3052
- Fix connect user never completing when disconnecting after token provider fails #3052
- Fix current user cache not deleted on logout causing unread count issues after switching users #3055
- Fix rare crash in
startObserver()
on logout when converting DTO to model initemCreator
#3053 - Fix invalid token triggering token refresh in an infinite loop #3056
- Do not mark a message as failed when the server returns duplicated message error #3061
StreamChatUI
✅ Added
4.49.0
February 27, 2024
StreamChat
✅ Added
- Add parallel attachment uploading #3034
🐞 Fixed
- Fix controllers having empty data when state changed to
.remoteDataFetched
with background mapping enabled #3042 - Fix showing empty search results with background mapping enabled #3042
StreamChatUI
✅ Added
- Add support for user mentions in channels with 100+ members #3043
🐞 Fixed
- Fix composer link preview overridden by previous enrichment #3025
- Fix merged avatars changing sub-image locations when opening channel list #3013
- Fix native swipe-back gesture overridden by swipe-to-reply #3029
- Fix
CGBitmapContextInfoCreate
console log warning when creating merged channel avatars #3018 - Slight performance improvement in the message list by caching
NSRegularExpression
inMarkdownFormatter
#3020 - Slight performance improvement in the message list by skipping channel list updates when it is not visible #3021
- Fix rare race condition when dismissing the gallery causing the UI to be blocked #3037
4.48.1
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