Skip to content

Commit 9ddc183

Browse files
committed
chore: bump version to 0.2.8 and update changelog
Change-Id: Ib7951223a4ce7996607342814cceaec6374be803 Co-developed-by: Claude <noreply@anthropic.com> Signed-off-by: Jiang Xin <zhiyou.jx@alibaba-inc.com>
1 parent 83260b4 commit 9ddc183

3 files changed

Lines changed: 29 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,32 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.2.8] - 2025-09-28
9+
10+
### Added
11+
12+
- Make install command the default when no arguments provided
13+
- When no arguments are provided, the install command will be executed by default
14+
- Improves user experience by reducing the need to remember the install command
15+
16+
- Implement automatic hook upgrade functionality
17+
- Add COMMIT_MSG_HOOK_VERSION and COMMIT_MSG_HOOK_PATH environment variables to hook template
18+
- Implement dynamic version checking in exec.ts that parses version from template file
19+
- Automatically regenerate outdated hooks
20+
- Ensure hooks are automatically upgraded to match the current template version when the package is updated
21+
22+
### Changed
23+
24+
- Reuse handleInstallCommand and handleExecCommand functions
25+
- Refactor code to reuse command handler functions for better maintainability
26+
- Consolidate duplicated logic in command implementations
27+
28+
### Fixed
29+
30+
- Improve merge commit detection logic
31+
- Enhance the algorithm for detecting merge commits
32+
- Provide more accurate detection of merge commits during hook execution
33+
834
## [0.2.7] - 2025-09-26
935

1036
### Added

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ai-coding-workshop/commit-msg",
3-
"version": "0.2.7",
3+
"version": "0.2.8",
44
"type": "module",
55
"main": "dist/index.js",
66
"bin": {

0 commit comments

Comments
 (0)