Releases: GetStream/stream-chat-swift
Releases · GetStream/stream-chat-swift
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
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