Skip to content

Releases: rhysd/changelog-from-release

v3.2.0

22 Aug 04:50
Compare
Choose a tag to compare
  • Add -l option to set heading level of each release sections. For example, -l 2 uses ## instead of # for each release sections.
  • Use Go 1.19 to build release binaries.
  • Go module path was changed from github.com/rhysd/changelog-from-release to github.com/rhysd/changelog-from-release/v3 since go install without version specifier does not work in recent Go toolchain. (#14)

v3.1.4

10 Aug 07:15
Compare
Choose a tag to compare
  • In previous release, references in link texts were fixed. But the fix was not perfect. Nested text node in a link node was still linked incorrectly and this release fixed the bug. For instance, @foo in [_@foo_](...) should not be linked where the text is in italic node in link node.

v3.1.3

08 Aug 13:38
Compare
Choose a tag to compare
  • Do not references in link texts. Previously references in link texts like [#1](...) were linked to [[#1](https://github.com/owner/repo/issues/1)](...). Now they are not linked and left as-is (#12).

v3.1.2

04 Aug 05:41
Compare
Choose a tag to compare
  • Fixed commit-summary-template was not effective by renaming the input to commit_summary_template. Hyphens are not available in Docker actions. For example, when v1.2.3 is released, the following step creates a commit with summary chore(changelog): describe changes for "v1.2.3".
    - uses: rhysd/changelog-from-release/action@v3
      with:
        file: CHANGELOG.md
        github_token: ${{ secrets.GITHUB_TOKEN }}
        commit_summary_template: 'chore(changelog): describe changes for %s'

v3.1.1

04 Aug 05:21
Compare
Choose a tag to compare
  • Use git remote instead of git rev-parse to retrieve a remote name of repository since git rev-parse sometimes returns an unexpected output for some reason. (#6)
  • Added commit-summary-template input to the action so that the commit message can be customized. The template is passed to the first argument of printf command. It must contain one %s placeholder which will be replaced with the tag name.
  • Removed duplicate of command output from error messages on git command failure.
  • Improved error messages when retrieving a URL of remote repository

v3.1.0

03 Aug 12:26
Compare
Choose a tag to compare
  • Link commit references in release note automatically. For example, 85a7d9028ed70bc81224cb126e29e070dcc0aa1c is converted to [`85a7d9028e`](https://github.com/owner/repo/commit/85a7d9028ed70bc81224cb126e29e070dcc0aa1c). Note that only full-length (40 characters) commit hashes are linked to avoid false positives.
  • Fix user references followed by / like @foo/ are wrongly linked.
  • Describe how reference auto linking works in README.md.

v3.0.0

03 Aug 08:55
Compare
Choose a tag to compare
  • BREAKING: Labels at head of list items are no longer converted to bold text. For example, a list item starting with - Fix: was converted to - **Fix:**, but it is no longer converted from v3.0.0.
  • Issue references like #123 and user references like @rhysd are now automatically linked (#3). For example, when we have a release item as follows in release notes:
    - Fixed something (thanks @rhysd, #1)
    changelog-from-release links the references as follows:
    - Fixed something (thanks [@rhysd](https://github.com/rhysd), [#1](https://github.com/owner/repo/issues/1))
  • Fixed git@ and ssh:// repository URLs were not converted to HTTPS URLs when the repository is hosted on GHE.
  • Updated google/go-github dependency from v17 to v45.
  • Removed pkg/errors dependency and used standard fmt.Errorf instead.

v2.2.5

02 Jun 15:40
Compare
Choose a tag to compare
  • Fix changelog-from-release command hangs when generating a changelog of repository which has more than 30 releases (#8, #10)

v2.2.4

12 May 13:00
Compare
Choose a tag to compare
  • Strip credentials in repository URLs (#9).
  • Fix the action fails due to permission error on accessing a workspace directory.
  • Update dependencies in go.mod.
  • Use GoReleaser to make release binaries.

v2.2.3

26 Sep 15:42
Compare
Choose a tag to compare
  • Improve: Introduce Go modules. Now this tool is installable via go install
  • Improve: Better footer comment (thanks @spl, #7)
  • Improve: Build binaries with the latest Go toolchain v1.17
  • Improve: Release darwin/arm64 and linux/arm64 binaries