Skip to content

Commit 16eddf4

Browse files
committed
chore: bump version to 0.2.1 and update changelog
- Bump version from 0.2.0 to 0.2.1 in package.json - Update CHANGELOG.md with new features and fixes since v0.2.0 - Document scissors line detection feature - Document empty commit message handling fixes - Document Signed-off-by only message handling fixes Changes since v0.2.0: - feat: add scissors line detection for commit message processing - fix: ignore commit message only contains Signed-off-by - fix: do not handle empty commit message Change-Id: I4e65fce68f338795484f918d747b5878bcbf5de3 Co-developed-by: Cursor <noreply@cursor.com> Signed-off-by: Jiang Xin <zhiyou.jx@alibaba-inc.com>
1 parent ea77bdb commit 16eddf4

File tree

3 files changed

+26
-3
lines changed

3 files changed

+26
-3
lines changed

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,29 @@ 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.1] - 2025-01-10
9+
10+
### Added
11+
12+
- Add scissors line detection for commit message processing
13+
- Detect Git scissors lines (`>8` and `8<`) in commit messages
14+
- Stop processing commit message content when scissors line is found
15+
- Support various scissors line formats with dashes and whitespace
16+
- Only match exact patterns: `>8` or `8<` (not `>9`, `7<`, or with extra text)
17+
- Add comprehensive test coverage for scissors line scenarios
18+
19+
### Fixed
20+
21+
- Fix empty commit message handling
22+
- Do not process empty commit messages, let Git handle commit rejection
23+
- Return empty message with `shouldSave: false` for empty content
24+
- Maintain Git's expected behavior for empty commit rejections
25+
26+
- Fix Signed-off-by only message handling
27+
- Detect commit messages containing only Signed-off-by lines and empty lines
28+
- Return empty message with `shouldSave: false` for signature-only commits
29+
- Prevent processing of template-only messages when using `git commit -s`
30+
831
## [0.2.0] - 2025-09-10
932

1033
### 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.0",
3+
"version": "0.2.1",
44
"type": "module",
55
"main": "dist/index.js",
66
"bin": {

0 commit comments

Comments
 (0)