Socket
Socket
Sign inDemoInstall

@auto-it/core

Package Overview
Dependencies
40
Maintainers
1
Versions
974
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
94959798Next

7.0.1

Diff

Changelog

Source

v7.0.1 (Sat May 18 2019)

🐛 Bug Fix
  • @auto-it/core
    • fix changelog indentation #438 (@hipstersmoothie)
🏠 Internal
Authors: 1

alisowski
published 7.0.1-canary.438.5781.2 •

alisowski
published 7.0.1-canary.5763.0 •

alisowski
published 7.0.0 •

Changelog

Source

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

Co-Authored-By: Justin Bennett zephraph@gmail.com (@hipstersmoothie)

🏠 Internal
🔩 Dependency Updates
Authors: 2

alisowski
published 6.5.2-canary.406.5750.27 •

alisowski
published 6.5.2-canary.406.5744.26 •

alisowski
published 6.5.2-canary.435.5743.27 •

alisowski
published 6.5.2-canary.406.5732.27 •

alisowski
published 6.5.2-canary.434.5726.34 •

alisowski
published 6.5.2-canary.433.5720.33 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc