SoloMD v5.3.0
✨ 新功能与架构升级 / What's New
- 权限隔离沙箱插件脚本 API(#173):插件清单新增显式能力声明
capabilities(doc:read/doc:write/frontmatter:read/frontmatter:write/ui:toast/net:fetch)与kind: "script"沙箱脚本执行器,自动遮蔽全局危险对象并在「设置 › 扩展」展示权限徽章;内置两款开箱即用脚本预设(中英字数与阅读时长 Frontmatter 自动更新、文内外部链接归集到## References)。 - 双链悬停预览浮窗(WikiLink Hover Preview):在实时编辑、预览、阅读模式与 Agent 面板中悬停任意
[[双链]],自动弹出渲染好的笔记摘要浮窗(内置 LRU 缓存与一键打开按钮)。 - 跨平台 WebView CSP 纵深安全防御(#311):正式启用覆盖 macOS / Windows / Linux / iOS / Android 的内容安全策略(CSP),阻断远程 XSS 脚本注入、
<object>与<base>劫持。 - 新增 Atlas Cloud AI 聚合网关(PR #549,感谢 @binyangzhu000-sudo):在 AI 聚合网关列表中加入 Atlas Cloud(
https://api.atlascloud.ai/v1,默认模型deepseek-ai/deepseek-v4-flash)。 - 信创 Linux(
glibc 2.28)与 Arch Linux AUR 打包支持(#601、#181):新增面向 UOS 20 / 麒麟 / Debian 10(glibc 2.28)的可复现 Docker 构建脚本(scripts/build-linux-glibc228.sh)以及 Arch Linux AURsolomd-binPKGBUILD与自动同步脚本(scripts/update-aur.sh)。
🐛 问题修复与体验打磨 / Bug Fixes
- 百度网盘直连 API 同步下载失败与改名旧文件残留修复(#618):为百度网盘拉取增加 4 次指数退避重试、重试断连防
d.pcs.baidu.com复用失效长连接、温和限速及access_token日志脱敏;推送时自动删除本地已重命名/删除文件的远端旧副本,彻底解决多端改名后下载报错与新旧文件并存问题。 - 实时模式有序/无序列表编号与正文空隙优化(#617):收紧实时编辑与 Windows 块级实时编辑器中的列表前缀列宽(无序圆点
0.95em、1 位序号1.45em、2 位序号1.95em),阅读与排版更紧凑自然。
Highlights (English)
- Capability-Scoped Sandboxed Plugin Scripting API (#173): Plugins can now declare explicit
capabilities(doc:read,doc:write,frontmatter:read,frontmatter:write,ui:toast,net:fetch) and runkind: "script"transforms inside an isolated sandbox that shadows ambient globals, complete with capability badges in Settings and two built-in starter scripts (Reading Stats Frontmatter Updater & Link Reference Collector). - WikiLink Hover Preview Popover: Hover any
[[WikiLink]]across Live Edit, Preview, Reading View, or Agent Panel to inspect a rendered Markdown excerpt with one-click open. - Cross-Platform WebView CSP Hardening (#311): Enables defence-in-depth Content Security Policy in
tauri.conf.jsonwhile keeping Tauri IPC,asset:local media, KaTeX/Mermaid/tldraw, and AI endpoints working smoothly. - Atlas Cloud Aggregator Provider (PR #549, thanks @binyangzhu000-sudo): Adds Atlas Cloud (
https://api.atlascloud.ai/v1) as a named OpenAI-compatible aggregator gateway. - Linux
glibc 2.28& Arch AUR Packaging (#601, #181): Adds reproducible Debian 10 (glibc 2.28) Docker build tooling for UOS 20 / Kylin and an automatedpackaging/aur/PKGBUILDupdate script. - Baidu Netdisk Sync Reliability & Rename Cleanup (#618): Adds 4-attempt exponential backoff retry,
Connection: closeon retry, polite pacing,access_tokenlog redaction, and automatic remote deletion of locally renamed/deleted files. - Tighter Live List Marker Spacing (#617): Refines bullet (
0.95em) and ordered (1.45em/1.95em) list marker spacing in Live Edit and Windows Plain Live Editor.