Skip to content

Commit

Permalink
chore: sync repo v1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed Aug 9, 2023
1 parent 851560e commit ea14e94
Show file tree
Hide file tree
Showing 56 changed files with 1,003 additions and 615 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ archive.zip
components.d.ts

# test
coverage
coverage
testdata
18 changes: 13 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
# Changelog

## [0.10.3](https://github.com/terwer/sy-post-publisher/compare/v0.10.2...v0.10.3) (2023-08-08)
### Miscellaneous
* sync repo v1.5.2 ([2729124](https://github.com/terwer/sy-post-publisher/commit/27291248161370e83cb5375d44659b1a56ff3781))
## [1.5.2](https://github.com/terwer/siyuan-plugin-publisher/compare/v1.5.1...v1.5.2) (2023-08-08)
## [1.6.1](https://github.com/terwer/siyuan-plugin-publisher/compare/v1.6.0...v1.6.1) (2023-08-09)
### Bug Fixes
* lodash-es ([29b65ed](https://github.com/terwer/siyuan-plugin-publisher/commit/29b65ed7d4672eee1a54b16552f281afd0344df6))
## [1.6.0](https://github.com/terwer/siyuan-plugin-publisher/compare/v1.5.2...v1.6.0) (2023-08-09)
### Features
* 修正博客园markdown分类问题 ([ea1950d](https://github.com/terwer/siyuan-plugin-publisher/commit/ea1950d32e3886889bacbdbbdce9e52b9bbbc61d))
* 发布首个稳定版 ([945df12](https://github.com/terwer/siyuan-plugin-publisher/commit/945df12a6ecf89b02d3aa2cdba6119f152a247a7))
* 开始适配知乎 ([8db460c](https://github.com/terwer/siyuan-plugin-publisher/commit/8db460c7c3bf4426f80ae206eb2fabd40029d67f))
* 支持发布到知乎 ([0a8d119](https://github.com/terwer/siyuan-plugin-publisher/commit/0a8d11928a8fb507eea1e03e7c8096928ae14baf))
* 支持自定义设置知乎专栏 ([506c2d6](https://github.com/terwer/siyuan-plugin-publisher/commit/506c2d6b65be6e0a1f36145cf3d9c9f4d3066578))
* 适配知乎完成 ([5a2406a](https://github.com/terwer/siyuan-plugin-publisher/commit/5a2406ab4aedccc8411fd1bd0650cf5fd92dcc84))
* 修复强制删除提示不明确的问题 ([e5d745e](https://github.com/terwer/siyuan-plugin-publisher/commit/e5d745ec8897586e8d0b0c1ca615e907e2d108c2))
## [1.5.2](https://github.com/terwer/siyuan-plugin-publisher/compare/v1.5.1...v1.5.2) (2023-08-08)
* 修复挂件获取文档id错误的问题 ([364f689](https://github.com/terwer/siyuan-plugin-publisher/commit/364f689359d88589a85fdaa251ac66856dfed819))
## [1.5.1](https://github.com/terwer/siyuan-plugin-publisher/compare/v1.5.0...v1.5.1) (2023-08-08)
* 优化 hexo 文章链接转换规则 ([0021c29](https://github.com/terwer/siyuan-plugin-publisher/commit/0021c29f6a020b9c55d5b0de4b1824eb8da4b079))
* 修复配置获取错误问题 ([f7dc02b](https://github.com/terwer/siyuan-plugin-publisher/commit/f7dc02bc458a6105f061a144a555690292b95636))
## [1.5.0](https://github.com/terwer/siyuan-plugin-publisher/compare/v1.4.1...v1.5.0) (2023-08-07)
### Features
* hexo 支持 yaml ([a230ff0](https://github.com/terwer/siyuan-plugin-publisher/commit/a230ff0d6979516563bc005807ea2085b3b9880c))
* 支持文章绑定 ([e3a92d0](https://github.com/terwer/siyuan-plugin-publisher/commit/e3a92d0d2d0e67d4e97cd864f5cd707c02f97610))
* fix typo ([94f77ba](https://github.com/terwer/siyuan-plugin-publisher/commit/94f77bab0e977166370a20861e2eb6c2c65751e5))
Expand Down Expand Up @@ -69,6 +76,7 @@
* **deps:** bump zhi-xmlrpc-middleware from 0.3.0 to 0.4.0 ([1c16b2c](https://github.com/terwer/siyuan-plugin-publisher/commit/1c16b2c15ad5bccc982dfa0849be3e8a20ecd095))
* 修复第一次打开可能导致的报错问题 ([b05894e](https://github.com/terwer/siyuan-plugin-publisher/commit/b05894e8a40e58dc16583aba00cc91235181764b))
* 常规发布改为批量分发 ([dc06680](https://github.com/terwer/siyuan-plugin-publisher/commit/dc066801e84d2553b97e0a84432f22ccd2f86221))
### Miscellaneous
* **deps-dev:** bump vite from 4.4.7 to 4.4.8 ([d38a208](https://github.com/terwer/siyuan-plugin-publisher/commit/d38a208faccf2a864bd6f14b226f1bf281d63a9a))
* **deps-dev:** bump vitest from 0.33.0 to 0.34.1 ([748042f](https://github.com/terwer/siyuan-plugin-publisher/commit/748042fa3e17faf93253dcce151b3bb6fc05b3f7))
## [1.2.0](https://github.com/terwer/siyuan-plugin-publisher/compare/v1.1.2...v1.2.0) (2023-08-01)
Expand Down
34 changes: 8 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,38 +8,20 @@ Publish articles from Siyuan Notes to platforms such as Yuque, Notion, Cnblogs,

Support features such as fast publishing, image bed management, platform expansion, smart labels, etc.

> **Note: This plugin is in the rapid iteration and pre-beta testing stage, the function is not yet stable, if you encounter the problem that you cannot use it, you can try the following steps to fix it:**
> **Front Announcement: Publish Tool's First Stable Version '1.6.0' Released!**
(1) Uninstall the plugin
We recommend that you use the `uninstall->install` method to update. If the configuration is abnormal, please back up `[workspace]/data/storage/syp/sy-p-plus-cfg.json` , and then delete it, this configuration file will be automatically initialized the first time it is used.

![](./help/help_1.png)

(2) Download and install again

(3) Re-enable

![](./help/help_2.png)

(4) If a platform configuration is incomplete, you can disable the platform configuration, then delete the platform and add it again.

If you still can't use this step after this step, [New issue](https://github.com/terwer/siyuan-plugin-publisher/issues/new) is welcome.

**This tip will be removed after the stable release.**
In later releases, the release configuration will only be backward compatible to `1.6.0+`.

## Recent critical updates and bug fixes

- Optimized HEXO article link conversion rules
- Fixed configuration fetch error
- Fixed the issue where the widget gets the document ID incorrectly
- Support article binding
- HEXO supports YAML
- Support publishing to Zhihu
- Support for publishing to Hexo
- Support for publishing to Notion
- Support for Yuque,Cnblogs, Metaweblog, Typecho, WordPress
- Support automatic generation of article aliases
- Unified integration of platform configurations
- Complete HEXO adaptation
- Added notion support
- Support for changing the default knowledge base
- Added support for general releases with fine-grained configuration
- Support for Yuque, Cnblogs, Metaweblog, Typecho, WordPress

## Compatibility of Origin notes

Expand Down Expand Up @@ -74,7 +56,7 @@ Names not listed in order
- [X] Github
- [X] Hexo
- [X] Notion
- [ ] Zhihu
- [X] Zhihu

## Core Features

Expand Down
34 changes: 8 additions & 26 deletions README_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,38 +6,20 @@

将思源笔记的文章发布到语雀、Notion、Cnblogs、WordPress、Typecho、Hexo、知乎 等平台,支持极速发布、图床管理、平台扩展、智能标签等特色功能。

> **注意:本插件当前处于快速迭代和前期beta测试阶段,功能尚不稳定,仅作为前期尝鲜测试,不建议正式使用。如果您遇到了无法使用的问题,可尝试以下步骤修复:**
> **前排公告:发布工具首个稳定版 `1.6.0` 发布!**
(1)卸载插件
我们建议您采用 `卸载->重装` 的方式进行更新。如果配置异常请先备份 `[工作空间]/data/storage/syp/sy-p-plus-cfg.json` ,然后删除他,这个配置文件会在第一次使用的时候自动初始化。

![](./help/help_1.png)

(2)重新下载安装

(3)重新启用

![](./help/help_2.png)

(4)如果某个平台配置不完整,可以禁用平台配置、然后删除这个平台并重新添加。

若此步骤之后还是无法使用,或者您有任何建议和需求,欢迎 [新建issue](https://github.com/terwer/siyuan-plugin-publisher/issues/new)

**本提示会在稳定版发布后移除。**
之后的版本中,发布配置将仅向后兼容到 `1.6.0+`

## 最近的关键更新与 Bug 修复

- 优化 hexo 文章链接转换规则
- 修复配置获取错误问题
- 修复挂件获取文档id错误的问题
- 支持文章绑定
- hexo 支持 yaml
- 支持发布到知乎
- 支持发布到 Hexo
- 支持发布到 Notion
- 支持语雀、博客园、metaweblog、typecho、wordpress
- 支持自动生成文章别名
- 统一整合各平台配置
- 完成 hexo 适配
- 新增 notion 支持
- 语雀支持更改默认知识库
- 新增支持细粒度配置的常规发布
- 支持 语雀、博客园、metaweblog、typecho、wordpress

## 思源笔记兼容情况

Expand Down Expand Up @@ -72,7 +54,7 @@
- [X] Github
- [X] Hexo
- [X] Notion
- [ ] 知乎
- [X] 知乎

## 核心特色

Expand Down
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "siyuan-plugin-publisher",
"version": "0.10.3",
"description": "Publishing articles from siyuan-note to platforms such as Yuque, Cnblogs, WordPress, Typecho, Hexo, Hugo and more",
"version": "1.6.1",
"description": "Publish articles from Siyuan Notes to platforms such as Yuque, Notion, Cnblogs, WordPress, Typecho, Hexo, Zhihu and more",
"repository": "terwer/siyuan-plugin-publisher",
"homepage": "https://github.com/terwer/siyuan-plugin-publisher",
"author": "terwer",
Expand All @@ -27,9 +27,9 @@
"syncWidgetRepo": "python scripts/sync_widget_repo.py"
},
"devDependencies": {
"@terwer/esbuild-config-custom": "^1.0.12",
"@terwer/esbuild-config-custom": "^1.2.0",
"@terwer/eslint-config-custom": "^1.3.6",
"@types/node": "^18.17.3",
"@types/node": "^18.17.4",
"@vitejs/plugin-vue": "^4.2.3",
"@vitest/coverage-v8": "^0.34.1",
"@vue/test-utils": "^2.4.1",
Expand All @@ -43,7 +43,7 @@
"typescript": "^5.1.6",
"unplugin-auto-import": "^0.16.6",
"unplugin-vue-components": "^0.25.1",
"vercel": "^31.2.2",
"vercel": "^31.2.3",
"vite": "^4.4.9",
"vite-plugin-html": "^3.2.0",
"vite-plugin-node-polyfills": "^0.8.2",
Expand All @@ -54,6 +54,7 @@
"@element-plus/icons-vue": "^2.1.0",
"@vueuse/components": "^10.3.0",
"@vueuse/core": "^10.3.0",
"cheerio": "1.0.0-rc.12",
"cross-fetch": "^3.1.8",
"element-plus": "^2.3.9",
"js-base64": "^3.7.5",
Expand All @@ -66,14 +67,14 @@
"vue-i18n": "^9.2.2",
"vue-router": "^4.2.4",
"xmlbuilder2": "^3.1.1",
"zhi-blog-api": "^1.20.13",
"zhi-blog-api": "^1.20.17",
"zhi-common": "^1.14.1",
"zhi-device": "^2.3.0",
"zhi-fetch-middleware": "^0.2.19",
"zhi-github-middleware": "^0.2.1",
"zhi-lib-base": "^0.4.4",
"zhi-notion-markdown": "^0.1.2",
"zhi-siyuan-api": "^2.0.15",
"zhi-siyuan-api": "^2.0.19",
"zhi-xmlrpc-middleware": "^0.4.14"
}
}
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "siyuan-plugin-publisher",
"author": "terwer",
"url": "https://github.com/terwer/siyuan-plugin-publisher",
"version": "0.10.3",
"version": "1.6.1",
"minAppVersion": "2.9.0",
"backends": [
"windows",
Expand Down
Loading

0 comments on commit ea14e94

Please sign in to comment.