Skip to content

Conversation

@Stream-SDK-Bot
Copy link
Collaborator

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

laevandus and others added 15 commits February 28, 2025 08:08
* Add AttributedString extension for parsing markdown and enabling styling in the MarkdownFormatter

* Add tests for AttributedString markdown styling

* Use paragraph style for setting correct text alignment in lists

* Remove MarkdownStyles.linkFont because we use UITextView for rendering and UITextView overrides it

* Document linkFont removal and attributed string parsing

* Basic support for RTL and remove background color from code blocks

* Use unicode bullet for lists in markdown

* Be more careful with insertion index and skip parsing if string is empty

* Use Fonts for default fonts in markdown

* Remove SwiftyMarkdown

* Turn off markdown styles in the demo app

* Do not use markdown regex
… channel (#3618)

* Fix channel membership not updated when current user adds itself to a channel

* Update CHANGELOG.md
@Stream-SDK-Bot Stream-SDK-Bot requested a review from a team as a code owner March 14, 2025 10:53
@github-actions
Copy link

1 Warning
⚠️ Big PR

Generated by 🚫 Danger

@github-actions
Copy link

Build for regression testing №123457058 has been uploaded to TestFlight 🎁

@Stream-SDK-Bot
Copy link
Collaborator Author

SDK Performance

target metric benchmark branch performance status
MessageList Hitches total duration 10 ms 11.68 ms -16.8% 🔽 🔴
Duration 2.6 s 2.55 s 1.92% 🔼 🟢
Hitch time ratio 4 ms per s 4.58 ms per s -14.5% 🔽 🔴
Frame rate 75 fps 78.83 fps 5.11% 🔼 🟢
Number of hitches 1 1.4 -40.0% 🔽 🔴

@Stream-SDK-Bot
Copy link
Collaborator Author

SDK Size

title previous release current release diff status
StreamChat 7.35 MB 7.41 MB +65 KB 🟢
StreamChatUI 4.88 MB 4.78 MB -108 KB 🚀

@sonarqubecloud
Copy link

@Stream-SDK-Bot
Copy link
Collaborator Author

SDK Performance

target metric benchmark branch performance status
MessageList Hitches total duration 10 ms 8.34 ms 16.6% 🔼 🟢
Duration 2.6 s 2.55 s 1.92% 🔼 🟢
Hitch time ratio 4 ms per s 3.27 ms per s 18.25% 🔼 🟢
Frame rate 75 fps 78.65 fps 4.87% 🔼 🟢
Number of hitches 1 0.6 40.0% 🔼 🟢

@testableapple
Copy link
Contributor

/merge release

@testableapple
Copy link
Contributor

Publication of the release has been launched 👍

@github-actions github-actions bot merged commit a58e968 into main Mar 14, 2025
16 checks passed
@github-actions github-actions bot deleted the release/4.74.0 branch March 14, 2025 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants