Packages

simple-git

4.1.0 · 16 Nov 2026MIT15.5M / weekRepositorynpmAtom feed

Your version

2.11.0

25 Jun 2020Where it was published

2.48.0 is the newest release of 2.x.

In short

1 new2 fixed

Security

8 advisories affect 2.11.0; 3.36.0 fixes the others

3 more

Release note

The section about simple-git of a note shared by several packages.

2.11.0 - Parallel / concurrent tasks, fresh repo status parser & bug-fix in checkoutLocalBranch

  • Until now, simple-git reject all pending tasks in the queue when a task has failed. From 2.11.0, only
    tasks chained from the failing one will be rejected, other tasks can continue to be processed as normal,
    giving the developer more control over which tasks should be treated as atomic chains, and which can be
    run in parallel.

    To support this, and to prevent the issues seen when git is run concurrently in too many child processes,
    simple-git will limit the number of tasks running in parallel at any one time to be at most 1 from each
    chain (ie: chained tasks are still run in series) and at most 5 tasks across all chains (
    configurable by passing {maxConcurrentProcesses: x} in the simpleGit constructor).

  • Add support to git.status() for parsing the response of a repo that has no commits yet, previously
    it wouldn't determine the branch name correctly.

  • Resolved a flaw introduced in 2.9.0 whereby checkoutLocalBranch would silently fail and not check out the branch

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.