simple-git
4.1.0 · 16 Nov 2026MIT15.5M / weekRepositorynpmAtom feed
Upgrading simple-git From 2.10.0 to 2.11.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Security
8 advisories still affect 2.11.0
- Command injection in simple-githigh · GHSA-28xr-mwxg-3qc8
- Command injection in simple-githigh · GHSA-3f95-r44v-8mrg
- simple-git: unsafe-operations plugin bypass via git long-option abbreviation (--receive-p/--exe) -> command execution (residual of CVE-2026-28291)high · GHSA-858h-whjf-mvg5
Upgrading to 4.0.0 clears them.
Release by release
- New
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. - Fixed
Until now,
simple-gitreject all pending tasks in the queue when a task has failed. From2.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. - Fixed
Resolved a flaw introduced in
2.9.0wherebycheckoutLocalBranchwould silently fail and not check out the branch
- New
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.