-
v2.0.0
Stablereleased this
2026-11-11 13:04:12 +00:00 | 15 commits to main since this releaseAdded
- Fragments: notes kept as
*.mdfiles in a directory of their own,
.changelog/by convention, rather than under[Unreleased], so pull
requests adding notes do not conflict. Thefragmentsinput of therelease
action folds them into[Unreleased]before releasing it and deletes them;
thefragmentsinput of the reader checks them. fragment-formcheck, for a file in the fragments directory that is not a
fragment.-fragmentsflag of the command and of itsreleasesubcommand.foldsubcommand, which appends the fragments to the open entry, or to
[Unreleased]where none is open, and deletes them: how a release branch
assembles its entry.AppendOpen,FoldOpen,Close,ReleasePendingandEntry.Notesin
pkg/changelog, andRepo.MergeBaseinpkg/git.fragments-releasecheck: releasing[Unreleased]with the fragments folded
in raises nothing the changelog as it stands does not.missing-fragmentcheck: a pull request adds a fragment, read against the
merge base with the branch it merges into.baseinput of the reader, the branch a pull request merges into, defaulting
togithub.base_ref.
Changed
- Breaking: every action lives under
actions/. The reader moves from the
repository root toactions/validate, and the writers fromappendand
releasetoactions/appendandactions/release:
mikluko/action-changelog/actions/validate@v2, or
https://sarak.sh/mikluko/changelog/actions/validate@v2on Forgejo.
@v1keeps the old paths. - Breaking: the Go module is
sarak.sh/mikluko/changelog/v2, the suffix
a major version above 1 requires, run as
go run sarak.sh/mikluko/changelog/v2/cmd/changelog@latest. fragments-releaseforecasts the open entry, closed today with the
fragments folded in, where there is one.missing-fragmentalso passes a pull request whose changelog carries a note
the merge base lacks, as one merging a release branch does.- Breaking:
fragmentsdefaults to.changelogin the reader and the
releaseaction, somissing-fragmentfails a pull request that adds no
fragment unless switched off.
Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download
- Fragments: notes kept as