Repository navigation
refactor: Bump semantic-release from 25.0.3 to 25.0.9 - #956
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. |
Closes #932
Upgrades
semantic-releasefrom 25.0.3 to 25.0.9. It is a dev dependency that runs only in therelease-automated.ymlworkflow, on Node 22 (the latest run used Node v22.23.3). Its required Node range (^22.14.0 || >= 24.10.0) and its dependency ranges are unchanged, so the lock file only updates thesemantic-releaseentries.Changes
lib/was removed, andindex.jsdelegated to@semantic-release/core, which 25.0.4 did not declare as a dependency.index.jsis identical in 25.0.3 and 25.0.9.lib/definitions/errors.jsloadspackage.jsonwith a JSON import attribute (with { type: "json" }), which the Node 22 release workflow supports.repositoryUrlinpackage.json(fix: argument Injection via repositoryUrl in package.json semantic-release/semantic-release#4245). ArepositoryUrlthat begins with-is rejected with the newEINVALIDREPOURLerror, and git commands now pass--before the URL.key,authorwebhook(semantic-release/semantic-release@973d763)tagFormatand branch properties are now compiled with lodashtemplateand{ evaluate: false, escape: false }, so<% %>code blocks no longer run.${...}interpolation still works.EGITNOPERMISSIONerrors (fix: do not expose the authenticated repository URL in EGITNOPERMISSION errors semantic-release/semantic-release#4283).Impact on this repository
release.config.jssetstagFormat: '${version}'. The tag code of 25.0.9 was run againstlodash-es4.18.1, the version in the lock file (tarball integrity checked against the lock):makeTagwith version3.1.2(lib/utils.js)3.1.23.1.2versionplaceholder count (lib/verify.js,ETAGNOVERSIONunless 1)lib/branches/get-tags.js)^(.+)^(.+)3.1.13.1.13.1.1A
<% %>block in a template is run by 25.0.3 and left as text by 25.0.9, which confirms that the new options are in effect.The
branchesentries have no wildcards or template values, so the branch expansion change does not apply.The
successCommentandreleasedLabelstemplates are rendered by@semantic-release/github12.0.6, which this PR does not change.repository.urlinpackage.jsonishttps://github.com/parse-community/parse-server-example, which passes the newrepositoryUrlcheck.The masking of environment variables whose names contain
key,authorwebhook(25.0.8) applies not only to log output but also to the generated release notes, which feedCHANGELOG.mdand the GitHub release body, to thereleasespassed to success plugins and to theerrorspassed to fail plugins. On CI, the values of the defaultGIT_AUTHOR_NAMEandGIT_AUTHOR_EMAIL(semantic-release-bot) now matchauth, so they would show as[secure]in those places. This has no effect in this repository: the.releaserctemplates use no author or committer fields, andCHANGELOG.mddoes not containsemantic-release-bot.All six
@semantic-release/*plugins accept 25.0.9 as a peer (ranges from>=18.0.0to>=24.1.0).Breaking Changes
None
Code Changes Required
None — the upgrade is a drop-in replacement.
Lock file
The lock file was regenerated on the current
master. Only thesemantic-releaseentries change. Compared to Dependabot's lock diff, npm also records"license": "MIT"on thenode_modules/semantic-releaseentry.Summary by CodeRabbit