v10.0.0-next.1
Pre-release
Pre-release
Release Notes
From #1607
We were implementing the renderChangelogLine in a way that was more complex than needed
Previously the hook took a tuple and had to return a tuple
auto.hooks.onCreateChangelog.tapPromise('Stars', changelog =>
changelog.hooks.renderChangelogLine.tapPromise(
'Stars',
async ([commit, line]) =>
[commit, `${line.replace('-', ':star:')}\n`]
);
);Now it can just return the rendered changelog line
auto.hooks.onCreateChangelog.tapPromise('Stars', changelog =>
changelog.hooks.renderChangelogLine.tapPromise(
'Stars',
async (line, commit) => `${line.replace('-', ':star:')}\n`
);
);💥 Breaking Change
@auto-it/core,@auto-it/brew,@auto-it/chrome,@auto-it/cocoapods,@auto-it/crates,@auto-it/docker,@auto-it/exec,@auto-it/gem,@auto-it/git-tag,@auto-it/gradle,@auto-it/maven,@auto-it/npm- Run various hooks in a --dry-run #1604 (@hipstersmoothie)
@auto-it/core,@auto-it/jira,@auto-it/npm- correct renderChangelogLine hook usage #1607 (@hipstersmoothie)
Authors: 1
- Andrew Lisowski (@hipstersmoothie)