Review Changelog
Analyze commits since the last release tag, draft bilingual changelog entries, and guide the version bump workflow.
Changelog Files
| File | Language |
|---|---|
website/changelog.md |
繁體中文 (zh-TW) |
website/en/changelog.md |
English |
Both files must always be updated together with matching content.
Workflow
Identify the last release tag and current version
git describe --tags --abbrev=0 node -p "require('./package.json').version"List commits since last tag
git log <last-tag>..HEAD --oneline --no-mergesIf no commits exist, report "Changelog is up-to-date" and stop.
Read current changelogs to understand existing format and the latest entry structure.
Categorize commits into:
- 新功能 / New Features — new user-facing functionality
- 修復 / Fixes — bug fixes
- 改進 / Improvements — enhancements to existing features
- 重構 / Refactor — code structure changes
- 效能 / Performance — performance optimizations
- 文件 / Documentation — docs-only changes
- 測試 / Testing — test infrastructure or new tests
- Skip commits that are changelog/version bumps themselves.
Determine version bump type
patch: bug fixes, minor improvements, docs, testsminor: new features, significant UI changesmajor: breaking changes (rare)
Draft bilingual entries in zh-TW and English. Follow the existing format:
## v{version} _YYYY-MM-DD_ ### 新功能 - **Area**: Description ### 修復 - **Area**: DescriptionUse today's date. Match the style of existing entries (bold area prefix, concise descriptions).
Present report in zh-TW to the user:
- Proposed version bump type with rationale
- Draft changelog entries (both languages)
- List of commits mapped to categories
- Ask user to confirm or adjust
After confirmation, execute in order:
- Edit
website/changelog.md— insert new version section after the header - Edit
website/en/changelog.md— insert matching English section - Stage and commit changelog files:
docs: update changelog for v{version} - Run
npm version <patch|minor|major>(creates git tag automatically) - Report the new version and tag
- Edit
Version History Structure Rule
Only the two most recent minor versions keep detailed per-patch entries. When a new minor version is introduced, condense the oldest of the two into the "Earlier Versions" summary section at the bottom of each changelog file.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.