simple-git breaking changes
simple-git 4.1.0 (November 16, 2026) is its newest release with breaking changes, 11 of them. The first: Behavior changed allowUnsafeCommandBinaries. Every breaking API change we have recorded in simple-git on npm: 122 breaking changes in 8 versions. Below, its 8 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.1.0, released November 16, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 3.36.0 to 4.1.0: 105 breaking changes in 4 versions.
- From 3.32.0 to 4.1.0: 121 breaking changes in 7 versions.
simple-git 4.1.0 breaking changes
- Behavior changed
allowUnsafeCommandBinaries
Any config key ending in .cmd or command is now checked under allowUnsafeCommandBinaries when unsafe.recommended or strict is on, which can block existing configuration. github.com - Behavior changed
allowUnsafeConfigRename
git config --rename-section and git config rename-section are now blocked by allowUnsafeConfigRename, so code using them may fail unless allowed. github.com - Behavior changed
allowUnsafeDiffExternal
difftool.<tool>.path is now covered by allowUnsafeDiffExternal, so code that sets it must be allowed explicitly. github.com - Behavior changed
allowUnsafeExec
The filter-branch options that run shell commands are now blocked unless allowed, so code using them must enable allowUnsafeExec. github.com - Behavior changed
allowUnsafeGpgProgram
The gpg.ssh.defaultKeyCommand key is blocked under allowUnsafeGpgProgram, so code relying on it must allow it explicitly. github.com - Behavior changed
allowUnsafePack
The --exec option is now blocked for push, send-pack, fetch-pack, archive --remote and ls-remote as well, so code using it there must be allowed explicitly. github.com - Behavior changed
allowUnsafePager
Setting interactive.diffFilter is now covered by allowUnsafePager, so code that sets it without allowing it will be blocked. github.com - Behavior changed
browser.<tool>.cmd
browser.<tool>.cmd and man.<tool>.cmd are now governed by allowUnsafeBrowser rather than allowUnsafeCommandBinaries, so existing allowances may need updating. github.com - Behavior changed
env
With the recommended checks enabled, HOME or XDG_CONFIG_HOME passed through .env() with a value different from process.env must be allowed with allowUnsafeConfigPaths or allowEnvironment. github.com - Behavior changed
strict
Configuration keys outside the built-in safe list and not named in allowConfig now emit a warning. With strict: true they are rejected, so code relying on them must add them to allowConfig. github.com - Signature changed
SimpleGitOptions.unsafe
Was unsafe: Partial<VulnerabilityCategoryFlags & {allowUnsafeCustomBinary: boolean; allowAbbreviatedOptions: boolean;}>; now unsafe: Partial<VulnerabilityCategoryFlags & {recommended: boolean; allowUnsafeCustomBinary: boolean... npmjs.com
simple-git 4.0.2 breaking changes
- Behavior changed
allowUnsafeEditor
The VISUAL environment variable is added to the set of environment variables that allowUnsafeEditor covers. Code that relies on VISUAL to set the editor may now be affected and should review its editor configuration. github.com
simple-git 4.0.1 breaking changes
- Signature changed
simpleGit
Was export {simpleGit} from './src/lib/git-factory'; now const simpleGit: SimpleGitFactory. npmjs.com
simple-git 4.0.0 breaking changes
- Removed
Import the named simpleGit export instead of the default export. github.com - Removed
ApplyOptions
ApplyOptions was removed in simple-git 4.0.0 npmjs.com - Removed
BranchDeletionBatchSummary
BranchDeletionBatchSummary was removed in simple-git 4.0.0 npmjs.com - Removed
BranchDeletionSummary
BranchDeletionSummary was removed in simple-git 4.0.0 npmjs.com - Removed
BranchMultiDeleteResult
BranchMultiDeleteResult was removed in simple-git 4.0.0 npmjs.com - Removed
BranchSingleDeleteFailure
BranchSingleDeleteFailure was removed in simple-git 4.0.0 npmjs.com - Removed
BranchSingleDeleteResult
BranchSingleDeleteResult was removed in simple-git 4.0.0 npmjs.com - Removed
BranchSingleDeleteSuccess
BranchSingleDeleteSuccess was removed in simple-git 4.0.0 npmjs.com - Removed
BranchSummary
BranchSummary was removed in simple-git 4.0.0 npmjs.com - Removed
BranchSummaryBranch
BranchSummaryBranch was removed in simple-git 4.0.0 npmjs.com
And 82 more in this version. Sign up to see every change
simple-git 3.36.0 breaking changes
- Removed
SimpleGitOptions.unsafe.allowUnsafeCustomBinary
SimpleGitOptions.unsafe.allowUnsafeCustomBinary was removed in simple-git 3.36.0 npmjs.com - Removed
SimpleGitOptions.unsafe.allowUnsafeDiffExternal
SimpleGitOptions.unsafe.allowUnsafeDiffExternal was removed in simple-git 3.36.0 npmjs.com - Removed
SimpleGitOptions.unsafe.allowUnsafeFsMonitor
SimpleGitOptions.unsafe.allowUnsafeFsMonitor was removed in simple-git 3.36.0 npmjs.com - Removed
SimpleGitOptions.unsafe.allowUnsafeGitProxy
SimpleGitOptions.unsafe.allowUnsafeGitProxy was removed in simple-git 3.36.0 npmjs.com - Removed
SimpleGitOptions.unsafe.allowUnsafeHooksPath
SimpleGitOptions.unsafe.allowUnsafeHooksPath was removed in simple-git 3.36.0 npmjs.com - Removed
SimpleGitOptions.unsafe.allowUnsafePack
SimpleGitOptions.unsafe.allowUnsafePack was removed in simple-git 3.36.0 npmjs.com - Removed
SimpleGitOptions.unsafe.allowUnsafeProtocolOverride
SimpleGitOptions.unsafe.allowUnsafeProtocolOverride was removed in simple-git 3.36.0 npmjs.com - Removed
SimpleGitOptions.unsafe.allowUnsafeSshCommand
SimpleGitOptions.unsafe.allowUnsafeSshCommand was removed in simple-git 3.36.0 npmjs.com - Behavior changed
simple-git now blocks additional known exploitable configuration keys and per-task environment variables, including core.fsmonitor, GIT_CONFIG_COUNT, and template or merge related config. Code that passes these may now be rejected. github.com - Signature changed
SimpleGitOptions.unsafe
Was unsafe: {allowUnsafeCustomBinary?: boolean; allowUnsafeProtocolOverride?: boolean; allowUnsafePack?: boolean; allowUnsafeSshCommand?: boolean; allowUnsafeGitProxy?: boolean; allowUnsafeHooksPath?: boolean; allowUnsafeDiffExternal?... npmjs.com
simple-git 3.34.0 breaking changes
- Removed
pathspec
pathspec was removed in simple-git 3.34.0 npmjs.com - Signature changed
SimpleGitOptions.unsafe
Was unsafe: {allowUnsafeCustomBinary?: boolean; allowUnsafeProtocolOverride?: boolean; allowUnsafePack?: boolean; allowUnsafeSshCommand?: boolean; allowUnsafeGitProxy?: boolean; allowUnsafeHooksPath?: boolean; allowUnsafeDiffExternal?... npmjs.com
Older versions
2 older versions, each with its first changes. Sign up to see every change
Show 2 older versions
simple-git 3.33.0 breaking changes
- Behavior changed
The unsafe plugin now performs stricter checks on git -c options, so some configurations that were previously accepted may now be rejected. github.com - Behavior changed
git.clone
git.clone now passes remote and local paths through pathspec wrappers, which can change how unusual path values are interpreted. Check calls that pass unsanitised or specially formatted paths. github.com
And 2 more in this version.
simple-git 3.32.0 breaking changes
- Behavior changed
unsafe
The unsafe plugin now also blocks cases where the -u switch is disguised alongside other single-character options. Code that passed such arguments will now be blocked and must use a safe form of the command. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.