Skip to content

fix: update Node.js requirements for semantic-release v25 compatibility#85

Merged
smar-imran-khawaja merged 3 commits into
fix-vulnerabilityfrom
copilot/sub-pr-84
Jan 8, 2026
Merged

fix: update Node.js requirements for semantic-release v25 compatibility#85
smar-imran-khawaja merged 3 commits into
fix-vulnerabilityfrom
copilot/sub-pr-84

Conversation

Copilot AI commented Jan 8, 2026

Copy link
Copy Markdown

Pull Request

Description

Updates Node.js version requirements to align with semantic-release v25 and @semantic-release/npm v13, which require Node.js ^22.14.0 || >=24.10.0 (dropped support for v20, v21, v23).

Related Issue

Addresses feedback from PR #84: #84 (comment)

Motivation and Context

The semantic-release packages were updated to v25 and @semantic-release/npm to v13 in the base PR, but the package.json still specified Node.js >=16.0.0, creating a version mismatch that would cause runtime failures.

How Has This Been Tested?

  • Reviewed semantic-release v23, v24, v25 changelogs
  • Verified .releaserc.json configuration compatibility
  • Confirmed GitHub Actions workflow already uses Node.js 22
  • Code review passed with no issues

Screenshots (if appropriate)

N/A

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Code refactoring
  • Performance improvement

Checklist

  • My code follows the code style of this project
  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed
  • I have checked that my changes do not introduce any new warnings

Changes Made

package.json

  • Node.js: >=16.0.0^22.14.0 || >=24.10.0
  • npm: >=7.0.0>=10.0.0

Documentation

  • Created docs/SEMANTIC_RELEASE_UPGRADE.md documenting:
    • Breaking changes in semantic-release v25 and @semantic-release/npm v13
    • Configuration verification results
    • Testing recommendations
  • Updated README.md prerequisites section

Verification Results

✅ .releaserc.json fully compatible with v25
✅ GitHub Actions already uses Node.js 22
✅ Plugin order and configuration correct
✅ No changes needed to conventional commit setup


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits January 8, 2026 00:07
- Updated package.json engines to require Node.js ^22.14.0 || >=24.10.0
- Updated npm requirement to >=10.0.0
- Created comprehensive upgrade documentation in docs/SEMANTIC_RELEASE_UPGRADE.md
- Updated README.md prerequisites section with new requirements
- Verified .releaserc.json configuration is compatible with v25
- Confirmed GitHub Actions workflow already uses Node.js 22

Co-authored-by: smar-imran-khawaja <174051013+smar-imran-khawaja@users.noreply.github.com>
- Clarified that Node.js 22 will use latest 22.x version (>= 22.14.0)
- Added note about setup-node@v3 being functional but recommended to update to v4

Co-authored-by: smar-imran-khawaja <174051013+smar-imran-khawaja@users.noreply.github.com>
Copilot AI changed the title [WIP] Update to address feedback on vulnerability fix in PR #84 fix: update Node.js requirements for semantic-release v25 compatibility Jan 8, 2026
@smar-imran-khawaja
smar-imran-khawaja marked this pull request as ready for review January 8, 2026 00:14
@smar-imran-khawaja
smar-imran-khawaja merged commit 3f497e6 into fix-vulnerability Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants