diff --git a/README.md b/README.md index 46f2e8dee..f2c483729 100644 --- a/README.md +++ b/README.md @@ -88,15 +88,27 @@ For more information on how to use the following functions, please see [characte ## Changelogs -### [v3.21.1](https://github.com/purocean/yn/releases/tag/v3.21.1) 2022-01-20 -1. feat: support custom export docx reference document -2. feat: add `{docName}` placeholder variable to image save directory configuration -3. feat: supports abbr syntax -4. upd: optimize the synchronous scrolling experience -5. fix: fix the problem that the click directory location may be incorrect when the editor is hidden -6. fix: fix the white screen problem when clicking the demo button when the preview is hidden -7. feat(plugin): add `ctx.lib.filenamify` module -8. feat(plugin): add `ctx.i18n.mergeLanguage` method +### [v3.22.0](https://github.com/purocean/yn/releases/tag/v3.22.0) 2022-01-27 +1. feat: add document history version control function +2. feat: support custom listening port +3. upd: optimize mind map interaction +4. upd: upgrade `markdown-it-multimd-table` dependency +5. upd: other experience optimization +6. fix: fix unstable file sorting in some cases +7. fix: fix custom container nesting style +8. fix: fix menu item "Convert to Link with Title" could not be displayed in some cases +9. fix: fix `abbr` tag missing `title` attribute when exporting/copying HTML +10. feat(plugin): add `ctx.doc.showHistory` method +11. feat(plugin): add `ctx.doc.hideHistory` method +12. feat(plugin): add `ctx.editor.getDefaultOptions` method +13. feat(plugin): add `ctx.editor.replaceLines` method +14. feat(plugin): add `ctx.editor.getLinesContent` method +15. feat(plugin): add `ctx.editor.setValue` method +16. feat(plugin): add `ctx.api.fetchHistoryList` method +17. feat(plugin): add `ctx.api.fetchHistoryContent` method +18. feat(plugin): add `ctx.api.deleteHistoryVersion` method +19. feat(plugin): add `ctx.api.commentHistoryVersion` method +20. feat(plugin): add `currentLang` parameter to `I18N_CHANGE_LANGUAGE` hook [More release notes](https://github.com/purocean/yn/releases) diff --git a/README_ZH-CN.md b/README_ZH-CN.md index f452fc539..b0312f343 100644 --- a/README_ZH-CN.md +++ b/README_ZH-CN.md @@ -88,15 +88,27 @@ V3 核心目标是重构代码,提升应用健壮性、可拓展性、Markdown ## 更新日志 -### [v3.21.1](https://github.com/purocean/yn/releases/tag/v3.21.1) 2022-01-20 -1. feat: 增加自定义导出 docx 参考文档功能 -2. feat: 图片保存目录配置增加 `{docName}` 占位变量 -3. feat: Markdown 解析支持 abbr 语法 -4. upd: 优化同步滚动体验 -5. fix: 修复隐藏编辑器时点击目录定位可能不正确问题 -6. fix: 修复隐藏预览时候点击演示按钮白屏问题 -7. feat(plugin): 增加`ctx.lib.filenamify` 模块 -8. feat(plugin): 增加`ctx.i18n.mergeLanguage` 方法 +### [v3.22.0](https://github.com/purocean/yn/releases/tag/v3.22.0) 2022-01-27 +1. feat: 增加文档历史版本控制功能 +2. feat: 支持自定义监听端口 +3. upd: 优化脑图交互 +4. upd: 升级 `markdown-it-multimd-table` 依赖 +5. upd: 其他体验优化 +6. fix: 修复某些情况下文件排序不稳定问题 +7. fix: 修复自定义容器嵌套样式问题 +8. fix: 修复某些情况下不能展示“转换为带标题链接”菜单问题 +9. fix: 修复导出/复制 HTML 时 `abbr` 标签丢失 `title` 属性问题 +10. feat(插件): 增加 `ctx.doc.showHistory` 方法 +11. feat(插件): 增加 `ctx.doc.hideHistory` 方法 +12. feat(插件): 增加 `ctx.editor.getDefaultOptions` 方法 +13. feat(插件): 增加 `ctx.editor.replaceLines` 方法 +14. feat(插件): 增加 `ctx.editor.getLinesContent` 方法 +15. feat(插件): 增加 `ctx.editor.setValue` 方法 +16. feat(插件): 增加 `ctx.api.fetchHistoryList` 方法 +17. feat(插件): 增加 `ctx.api.fetchHistoryContent` 方法 +18. feat(插件): 增加 `ctx.api.deleteHistoryVersion` 方法 +19. feat(插件): 增加 `ctx.api.commentHistoryVersion` 方法 +20. feat(插件): 给 `I18N_CHANGE_LANGUAGE` 钩子增加 `currentLang` 参数 [更多发布说明](https://github.com/purocean/yn/releases) diff --git a/package.json b/package.json index ba1c6389b..44b43a011 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "yank.note", - "version": "3.21.1", + "version": "3.22.0", "description": "Yank Note: A hackable markdown note application for programmers", "main": "dist/main/app.js", "license": "GPL-3.0",