Skip to content

V2.3.0 Xmas Update

Choose a tag to compare

@Xperiamol Xperiamol released this 24 Dec 15:51
· 174 commits to main since this release

🚀 FlashNote v2.3.0 | Xmas Update

亮点 🎉

  • 🎄 圣诞限定模式 (Xmas Update):定制的节日氛围!在设置-外观中打开吧!(与现有主题插件冲突)
  • ☁️ 云同步架构重塑:重构了底层的同步引擎,显著提升了多端数据同步的稳定性与冲突处理能力,新增了可视化的冲突解决机制。
  • 📅 日历视图全面升级:日历组件现在支持更多视图切换,助你从不同时间维度(月/周/日)更直观地审视和管理你的任务日程。
  • 🔄 笔记/待办类型互转:打破内容边界。现在你可以轻松将一条灵感笔记转化为待办任务,或将待办事项归档为正式笔记,支持全类型无损互转。
  • 🖼️ 窗口位置状态记忆:应用现在会智能记忆主窗口及所有独立窗口 (Standalone) 的最后位置、尺寸及编辑状态,确保每次打开都能完美还原上次的工作场景。

主要修复与改进

AI 服务增强

  • 修复:改进了对第三方/自定义 OpenAI 兼容 API 的支持。修复了当返回空响应或非标准 JSON 时导致的 "Unexpected end of JSON input" 异常。
  • 新增:对自定义 API 地址进行自动标准化处理(Normalize URL),支持自动识别并追加 /chat/completions,避免常见的 404 请求错误。

独立窗口与进程管理

  • 修复:强化了强制销毁(window.destroy())退出流程。确保在应用退出或托盘退出时彻底清理所有独立窗口,彻底解决由于进程残留导致的重复启动或主应用无法打开的问题。
  • 修复:优化独立窗口关闭前的自动保存逻辑,增加了超时保护,防止因同步锁死导致窗口无法关闭。

Windows 安装与卸载

  • 改进:Windows 安装程序 (NSIS) 新增交互式卸载选项。用户可在卸载应用时自主选择是否清除本地数据(笔记数据库、配置文件及缓存)。默认保留数据以便重装恢复。

前端 UI/UX 修复

  • 修复:Quadrant (四象限) 视图中因遗漏回调导致的待办事项无法跨象限拖拽的问题。
  • 修复:修复了多处 MUI ListItemText 因 HTML 嵌套不当引起的 React 水合警告(Hydration Error)。
  • 改进:静态资源路径引用规范化,确保打包后的 .exe 程序能完美加载圣诞图标和特殊字体。

开发者说明 / 升级须知

  • 应用退出逻辑:我们在 before-quit 生命周期中加强了窗口清理逻辑。插件开发者若依赖 close 事件进行复杂异步操作,建议查阅新的进程退出处理流程。

已知问题及后续计划

暂无。享受圣诞吧!

🚀 FlashNote v2.3.0 | Xmas Update

Highlights 🎉

  • 🎄 Christmas Limited Edition Mode (Xmas Update): Custom festive atmosphere! Enable it in Settings > Appearance! (Conflicts with existing theme plugins)
  • ☁️ Cloud Sync Architecture Overhaul: The underlying sync engine has been rebuilt, significantly enhancing stability and conflict resolution across multiple devices. A visual conflict resolution mechanism has been added.
  • 📅 Comprehensive Calendar View Upgrade: The calendar component now supports additional view switching, enabling more intuitive task scheduling and management across different time dimensions (Month/Week/Day).
  • 🔄 Note/To-Do Type Conversion: Break content boundaries. Effortlessly transform an inspirational note into a to-do task, or archive a to-do item as a formal note. Supports lossless conversion between all types.
  • 🖼️ Window Position & State Memory: The application now intelligently remembers the last position, size, and editing state of the main window and all standalone windows, ensuring your workspace is perfectly restored each time you open it.

Key Fixes & Improvements

AI Service Enhancements

  • Fix: Improved support for third-party/custom OpenAI-compatible APIs. Resolved the "Unexpected end of JSON input" exception triggered by empty responses or non-standard JSON.
  • New: Automatic URL normalisation for custom API addresses. Supports automatic detection and appending of /chat/completions to prevent common 404 request errors.

Independent Window and Process Management

  • Fix: Strengthened the forced destruction (window.destroy()) exit process. Ensures complete cleanup of all independent windows upon application or tray exit, thoroughly resolving issues of repeated launches or the main application failing to open due to residual processes.
  • Fix: Optimised auto-save logic before closing independent windows, adding timeout protection to prevent windows from becoming unclosable due to synchronisation deadlocks.

Windows Installation and Uninstallation

  • Improved: Added interactive uninstallation options to the Windows installer (NSIS). Users may now choose whether to clear local data (note databases, configuration files, and cache) during application removal. Data retention is enabled by default to facilitate recovery upon reinstallation.

Frontend UI/UX Fixes

  • Fix: Resolved an issue in the Quadrant view where tasks could not be dragged across quadrants due to an omitted callback.
  • Fixed: Resolved multiple React hydration warnings (Hydration Error) in MUI ListItemText caused by improper HTML nesting.
  • Improved: Standardised static resource path references to ensure packaged .exe applications flawlessly load Christmas icons and special fonts.

Developer Notes / Upgrade Considerations

  • Application Exit Logic: Enhanced window cleanup logic within the before-quit lifecycle. Plugin developers relying on the close event for complex asynchronous operations are advised to review the new process termination handling flow.

Known Issues and Future Plans

None at present. Enjoy the festive season!