• v2.0.0 964604abb2

    v2.0.0
    All checks were successful
    CI / test (push) Successful in 17s
    CI / lint (push) Successful in 28s
    Stable

    mikluko released this 2026-11-11 13:04:12 +00:00 | 15 commits to main since this release

    Added

    • Fragments: notes kept as *.md files in a directory of their own,
      .changelog/ by convention, rather than under [Unreleased], so pull
      requests adding notes do not conflict. The fragments input of the release
      action folds them into [Unreleased] before releasing it and deletes them;
      the fragments input of the reader checks them.
    • fragment-form check, for a file in the fragments directory that is not a
      fragment.
    • -fragments flag of the command and of its release subcommand.
    • fold subcommand, 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, ReleasePending and Entry.Notes in
      pkg/changelog, and Repo.MergeBase in pkg/git.
    • fragments-release check: releasing [Unreleased] with the fragments folded
      in raises nothing the changelog as it stands does not.
    • missing-fragment check: a pull request adds a fragment, read against the
      merge base with the branch it merges into.
    • base input of the reader, the branch a pull request merges into, defaulting
      to github.base_ref.

    Changed

    • Breaking: every action lives under actions/. The reader moves from the
      repository root to actions/validate, and the writers from append and
      release to actions/append and actions/release:
      mikluko/action-changelog/actions/validate@v2, or
      https://sarak.sh/mikluko/changelog/actions/validate@v2 on Forgejo.
      @v1 keeps 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-release forecasts the open entry, closed today with the
      fragments folded in, where there is one.
    • missing-fragment also passes a pull request whose changelog carries a note
      the merge base lacks, as one merging a release branch does.
    • Breaking: fragments defaults to .changelog in the reader and the
      release action, so missing-fragment fails a pull request that adds no
      fragment unless switched off.
    Downloads