Skip to content

Commit

Permalink
Merge pull request #979 from terwer/feature/hotfix
Browse files Browse the repository at this point in the history
fix: #964 修复转义文本导致的知乎依旧公式解析错误问题
  • Loading branch information
terwer committed Jan 8, 2024
2 parents 10f022e + 7c40d30 commit be6d1e5
Show file tree
Hide file tree
Showing 12 changed files with 794 additions and 944 deletions.
23 changes: 8 additions & 15 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,15 @@ jobs:
# Create release
- name: Create release
uses: google-github-actions/release-please-action@v4
id: release
with:
release-type: node
package-name: release-please-action
## branch to open pull release PR against (detected by default)
default-branch: main
## Should breaking changes before 1.0.0 produce minor bumps? Default false
# bump-minor-pre-major: true
## Should feat changes before 1.0.0 produce patch bumps instead of minor bumps? Default false
# bump-patch-for-minor-pre-major: true
## If set, create releases that are pre-major or pre-release version marked as pre-release on GitHub. Defaults false
prerelease: false
## header used within the release PR body, defaults to using :robot: I have created a release *beep* *boop*
pull-request-header: ':robot: A new release will be created'
## A JSON formatted String containing to override the outputted changelog sections
changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"refactor","section":"Code Refactoring","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":false},{"type":"perf","section":"Performance Improvements","hidden":false}]'
# this assumes that you have created a personal access token
# (PAT) and configured it as a GitHub action secret named
# `GH_TOKEN` (this secret name is not important).
token: ${{ secrets.GH_TOKEN }}
# optional. customize path to release-please-config.json
config-file: release-please-config.json
# optional. customize path to .release-please-manifest.json
manifest-file: .release-please-manifest.json

# Checkout
- name: Checkout
Expand Down
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "1.18.11"
}
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## [1.18.12](https://github.com/terwer/siyuan-plugin-publisher/compare/v1.18.11...v1.18.12) (2024-01-08)


### Bug Fixes

* [#964](https://github.com/terwer/siyuan-plugin-publisher/issues/964) 修复转义文本导致的知乎依旧公式解析错误问题 ([988b46d](https://github.com/terwer/siyuan-plugin-publisher/commit/988b46d380eb4fbbfc9e82c4edce6378aefab36d))
* **deps:** bump @vueuse/components from 10.6.1 to 10.7.1 ([c2a3513](https://github.com/terwer/siyuan-plugin-publisher/commit/c2a351371790f47357336c29d91dcccfc1529f61))
* **deps:** bump @vueuse/core from 10.6.1 to 10.7.1 ([1b3f182](https://github.com/terwer/siyuan-plugin-publisher/commit/1b3f1828d09d5294282e2dc2fd5f95147e3547ae))
* **deps:** bump google-github-actions/release-please-action from 3 to 4 ([696b383](https://github.com/terwer/siyuan-plugin-publisher/commit/696b38304e74e553387a2dbe7f852e28f87a4782))
* **deps:** bump siyuan from 0.8.9 to 0.9.1 ([258bfe2](https://github.com/terwer/siyuan-plugin-publisher/commit/258bfe209e811079e9834302e66c85295f064d10))
* **deps:** bump vue from 3.3.9 to 3.4.5 ([f86c533](https://github.com/terwer/siyuan-plugin-publisher/commit/f86c53329f8a27465ac60d69cf0da8beb7897730))

## [1.18.11](https://github.com/terwer/siyuan-plugin-publisher/compare/v1.18.10...v1.18.11) (2023-12-03)
### Bug Fixes
* [#927](https://github.com/terwer/siyuan-plugin-publisher/issues/927) 修复 CSDN 和知乎公式解析不正常的问题 ([aee7081](https://github.com/terwer/siyuan-plugin-publisher/commit/aee70815cbbbbe80596e98b136fd45ba7d4d2de5))
Expand Down Expand Up @@ -417,4 +429,4 @@
* **deps-dev:** bump vite-plugin-static-copy from 0.16.0 to 0.17.0 ([feea39d](https://github.com/terwer/siyuan-plugin-publisher/commit/feea39d39bff74051fe0d68153b0628b00bff53f))
* **deps-dev:** bump vitest from 0.32.4 to 0.33.0 ([f2ce507](https://github.com/terwer/siyuan-plugin-publisher/commit/f2ce507ea537601d7dba21de84524274ec1cbee4))
* release 0.8.0 ([29336cd](https://github.com/terwer/siyuan-plugin-publisher/commit/29336cd847064971bc842e44aee75a8e90c226a8))
* 优化构建流程 ([f4aeea1](https://github.com/terwer/siyuan-plugin-publisher/commit/f4aeea1c618638a7774105a87b3e690d6d5d3927))
* 优化构建流程 ([f4aeea1](https://github.com/terwer/siyuan-plugin-publisher/commit/f4aeea1c618638a7774105a87b3e690d6d5d3927))
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ Publish articles from siyuan-note to platforms like Yuque etc. `Free` and `open

If you're interested in the paid professional version, please check the paied ➡️ [Publishing Tool Professional Edition](https://github.com/terwer/siyuan-plugin-publisher-pro)

> Recent Update: 🎉 Publish Tool new version `1.18.11` released.
> Recent Update: 🎉 Publish Tool new version `1.18.12` released.
- `1.18.0` brings new features and enhanced user experience.
- The `1.18.12` version primarily addresses the following issues:
- #964 Rectified the parsing error in Zhihu's formula rendering caused by escaped text.
- The `1.18.11` Version primarily includes the following minor optimizations and bug fixes:
- Improved prompts for unpublished articles.
- Fixed abnormal formula parsing issues on CSDN and Zhihu.
Expand Down
4 changes: 3 additions & 1 deletion README_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@

如果您对 [增值功能](https://github.com/terwer/siyuan-plugin-publisher/issues/846) 感兴趣,请移步 ➡️ 收费的 [发布工具专业版](https://github.com/terwer/siyuan-plugin-publisher-pro)

> 最近的新版本:🎉 发布工具新版本 `1.18.11` 发布
> 最近的新版本:🎉 发布工具新版本 `1.18.12` 发布
- `1.18.0` 新增多个特性,全方位优化体验。
- `1.18.12` 主要修复以下缺陷:
- #964 修复转义文本导致的知乎依旧公式解析错误问题
- `1.18.11` 主要做了以下小幅度优化和缺陷修复:
- 优化文章未发布时的提示
- 修复 CSDN 和知乎公式解析不正常的问题
Expand Down
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "siyuan-plugin-publisher",
"version": "1.18.11",
"version": "1.18.12",
"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",
Expand Down Expand Up @@ -33,25 +33,25 @@
"@types/crypto-js": "^4.2.1",
"@types/katex": "^0.16.7",
"@types/lodash": "^4.14.202",
"@types/node": "^18.19.1",
"@vitejs/plugin-vue": "^4.5.1",
"@vitest/coverage-v8": "^0.34.6",
"@types/node": "^18.19.5",
"@vitejs/plugin-vue": "^5.0.2",
"@vitest/coverage-v8": "^1.1.3",
"@vue/test-utils": "^2.4.3",
"esbuild-plugin-copy": "^2.1.1",
"esbuild-style-plugin": "^1.6.3",
"fast-glob": "^3.3.2",
"jsdom": "^23.2.0",
"minimist": "^1.2.8",
"rollup-plugin-livereload": "^2.0.5",
"stylus": "^0.59.0",
"typescript": "^5.3.2",
"unplugin-auto-import": "^0.17.2",
"stylus": "^0.62.0",
"typescript": "^5.3.3",
"unplugin-auto-import": "^0.17.3",
"unplugin-vue-components": "^0.26.0",
"vercel": "^32.6.1",
"vite": "^4.5.0",
"vite-plugin-html": "^3.2.0",
"vercel": "^33.0.2",
"vite": "^5.0.11",
"vite-plugin-html": "^3.2.1",
"vite-plugin-node-polyfills": "^0.19.0",
"vitest": "^0.34.6",
"vitest": "^1.1.3",
"vue-tsc": "^1.8.27"
},
"dependencies": {
Expand All @@ -63,7 +63,7 @@
"cheerio": "1.0.0-rc.12",
"cross-fetch": "^3.1.8",
"crypto-js": "^4.2.0",
"element-plus": "^2.4.3",
"element-plus": "^2.4.4",
"gray-matter": "^4.0.3",
"js-base64": "^3.7.5",
"js-yaml": "^4.1.0",
Expand All @@ -76,7 +76,7 @@
"siyuan-plugin-picgo": "^1.4.4",
"uuid": "^9.0.1",
"vue": "^3.4.5",
"vue-i18n": "^9.8.0",
"vue-i18n": "^9.9.0",
"vue-router": "^4.2.5",
"xmlbuilder2": "^3.1.1",
"zhi-blog-api": "^1.53.0",
Expand Down
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": "1.18.11",
"version": "1.18.12",
"minAppVersion": "2.9.0",
"backends": [
"windows",
Expand Down

0 comments on commit be6d1e5

Please sign in to comment.