Skip to content

Commit 2d53539

Browse files
jiangxinclaude
andcommitted
chore: release v0.3.0
Change-Id: I142ceae10bc68c9bf2c285925805d3bb192d3b43 Co-developed-by: Claude <noreply@anthropic.com> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 324f1e7 commit 2d53539

3 files changed

Lines changed: 33 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,36 @@ 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.3.0] - 2026-05-23
9+
10+
### Added
11+
12+
- Add YAML config file support (`commit-msg.yaml` / `.commit-msg.yaml`)
13+
- Support `add_change_id`, `add_co_developed_by`, `add_signed_off_by`,
14+
and `strip_noreply_trailers` settings
15+
- YAML config takes priority over git config when present
16+
- Add `add_signed_off_by` configuration to automatically insert
17+
`Signed-off-by` trailer
18+
- Reads identity from `git config user.name` and `git config user.email`
19+
- Supported in YAML config and git config (`commitmsg.signedoffby`)
20+
- Skips duplicate insertion and temporary commits (fixup!/squash!)
21+
- Add `strip_noreply_trailers` configuration to remove trailers with
22+
noreply emails
23+
- Comma-separated list of trailer keys to check
24+
(e.g., `co-authored-by,signed-off-by`)
25+
- Removes matching trailers whose email contains "noreply"
26+
(case-insensitive)
27+
- Supported in YAML config and git config
28+
(`commitmsg.stripnoreplytrailers`)
29+
30+
### Changed
31+
32+
- Refactor config loading into three-layer architecture
33+
- Split `getGitConfig()` into `loadGitConfig()` (git-only) and
34+
`loadConfig()` (unified: YAML-first, git-fallback)
35+
- Add `loadYamlConfig()` for YAML config file parsing
36+
- Add js-yaml dependency for YAML config file parsing
37+
838
## [0.2.15] - 2026-02-24
939

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

0 commit comments

Comments
 (0)