googleapis / googleapis/release-please

feat: Pass down changelog notes configuration to changelog writer

Open
#1,902 3 comments 1 reaction 1 assignee Claimed by @chingor13 View on GitHub
help wanted needs design priority: p3 type: feature request
Dominant language
TypeScript
Stars
7.5k
Forks
588
Avg merge
12h 16m
Merged PRs (30d)
7

Description

Feature is somehow related to #1802, or at least comes from the same issue with `CHANGELOG.md`.

Currently it possible to pass those params to control how changelog file looks like
```
changelogSections?: ChangelogSection[];
changelogPath?: string;
changelogType?: ChangelogNotesType;
changelogHost?: string;
```
but we have 0 control over templates themselves

It would be great to have an ability to pass down to the changelog writer additional parameters
```
mainTemplate
headerPartial
commitPartial
footerPartial
partials
```
see [docs](https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-writer)

Current solution to my problem with prettier is to add `.prettierignore` configuration.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.