Skip to content

Conversation

@greenkeeper
Copy link
Contributor

@greenkeeper greenkeeper bot commented Aug 24, 2018

Version 4.0.0 of concurrently was just published.

Dependency concurrently
Current Version 3.6.1
Type devDependency

The version 4.0.0 is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

It might be worth looking into these changes and trying to get this project onto the latest version of concurrently.

If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don’t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.


Release Notes v4.0.0

More than anything, v4 is just a big refactor to allow changes to be made faster and more reliably.
It does feature some small breaking changes, and maybe even fixes some longstanding bugs.

Breaking changes

  • The CLI option --allow-restarts is no more.
    Instead, just set --restart-tries to something greater than 0.
  • Input handling is now opt-in via --handle-input flag. (#147)
    It does come with some specific input parsing that would make it difficult for you to use it.
  • Setting prefix to none will now actually not prefix commands' outputs.
    Previously, it would prefix with [].
  • SIGINTs/Ctrl+C will now be handled gracefully. (#150)
    No more exiting with code 1 or tweaking --success flag.

No more null exit codes (#133)

That's a pretty bad bug that existed till now. You won't see a log like this anymore:

[1] npm run lint-watch exited with code null

What you will see going forward is the actual exit signal:

[1] npm run lint-watch exited with code SIGTERM

concurrently finally gets a shiny ✨ programmatic API!

Closes #101, #112. Maybe even #103.

const concurrently = require('concurrently');
await concurrently([
	'npm:watch-*',
	{ name: 'server', command: 'nodemon' }
], {
  prefix: 'name',
  killOthers: ['failure'],
  restartTries: 3
});

Check the docs here for some info on how to use it.

Commits

The new version differs by 28 commits.

  • 3690676 4.0.0
  • b4e414c npm: update and remove some deps
  • 4043fc2 Exit gracefully on SIGINT (#164)
  • b1daf8d logger: show no prefix when the format is none
  • 58d7d97 Take options such as prefixLength and outputStream
  • 1d0598a docs: add programmatic API usage
  • 571671b Add missing export of LogExit
  • 7ac9b6e Remove unused RxJS schedulers
  • caa23b3 bin: change tested exit code to 1 on Windows (#163)
  • bfd7501 ci: run AppVeyor on Node 10
  • adcc0b5 Merge pull request #157 from kimmobrunfeldt/v4
  • 0e60d2d docs: move the why section to the top
  • b136183 docs: update help section
  • c127d92 Add support for prefix length (#162)
  • daddad1 bin: don't check order of lines emitted

There are 28 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 🌴

@coveralls
Copy link

Pull Request Test Coverage Report for Build 387

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 95.758%

Totals Coverage Status
Change from base Build 385: 0.0%
Covered Lines: 80
Relevant Lines: 80

💛 - Coveralls

@thebuilder thebuilder merged commit 50fe30e into master Aug 25, 2018
@greenkeeper greenkeeper bot deleted the greenkeeper/concurrently-4.0.0 branch August 25, 2018 13:10
johnrackles pushed a commit to johnrackles/react-intersection-observer that referenced this pull request Feb 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants