Packages

simple-git

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

Upgrading simple-git From 3.36.0 to 4.0.1

2 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 3.36.0Latest4.1.0
  1. 3.36.0yours
  2. 4.0.0major
  3. 4.0.1target

Before you upgrade

Tick each one off as you go
  • Breaking4.0.0
  • Breaking4.0.0

Security

Release by release

  1. 4.0.1

    25 Sep 20261 fix
    • Fixed

      Prepare package.json before publishing.

  2. 4.0.0

    Migration needed25 Sep 20262 new · 1 fix
    • Breaking

      Removed previously available default export, now uses a consistently named simpleGit export.

    • Breaking

      Removed legacy gitP export (change to using the main simpleGit export).

    • New

      Support one-shot stdin via git.input(data) (string or Buffer).

    • New

      Add allowUnsafeExec detection to rebase -x and rebase --exec.

    • Fixed

      Parse binary rename entries without byte counts in diff summaries.

1 other line we could not sort, mostly version bumps
  • Removed previously deprecated import simple-git/promise (change to using the main simple-git import).

    4.0.0

1 internal line (docs, tests, tooling) left out.

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.