Semantic-release plugin to generate changelog content with conventional-changelog
Build a helper that produces release notes from conventional commits using preset-configured sections plus parser and writer overrides.
feat -> Features, fix -> Bug Fixes, and perf -> Performance Improvements, generated notes group commits under those headings while omitting commits whose types are not mapped. @test"[Perf] Trim startup costs" are parsed so they appear under the "Performance Improvements" section instead of being skipped. @test@generates
/**
* Generate release notes with custom sections.
* @param {Array<{message: string, hash?: string}>} commits - Conventional commit messages.
* @param {{
* presetConfig: { types: Array<{ type: string, section: string }> },
* parserOverrides?: object,
* writerOverrides?: object,
* context: {
* repositoryUrl: string,
* nextRelease: { version: string, gitTag: string, gitHead?: string },
* lastRelease?: { gitTag?: string, gitHead?: string }
* }
* }} options
* @returns {Promise<string>} Markdown release notes honoring the preset, parser, and writer overrides.
*/
export async function generateReleaseNotes(commits, options);Generates release notes from conventional commits with customizable preset, parser, and writer options.
tessl i tessl/npm-semantic-release--release-notes-generator@14.0.0docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10