Skip to content

4.0.0-beta.7

Pre-release
Pre-release
Compare
Choose a tag to compare
@b-onc b-onc released this 19 Jul 11:22
· 1397 commits to main since this release
b6d89b9

⚠️ Breaking Changes from 4.0-beta.6

  • The ChatSuggestionsViewController was renamed to ChatSuggestionsVC to follow the same pattern across the codebase. #1195

🔄 Changed

  • Changed Channel from currentlyTypingMembers: Set<ChatChannelMember> to currentlyTypingUsers: Set<ChatUser> to show all typing users (not only channel members; eg: watching users) #1254

🐞 Fixed

  • Fix deleted messages appearance #1267
  • Fix composer commands and attachment buttons not shown in first render when channel is not in cache #1277
  • Fix appearance of only-emoji messages #1272
  • Fix the appearance of system messages #1281
  • Fix a crash happening during MessageList updates #1286

✅ Added

  • Support for pasting images into the composer #1258
  • The visibility of deleted messages is now configurable using ChatClientConfig.deletedMessagesVisibility. You can choose from the following options #1269:
/// All deleted messages are always hidden.
case alwaysHidden

/// Deleted message by current user are visible, other deleted messages are hidden.
case visibleForCurrentUser

/// Deleted messages are always visible.
case alwaysVisible

🐞 Fixed

  • Fix crash when scrolling to bottom after sending the first message #1262
  • Fix crash when thread root message is not loaded when thread is opened #1263
  • Fix issue when messages were changing their sizes when channel is opened #1260
  • Fix over fetching previous messages #1110
  • Fix an issue where multiple messages in a channel could not quote a single message #1264

🔄 Changed

  • The way attachment view stretches the message cell to fill all available width. Now it's done via fillAllAvailableWidth exposed on base attachment injector (set to true by default) #1260