v7.0.0 (Fri May 17 2019)
Release Notes
_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"]
]
}
Plugin Authors
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"]
]
}
💥 Breaking Change
- Factor out filter accounts plugin #409 (@hipstersmoothie)
- Move jira functionality to plugin #408 (@hipstersmoothie)
- Move slack functionality to a plugin #407 (@hipstersmoothie)
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
, @auto-it/core
, @auto-it/chrome
, @auto-it/conventional-commits
, @auto-it/jira
, @auto-it/npm
, @auto-it/released
, @auto-it/slack
🚀 Enhancement
@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
🐛 Bug Fix
- add docs about omitReleaseNotes (@hipstersmoothie)
- run the correct command (@hipstersmoothie)
- start (@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
- Update docs/pages/plugins.md
Co-Authored-By: Justin Bennett zephraph@gmail.com (@hipstersmoothie)
🏠 Internal
🔩 Dependency Updates
Authors: 2