Repository navigation
Version Packages - #1207
Merged
Merged
Version Packages#1207
Conversation
github-actions
Bot
force-pushed
the
changeset-release/main
branch
5 times, most recently
from
November 16, 2026 13:46
5296569 to
56c1069
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
November 16, 2026 17:18
56c1069 to
0b2e71b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@simple-git/argv-parser@3.0.0
Major Changes
vulnerabilityCheckexport, useparseArgv(...tokens).vulnerabilitiesandparseEnv(env).vulnerabilitiesinstead. Each vulnerability now also carries the
configKeyorenvKeythat triggered it.Minor Changes
df13aeb: Add the
allowConfigandstrictoptions. Configuration keys outside the built-in list of known-safe keys(
SAFE_CONFIG_KEYS) and the keys named inallowConfignow emit a one-offSIMPLE_GIT_UNLISTED_CONFIGwarning,or are rejected when
strict: trueis set. Known-unsafe keys can now be permitted individually throughallowConfig, and environment variables throughallowEnvironment, deprecating theunsafe.allowUnsafe*optionsthat only covered configuration keys or environment variables (they continue to work as before).
a996f0f: Thanks to @manus-pi and @eliteaja11-dev for submitting CVE proposals that contributed to these changes.
When the recommended checks are enabled (with
unsafe.recommended: trueorstrict: true),HOMEandXDG_CONFIG_HOMEsupplied through
.env()with a value other than the one inprocess.envrequireallowUnsafeConfigPaths(or naming them in
allowEnvironment), asgitreads the global configuration from$HOME/.gitconfigand$XDG_CONFIG_HOME/git/configin the same way asGIT_CONFIG_GLOBAL. Passing the inherited value through is unaffected,and neither is removed from the inherited environment.
parseEnvaccepts the inherited environment as an optional second argument, used to compareHOMEandXDG_CONFIG_HOMEagainst.isGuardedEnvKeyis now exported from@simple-git/argv-parser, identifying the environment variables(
GIT_*and the othersgitreads, such asEDITORandPAGER) thatsimple-gitremoves from an inheritedenvironment.
c8ee6bb: Vulnerability reports:
With thanks to @manus-pi, @manus-use, @ba-am, @mspiq, @hoseinenddev, @freyesperales, @dalberrt,
@zer0d4y5, @gamster01, @humaneBicycle, @Hama1cco, @eliteaja11-dev, @Cone-Tester, @Figo5, @MalwareEZ,
@zachariah-mithani, @shaswata56, @Akokonunes for submitting CVE proposals that contributed to these changes.
.cmdorcommandunder the catch-allallowUnsafeCommandBinariessetting (only enforced with the newunsafe.recommendedoption, orstrict), and blockinggpg.ssh.defaultKeyCommandunderallowUnsafeGpgProgram.allowUnsafePagerwill now catch setting a custom binary ingit grep --open-files-in-pager.allowUnsafePagernow also coversinteractive.diffFilter, the shell command thatgit add -pand the other--patchcommands pipe their diff through.allowConfig)allowUnsafeSendEmailConfigoption covering thesendemail.*keys thatgit send-emailruns as commands, reads as files or uses to turn off certificate verification (sendmailCmd,toCmd,ccCmd,headerCmd,smtpServer,smtpServerOption,smtpSSLCertPath,smtpSSLClientCert,smtpSSLClientKey,aliasesFileandmailmap.file, including their per-identitysendemail.<identity>.*variants), and theimap.tunnel,imap.hostandimap.sslVerifykeys used bygit imap-send.allowConfig)allowUnsafeWebServerConfigoption covering theinstaweb.httpd,instaweb.modulePathandinstaweb.gitwebDirkeys used bygit instaweb.allowConfig)allowUnsafeBrowseroption covering thebrowser.<tool>.path,browser.<tool>.cmd,man.<tool>.pathandman.<tool>.cmdkeys used bygit helpandgit instawebto open a browser or man page viewer.browser.<tool>.cmdandman.<tool>.cmdwere previously covered byallowUnsafeCommandBinaries.allowConfig)allowUnsafeSignatureTrustoption coveringgpg.ssh.allowedSignersFile,gpg.ssh.revocationFileandgpg.minTrustLevel, which decide which signatures pass verification.allowUnsafePacknow blocks--execfor every command other thanrebase, as it names the remote program forpush,send-pack,fetch-pack,archive --remoteandls-remote(previously onlypush).allowUnsafeConfigRenameoption blockinggit config --rename-section/git config rename-section, which could move keys written under a harmless section name (eg:foo.fsmonitor) into one that runs commands (core.fsmonitor).allowUnsafeExecnow also covers thegit filter-branchoptions that run a shell command:--setup,--env-filter,--tree-filter,--index-filter,--parent-filter,--msg-filter,--commit-filterand--tag-name-filter.allowUnsafeDiffExternalnow also coversdifftool.<tool>.path, matchingmergetool.<tool>.pathunderallowUnsafeMergeDriver.df13aeb: Add
templateArgv,isTemplateStringsArray,remoteUrlandrefNamefor building agitargv from a taggedtemplate literal, where every interpolated value is treated as untrusted data.
simple-gituses these forgit.cmd.ddb5b6b: Add the
unsafe.recommendedoption, enabling the checks that use broader catch-all rules (such as any configurationkey ending in
.cmdorcommandunderallowUnsafeCommandBinaries). Defaults tofalse, and is implied bystrict: true. It will default totruein the next major version.Each
Vulnerabilityreported by@simple-git/argv-parsernow carries alevelofdefaultfor explicitlyidentified risks, or
recommendedfor those caught by a catch-all rule. TheVulnerabilityLeveltype is exported.simple-git@4.1.0
Minor Changes
df13aeb: Add the
allowConfigandstrictoptions. Configuration keys outside the built-in list of known-safe keys(
SAFE_CONFIG_KEYS) and the keys named inallowConfignow emit a one-offSIMPLE_GIT_UNLISTED_CONFIGwarning,or are rejected when
strict: trueis set. Known-unsafe keys can now be permitted individually throughallowConfig, and environment variables throughallowEnvironment, deprecating theunsafe.allowUnsafe*optionsthat only covered configuration keys or environment variables (they continue to work as before).
4137780: The custom binary (the first string of the
binaryoption orgit.customBinary()) may now contain spaceswhen it looks like a path to a file, for example
C:\Program Files\Git\bin\git.exe. The value must includea path separator and no part of the path may start or end with a space. The prefix (the optional second string)
remains limited to the existing restricted character set, as it is passed to the binary as its first argument.
df13aeb: Add
git.cmdfor running commands written as tagged template literals, where every interpolated value istreated as untrusted data that can't add options, set configuration keys or select a remote helper transport.
Add the
remoteUrl()andrefName()value wrappers for stricter validation of interpolated values.a996f0f: Thanks to @manus-pi and @eliteaja11-dev for submitting CVE proposals that contributed to these changes.
When the recommended checks are enabled (with
unsafe.recommended: trueorstrict: true),HOMEandXDG_CONFIG_HOMEsupplied through
.env()with a value other than the one inprocess.envrequireallowUnsafeConfigPaths(or naming them in
allowEnvironment), asgitreads the global configuration from$HOME/.gitconfigand$XDG_CONFIG_HOME/git/configin the same way asGIT_CONFIG_GLOBAL. Passing the inherited value through is unaffected,and neither is removed from the inherited environment.
parseEnvaccepts the inherited environment as an optional second argument, used to compareHOMEandXDG_CONFIG_HOMEagainst.isGuardedEnvKeyis now exported from@simple-git/argv-parser, identifying the environment variables(
GIT_*and the othersgitreads, such asEDITORandPAGER) thatsimple-gitremoves from an inheritedenvironment.
86fadaa: Settle on the use of
strictto refer to thesimpleGitconfiguration setting to enable strict controls,applying to both Git impacting environment variables and writing to the Git config.
Use of the
strictmode also implies the use ofunsafe.recommendedc8ee6bb: Vulnerability reports:
With thanks to @manus-pi, @manus-use, @ba-am, @mspiq, @hoseinenddev, @freyesperales, @dalberrt,
@zer0d4y5, @gamster01, @humaneBicycle, @Hama1cco, @eliteaja11-dev, @Cone-Tester, @Figo5, @MalwareEZ,
@zachariah-mithani, @shaswata56, @Akokonunes for submitting CVE proposals that contributed to these changes.
.cmdorcommandunder the catch-allallowUnsafeCommandBinariessetting (only enforced with the newunsafe.recommendedoption, orstrict), and blockinggpg.ssh.defaultKeyCommandunderallowUnsafeGpgProgram.allowUnsafePagerwill now catch setting a custom binary ingit grep --open-files-in-pager.allowUnsafePagernow also coversinteractive.diffFilter, the shell command thatgit add -pand the other--patchcommands pipe their diff through.allowConfig)allowUnsafeSendEmailConfigoption covering thesendemail.*keys thatgit send-emailruns as commands, reads as files or uses to turn off certificate verification (sendmailCmd,toCmd,ccCmd,headerCmd,smtpServer,smtpServerOption,smtpSSLCertPath,smtpSSLClientCert,smtpSSLClientKey,aliasesFileandmailmap.file, including their per-identitysendemail.<identity>.*variants), and theimap.tunnel,imap.hostandimap.sslVerifykeys used bygit imap-send.allowConfig)allowUnsafeWebServerConfigoption covering theinstaweb.httpd,instaweb.modulePathandinstaweb.gitwebDirkeys used bygit instaweb.allowConfig)allowUnsafeBrowseroption covering thebrowser.<tool>.path,browser.<tool>.cmd,man.<tool>.pathandman.<tool>.cmdkeys used bygit helpandgit instawebto open a browser or man page viewer.browser.<tool>.cmdandman.<tool>.cmdwere previously covered byallowUnsafeCommandBinaries.allowConfig)allowUnsafeSignatureTrustoption coveringgpg.ssh.allowedSignersFile,gpg.ssh.revocationFileandgpg.minTrustLevel, which decide which signatures pass verification.allowUnsafePacknow blocks--execfor every command other thanrebase, as it names the remote program forpush,send-pack,fetch-pack,archive --remoteandls-remote(previously onlypush).allowUnsafeConfigRenameoption blockinggit config --rename-section/git config rename-section, which could move keys written under a harmless section name (eg:foo.fsmonitor) into one that runs commands (core.fsmonitor).allowUnsafeExecnow also covers thegit filter-branchoptions that run a shell command:--setup,--env-filter,--tree-filter,--index-filter,--parent-filter,--msg-filter,--commit-filterand--tag-name-filter.allowUnsafeDiffExternalnow also coversdifftool.<tool>.path, matchingmergetool.<tool>.pathunderallowUnsafeMergeDriver.ddb5b6b: Add the
unsafe.recommendedoption, enabling the checks that use broader catch-all rules (such as any configurationkey ending in
.cmdorcommandunderallowUnsafeCommandBinaries). Defaults tofalse, and is implied bystrict: true. It will default totruein the next major version.Each
Vulnerabilityreported by@simple-git/argv-parsernow carries alevelofdefaultfor explicitlyidentified risks, or
recommendedfor those caught by a catch-all rule. TheVulnerabilityLeveltype is exported.Patch Changes
@simple-git/test-javascript-cjs-consumer@1.0.5
Patch Changes
@simple-git/test-javascript-esm-consumer@1.0.5
Patch Changes
@simple-git/test-typescript-cjs-consumer@1.0.5
Patch Changes
@simple-git/test-typescript-esm-consumer@1.0.5
Patch Changes
@simple-git/test-typescript-strict-cjs-consumer@1.0.5
Patch Changes
@simple-git/test-typescript-strict-esm-consumer@1.0.5
Patch Changes