March 14, 2025
StreamChat
✅ Added
- Add
MarkdownParser
for parsing and styling markdown strings #3590 - Add
Fonts.title2
for 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
ChatRemoteNotificationHandler
can lead to persistent store's data inconsistencies #3601 - Fix the order of channels when using
ChannelListSortingKey.default
3615 - 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.linkFont
because link attributes are ignored byUITextView
. UpdateChatMessageContentView.textView.linkTextAttributes
instead #3590 - Remove
DefaultMarkdownFormatter.markdownRegexPattern
because regular expression based validation was removed #3590 - Remove
MarkdownFormatter.containsMarkdown(_:)
, optionally validate input strings inMarkdownFormatter.format(_:attributes:)
instead #3590