WP 7.1: Update Node.js to v24 LTS and npm to v11 (#82370) - #82635
Conversation
Backport of 5715a61 to wp/7.1.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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. Comment |
|
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 If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Size Change: 0 B Total Size: 7.75 MB |
Mamaduka
left a comment
There was a problem hiding this comment.
Looks good ✅
Let's also share an update in the 7.1 release channel for folks working on minor releases. cc @adamsilverstein, @draganescu
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
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
What?
Backports #82370 to
wp/7.1: updates Node.js to v24 LTS and npm to v11.Why?
wp/7.1still builds on Node 20, which reaches end of life and diverges fromtrunk. Keeping the release branch on the same runtime avoids surprises when cherry-picking fixes into it.How?
Mirrors 5715a61: bumps
.nvmrc, the rootenginesfield, the contributor docs, and the CI matrices to['24', '26']. ThedevEnginesfield and thesetup-npmcomposite action do not exist on this branch, so the static checks job pinsnpm@11directly instead.Testing Instructions
nvm useand confirm Node 24.18 is selected.npm installand confirm it does not fail theengine-strictcheck.Use of AI Tools
Authored with Claude Code, reviewed by me.