github GetStream/stream-chat-swift 4.74.0

18 hours ago

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()

🐞 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(_:) to MarkdownFormatter.format(_:attributes:) for allowing to pass in current text attributes

💥 Removed

  • Remove MarkdownStyles.linkFont because link attributes are ignored by UITextView. Update ChatMessageContentView.textView.linkTextAttributes instead #3590
  • Remove DefaultMarkdownFormatter.markdownRegexPattern because regular expression based validation was removed #3590
  • Remove MarkdownFormatter.containsMarkdown(_:), optionally validate input strings in MarkdownFormatter.format(_:attributes:) instead #3590

Don't miss a new stream-chat-swift release

NewReleases is sending notifications on new releases.