v7.0.0
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:')}\n`)
);
);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:')}\n`]
);
);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- V7 Release #406 (@hipstersmoothie)
auto,@auto-it/core,@auto-it/npm,@auto-it/omit-commits,@auto-it/omit-release-notes,@auto-it/released,@auto-it/slack- switch auto.args to auto.options on core #432 (@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- Use @auto-it scope #428 (@hipstersmoothie)
@auto-it/core,@auto-it/omit-commits- Change filter-accounts plugin to omit-commits plugin #425 (@hipstersmoothie)
@auto-it/core,@auto-it/released,@auto-it/slack- afterRelease returns an object so future updates will be easier #420 (@hipstersmoothie)
auto,@auto-it/core- Rename
auto prtoauto pr-status#413 (@hipstersmoothie)
- Rename
auto,@auto-it/core,@auto-it/chrome,@auto-it/conventional-commits,@auto-it/jira,@auto-it/npm,@auto-it/released,@auto-it/slack- Restructure to Monorepo #410 (@hipstersmoothie)
🚀 Enhancement
@auto-it/core,@auto-it/omit-commits,@auto-it/omit-release-notes- new hook: omit prs from release notes + add omit-release-notes plugin #427 (@hipstersmoothie)
@auto-it/core,@auto-it/released,@auto-it/slack,@auto-it/twitter,@auto-it/upload-assets- Add Twitter Plugin #422 (@hipstersmoothie)
@auto-it/core,@auto-it/upload-assets- add upload assets plugin #421 (@hipstersmoothie)
auto,@auto-it/core- Bundle
autofor all major platforms #418 (@hipstersmoothie)
- Bundle
🐛 Bug Fix
- add docs about omitReleaseNotes (@hipstersmoothie)
- run the correct command (@hipstersmoothie)
- start (@hipstersmoothie)
auto,@auto-it/core- fix bundling plugin issue #435 (@hipstersmoothie)
@auto-it/core,@auto-it/npm- Various Bug Fixes #434 (@hipstersmoothie)
@auto-it/core,@auto-it/upload-assets- rename ghub to github (@hipstersmoothie)
@auto-it/omit-commits- fix build (@hipstersmoothie)
@auto-it/core- fix problem where pr-body would only match after two were rendered #431 (@hipstersmoothie)
@auto-it/npm- Parse monorepo packages outside of
packagesdirectory #411 (@hipstersmoothie)
- Parse monorepo packages outside of
- Update docs/pages/plugins.md
Co-Authored-By: Justin Bennett zephraph@gmail.com (@hipstersmoothie)
🏠 Internal
- Add monorepo plugin create command #430 (@hipstersmoothie)
- Split args type between core and cli #416 (@hipstersmoothie)
auto,@auto-it/core,@auto-it/released- Split args type between core and cli #416 (@hipstersmoothie)
🔩 Dependency Updates
- Update @types/node-fetch to the latest version 🚀 #426 (@greenkeeper[bot])
- Update node-fetch to the latest version 🚀 #423 (@greenkeeper[bot])
- Update cosmiconfig to the latest version 🚀 #417 (@greenkeeper[bot])
⚠️ Pushed to master
- fix bundle step, must gzip correct folder (@hipstersmoothie)
Authors: 2
- Andrew Lisowski (@hipstersmoothie)
- @greenkeeper[bot]