Scope dan Type Mappings
Scope dan Type Mappings
Active and Extensible
Ubah machine-oriented commit classification menjadi stable dan reader-friendly section names.
Command
[tool.custy.changelog.scope_map] + [tool.custy.changelog.type_map]Category
Changelog Configuration
Quick Command
RAW_KEY = "Display label"Scope Mappingโ
Setiap key merupakan raw commit scope; setiap value merupakan displayed scope. Unmapped scopes mempertahankan nama aslinya.
Generated scope_map entries
| Property | Type | Description | Default | Required |
|---|---|---|---|---|
main | Tampilkan main sebagai core. | core | No | |
auth | Perluas authentication scope. | authentication | No | |
cli | Pertahankan CLI labeling. | cli | No | |
changelog | Pertahankan changelog labeling. | changelog | No | |
workflow | Pertahankan workflow labeling. | workflow | No | |
template | Pertahankan template labeling. | template | No | |
config | Perluas config menjadi configuration. | configuration | No | |
docs | Perluas docs menjadi documentation. | documentation | No | |
tests | Pertahankan tests labeling. | tests | No |
Type Mappingโ
Mapping juga menyediakan stable group order ketika sort_groups = false.
Unknown types menggunakan value milik other.
Generated type_map entries
| Property | Type | Description | Default | Required |
|---|---|---|---|---|
feat | New user-facing functionality. | โจ Features | No | |
fix | Corrective changes. | ๐ Bug Fixes | No | |
improvement | Enhancements yang bukan features. | ๐ง Improvements | No | |
template | Template changes. | ๐ Templates | No | |
breaking | Backward-incompatible changes. | โ ๏ธ Breaking Changes | No | |
docs | Documentation changes. | ๐ Documentation | No | |
refactor | Internal restructuring. | ๐ง Refactoring | No | |
perf | Performance improvements. | โก Performance | No | |
test | Test changes. | ๐งช Tests | No | |
chore | Maintenance work. | ๐ง Chores | No | |
ci | Continuous integration dan delivery changes. | โ๏ธ CI/CD | No | |
build | Build-system changes. | ๐๏ธ Build | No | |
release | Release-oriented commits. | ๐ Releases | No | |
revert | Reverted changes. | โฉ๏ธ Reverts | No | |
style | Formatting atau style-only changes. | ๐จ Styling | No | |
other | Fallback title untuk unknown commit types. | ๐ฆ Others | No |
Custom mapping
toml[tool.custy.changelog.scope_map]
database = "data layer"
[tool.custy.changelog.type_map]
security = "๐ Security"