Skip to content

WP 7.1: Update Node.js to v24 LTS and npm to v11 (#82370) - #82635

Merged
manzoorwanijk merged 1 commit into
wp/7.1from
update/node-24-wp-7-1
Sep 9, 2026
Merged

manzoorwanijk merged 1 commit into
wp/7.1from
update/node-24-wp-7-1

Conversation

@manzoorwanijk

Copy link
Copy Markdown
Member

What?

Backports #82370 to wp/7.1: updates Node.js to v24 LTS and npm to v11.

Why?

wp/7.1 still builds on Node 20, which reaches end of life and diverges from trunk. Keeping the release branch on the same runtime avoids surprises when cherry-picking fixes into it.

How?

Mirrors 5715a61: bumps .nvmrc, the root engines field, the contributor docs, and the CI matrices to ['24', '26']. The devEngines field and the setup-npm composite action do not exist on this branch, so the static checks job pins npm@11 directly instead.

Testing Instructions

  1. Run nvm use and confirm Node 24.18 is selected.
  2. Run npm install and confirm it does not fail the engine-strict check.
  3. Confirm CI is green on this PR.

Use of AI Tools

Authored with Claude Code, reviewed by me.

@manzoorwanijk manzoorwanijk changed the title Framework: Update Node.js to v24 LTS and npm to v11 WP 7.1: Update Node.js to v24 LTS and npm to v11 (#82370) Sep 9, 2026
@coderabbitai

coderabbitai Bot commented Sep 9, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 88f61236-653f-4c6f-95f9-8fd6eb472d4e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@manzoorwanijk manzoorwanijk added the [Type] Build Tooling Issues or PRs related to build tooling label Sep 9, 2026
@manzoorwanijk manzoorwanijk self-assigned this Sep 9, 2026
@manzoorwanijk
manzoorwanijk requested review from Mamaduka, aduth, desrosj, jsnajdr and tyxla and removed request for desrosj September 9, 2026 06:17
@manzoorwanijk
manzoorwanijk marked this pull request as ready for review September 9, 2026 06:17
@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: manzoorwanijk <manzoorwanijk@git.wordpress.org>
Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown

Size Change: 0 B

Total Size: 7.75 MB

compressed-size-action

@manzoorwanijk

Copy link
Copy Markdown
Member Author

The Unit Tests failure is a Docker build error with Debian Bullseye repositories, already fixed in #82478 and is being backported to wp/7.1 branch in #82383.

So, we can wait for #82383 to be merged before we can merge this or cherry pick this one into #82383.

@Mamaduka Mamaduka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good ✅

Let's also share an update in the 7.1 release channel for folks working on minor releases. cc @adamsilverstein, @draganescu

@manzoorwanijk
manzoorwanijk merged commit 945c9bc into wp/7.1 Sep 9, 2026
72 of 80 checks passed
@manzoorwanijk
manzoorwanijk deleted the update/node-24-wp-7-1 branch September 9, 2026 07:03
@manzoorwanijk manzoorwanijk mentioned this pull request Sep 9, 2026
23 tasks
wporg-sync pushed a commit to WordPress/wordpress-develop that referenced this pull request Sep 10, 2026
This updates the pinned commit hash of the Gutenberg repository from `943e0d825bb66ba582e9a10d32743cbb136de460` to `dd294ab86ceaf9f3d7d42a09b78f399238ce8826` and merges cherry-picked changes to the `wp/7.1` branch into the 7.1.1 release. Only the `editor` and `upload-media` package hashes changed in the regenerated manifest.

A full list of changes included in this commit can be found on GitHub:
WordPress/gutenberg@943e0d8...dd294ab

The following commits are included:
- useViewConfig: don't request the view config twice (WordPress/gutenberg#82183)
- Framework: Update Node.js to v24 LTS and npm to v11 (WordPress/gutenberg#82635)
- Block Editor: Add translator context to pseudo-state labels (WordPress/gutenberg#81770)
- Fix: Post Editor: 403 on /wp/v2/settings at boot for users without manage_options cap (WordPress/gutenberg#81813)
- Media: Refuse a multi-file drop on a placeholder that takes one file (WordPress/gutenberg#82046)
- List: outdent an empty middle item without adding an item (WordPress/gutenberg#82011)
- Accordion Panel: Reset padding-block when panel is hidden (WordPress/gutenberg#81782)
- List View: Don't focus the last Table cell on keyboard activation (WordPress/gutenberg#81964)
- Media: Stop claiming "Upload complete" when upload failed (WordPress/gutenberg#81397)
- Media: keep indexed PNG sub-sizes indexed (WordPress/gutenberg#81884)
- Image block cropping: Sync image size and link destination settings (WordPress/gutenberg#82316)
- Gallery block: Fix 'Crop images to fit' broken in editor (WordPress/gutenberg#82318)
- Pages: require authentication and a capability to render generated standalone pages (WordPress/gutenberg#82254)
- Media Utils: Preserve arrays in multipart form data (WordPress/gutenberg#82353)
- wp-env: Fix Docker build errors with Debian Bullseye repositories (WordPress/gutenberg#82478)
- Query Loop: Fall back to `post` when the query has no `postType` (WordPress/gutenberg#82465)
- Block Supports: Bail early in state styles when a block has no style attribute (WordPress/gutenberg#81908)
- Fix: Restore layout styles for block style variations (WordPress/gutenberg#82335)
- CI: Unify the automation comments into a single PR comment (WordPress/gutenberg#82249)
- Editor: Store the finalize response as the attachment record (WordPress/gutenberg#81947)
- Media: Only blame the browser's codecs when HEIC really cannot be decoded (WordPress/gutenberg#82265)

The PHP changes carried by three of those pull requests do not travel through the package build and are already on the branch.

Follow-up to [63319], [63489], [63547], [63572].
Reviewed by jorbin.

Props andraganescu, wildworks.
Fixes #66037.



git-svn-id: https://develop.svn.wordpress.org/branches/7.1@63587 602fd350-edb4-49c9-b593-d223f7449a82
wporg-sync pushed a commit to WordPress/WordPress that referenced this pull request Sep 10, 2026
This updates the pinned commit hash of the Gutenberg repository from `943e0d825bb66ba582e9a10d32743cbb136de460` to `dd294ab86ceaf9f3d7d42a09b78f399238ce8826` and merges cherry-picked changes to the `wp/7.1` branch into the 7.1.1 release. Only the `editor` and `upload-media` package hashes changed in the regenerated manifest.

A full list of changes included in this commit can be found on GitHub:
WordPress/gutenberg@943e0d8...dd294ab

The following commits are included:
- useViewConfig: don't request the view config twice (WordPress/gutenberg#82183)
- Framework: Update Node.js to v24 LTS and npm to v11 (WordPress/gutenberg#82635)
- Block Editor: Add translator context to pseudo-state labels (WordPress/gutenberg#81770)
- Fix: Post Editor: 403 on /wp/v2/settings at boot for users without manage_options cap (WordPress/gutenberg#81813)
- Media: Refuse a multi-file drop on a placeholder that takes one file (WordPress/gutenberg#82046)
- List: outdent an empty middle item without adding an item (WordPress/gutenberg#82011)
- Accordion Panel: Reset padding-block when panel is hidden (WordPress/gutenberg#81782)
- List View: Don't focus the last Table cell on keyboard activation (WordPress/gutenberg#81964)
- Media: Stop claiming "Upload complete" when upload failed (WordPress/gutenberg#81397)
- Media: keep indexed PNG sub-sizes indexed (WordPress/gutenberg#81884)
- Image block cropping: Sync image size and link destination settings (WordPress/gutenberg#82316)
- Gallery block: Fix 'Crop images to fit' broken in editor (WordPress/gutenberg#82318)
- Pages: require authentication and a capability to render generated standalone pages (WordPress/gutenberg#82254)
- Media Utils: Preserve arrays in multipart form data (WordPress/gutenberg#82353)
- wp-env: Fix Docker build errors with Debian Bullseye repositories (WordPress/gutenberg#82478)
- Query Loop: Fall back to `post` when the query has no `postType` (WordPress/gutenberg#82465)
- Block Supports: Bail early in state styles when a block has no style attribute (WordPress/gutenberg#81908)
- Fix: Restore layout styles for block style variations (WordPress/gutenberg#82335)
- CI: Unify the automation comments into a single PR comment (WordPress/gutenberg#82249)
- Editor: Store the finalize response as the attachment record (WordPress/gutenberg#81947)
- Media: Only blame the browser's codecs when HEIC really cannot be decoded (WordPress/gutenberg#82265)

The PHP changes carried by three of those pull requests do not travel through the package build and are already on the branch.

Follow-up to [63319], [63489], [63547], [63572].
Reviewed by jorbin.

Props andraganescu, wildworks.
Fixes #66037.


Built from https://develop.svn.wordpress.org/branches/7.1@63587


git-svn-id: http://core.svn.wordpress.org/branches/7.1@62763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Build Tooling Issues or PRs related to build tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants