v4.16.1
A maintenance release with faster Markdown viewer opening, lighter Graph View and autosave behavior, and more responsive search on top of VNote 4.16.0:
- Markdown viewer performance
- Lazy-load optional Markdown viewer libraries (presentation reveal.js and its stylesheets, flowchart.js/Raphael, Turndown and mark.js) on first use, prune shipped lazy library entries from saved viewer resources and switch viewer initialization from
window.loadtoDOMContentLoaded - Inline core Markdown viewer scripts with a strict percent-encoding budget and add a 1-slot warm viewer pool for ordinary notes while excluding encrypted notes
- Lazy-load optional Markdown viewer libraries (presentation reveal.js and its stylesheets, flowchart.js/Raphael, Turndown and mark.js) on first use, prune shipped lazy library entries from saved viewer resources and switch viewer initialization from
- Note links, Graph View and autosave
- Decouple ordinary saves and autosaves from note-link snapshotting, cap autosave retries at 3 and sync note links on buffer close or replacement and when opening Graph View; surface a rebuild-database prompt on link database errors
- Defer Graph View source snippet loading until a link arrow is selected and rename the "View links graph" tooltip to "Links Graph"
- Search and United Entry
- Bound incremental search previews to
maxResults, forward aliasstop()to cancel ongoing searches and freeze Find result-tree updates during population - Avoid redundant per-line UTF-8 decoding in search results and linearize UTF-16 column scanning with mid-scan cancellation in vxcore
- Bound incremental search previews to
- Translations: Simplified Chinese (zh_CN) and Japanese (ja) catalogs updated
v4.16.1
本次维护版本基于 VNote 4.16.0,带来更快的 Markdown 视图打开速度、更轻量的关系图与自动保存行为以及更流畅的搜索体验:
- Markdown 视图性能
- 按需延迟加载可选的 Markdown 视图库(演示文稿 reveal.js 及其样式表、flowchart.js/Raphael、Turndown 和 mark.js),在加载配置时清理已保存视图资源中的内置延迟加载库项,并将视图初始化时机从
window.load切换为DOMContentLoaded - 在严格的百分号编码预算内内联核心 Markdown 视图脚本,并为普通笔记新增 1 槽位热视图池(不包含加密笔记)
- 按需延迟加载可选的 Markdown 视图库(演示文稿 reveal.js 及其样式表、flowchart.js/Raphael、Turndown 和 mark.js),在加载配置时清理已保存视图资源中的内置延迟加载库项,并将视图初始化时机从
- 笔记链接、关系图与自动保存
- 将常规保存与自动保存与笔记链接快照解耦,将自动保存重试次数限制为 3 次,并在缓冲区关闭、替换及打开关系图时同步笔记链接;在链接数据库出错时显示重建数据库提示
- 将关系图源码片段加载推迟到选中链接箭头时进行,并将“View links graph”提示重命名为“Links Graph”
- 搜索与联合入口
- 将增量搜索预览限制在
maxResults上限内,转发别名stop()以取消进行中的搜索,并在填充查找结果树期间暂停界面刷新 - 避免搜索结果中对同一行文本重复进行 UTF-8 解码,并在 vxcore 中将 UTF-16 列扫描线性化且支持扫描中途取消
- 将增量搜索预览限制在
- 翻译:更新简体中文(zh_CN)及日语(ja)翻译