4.74.0
March 14, 2025
StreamChat
β Added
- Add
MarkdownParserfor parsing and styling markdown strings #3590 - Add
Fonts.title2for supporting markdown headers #3590 - Add channel reads pagination support #3613
- Add
ChatChannelController.loadChannelReads(), - Add
ChatChannelController.loadMoreChannelReads() - Add
Chat.loadMembers() - Add
Chat.loadMoreMembers()
- Add
π Fixed
- Fix background task warning by making task tracking thread-safe #3604
- Fix an issue where
ChatRemoteNotificationHandlercan lead to persistent store's data inconsistencies #3601 - Fix the order of channels when using
ChannelListSortingKey.default3615 - Fix channel membership not updated when the current user adds itself to a channel #3618
StreamChatUI
π Changed
- Feature rich markdown rendering with
AttributedString#3590- Note: Markdown is rendered only on iOS 15 and above. On iOS 14 and below markdown is rendered as plain text
- Rename
MarkdownFormatter.format(_:)toMarkdownFormatter.format(_:attributes:)for allowing to pass in current text attributes
π₯ Removed
- Remove
MarkdownStyles.linkFontbecause link attributes are ignored byUITextView. UpdateChatMessageContentView.textView.linkTextAttributesinstead #3590 - Remove
DefaultMarkdownFormatter.markdownRegexPatternbecause regular expression based validation was removed #3590 - Remove
MarkdownFormatter.containsMarkdown(_:), optionally validate input strings inMarkdownFormatter.format(_:attributes:)instead #3590