From f16f71f93dd18945febd5d3fea9b8ce63f8be767 Mon Sep 17 00:00:00 2001 From: shd101wyy Date: Fri, 15 Sep 2023 16:59:03 +0800 Subject: [PATCH 1/2] feat: Ready to release 0.7.7 --- .github/workflows/release.yml | 14 +++++++------- .github/workflows/test.yml | 1 - CHANGELOG.md | 12 ++++++++++++ package.json | 4 ++-- yarn.lock | 8 ++++---- 5 files changed, 25 insertions(+), 14 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f725eb6..583ce8b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,6 +23,13 @@ jobs: - name: Get current package version id: package_version uses: martinbeentjes/npm-get-version-action@v1.1.0 + - name: Get Changelog Entry + id: changelog_reader + uses: mindsers/changelog-reader-action@v2.0.0 + with: + validation_level: warn + version: ${{ steps.package_version.outputs.current-version }} + path: 'CHANGELOG.md' - name: Publish extension to Visual Studio Marketplace id: create_vsix uses: HaaLeo/publish-vscode-extension@v1 @@ -31,13 +38,6 @@ jobs: pat: ${{ secrets.VS_MARKETPLACE_TOKEN }} registryUrl: https://marketplace.visualstudio.com yarn: true - - name: Get Changelog Entry - id: changelog_reader - uses: mindsers/changelog-reader-action@v2.0.0 - with: - validation_level: warn - version: ${{ steps.package_version.outputs.current-version }} - path: 'CHANGELOG.md' - name: Create a Release if: github.ref == 'refs/heads/master' id: create_release diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2ffadcb..512766b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,7 +2,6 @@ name: "Test" on: push: branches: - - master - develop pull_request: branches: diff --git a/CHANGELOG.md b/CHANGELOG.md index 842bfdd..9ec06ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.7.7] - 2023-09-15 + +### Updated to crossnote 0.8.13 + +https://github.com/shd101wyy/crossnote/releases/tag/0.8.13 + +#### Bug fixes +- Fixed rendering MathJax in preview https://github.com/shd101wyy/crossnote/pull/311. +- Fixed the preview background color https://github.com/shd101wyy/crossnote/pull/312. +- Added error message when failed to parse the YAML front-matter. Also escaped the HTML rendered in the front-matter table in preview. https://github.com/shd101wyy/crossnote/pull/312. + + ## [0.7.6] - 2023-09-14 Fixed the extension for https://vscode.dev. diff --git a/package.json b/package.json index e7d37dc..49eb92e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "markdown-preview-enhanced", "displayName": "%displayName%", - "version": "0.7.6", + "version": "0.7.7", "description": "%description%", "categories": [ "Other" @@ -620,7 +620,7 @@ "dependencies": { "@types/crypto-js": "^4.1.2", "@types/vfile": "^3.0.2", - "crossnote": "^0.8.12", + "crossnote": "^0.8.13", "crypto-js": "^4.1.1" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index e6532fc..06a3282 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1880,10 +1880,10 @@ cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3: shebang-command "^2.0.0" which "^2.0.1" -crossnote@^0.8.12: - version "0.8.12" - resolved "https://registry.yarnpkg.com/crossnote/-/crossnote-0.8.12.tgz#54d7fe75c6ac2004a16c037926ad0a60cc67f779" - integrity sha512-a7s/ihxciBj6Kngram+ODKSsW5MPSGoVopz5qa78ytZfz2sko/x7SEGJXpJh1nvFRb2M2rDynVbzQ+Uj3mN5mA== +crossnote@^0.8.13: + version "0.8.13" + resolved "https://registry.yarnpkg.com/crossnote/-/crossnote-0.8.13.tgz#9eb9a0b295ca1060489a412f518f95a0d64ca69f" + integrity sha512-iPigcsIV5hQU91RYECe+adTwNfg8HaPdKwrN5punCMeEHV5n//31OWxvtq+5zoyM/ZHkWg0AyyVDiFyJCd+PQQ== dependencies: "@headlessui/react" "^1.7.17" "@heroicons/react" "^2.0.18" From a7df4a01cedddfcbb46b88fce475810242caf5e0 Mon Sep 17 00:00:00 2001 From: shd101wyy Date: Fri, 15 Sep 2023 17:01:41 +0800 Subject: [PATCH 2/2] fix: Forgot to run prettier --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ec06ba..0ba0ad6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,11 +14,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 https://github.com/shd101wyy/crossnote/releases/tag/0.8.13 #### Bug fixes + - Fixed rendering MathJax in preview https://github.com/shd101wyy/crossnote/pull/311. - Fixed the preview background color https://github.com/shd101wyy/crossnote/pull/312. - Added error message when failed to parse the YAML front-matter. Also escaped the HTML rendered in the front-matter table in preview. https://github.com/shd101wyy/crossnote/pull/312. - ## [0.7.6] - 2023-09-14 Fixed the extension for https://vscode.dev.