Skip to content

v0.2.16

Choose a tag to compare

@goccx goccx released this 01 Nov 17:29
· 3 commits to main since this release

v0.2.16

Changed

  • Markdown 摘要与行内解析纯算法优化:
    • plainTextSummary 对单行无 Markdown 语法文本走 UTF-8 字节级短路,并以 split(whereSeparator: \.isWhitespace).joined(separator: " ") 替代每次调用 NSRegularExpression;
    • inlineAttributedString / summaryAttributedString 对无行内 Markdown 触发符的文本直接构造 AttributedString,跳过 cmark 语法树解析;
    • sanitizeMarkdownLinks 在不含 [ 时直接返回原字符串,避免无条件构造 [Character] 数组;
    • applyRemainingBoldSpans 仅在包含字面量 ** 时扫描对应 run;
    • collapseBlockSyntaxForSummary 对超长日志/正文限制前 24 个非空行(或 2 KB),避免为 2 行列表预览全量解析整篇长消息。
  • 完整保持 v0.2.6 业务、并发、内存与视图逻辑:InboxView、GotifyMessage、GotifyMessagePageStore、MessageStore、GotifyRESTClient、RelativeTimeLabel、MacOSCompatibility 与 v0.2.6 保持完全一致。

Checksums (SHA-256)

e1e338a3d47166a9eab871da349bef8414bbd4a594bb2398ebb551e0df18293b  GotifyDesktop-macOS-arm64.dmg
e829680ca0664a2b9bd61665d9856f0123da03aed0a599e1ac4f7085e890e417  GotifyDesktop-macOS-amd64.dmg