github intuit/auto v10.0.0-next.1

latest releases: v11.3.0, v11.2.1, v11.2.0...
pre-release4 years ago

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
  • @auto-it/core, @auto-it/jira, @auto-it/npm

Authors: 1

Don't miss a new auto release

NewReleases is sending notifications on new releases.