Repository navigation
refactor: Bump @semantic-release/git from 10.0.1 to 11.0.1 - #1943
Conversation
|
🚀 Thanks for opening this pull request! We appreciate your effort in improving the project. Please let us know once your pull request is ready for review. Tip
Note Please respond to review comments from AI agents just like you would to comments from a human reviewer. Let the reviewer resolve their own comments, unless they have reviewed and accepted your commit, or agreed with your explanation for why the feedback was incorrect. Caution Pull requests must be written using an AI agent with human supervision. Pull requests written entirely by a human will likely be rejected, because of lower code quality, higher review effort and the higher risk of introducing bugs. Please note that AI review comments on this pull request alone do not satisfy this requirement. Our CI and AI review are safeguards, not development tools. If many issues are flagged, rethink your development approach. Invest more effort in planning and design rather than using review cycles to fix low-quality code. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1943 +/- ##
===========================================
+ Coverage 64.24% 85.74% +21.49%
===========================================
Files 201 282 +81
Lines 23233 31241 +8008
===========================================
+ Hits 14926 26787 +11861
+ Misses 8307 4454 -3853 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
🎉 This change has been released in version 7.1.0 |
Closes #1903
Major upgrade of the
@semantic-release/gitdevDependency. The plugin is only part of the release toolchain and is not part of the SDK. It runs in thereleasejob ofrelease-automated.yml(Node 22) on pushes tomaster; PR CI does not install npm dependencies.Changes
^22.22.2 || >=24.15(semantic-release/git@ddf699e)"type": "module"and"exports": "./index.js"and no longer has"main", so deep imports such as@semantic-release/git/lib/*no longer resolve.release.config.jsreferences the plugin by name, so this repository is not affected.>=20.1.0(was>=18.0.0) and Node.js^22.22.2 || >=24.15(was>=14.17).@semantic-release/error^3 → ^4,aggregate-error^3 → ^5,execa^5 → ^9,p-reduce^2 → ^3,lodash→lodash-es. Asset matching still usesdir-glob^3 andmicromatch^4 with the same options, and theassetsandmessageoptions are unchanged.git commit -F -, passing the message via stdin, instead ofgit commit -m <message>.execato v10 (fix(deps): update dependency execa to v10 semantic-release/git#564). The lock file resolvesexeca10.2.1 (published 2026-10-23), which requires Node.js 22 and includes the 10.1.0 and 10.2.0 behavior changes:extendEnv: falsewithoutenvno longer inheritsprocess.env, and exceedingmaxBufferterminates the subprocess. The plugin only callsexeca('git', args, {env, cwd, reject, input}), so none of these apply.The other commits between v10.0.1 and v11.0.1 are docs, CI and dependency chores of the plugin's own repository.
Breaking Changes
None affecting this repository. Upstream declares these in 11.0.0:
verifyConditionsandprepare: semantic-release 25.0.9 loads the plugin by name, as it already does for the ESM plugins used here (@semantic-release/commit-analyzer,@semantic-release/release-notes-generator,@semantic-release/exec).>=20.1.0: this repository uses 25.0.9.^22.22.2 || >=24.15: thereleasejob usesnode-version: 22, which currently resolves to Node.js 22.23.2 from the runner's tool cache (the latest 22.x in the setup-node manifest is 22.23.4).Code Changes Required
None — the upgrade is a drop-in replacement. Only
package.json(+1/−1) andpackage-lock.json(+189/−337) change. Besides the plugin itself, the lock file updatesexeca5.1.1 → 10.2.1 and its dependencies andp-reduce2.1.0 → 3.0.0, and adds nested copies of@semantic-release/error4.0.0 andaggregate-error5.1.0 for the plugin. Nested copies ofexeca's dependencies undersemantic-release,@semantic-release/exec,@semantic-release/npmandenv-ciare deduplicated to the hoisted versions, within their declared ranges.Verification
PR CI does not run semantic-release, so the plugin was checked locally with this repository's
release.config.js, loaded through semantic-release 25.0.9's plugin loader (Node.js 25.9.0, local bare remote, no credentials):verifyConditionsaccepts the repository'sassetsconfiguration and still rejects invalidassetsandmessagevalues.preparestep of the 7.0.3 release reproduced the release commit 8abf9ab byte for byte: the same 19 files, tree and message. The switch fromgit commit -mtogit commit -F -makes no difference for this repository.Summary by CodeRabbit