Skip to content

feat!: update minimum Node.js version to 18.12.0#5786

Merged
chenjiahan merged 2 commits intomainfrom
drop_node_16
Aug 7, 2025
Merged

feat!: update minimum Node.js version to 18.12.0#5786
chenjiahan merged 2 commits intomainfrom
drop_node_16

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

Summary

Rspack and Rsbuild v1.5 will no longer support Node 16, as Node.js reached end-of-life on September 11th, 2023, and many npm packages in the ecosystem have also dropped support for Node 16.

This PR marks the first step toward this goal by updating the engines field in package.json to require Node.js >= 18.12.0.

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings August 7, 2025 07:06
@netlify
Copy link
Copy Markdown

netlify bot commented Aug 7, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 82b0695
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/6894512604f3da0008b98b0d
😎 Deploy Preview https://deploy-preview-5786--rsbuild.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 78 (🟢 up 2 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the minimum Node.js version requirement from 16.10.0/18.0.0 to 18.12.0 across the Rsbuild project, marking a breaking change as Node.js 16 reached end-of-life in September 2023.

  • Updates engines.node field in package.json files to require Node.js >= 18.12.0
  • Standardizes Node.js version requirement across all packages in the monorepo
  • Prepares codebase for dropping Node.js 16 support in upcoming Rspack and Rsbuild v1.5 releases

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
packages/create-rsbuild/package.json Updates minimum Node.js version from 16.10.0 to 18.12.0
packages/core/package.json Updates minimum Node.js version from 16.10.0 to 18.12.0
package.json Updates minimum Node.js version from 18.0.0 to 18.12.0 for consistency

@chenjiahan chenjiahan merged commit 6825e70 into main Aug 7, 2025
11 checks passed
@chenjiahan chenjiahan deleted the drop_node_16 branch August 7, 2025 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants