13.0.0 • Published 1 month ago

@semantic-release/release-notes-generator v13.0.0

Weekly downloads
385,603
License
MIT
Repository
github
Last release
1 month ago

release-notes-generator

semantic-release plugin to generate changelog content with conventional-changelog

Build Status npm latest version npm next version

StepDescription
generateNotesGenerate release notes for the commits added since the last release with conventional-changelog.

Install

$ npm install @semantic-release/release-notes-generator -D

Usage

The plugin can be configured in the semantic-release configuration file:

{
  "plugins": [
    [
      "@semantic-release/commit-analyzer",
      {
        "preset": "angular",
        "parserOpts": {
          "noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"]
        }
      }
    ],
    [
      "@semantic-release/release-notes-generator",
      {
        "preset": "angular",
        "parserOpts": {
          "noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"]
        },
        "writerOpts": {
          "commitsSort": ["subject", "scope"]
        }
      }
    ]
  ]
}

With this example:

  • the commits that contains BREAKING CHANGE, BREAKING CHANGES or BREAKING in their body will be considered breaking changes (by default the angular preset checks only for BREAKING CHANGE and BREAKING CHANGES)
  • the commits will be sorted in the changelog by subject then scope (by default the angular preset sort the commits in the changelog by scope then subject)

Configuration

Options

OptionDescriptionDefault
presetconventional-changelog preset (possible values: angular, atom, codemirror, ember, eslint, express, jquery, jshint, conventionalcommits).angular
configNPM package name of a custom conventional-changelog preset.-
parserOptsAdditional conventional-commits-parser options that will extends the ones loaded by preset or config. This is convenient to use a conventional-changelog preset with some customizations without having to create a new module.-
writerOptsAdditional conventional-commits-writer options that will extends the ones loaded by preset or config. This is convenient to use a conventional-changelog preset with some customizations without having to create a new module.-
hostThe host used to generate links to issues and commits. See conventional-changelog-writer#host.The host from the repositoryurl option.
linkCompareWhether to include a link to compare changes since previous release in the release note.true
linkReferencesWhether to include a link to issues and commits in the release note. See conventional-changelog-writer#linkreferences.true
commitKeyword used to generate commit links (formatted as <host>/<owner>/<repository>/<commit>/<commit_sha>). See conventional-changelog-writer#commit.commits for Bitbucket repositories, commit otherwise
issueKeyword used to generate issue links (formatted as <host>/<owner>/<repository>/<issue>/<issue_number>). See conventional-changelog-writer#issue.issue for Bitbucket repositories, issues otherwise
presetConfigAdditional configuration passed to the conventional-changelog preset. Used for example with conventional-changelog-conventionalcommits.-

Notes: in order to use a preset it must be installed (for example to use the eslint preset you must install it with npm install conventional-changelog-eslint -D)

Note: config will be overwritten by the values of preset. You should use either preset or config, but not both.

Note: Individual properties of parserOpts and writerOpts will override ones loaded with an explicitly set preset or config. If preset or config are not set, only the properties set in parserOpts and writerOpts will be used.

Note: For presets that expects a configuration object, such as conventionalcommits, the presetConfig option must be set.

@tractorzoom/semantic-release-config@toptal/davinci-engine@sergeyzwezdin/semantic-release-configdocuments-service-api@html-validate/semantic-releasesemantic-release-trustflight-config@droplt/core@openpatch/semantic-release@ahmadnassri/semantic-release-configsemantic-realise-demo@test-babu-library/aifian-babu@test-aifian-library/aifian_storybook_babu@educationperfect/semantic-release@ahmadnassri/semantic-release@coobeet/semantic-release-configsemantic-release-with-github-actions2@wishlez/semantic-releasesenn-node-linter@araclx/semantic-release@infinitebrahmanuniverse/nolb-_sema@adfinis-sygroup/semantic-release-configcitymapdh-test-cafe-automation-library@everything-registry/sub-chunk-818@peakfijn/config-release-expo@peakfijn/config-release-laravel@peakfijn/expo-semantic-release@healform/liquidvue-material-3webiny-semantic-release@geprog/semantic-release-config@govbr-ds/config-tools@govbr-ds/release-config@guiseek/tool-release@guruhotel/aura-ui@guruhotel/engine-gateway@guruhotel/external-checkout@guruhotel/aura-hooks@goraxe/semantic-release@googlemaps/semantic-release-config@halkeye/helm-semantic-release-config@halospv3/hce.shared-config@html-validate/semantic-release-config@marketplacer/selective-changelog-generator@lx-frontend/release-config@sergeyzwezdin/semantic-release-commits-config@joshunrau/semantic-release-configrhys.hoadscratch-semantic-release-configt1t4n-releasetonfura-sdktravis-semantic-releasesan-ssrsemantic-actionsemantic-release-configsemantic-release-config-aristeksemantic-release-expo-npm-github-publishsemantic-release-flexsemantic-releasesemantic-release-no-travissemantic-release-node-prepsemantic-release-changelog-updatesemantic-release-notessemantic-release-npm-configsemantic-release-npm-githubsemantic-release-plussemantic-release-github-configsemantic-release-jira-listersemantic-release-jira-notessemantic-release-githubsquashsemantic-release-config-xeroxshared-node-library-devtemp-semantic-release-debugtest-auto-package-releasestarwars-names-kshzhsemantic-sf-releasesemantic-release-versioning-testsemantic-release-wo-notessemantic-release-pr-analyzersemantic-release-ramkraosemantic-release-tsheets-testsemantic-release-unsquashsemantic-release-preconfigured-conventional-commitssemantic-release-pulsar-configsemantic-release-squashsemantic-release-squash3semantic-release-scriptssemantic-release-sharedtest-release-actionspire-plugin-semantic-releasessh-dev-scriptsss-logging-toolsr-gh-study@kocal/semantic-release-presetevg-elama-test-semantic-npm@koyfin/message-bus@linx-digital/semantic-release-npm-github-configfe-antd-wealth-mgt@linters/semantic-release@lingshugroup/web
13.0.0

1 month ago

12.0.0-beta.2

8 months ago

12.0.0-beta.3

7 months ago

12.0.0-beta.1

8 months ago

12.0.0

7 months ago

12.0.1

6 months ago

11.0.6

8 months ago

11.0.7

8 months ago

11.0.4

10 months ago

11.0.5

8 months ago

12.1.0

6 months ago

11.0.2

11 months ago

11.0.3

11 months ago

11.0.0

12 months ago

11.0.1

12 months ago

10.0.3

2 years ago

10.0.0

3 years ago

10.0.1

3 years ago

10.0.2

3 years ago

10.0.0-beta.2

3 years ago

10.0.0-beta.1

3 years ago

9.0.3

3 years ago

9.0.2

3 years ago

9.0.1

4 years ago

9.0.0

4 years ago

8.0.0

4 years ago

7.3.5

4 years ago

7.3.4

4 years ago

7.3.3

4 years ago

7.3.2

5 years ago

7.3.1

5 years ago

7.3.0

5 years ago

7.2.1

5 years ago

7.2.0

5 years ago

7.1.7

5 years ago

7.1.6

5 years ago

7.1.5

5 years ago

7.1.4

5 years ago

7.1.3

5 years ago

7.1.2

6 years ago

7.1.1

6 years ago

7.1.0

6 years ago

7.0.2

6 years ago

7.0.1

6 years ago

7.0.0

6 years ago

6.1.1

6 years ago

6.1.0

6 years ago

6.0.12

6 years ago

6.0.11

6 years ago

6.0.10

6 years ago

6.0.9

6 years ago

6.0.8

6 years ago

6.0.7

6 years ago

6.0.6

6 years ago

6.0.5

6 years ago

6.0.4

6 years ago

6.0.3

6 years ago

6.0.2

6 years ago

6.0.1

6 years ago

6.0.0

6 years ago

5.1.1

6 years ago

5.1.0

6 years ago

5.0.2

6 years ago

5.0.1

6 years ago

5.0.0

6 years ago

4.0.5

7 years ago

4.0.4

7 years ago

4.0.3

7 years ago

4.0.2

7 years ago

4.0.1

7 years ago

4.0.0

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago

2.0.0

9 years ago

1.0.0

9 years ago