Skip to main content

Pending Commit

Pending Commit

Active + Loaded Only

Include project-owned pending message content and review the current limits of generation and placement settings.

Command[tool.custy.changelog.pending_commit]

Category

Changelog Configuration

Quick Command

[tool.custy.changelog.pending_commit]

commit-message.txtproviderloaded-only settings

Properties​

Properties

PropertyTypeDescriptionDefaultRequired
enabledBooleanActive. Include the configured commit-message file through PendingCommitProvider for the newest unreleased range.trueNo
generationappend | regenerateLoaded only. The active generator does not invoke the integrator that applies this mode.regenerateNo
placementbefore | afterLoaded only. The active generator does not currently reposition pending content.beforeNo
Generated pending behavior
toml
[tool.custy.changelog.pending_commit]
enabled = true
generation = "regenerate"
placement = "before"

Generate from Git History Only​

Use enabled to choose whether the configured commit-message file contributes additional content to the changelog:

SettingChangelog message sources
enabled = trueGit commit history plus the pending message, when available, in the newest unreleased range.
enabled = falseGit commit history only; the pending message is not included as an additional source.

Edit the existing section in your project's .config/custy/config.toml rather than adding a second section with the same name:

Git history only
toml
[tool.custy.changelog.pending_commit]
enabled = false

You do not need to change generation or placement for this purpose. Then generate the changelog with the normal command:

Generate the changelog
bash
custy changelog generate

If the command skips generation under its normal rules, use custy changelog generate --force. This requests regeneration without overriding enabled = false or your other collection and rendering settings. To preview without writing CHANGELOG.md, use custy --dry-run changelog generate.

For the short answer, see the changelog generation FAQ.

Continue