Skip to content

fix(@angular/cli): update odd-numbered Node.js version warning condition for future releases - #33136

Merged
alan-agius4 merged 1 commit into
angular:mainfrom
alan-agius4:version-check-nodejs
May 6, 2026
Merged

fix(@angular/cli): update odd-numbered Node.js version warning condition for future releases#33136
alan-agius4 merged 1 commit into
angular:mainfrom
alan-agius4:version-check-nodejs

Conversation

@alan-agius4

Copy link
Copy Markdown
Collaborator

Updates the condition in ng.js to only print the odd-numbered version warning for Node.js versions below v26 (e.g., v25). This aligns with changes to the LTS status policy starting from Node.js 27, ensuring future odd-numbered releases do not trigger this specific warning.

…ion for future releases

Updates the condition in `ng.js` to only print the odd-numbered version warning
for Node.js versions below v26 (e.g., v25). This aligns with changes to the LTS
status policy starting from Node.js 27, ensuring future odd-numbered releases
do not trigger this specific warning.
@alan-agius4
alan-agius4 requested a review from clydin May 6, 2026 13:25
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker target: minor This PR is targeted for the next minor release labels May 6, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request updates the Node.js version check in the Angular CLI to specifically target versions 23 and 25 for odd-numbered version warnings, rather than all odd versions. It also updates the warning message to clarify that this policy applies to versions prior to Node.js 27. I have no feedback to provide.

@alan-agius4
alan-agius4 merged commit a5e1e48 into angular:main May 6, 2026
37 checks passed
@alan-agius4

Copy link
Copy Markdown
Collaborator Author

This PR was merged into the repository. The changes were merged into the following branches:

@alan-agius4
alan-agius4 deleted the version-check-nodejs branch May 6, 2026 13:35
@angular-automatic-lock-bot

Copy link
Copy Markdown

This pull request has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Jun 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: @angular/cli target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants