@auto-it/released
Advanced tools
Changelog
v7.0.1 (Sat May 18 2019)
@auto-it/core
auto
Changelog
v7.0.0 (Fri May 17 2019)
_From #420_
old `afterRelease`
auto.hooks.afterRelease.tap(
"MyPlugin",
async (version, commits, releaseNotes) => {
// do something
}
);
new afterRelease
auto.hooks.afterRelease.tap( 'MyPlugin', async ({ version, commits, releaseNotes, response }) => {
// do something
);
From #408
Previously a user would have the following configuration in their `.autorc`:
{
"jira": "https://url-to-jira"
}
this should be changed to:
{
"plugins": [
["jira", { "url": "https://url-to-jira" }],
// or
["jira", "https://url-to-jira"]
]
}
If you are a plugin author that uses the renderChangelogLine
hook you must change your usage.
Before it was a bail hook. meaning on 1 plugin could effect the changelog message. The first to return would be the message.
auto.hooks.onCreateChangelog.tapPromise('Stars', changelog =>
changelog.hooks.renderChangelogLine.tapPromise(
'Stars',
async (commits, renderLine) =>
commits.map(commit => `${renderLine(commit).replace('-', ':star:')}
`)
);
);
Now it is a waterfall hook. Each plugin has the chance to change the commit message in some way, but it must return the args for the next plugin in the waterfall.
auto.hooks.onCreateChangelog.tapPromise('Stars', changelog =>
changelog.hooks.renderChangelogLine.tapPromise(
'Stars',
async (commit, line) =>
[commit, `${line.replace('-', ':star:')}
`]
);
);
From #407
Previously a user would have the following configuration in their `.autorc`:
{
"slack": "https://url-to-slack"
}
this should be changed to:
{
"plugins": [
["slack", { "url": "https://url-to-your-slack-hook.com" }],
// or
["slack", "https://url-to-your-slack-hook.com"]
]
}
auto
, @auto-it/core
, @auto-it/chrome
, @auto-it/conventional-commits
, @auto-it/jira
, @auto-it/npm
, @auto-it/omit-commits
, @auto-it/omit-release-notes
, @auto-it/released
, @auto-it/slack
, @auto-it/twitter
, @auto-it/upload-assets
auto
, @auto-it/core
, @auto-it/npm
, @auto-it/omit-commits
, @auto-it/omit-release-notes
, @auto-it/released
, @auto-it/slack
auto
, @auto-it/core
, @auto-it/chrome
, @auto-it/conventional-commits
, @auto-it/jira
, @auto-it/npm
, @auto-it/omit-commits
, @auto-it/omit-release-notes
, @auto-it/released
, @auto-it/slack
, @auto-it/twitter
, @auto-it/upload-assets
@auto-it/core
, @auto-it/omit-commits
@auto-it/core
, @auto-it/released
, @auto-it/slack
auto
, @auto-it/core
auto pr
to auto pr-status
#413 (@hipstersmoothie)auto
, @auto-it/core
, @auto-it/chrome
, @auto-it/conventional-commits
, @auto-it/jira
, @auto-it/npm
, @auto-it/released
, @auto-it/slack
@auto-it/core
, @auto-it/omit-commits
, @auto-it/omit-release-notes
@auto-it/core
, @auto-it/released
, @auto-it/slack
, @auto-it/twitter
, @auto-it/upload-assets
@auto-it/core
, @auto-it/upload-assets
auto
, @auto-it/core
auto
for all major platforms #418 (@hipstersmoothie)auto
, @auto-it/core
@auto-it/core
, @auto-it/npm
@auto-it/core
, @auto-it/upload-assets
@auto-it/omit-commits
@auto-it/core
@auto-it/npm
packages
directory #411 (@hipstersmoothie)Co-Authored-By: Justin Bennett zephraph@gmail.com (@hipstersmoothie)
auto
, @auto-it/core
, @auto-it/released