From 04f826cb6c311558fbee596efa10c10348d6bd20 Mon Sep 17 00:00:00 2001 From: Uglyboy <25730357+uglyboy-tl@users.noreply.github.com> Date: Fri, 24 Apr 2026 10:10:03 +0800 Subject: [PATCH] chore(release): update changelog and fix release script tag reference - Add v2.0.7 changelog entry - Fix release.mjs to use version tag instead of last git tag --- CHANGELOG.md | 18 ++++++++++++++++++ scripts/release.mjs | 3 +-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c1247d..181587f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## 2.0.7 (2026-04-22) + +### Features +- **types**: add CSS modules type declarations + +### Refactoring +- **code**: various code improvements and fixes +- **view**: rename view.ts to view.tsx for React component +- **plugin-entry**: rename plugin.ts to main.ts and update config +- **plugin-architecture**: simplify plugin architecture by removing features system + +### Chores +- **deps**: update dependencies and release workflow +- **config**: improve view lifecycle and update configuration +- **deps**: upgrade dependencies to latest versions + +**Full Changelog**: https://github.com/uglyboy-tl/obsidian-ink-player/compare/2.0.6...2.0.7 + ## 2.0.6 (2026-04-18) ### Features diff --git a/scripts/release.mjs b/scripts/release.mjs index 9c37811..cc6f11e 100644 --- a/scripts/release.mjs +++ b/scripts/release.mjs @@ -59,8 +59,7 @@ function main() { run(`npm_package_version=${version} bun run scripts/version-bump.mjs`); console.log("\nGenerating changelog..."); - const lastTag = execSync("git describe --tags --abbrev=0").toString().trim(); - run(`bun run scripts/changelog.mjs ${lastTag}`); + run(`bun run scripts/changelog.mjs ${version}`); console.log("\nStaging all files..."); run("git add .");