From 090802bccf6c7c7271f325620e74e598c222a7c1 Mon Sep 17 00:00:00 2001 From: MengNianxiaoyao <2589141604@qq.com> Date: Tue, 2 Jan 2024 12:48:11 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E8=87=AA=E5=8A=A8=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E6=B7=BB=E5=8A=A0=E6=9B=B4=E6=96=B0=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 63 +++++++++++++++++++++++++++++++++++ CHANGELOG.md | 44 ++++++++++++++++++++++++ 2 files changed, 107 insertions(+) create mode 100644 .github/workflows/release.yml create mode 100644 CHANGELOG.md diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..8fb536cf --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,63 @@ +name: Release + +on: + push: + tags: + - 'v*' + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: pnpm/action-setup@v2 + - uses: actions/setup-node@v3 + with: + node-version: 16.x + cache: pnpm + + - name: Install + run: pnpm install + + - name: Lint + run: pnpm run lint + + build: + runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + steps: + - uses: actions/checkout@v3 + - uses: pnpm/action-setup@v2 + - uses: actions/setup-node@v3 + with: + node-version: 18.17.0 + cache: pnpm + + - name: Install + run: pnpm install + + - name: Build + run: pnpm build + + - name: Build Extension + run: pnpm pack:zip + + - uses: GoogleCloudPlatform/release-please-action@v3 + id: release + with: + token: ${{ secrets.RELEASE_TOKEN }} + release-type: node + package-name: release-please-action + release-as: 0.13.0 + signoff: 'github-actions <41898282+github-actions[bot]@users.noreply.github.com>' + changelog-types: '[{"type":"types","section":"Types","hidden":false},{"type":"revert","section":"Reverts","hidden":false},{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"improvement","section":"Feature Improvements","hidden":false},{"type":"docs","section":"Docs","hidden":false},{"type":"ci","section":"CI","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":false},{"type":"contributor","section":"New Contributors","hidden":false}]' + + - name: Upload assets to a Release + uses: meeDamian/github-release@v2.0.3 + with: + files: extension.zip + token: ${{ secrets.RELEASE_TOKEN }} + allow_override: true + gzip: false diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..22756b88 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,44 @@ +# Changelog + +## [0.13.0](https://github.com/hakadao/BewlyBewly/compare/v0.12.0..v0.13.0) (2024-01-02) + +### Notices + +* Please note that the version on Chrome Web Store & Edge Addons may not update as quickly +* 本地安裝瀏覽器打開 chrome://extensions 頁面之後直接將下載完後的 extension.zip 拖入瀏覽器即可完成安裝 + +### Features + +feat: add a setting to use the original bilibili homepage +feat: add compatibility page on settings panel +feat: add contributors section & export settings description to the about page on the settings panel +feat: implement reset content feature in dock +feat: create ci build for action (@MengNianxiaoyao) +feat: dock item visibility adjustment + +### Bug Fixes + +fix: resolve the issue of blurry font, i guess... (#49) +fix: open History‘s article is error (@MengNianxiaoyao) +fix: 【Bug】观看历史界面部分专栏封面不显示 (@MengNianxiaoyao #87) +fix: bilibili-API-collect docs link (@MengNianxiaoyao) +fix: resolve ts errors and warnings +fix: 【Bug】使用插件的顶栏会导致部分专栏打开失败 (@MengNianxiaoyao #83) +fix: adjust styles(#77) + +perf: optimize extension loading speed (#75) + +refactor: rename topbar to topBar +refactor: use pinia to store top bar items (wip) +refactor: move contents from the src/models/apiModels to parent directory +refactor: remove startup page setting, determine startup page based on dock content +refactor: use pinia && move app.use() to common-setup + +docs: 添加廣東話,台灣官話README翻譯 +docs: 优化说明文档并添加简体中文 (@MengNianxiaoyao) + +### New Contributors + +@MengNianxiaoyao 幫忙翻譯簡體中文README, 構建ci, 翻譯調整, 部分功能等問題修正 + +**Full Changelog:** From 0356f10f3b502422f14af3fb95ab83c7fd6b4b36 Mon Sep 17 00:00:00 2001 From: MengNianxiaoyao <2589141604@qq.com> Date: Tue, 2 Jan 2024 13:17:22 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=E5=8F=91=E7=89=88?= =?UTF-8?q?=E8=AF=B4=E6=98=8E=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8fb536cf..afc878f5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,7 +52,7 @@ jobs: package-name: release-please-action release-as: 0.13.0 signoff: 'github-actions <41898282+github-actions[bot]@users.noreply.github.com>' - changelog-types: '[{"type":"types","section":"Types","hidden":false},{"type":"revert","section":"Reverts","hidden":false},{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"improvement","section":"Feature Improvements","hidden":false},{"type":"docs","section":"Docs","hidden":false},{"type":"ci","section":"CI","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":false},{"type":"contributor","section":"New Contributors","hidden":false}]' + changelog-types: '[{"type":"types","section":"Types","hidden":false},{"type":"revert","section":"Reverts","hidden":false},{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"improvement","section":"Feature Improvements","hidden":false},{"type":"docs","section":"Docs","hidden":false},{"type":"ci","section":"CI","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":false},{"type":"contributor","section":"New Contributors","hidden":false},{"type":"notice","section":"Notices","hidden":false}]' - name: Upload assets to a Release uses: meeDamian/github-release@v2.0.3