1.6.7
Welcome to the Thought Synapse (Desktop) v1.6.7 release!
This is a critical update focused on resolving the final strict ESLint warnings to achieve a flawless submission profile for the Obsidian Community Plugins directory.
🛠️ Critical Fixes & Compliance
- Targeted API Compliance: Officially set
minAppVersionto1.10.0to safely and fully support modern workspace APIs (likegetLeaf('tab')), eliminating all unsupported API errors. - Strict Async/Promise Handling: Implemented robust closures and
.catch(console.error)blocks across all asynchronous event listeners and timeouts. This resolves all floating promise warnings and ensures rock-solid execution stability.
欢迎使用 Thought Synapse (思维突触 - 桌面版) v1.6.7!
这是一个至关重要的更新版本,专注于解决官方机器审查(ESLint)中极其严苛的最后几个警告,为正式上架提供完美无瑕的代码基座。
🛠️ 核心修复与合规性规范
- API 版本精准对齐: 将清单文件中的最低支持版本
minAppVersion正式锁定为1.10.0,从而完美、合法地调用最新的多标签页接口(getLeaf('tab')),彻底消灭了 API 超限报错。 - 极其严格的异步 (Promise) 规范: 通过闭包包裹和
.catch(console.error)异常捕获机制,对所有的点击事件监听器和定时器进行了彻底的异步处理。这不仅消灭了所有“悬挂 Promise”的警告,更让底层代码的运行稳定性达到了极致。