Repository navigation
MarkdownUI 2.5.1 — iOS List Link Fix, Swift 6 Sendable & OSS Polish
MarkdownUI 2.5.1 is a maintenance, Swift 6 concurrency, and open-source polish release on top of 2.5.0 (ripulio/swift-markdown-ui, maintained by Ripul).
1-Line Upgrade from Upstream 2.4.1
.package(url: "https://github.com/ripulio/swift-markdown-ui", from: "2.5.1")What's New in 2.5.1
- iOS list link hit-testing fix: On iOS, SwiftUI's
.textSelection(.enabled)expands each selectableTextresponder by±16 pt, which caused a following list item to eclipse links on the item above it. Lists containing a link above another item or sibling block now automatically disable.textSelectionon that list on iOS (hasOccludedListLink), leaving prose, link-free lists, and trailing-link lists unchanged. - Swift 6
Sendablesupport:MarkdownContent(and its underlyingBlockNodeAST types) now conform toSendablefor clean background-actor parsing, andThemeconforms to@unchecked Sendable(incorporating upstream#351). - Upgraded
Examples/BenchmarkApp: Measures attachedUIWindow/NSWindowhosts across settle ticks and compares.chat,.basic, and.gitHubdirectly against a closure-basedLegacy 2.4.1baseline and plainSwiftUI.Text. - Expanded documentation & community files: Added Light/Dark
Theme.chatRetina visuals, a new DocCChatAndStreamingguide,ARCHITECTURE.md,CHANGELOG.md,CONTRIBUTING.md, updated GitHub issue templates, and fixed DocC typos (upstream#354).