Semantic-release plugin to generate changelog content with conventional-changelog
Generate Markdown release notes from conventional commit metadata and release context using a configurable changelog writer.
feat and fix, render release notes that start with a compare range for the tags and include separate sections titled "Features" and "Bug Fixes" containing each commit's scope (if present), subject, and a link to the commit hash. @test.git) so compare and commit links in the release notes point to HTTPS URLs using the detected owner/repo path. @testchore to "Maintenance" and suppresses test commits, the rendered notes include a "Maintenance" section for chore entries and omit test-related commits entirely. @test@generates
export type ConventionalCommit = {
type: string;
scope?: string | null;
subject: string;
hash: string;
notes?: Array<{ title?: string; text: string }>;
references?: Array<{ issue?: string | number; action?: string; prefix?: string }>;
};
export type ReleaseContext = {
repositoryUrl: string;
previousTag: string;
currentTag: string;
host?: string;
owner?: string;
repository?: string;
compareUrlFormat?: string;
commitUrlFormat?: string;
};
export type SectionOverrides = {
[type: string]: string | false;
};
export interface ReleaseNotesOptions {
commits: ConventionalCommit[];
context: ReleaseContext;
sectionOverrides?: SectionOverrides;
}
export function generateReleaseNotes(options: ReleaseNotesOptions): Promise<string>;Transforms conventional commit metadata into Markdown release notes using changelog writer configurations. @satisfied-by
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