diff --git a/README.md b/README.md index 4310b8bc..5198397a 100644 --- a/README.md +++ b/README.md @@ -76,16 +76,25 @@ For more information on how to use the following functions, please see [characte ## Changelogs -### [v3.71.1](https://github.com/purocean/yn/releases/tag/v3.71.1) 2024-06-19 +### [v3.72.2](https://github.com/purocean/yn/releases/tag/v3.72.2) 2024-07-04 -[Windows](https://github.com/purocean/yn/releases/download/v3.71.1/Yank-Note-win-x64-3.71.1.exe) | [macOS arm64](https://github.com/purocean/yn/releases/download/v3.71.1/Yank-Note-mac-arm64-3.71.1.dmg) | [macOS x64](https://github.com/purocean/yn/releases/download/v3.71.1/Yank-Note-mac-x64-3.71.1.dmg) | [Linux AppImage](https://github.com/purocean/yn/releases/download/v3.71.1/Yank-Note-linux-x86_64-3.71.1.AppImage) | [Linux deb](https://github.com/purocean/yn/releases/download/v3.71.1/Yank-Note-linux-amd64-3.71.1.deb) +[Windows](https://github.com/purocean/yn/releases/download/v3.72.2/Yank-Note-win-x64-3.72.2.exe) | [macOS arm64](https://github.com/purocean/yn/releases/download/v3.72.2/Yank-Note-mac-arm64-3.72.2.dmg) | [macOS x64](https://github.com/purocean/yn/releases/download/v3.72.2/Yank-Note-mac-x64-3.72.2.dmg) | [Linux AppImage](https://github.com/purocean/yn/releases/download/v3.72.2/Yank-Note-linux-x86_64-3.72.2.AppImage) | [Linux deb](https://github.com/purocean/yn/releases/download/v3.72.2/Yank-Note-linux-amd64-3.72.2.deb) -1. feat: support for linking documents using the syntax `[[filename#anchor|display text]]` or `[[filename:line,column|display text]]`. -2. feat: running shell code now supports stopping the execution. -3. feat: files with extensions `.bib`, `.plantuml`, `.dot`, `.gv`, `.puml` are considered as text files and are editable. -4. feat: editor configuration now supports ligatures for fonts. -5. fix: fixed an issue where code blocks did not adhere to the `.avoid-page-break` style, causing incorrect pagination during printing. -6. chore: upgraded Electron to version 28.3.3. +1. feat: Optimize the experience of using automatic numbering for ordered lists, and support disabling automatic numbering in configuration options. +2. feat: Use the table of contents outline to jump/automatically focus on the editor after displaying the editor. +3. feat: Optimize syntax suggestion completion, distinguish between inline elements and block elements, and support quickly adding table rows. +4. feat: Add a right-click context menu for images in the preview area, supporting operations such as copying images and opening images. +5. feat: Optimize the navigation stack, supporting anchor positioning and maintaining scroll position. +6. feat: Support automatic scrolling to the bottom when running code. +7. feat: Automatically trigger Wiki link suggestions when typing `【【`. +8. feat: Other interaction experience optimizations and bug fixes. +9. dix: Disable automatic updates for the Windows zip version to avoid repeated upgrade failure issues. +10. feat(plugin): The `markdown-link` plugin exposes the `mdRuleConvertLink`, `htmlHandleLink` methods. +11. feat(plugin): `ctx.doc.switchDoc` adds more parameters, supporting jumping to a specified location. +12. feat(plugin): Add the `ctx.routines.changePosition` method to jump to a specified location in the current document. +13. feat(plugin): Add the `ctx.view.highlightAnchor` method to highlight/jump to a specified anchor in the current preview area. +14. feat(plugin): Add the `ctx.view.getScrollTop` method to get the current scroll position of the preview area. +15. feat(plugin): Add the `DOC_SWITCH_SKIPPED` Hook, which is triggered when attempting to switch to the current document. [More release notes](https://github.com/purocean/yn/releases) diff --git a/README_ZH-CN.md b/README_ZH-CN.md index 3173ddd7..77a17f70 100644 --- a/README_ZH-CN.md +++ b/README_ZH-CN.md @@ -76,16 +76,25 @@ ## 更新日志 -### [v3.71.1](https://github.com/purocean/yn/releases/tag/v3.71.1) 2024-06-19 +### [v3.72.2](https://github.com/purocean/yn/releases/tag/v3.72.2) 2024-07-04 -[Windows](https://github.com/purocean/yn/releases/download/v3.71.1/Yank-Note-win-x64-3.71.1.exe) | [macOS arm64](https://github.com/purocean/yn/releases/download/v3.71.1/Yank-Note-mac-arm64-3.71.1.dmg) | [macOS x64](https://github.com/purocean/yn/releases/download/v3.71.1/Yank-Note-mac-x64-3.71.1.dmg) | [Linux AppImage](https://github.com/purocean/yn/releases/download/v3.71.1/Yank-Note-linux-x86_64-3.71.1.AppImage) | [Linux deb](https://github.com/purocean/yn/releases/download/v3.71.1/Yank-Note-linux-amd64-3.71.1.deb) +[Windows](https://github.com/purocean/yn/releases/download/v3.72.2/Yank-Note-win-x64-3.72.2.exe) | [macOS arm64](https://github.com/purocean/yn/releases/download/v3.72.2/Yank-Note-mac-arm64-3.72.2.dmg) | [macOS x64](https://github.com/purocean/yn/releases/download/v3.72.2/Yank-Note-mac-x64-3.72.2.dmg) | [Linux AppImage](https://github.com/purocean/yn/releases/download/v3.72.2/Yank-Note-linux-x86_64-3.72.2.AppImage) | [Linux deb](https://github.com/purocean/yn/releases/download/v3.72.2/Yank-Note-linux-amd64-3.72.2.deb) -1. feat: 支持使用 `[[文件名#锚点|显示文本]]` 或 `[[文件名:行,列|显示文本]]` 语法来链接文档 -2. feat: 运行 shell 代码支持停止运行 -3. feat: `.bib`, `.plantuml`, `.dot`, `.gv`, `.puml` 文件视为文本文件,可编辑 -4. feat: 编辑器配置支持字体连字 -5. fix: 修复代码块不遵守 `.avoid-page-break` 样式,导致打印时分页不正确的问题 -6. chore: 升级 Electron 到 28.3.3 +1. feat: 优化有序列表自动编号使用体验,配置项支持禁用自动编号 +2. feat: 使用目录大纲跳转/显示编辑器后自动聚焦编辑器 +3. feat: 优化语法建议补全,区分行内元素和块元素,支持快速新增表格行 +4. feat: 预览区图片增加右键上下文菜单,支持复制图片、打开图片等操作 +5. feat: 优化导航堆栈,支持锚点定位和滚动位置保持 +6. feat: 代码运行支持自动滚动到底部 +7. feat: 输入 `【【` 时自动触发 Wiki 链接建议 +8. feat: 其他交互体验优化和问题修复 +9. dix: Windows zip 版本禁用自动更新,避免反复升级失败问题 +10. feat(plugin): `markdown-link` 插件暴露 `mdRuleConvertLink`, `htmlHandleLink` 方法 +11. feat(plugin): `ctx.doc.switchDoc` 增加更多参数,支持跳转到指定位置 +12. feat(plugin): 增加 `ctx.routines.changePosition` 方法,用以跳转到当前文档的指定位置 +13. feat(plugin): 增加 `ctx.view.highlightAnchor` 方法,用以高亮/跳转到当前预览区的指定锚点 +14. feat(plugin): 增加 `ctx.view.getScrollTop` 方法,用以获取当前预览区的滚动位置 +15. feat(plugin): 增加 `DOC_SWITCH_SKIPPED` Hook,尝试切换到当前文档时触发 [更多发布说明](https://github.com/purocean/yn/releases) diff --git a/package.json b/package.json index 290e12a2..d8c2c8a0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "yank.note", - "version": "3.72.1", + "version": "3.72.2", "description": "Yank Note: A highly extensible Markdown editor, designed for productivity.", "main": "dist/main/app.js", "license": "AGPL-3.0",