Packages

simple-git

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

Upgrading simple-git From 2.5.0 to 2.6.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.5.0Newest 2.x2.48.0Clears its 8 advisories4.0.0Latest4.1.0
  1. 2.5.0yours
  2. 2.6.0target
0
changes to make
0
advisories fixed
0
new
0
fixes

Security

7 other lines we could not sort, mostly version bumps
  • TL;DR - .then and .catch can now be called on the standard simpleGit chain to handle the promise returned by the most recently added task... essentially, promises now just work the way you would expect them to.

    2.6.0
  • The main export from simple-git no longer shows the deprecation notice for using the .then function, it now exposes the promise chain generated from the most recently run task, allowing the combination of chain building and ad-hoc splitting off to a new promise chain.

    2.6.0
  • Promise / async interface and TypeScript types all available from the simple-git import rather than needing simple-git/promise, see examples in the ReadMe or in the consumer tests.

    2.6.0
  • Tasks that previously validated their usage and rejected with a TypeError will now reject with a TaskConfigurationError.

    2.6.0
  • Tasks that previously rejected with a custom object (currently only git.merge when the auto-merge fails) will now reject with a GitResponseError where previously it was a modified Error.

    2.6.0
  • git.clean(...) will now return a CleanSummary instead of the raw string data

    2.6.0
  • git.raw(...) now accepts any number of leading string arguments as an alternative to the single array of strings.

    2.6.0

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.