From 9bfe749306cfaa00a0452f6e2f840253ad552610 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 19 May 2023 14:42:50 +0000 Subject: [PATCH 1/2] chore(main): release 1.5.0 --- CHANGELOG.md | 9 ++++++++- package.json | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 59083cd..c1c6b97 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.5.0](https://github.com/terwer/siyuan-plugin-importer/compare/v1.4.1...v1.5.0) (2023-05-19) + + +### Features + +* [#20](https://github.com/terwer/siyuan-plugin-importer/issues/20) 导入epub后,里面的图片会出现在未引用资源里面,容易被误清除 ([824cf2a](https://github.com/terwer/siyuan-plugin-importer/commit/824cf2a96f277be058a896c045793f21a44c7b08)) + ## [1.4.1](https://github.com/terwer/siyuan-plugin-importer/compare/v1.4.0...v1.4.1) (2023-05-18) ### Bug Fixes * [#22](https://github.com/terwer/siyuan-plugin-importer/issues/22) 优化去除链接规则 ([eec21f5](https://github.com/terwer/siyuan-plugin-importer/commit/eec21f55ced3d3bc51aed535306abe9b5d0d6780)) @@ -28,4 +35,4 @@ * 导入工具第一个版本 ([1fc739b2](https://github.com/terwer/siyuan-plugin-importer/commit/1fc739b676ba51460c7f57e4e22c00869517b74f)) * 插件最小化运行单位 ([155a825](https://github.com/terwer/siyuan-plugin-importer/commit/155a825461bf447d45083329ccce9eb93b3857d6)) * 新增kernelapi ([80ca482](https://github.com/terwer/siyuan-plugin-importer/commit/80ca4829e5949c871ddaacad2e6fced1771bd336)) -* **main:** release 1.0.0 ([74258ce](https://github.com/terwer/siyuan-plugin-importer/commit/74258ce418a45bd64c7a4c2b947508a842691605)) \ No newline at end of file +* **main:** release 1.0.0 ([74258ce](https://github.com/terwer/siyuan-plugin-importer/commit/74258ce418a45bd64c7a4c2b947508a842691605)) diff --git a/package.json b/package.json index c0f1f5e..9bb0ea7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "siyuan-plugin-importer", - "version": "1.4.1", + "version": "1.5.0", "type": "module", "description": "Import from epub, docx, html etc. to siyuan-note", "repository": "terwer/siyuan-plugin-importer", From 88949463b43d294f321d351b9b36a8c5a5d3ed4d Mon Sep 17 00:00:00 2001 From: terwer Date: Fri, 19 May 2023 22:47:50 +0800 Subject: [PATCH 2/2] =?UTF-8?q?feat:=20#20=20=E5=AF=BC=E5=85=A5epub?= =?UTF-8?q?=E5=90=8E=EF=BC=8C=E9=87=8C=E9=9D=A2=E7=9A=84=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E4=BC=9A=E5=87=BA=E7=8E=B0=E5=9C=A8=E6=9C=AA=E5=BC=95=E7=94=A8?= =?UTF-8?q?=E8=B5=84=E6=BA=90=E9=87=8C=E9=9D=A2=EF=BC=8C=E5=AE=B9=E6=98=93?= =?UTF-8?q?=E8=A2=AB=E8=AF=AF=E6=B8=85=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 9 +++------ README.md | 6 ++++++ README_zh_CN.md | 6 ++++++ plugin.json | 2 +- 4 files changed, 16 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c1c6b97..f2dcb0f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,10 @@ # Changelog ## [1.5.0](https://github.com/terwer/siyuan-plugin-importer/compare/v1.4.1...v1.5.0) (2023-05-19) - - ### Features - * [#20](https://github.com/terwer/siyuan-plugin-importer/issues/20) 导入epub后,里面的图片会出现在未引用资源里面,容易被误清除 ([824cf2a](https://github.com/terwer/siyuan-plugin-importer/commit/824cf2a96f277be058a896c045793f21a44c7b08)) - +* 重复导入现在会创建新的文章了 +* 资源文件不在自定义hash命名,直接让导入API自己去处理 ## [1.4.1](https://github.com/terwer/siyuan-plugin-importer/compare/v1.4.0...v1.4.1) (2023-05-18) ### Bug Fixes * [#22](https://github.com/terwer/siyuan-plugin-importer/issues/22) 优化去除链接规则 ([eec21f5](https://github.com/terwer/siyuan-plugin-importer/commit/eec21f55ced3d3bc51aed535306abe9b5d0d6780)) @@ -14,7 +12,6 @@ ### Miscellaneous * hash 路径使用小写字母 ([075902e](https://github.com/terwer/siyuan-plugin-importer/commit/075902e00ebfad409ede86e5e610a848877db2cb)) ## [1.4.0](https://github.com/terwer/siyuan-plugin-importer/compare/v1.3.0...v1.4.0) (2023-05-18) -### Features * [#16](https://github.com/terwer/siyuan-plugin-importer/issues/16) [#18](https://github.com/terwer/siyuan-plugin-importer/issues/18) 修复路径问题,删除无法点击的链接 ([b720f29](https://github.com/terwer/siyuan-plugin-importer/commit/b720f29fe46e196cd45e3ec5e23f9588a90c4d55)) * 路径新增hash,防止多个文件有相同图片时候,图片被覆盖,例如:/assets/import/1nmels/cover.jpeg * pandoc生成的目录链接不可点击,暂时去掉 @@ -35,4 +32,4 @@ * 导入工具第一个版本 ([1fc739b2](https://github.com/terwer/siyuan-plugin-importer/commit/1fc739b676ba51460c7f57e4e22c00869517b74f)) * 插件最小化运行单位 ([155a825](https://github.com/terwer/siyuan-plugin-importer/commit/155a825461bf447d45083329ccce9eb93b3857d6)) * 新增kernelapi ([80ca482](https://github.com/terwer/siyuan-plugin-importer/commit/80ca4829e5949c871ddaacad2e6fced1771bd336)) -* **main:** release 1.0.0 ([74258ce](https://github.com/terwer/siyuan-plugin-importer/commit/74258ce418a45bd64c7a4c2b947508a842691605)) +* **main:** release 1.0.0 ([74258ce](https://github.com/terwer/siyuan-plugin-importer/commit/74258ce418a45bd64c7a4c2b947508a842691605)) \ No newline at end of file diff --git a/README.md b/README.md index 63b7979..3b06b64 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,12 @@ Import epub, docx, html, etc. into Siyuan notes. Currently supported formats: .e ## Changelog +**v1.5.0 major update** + +- Solve the problem that after importing epub, the pictures in it will appear in the unreferenced resources, which are easy to be cleared by mistake. Now after the document is imported, the resource files will not appear in the unreferenced ones. Unreferenced resources are visible after the document is deleted. +- Repeated imports now create new articles +- The resource file is not named in the custom hash, directly let the import API handle it by itself + **v1.4.1 major update** - Optimize link removal rules diff --git a/README_zh_CN.md b/README_zh_CN.md index 7b237f1..2ee83bc 100644 --- a/README_zh_CN.md +++ b/README_zh_CN.md @@ -21,6 +21,12 @@ ## 更新历史 +**v1.5.0 主要更新** + +- 解决导入epub后,里面的图片会出现在未引用资源里面,容易被误清除问题,现在文档导入后,资源文件不会出现在未引用里面了。删除文档后,未引用资源可见。 +- 重复导入现在会创建新的文章了 +- 资源文件不在自定义hash命名,直接让导入API自己去处理 + **v1.4.1 主要更新** - 优化去除链接规则 diff --git a/plugin.json b/plugin.json index 4972f65..bfcf22c 100644 --- a/plugin.json +++ b/plugin.json @@ -2,7 +2,7 @@ "name": "siyuan-importer", "author": "terwer", "url": "https://github.com/terwer/siyuan-plugin-importer", - "version": "1.4.1", + "version": "1.5.0", "displayName": { "default": "Importer", "zh_CN": "导入工具"