⚠️ 注意事项:升级前,需要先将服务端版本升级到 v2.13.4, 否则移动端将无法连接到服务端。
⚠️ Note: Before upgrading, you need to upgrade the server version to v2.13.4, otherwise the mobile terminal will not be able to connect to the server.
✨ 新功能 (New Features)
✨ New Features
- 新增在线客户端,通过菜单内打开,可以查看当前在线的客户端。
- Added a new online client, which can be opened through the menu to view the currently online clients.
- 引入 WebSocket 连接前置健康检查 (
/api/health),确保服务端就绪后再初始化长连接。 - Introduced WebSocket connection pre-health check (
/api/health) to ensure that the server is ready before initializing a long connection.
🛠 修复 (Bug Fixes)
🛠 Bug Fixes
- 修正
config_operator内部插件 ID 匹配逻辑,解决fast-note-sync无法正确识别自身更新的问题。 - Fixed the
config_operatorinternal plug-in ID matching logic to solve the problem offast-note-syncnot being able to correctly identify its own updates. - 修复插件热重载与配置写入之间的竞态,强制等待 Config Sync 任务栈清空后执行 Disable/Enable。
- Fixed the race condition between plug-in hot reloading and configuration writing, forcing you to wait for the Config Sync task stack to be cleared before executing Disable/Enable.
- 修复远程调试地址 Fallback 机制失效的问题,保证健康检查异常时能正确降级。
- Fixed the problem of remote debugging address Fallback mechanism failure to ensure correct downgrade when health check exception occurs.
- 修复自定义配置目录的文件变动事件监听失败问题,确保非标目录的跨设备同步一致性。
- Fixed the problem of file change event monitoring failure in custom configuration directories to ensure the consistency of cross-device synchronization of non-standard directories.
- 修复开启
cloudPreviewAutoDeleteLocal后云端预览 URL 报 404 的 Bug,废弃getAvailablePathForAttachment,改用原始filePath进行精准解析。 - Fixed the bug that the cloud preview URL reported 404 after turning on
cloudPreviewAutoDeleteLocal, abandonedgetAvailablePathForAttachment, and used the originalfilePathfor accurate parsing.
⚡️ 优化与性能 (Optimizations)
⚡️ Optimizations
- 重构
handleSync与FileHashManager生命周期,引入低内存模式与批量读取策略,解决高负载同步场景下的 OOM 崩溃问题。 - Reconstruct the
handleSyncandFileHashManagerlife cycles, introduce low memory mode and batch read strategy, and solve the OOM crash problem in high-load synchronization scenarios.
What's Changed
- fix(cloud-preview): use link path instead of getAvailablePathForAttachment by @Friday218 in #140
New Contributors
- @Friday218 made their first contribution in #140
Full Changelog: 1.24.6-alpha...1.25.1-alpha